OSDN Git Service

android-x86/packages-apps-Taskbar.git
4 years agoAdd missing copyright headers to libtaskbar demo app
Braden Farmer [Tue, 19 May 2020 16:13:45 +0000 (10:13 -0600)]
Add missing copyright headers to libtaskbar demo app

4 years agoOpen usage access settings screen in new window from HomeActivityDelegate
Braden Farmer [Tue, 19 May 2020 05:54:19 +0000 (23:54 -0600)]
Open usage access settings screen in new window from HomeActivityDelegate

4 years agoStart freeform hack after granting system alert window permission via HomeActivityDel...
Braden Farmer [Tue, 19 May 2020 05:48:50 +0000 (23:48 -0600)]
Start freeform hack after granting system alert window permission via HomeActivityDelegate

4 years agoSmall tweak to status bar & navbar size logic
Braden Farmer [Mon, 18 May 2020 06:27:40 +0000 (00:27 -0600)]
Small tweak to status bar & navbar size logic

4 years agoHandle certain config changes in SecondaryHomeActivity to work around a bug with...
Braden Farmer [Mon, 18 May 2020 04:08:31 +0000 (22:08 -0600)]
Handle certain config changes in SecondaryHomeActivity to work around a bug with permission dialogs

4 years agoFix window sizes in desktop mode
Braden Farmer [Sun, 17 May 2020 20:30:35 +0000 (14:30 -0600)]
Fix window sizes in desktop mode

4 years agoSwitch most instances of getApplicationContext() over to U.getDisplayContext()
Braden Farmer [Sun, 17 May 2020 20:05:30 +0000 (14:05 -0600)]
Switch most instances of getApplicationContext() over to U.getDisplayContext()

4 years agoFix showing toasts on external display
Braden Farmer [Sun, 17 May 2020 17:54:05 +0000 (11:54 -0600)]
Fix showing toasts on external display

4 years agoAlways open Taskbar settings in new window while on home screen
Braden Farmer [Sun, 17 May 2020 17:31:20 +0000 (11:31 -0600)]
Always open Taskbar settings in new window while on home screen

4 years agoChange drawDashboard() method name to drawDashboardButton()
Braden Farmer [Sun, 17 May 2020 05:45:36 +0000 (23:45 -0600)]
Change drawDashboard() method name to drawDashboardButton()

4 years agoMerge pull request #119 from utzcoz/master
Braden Farmer [Sun, 17 May 2020 05:38:21 +0000 (23:38 -0600)]
Merge pull request #119 from utzcoz/master

Split TaskbarController large methods part04

4 years agoFix failing tests
Braden Farmer [Sun, 17 May 2020 05:36:07 +0000 (23:36 -0600)]
Fix failing tests

4 years agoExtract method to calculate scroll view params in TaskbarController
utzcoz [Sat, 16 May 2020 06:46:23 +0000 (14:46 +0800)]
Extract method to calculate scroll view params in TaskbarController

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoExtract method to scroll taskbar in TaskbarController
utzcoz [Sat, 16 May 2020 05:50:44 +0000 (13:50 +0800)]
Extract method to scroll taskbar in TaskbarController

The origin logic calculates the scroll location based on whether the
taskbar position is vertical or not, so new method simplifies the switch
checking with TaskbarPosition.isVertical.

The robolectric's ShadowScrollView doesn't support scrollTo correctly,
so we add a new TaskbarShadowScrollView to support it.

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoRun libtaskbar inside a separate process from the host application
Braden Farmer [Sat, 16 May 2020 05:38:02 +0000 (23:38 -0600)]
Run libtaskbar inside a separate process from the host application

4 years agoFix handling of default preferences
Braden Farmer [Sat, 16 May 2020 04:59:39 +0000 (22:59 -0600)]
Fix handling of default preferences

4 years agoSmall tweak allowing the Taskbar to display its full width instantly once it's started
Braden Farmer [Sat, 16 May 2020 04:34:06 +0000 (22:34 -0600)]
Small tweak allowing the Taskbar to display its full width instantly once it's started

4 years agoShow more toasts when performing actions that can't be done on secondary displays
Braden Farmer [Sat, 16 May 2020 04:05:24 +0000 (22:05 -0600)]
Show more toasts when performing actions that can't be done on secondary displays

4 years agoMore fixes for dashboard + desktop mode
Braden Farmer [Sat, 16 May 2020 03:59:04 +0000 (21:59 -0600)]
More fixes for dashboard + desktop mode

4 years agoCouple more fixes
Braden Farmer [Fri, 15 May 2020 18:21:49 +0000 (12:21 -0600)]
Couple more fixes

4 years agoFew tweaks + fixes for desktop mode
Braden Farmer [Fri, 15 May 2020 17:58:26 +0000 (11:58 -0600)]
Few tweaks + fixes for desktop mode

4 years agoChange SecondScreen pref description when desktop mode is supported
Braden Farmer [Fri, 15 May 2020 10:04:11 +0000 (04:04 -0600)]
Change SecondScreen pref description when desktop mode is supported

4 years agoSmall typo fix
Braden Farmer [Fri, 15 May 2020 09:54:29 +0000 (03:54 -0600)]
Small typo fix

4 years agoMerge pull request #118 from utzcoz/master
Braden Farmer [Fri, 15 May 2020 09:51:47 +0000 (03:51 -0600)]
Merge pull request #118 from utzcoz/master

Split TaskbarController large methods part03

4 years agoExtract method to initialize dashboard in TaskbarController
utzcoz [Fri, 15 May 2020 07:59:28 +0000 (15:59 +0800)]
Extract method to initialize dashboard in TaskbarController

There is a behavior change, setting dashboard button to visible when
initializing dashboard with dashboard enabled.

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoExtract PREF_RECENTS_AMOUNT values to constant
utzcoz [Fri, 15 May 2020 07:21:29 +0000 (15:21 +0800)]
Extract PREF_RECENTS_AMOUNT values to constant

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoExtract method to initialize recents serach interval in TaskbarController
utzcoz [Fri, 15 May 2020 06:45:44 +0000 (14:45 +0800)]
Extract method to initialize recents serach interval in TaskbarController

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoSmall layout tweak to libtaskbar demo app
Braden Farmer [Fri, 15 May 2020 06:02:10 +0000 (00:02 -0600)]
Small layout tweak to libtaskbar demo app

4 years agoMerge pull request #116 from utzcoz/master
Braden Farmer [Fri, 15 May 2020 05:57:11 +0000 (23:57 -0600)]
Merge pull request #116 from utzcoz/master

Split TaskbarController large methods part02

4 years agoExtract methods to initialize systray in TaskbarController
utzcoz [Fri, 15 May 2020 04:00:09 +0000 (12:00 +0800)]
Extract methods to initialize systray in TaskbarController

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoExtract methods to initialize navbar buttons in TaskbarController
utzcoz [Fri, 15 May 2020 03:12:10 +0000 (11:12 +0800)]
Extract methods to initialize navbar buttons in TaskbarController

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoUpdate README.md
Braden Farmer [Thu, 14 May 2020 17:58:27 +0000 (11:58 -0600)]
Update README.md

4 years agoMerge pull request #115 from farmerbb/proposed_changes
Braden Farmer [Thu, 14 May 2020 17:55:05 +0000 (11:55 -0600)]
Merge pull request #115 from farmerbb/proposed_changes

Proposed changes to TaskbarControllerTest

4 years agoAdd a very simple MockUIHost so that TaskbarControllerTest can call the onCreateHost...
Braden Farmer [Thu, 14 May 2020 17:44:38 +0000 (11:44 -0600)]
Add a very simple MockUIHost so that TaskbarControllerTest can call the onCreateHost() and onDestroyHost() lifecycle methods

4 years agoAdd returns
Braden Farmer [Thu, 14 May 2020 16:33:29 +0000 (10:33 -0600)]
Add returns

4 years agoProposed changes to TaskbarControllerTest
Braden Farmer [Thu, 14 May 2020 06:21:32 +0000 (00:21 -0600)]
Proposed changes to TaskbarControllerTest

4 years agoFix tests
Braden Farmer [Thu, 14 May 2020 05:44:13 +0000 (23:44 -0600)]
Fix tests

4 years agoMerge pull request #114 from utzcoz/master
Braden Farmer [Thu, 14 May 2020 05:31:37 +0000 (23:31 -0600)]
Merge pull request #114 from utzcoz/master

Split TasbarController large methods part01

4 years agoStore runnables in a POJO instead of creating duplicates for permission dialogs
Braden Farmer [Wed, 13 May 2020 20:52:56 +0000 (14:52 -0600)]
Store runnables in a POJO instead of creating duplicates for permission dialogs

4 years agoMerge pull request #112 from utzcoz/master
Braden Farmer [Wed, 13 May 2020 16:00:59 +0000 (10:00 -0600)]
Merge pull request #112 from utzcoz/master

Fix tests of UTest

4 years agoExtract methods to initialize taskbar layout in TaskbarController
utzcoz [Wed, 13 May 2020 12:19:43 +0000 (20:19 +0800)]
Extract methods to initialize taskbar layout in TaskbarController

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoExtract method to initialize start button in TaskbarController
utzcoz [Wed, 13 May 2020 08:40:29 +0000 (16:40 +0800)]
Extract method to initialize start button in TaskbarController

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoFix tests of UTest
utzcoz [Wed, 13 May 2020 07:28:39 +0000 (15:28 +0800)]
Fix tests of UTest

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoImprove the first-run process for desktop mode if SYSTEM_ALERT_WINDOW wasn't previous...
Braden Farmer [Tue, 12 May 2020 23:23:30 +0000 (17:23 -0600)]
Improve the first-run process for desktop mode if SYSTEM_ALERT_WINDOW wasn't previously granted

4 years agoAdd in safeguards to protect against SecondaryHomeActivity being run on the primary...
Braden Farmer [Tue, 12 May 2020 02:42:00 +0000 (20:42 -0600)]
Add in safeguards to protect against SecondaryHomeActivity being run on the primary display

4 years agoDon't use application context when determining dashboard grid size
Braden Farmer [Tue, 12 May 2020 02:16:17 +0000 (20:16 -0600)]
Don't use application context when determining dashboard grid size

4 years agoFixes for libtaskbar
Braden Farmer [Mon, 11 May 2020 17:12:43 +0000 (11:12 -0600)]
Fixes for libtaskbar

4 years agoSmall fix
Braden Farmer [Mon, 11 May 2020 06:22:19 +0000 (00:22 -0600)]
Small fix

4 years agoAdd libtaskbar demo app
Braden Farmer [Mon, 11 May 2020 05:37:56 +0000 (23:37 -0600)]
Add libtaskbar demo app

4 years agoCode style related cleanup
Braden Farmer [Mon, 11 May 2020 04:07:24 +0000 (22:07 -0600)]
Code style related cleanup

4 years agoTweaks to default preferences + cleanup
Braden Farmer [Mon, 11 May 2020 03:50:03 +0000 (21:50 -0600)]
Tweaks to default preferences + cleanup

4 years agoCouple of desktop mode fixes
Braden Farmer [Mon, 11 May 2020 02:55:35 +0000 (20:55 -0600)]
Couple of desktop mode fixes

4 years agoCleanup
Braden Farmer [Mon, 11 May 2020 02:44:15 +0000 (20:44 -0600)]
Cleanup

4 years agoCatch Throwable instead of Exception when backing up / restoring
Braden Farmer [Sun, 10 May 2020 22:43:17 +0000 (16:43 -0600)]
Catch Throwable instead of Exception when backing up / restoring

4 years agoAdd more SharedPreference keys to Constants.java
Braden Farmer [Sun, 10 May 2020 21:11:08 +0000 (15:11 -0600)]
Add more SharedPreference keys to Constants.java

4 years agoExtract a bunch more SharedPreference keys into Constants.java
Braden Farmer [Sun, 10 May 2020 19:26:23 +0000 (13:26 -0600)]
Extract a bunch more SharedPreference keys into Constants.java

4 years agoAlways enable freeform mode as long as desktop mode is enabled
Braden Farmer [Sun, 10 May 2020 18:25:54 +0000 (12:25 -0600)]
Always enable freeform mode as long as desktop mode is enabled

4 years agoRemove unnecessary annotations
Braden Farmer [Sat, 9 May 2020 18:18:09 +0000 (12:18 -0600)]
Remove unnecessary annotations

4 years agoVerbiage change
Braden Farmer [Sat, 9 May 2020 17:43:43 +0000 (11:43 -0600)]
Verbiage change

4 years agoFix showing / hiding navbar while in desktop mode
Braden Farmer [Sat, 9 May 2020 16:52:08 +0000 (10:52 -0600)]
Fix showing / hiding navbar while in desktop mode

4 years agoRemove @Override annotation for overridden Android 10 method
Braden Farmer [Wed, 6 May 2020 04:33:05 +0000 (22:33 -0600)]
Remove @Override annotation for overridden Android 10 method

4 years agoAdd option to hide app icon labels
Braden Farmer [Sun, 3 May 2020 05:16:11 +0000 (23:16 -0600)]
Add option to hide app icon labels

Resolves #109

4 years agoCompilation fix
Braden Farmer [Sun, 3 May 2020 05:00:07 +0000 (23:00 -0600)]
Compilation fix

4 years agoRevert "Just in case I need this"
Braden Farmer [Sun, 3 May 2020 04:54:34 +0000 (22:54 -0600)]
Revert "Just in case I need this"

This reverts commit f022b8b0d6b4eb43e7155848929ef39bf388d31c.

4 years agoCouple of fixes for default preferences and desktop mode
Braden Farmer [Sun, 3 May 2020 04:54:25 +0000 (22:54 -0600)]
Couple of fixes for default preferences and desktop mode

4 years agoTheming tweaks
Braden Farmer [Tue, 28 Apr 2020 14:23:43 +0000 (08:23 -0600)]
Theming tweaks

4 years agoRetheme the HSLConfigActivity
Braden Farmer [Tue, 28 Apr 2020 06:17:08 +0000 (00:17 -0600)]
Retheme the HSLConfigActivity

4 years agoJust in case I need this
Braden Farmer [Tue, 28 Apr 2020 05:06:19 +0000 (23:06 -0600)]
Just in case I need this

4 years agoAlso apply fix from previous commit to HSLConfigActivity
Braden Farmer [Tue, 28 Apr 2020 04:34:17 +0000 (22:34 -0600)]
Also apply fix from previous commit to HSLConfigActivity

4 years agoCleanup + prevent desktop mode from being disabled after data clear
Braden Farmer [Tue, 28 Apr 2020 04:27:32 +0000 (22:27 -0600)]
Cleanup + prevent desktop mode from being disabled after data clear

4 years ago(Hopefully) better approach for handling default prefs
Braden Farmer [Tue, 28 Apr 2020 02:58:45 +0000 (20:58 -0600)]
(Hopefully) better approach for handling default prefs

4 years agoFix for navbar hiding
Braden Farmer [Mon, 27 Apr 2020 16:27:31 +0000 (10:27 -0600)]
Fix for navbar hiding

4 years agoMore fixes
Braden Farmer [Mon, 27 Apr 2020 15:26:14 +0000 (09:26 -0600)]
More fixes

4 years agoCrash fix
Braden Farmer [Mon, 27 Apr 2020 15:04:04 +0000 (09:04 -0600)]
Crash fix

4 years agoVarious desktop mode fixes
Braden Farmer [Mon, 27 Apr 2020 04:41:43 +0000 (22:41 -0600)]
Various desktop mode fixes

4 years agoFix getThemedIntent()
Braden Farmer [Mon, 27 Apr 2020 04:13:03 +0000 (22:13 -0600)]
Fix getThemedIntent()

4 years agoFix addPreferencesFromResource() override
Braden Farmer [Mon, 27 Apr 2020 03:53:31 +0000 (21:53 -0600)]
Fix addPreferencesFromResource() override

4 years agoFavorite app shortcuts: fix icon sometimes not being initialized when selecting diffe...
Braden Farmer [Sun, 26 Apr 2020 20:27:57 +0000 (14:27 -0600)]
Favorite app shortcuts: fix icon sometimes not being initialized when selecting different app

4 years agoCleanup unused imports
Braden Farmer [Fri, 24 Apr 2020 04:32:03 +0000 (22:32 -0600)]
Cleanup unused imports

4 years agoFix compilation errors
Braden Farmer [Fri, 24 Apr 2020 04:29:44 +0000 (22:29 -0600)]
Fix compilation errors

4 years agoMove cachedRotation into TaskbarPosition class
Braden Farmer [Fri, 24 Apr 2020 04:22:19 +0000 (22:22 -0600)]
Move cachedRotation into TaskbarPosition class

4 years agoCleanup theming-related code
Braden Farmer [Fri, 24 Apr 2020 04:17:50 +0000 (22:17 -0600)]
Cleanup theming-related code

4 years agoUse static imports of Constants wherever possible
Braden Farmer [Thu, 23 Apr 2020 05:15:21 +0000 (23:15 -0600)]
Use static imports of Constants wherever possible

4 years agoMinor cleanup
Braden Farmer [Thu, 23 Apr 2020 04:54:24 +0000 (22:54 -0600)]
Minor cleanup

4 years agoMerge TaskbarIntent and SharedPreferenceConstant into single Constants class
Braden Farmer [Thu, 23 Apr 2020 04:52:03 +0000 (22:52 -0600)]
Merge TaskbarIntent and SharedPreferenceConstant into single Constants class

4 years agoFix crashes caused by previous commit
Braden Farmer [Wed, 22 Apr 2020 20:33:48 +0000 (14:33 -0600)]
Fix crashes caused by previous commit

4 years agoMerge pull request #107 from RaspberryPiFan/master
Braden Farmer [Wed, 22 Apr 2020 07:14:32 +0000 (01:14 -0600)]
Merge pull request #107 from RaspberryPiFan/master

Update some german strings

4 years agoUpdate some german strings
RaspberryPiFan [Wed, 22 Apr 2020 06:57:13 +0000 (08:57 +0200)]
Update some german strings

4 years agoFix defaults for certain preferences not being respected
Braden Farmer [Wed, 22 Apr 2020 04:49:43 +0000 (22:49 -0600)]
Fix defaults for certain preferences not being respected

4 years agoAdd back missing string
Braden Farmer [Wed, 22 Apr 2020 04:09:22 +0000 (22:09 -0600)]
Add back missing string

4 years agoMerge pull request #106 from RaspberryPiFan/master
Braden Farmer [Wed, 22 Apr 2020 04:08:47 +0000 (22:08 -0600)]
Merge pull request #106 from RaspberryPiFan/master

Update german translation

4 years agoPrepare for merging PR
Braden Farmer [Wed, 22 Apr 2020 04:08:32 +0000 (22:08 -0600)]
Prepare for merging PR

4 years agoManifest sync up + couple more tweaks for Chrome OS
Braden Farmer [Tue, 21 Apr 2020 23:02:58 +0000 (17:02 -0600)]
Manifest sync up + couple more tweaks for Chrome OS

4 years agoAdd support for desktop icons on Chrome OS when Taskbar is set as home screen
Braden Farmer [Tue, 21 Apr 2020 20:02:09 +0000 (14:02 -0600)]
Add support for desktop icons on Chrome OS when Taskbar is set as home screen

4 years agoUpdate german translation
RaspberryPiFan [Tue, 21 Apr 2020 14:13:23 +0000 (16:13 +0200)]
Update german translation

4 years agoString tweaks
Braden Farmer [Tue, 21 Apr 2020 05:24:55 +0000 (23:24 -0600)]
String tweaks

4 years agoDon't show option to clear desktop icons data if desktop icons aren't available
Braden Farmer [Mon, 20 Apr 2020 19:06:27 +0000 (13:06 -0600)]
Don't show option to clear desktop icons data if desktop icons aren't available

4 years agoAdd option to clear quick settings data
Braden Farmer [Mon, 20 Apr 2020 18:26:50 +0000 (12:26 -0600)]
Add option to clear quick settings data

4 years agoImprove reliability of updating quick settings tiles
Braden Farmer [Mon, 20 Apr 2020 17:33:16 +0000 (11:33 -0600)]
Improve reliability of updating quick settings tiles

4 years agoFix minor spelling errors
Braden Farmer [Sun, 19 Apr 2020 05:10:17 +0000 (23:10 -0600)]
Fix minor spelling errors