Commit Graph

17522 Commits

Author SHA1 Message Date
Winson Chung 0d9275deba Updating shared lib from package & class rename.
Change-Id: If3003c6e454ea60f30372f985fa7f34c9b6ed46d
2018-10-23 15:42:41 -07:00
Winson Chung ad6fd393f8 Don't assume there will be a running task
- During tests, if apps and launcher are killed, then there may be no
  running task

Change-Id: Iaef1c4ad0b31cec3c8da7d868e3e7b49d3b09faa
2018-10-23 15:11:42 -07:00
Winson Chung 445ab9d8cd Merge "Caching clean up, remove dependency on old shared lib loading/caching logic" into ub-launcher3-master 2018-10-23 19:59:21 +00:00
Winson Chung 02b83db128 Merge "Updating shared lib" into ub-launcher3-master 2018-10-23 19:59:21 +00:00
TreeHugger Robot dcaa2d2ae7 Merge "Handling configuration changes at runtime instead of killing the process" into ub-launcher3-master 2018-10-23 19:46:11 +00:00
Winson Chung fd61e04424 Updating shared lib
Bug: 117603579
Change-Id: Ie4fbb962bc1ae3d13bfa7778aa505e1ad7ea8853
2018-10-23 11:44:36 -07:00
Hyunyoung Song 60d75850f6 Merge "Remove shape detection logic for icon legacy treatment Bug: 117991192" into ub-launcher3-master 2018-10-23 11:08:01 +00:00
Winson Chung cc8dbf31db Caching clean up, remove dependency on old shared lib loading/caching logic
- Clarify caching policy, we only cache the last N task snapshots
- Pull out necessary logic from RecentsTaskLoadPlan (deprecated) into
  launcher class RecentTasksList which also manages the invalidation of
  the last loaded list
- Pull out logic from task loading logic in the shared lib into separate
  classes TaskThumbnailCache and TaskIconCache, and have each task view
  manage the load request for data

Bug: 117603579
Test: Thumbnails still load

Change-Id: I938e4dea19e7f5d24724c32194d254ca003e89aa
2018-10-23 00:01:07 +00:00
Hyunyoung Song 848d86ad32 Remove shape detection logic for icon legacy treatment
Bug: 117991192

Change-Id: Ife2047e7b36099daa4526c471e5c70554f068de1
2018-10-22 15:08:50 -07:00
Vadim Tryshev b92656af19 Passing package name to a remote action
Bug: 117888000
Test: manual test with a prototype
Change-Id: Ieea91c443186ccd653ae04fe76baff14e78021a0
2018-10-22 14:43:08 -07:00
TreeHugger Robot d6e4cdcdb5 Merge "Only show flags UI if developer options is enabled" into ub-launcher3-master 2018-10-22 21:20:07 +00:00
TreeHugger Robot e3617a01ef Merge "Enable creating task shortcuts without inheriting" into ub-launcher3-master 2018-10-22 21:19:00 +00:00
Ryan Lothian 904dbcdf9d Only show flags UI if developer options is enabled
Change-Id: I69005e623dab9f1f2f0682b61311836b62337835
2018-10-22 17:06:47 -04:00
Tony Wickham 2f7110d614 Merge "Add FirstScreenWidget plugin interface" into ub-launcher3-master 2018-10-22 20:36:10 +00:00
Tony Wickham 6ec45c76cf Add FirstScreenWidget plugin interface
Bug: 115877296
Change-Id: I974300a6460677758cbe99cab3bb71339eb2928b
2018-10-22 13:20:34 -07:00
Zak Cohen 8d21fd69f1 Merge "Deepshortcuts - only keep the per package shortcut count in memory." into ub-launcher3-master 2018-10-22 18:56:17 +00:00
TreeHugger Robot 76fea5fdd0 Merge "Adding dark theme for AddItemActivity" into ub-launcher3-master 2018-10-22 18:48:44 +00:00
Zak Cohen 658c67a609 Deepshortcuts - only keep the per package shortcut count in memory.
Change to only keep the per Activity shortcut count in memory, not
the list of ids.
The full shortcuts are loaded at long press time so saves memory.

Bug:117239104
Test:Manual and ran instrumentation tests
Change-Id: Iee974ecba2c977216be4f078396ceed22b931f5d
2018-10-22 11:38:09 -07:00
Vadim Tryshev 36bf5d6f24 Enable creating task shortcuts without inheriting
Bug: 117888000
Test: manual test with a prototype
Change-Id: Ib7edab875c18b60cafc912325bd4e1fa0b7f515c
2018-10-19 17:41:23 -07:00
Hyunyoung Song dea579981c Merge "Setup make icon-loader library Bug: 115891474" into ub-launcher3-master 2018-10-19 21:49:13 +00:00
TreeHugger Robot 44347633ef Merge "Adding SystemShortcut for RemoteAction" into ub-launcher3-master 2018-10-19 21:43:39 +00:00
Vadim Tryshev dc7d25d3e1 Adding SystemShortcut for RemoteAction
Bug: 117888000
Test: manual test with a prototype
Change-Id: I10ed0a8c0237a85af5ac32a7fc68e1f9d2ffc5ba
2018-10-19 14:34:00 -07:00
Hyunyoung Song cda96a5b43 Setup make icon-loader library
Bug: 115891474

Test: make -j10 icon-loader
Next step: Launcher will depend on icon-loader in next CL

Change-Id: I797ddb857cf8be79f3be6ca2f174c593ca3713a5
2018-10-19 14:33:46 -07:00
TreeHugger Robot 3ed8626e83 Merge "Changing the FolderIcon shape based on AdpativeIcon" into ub-launcher3-master 2018-10-19 20:36:35 +00:00
TreeHugger Robot a934b2bbca Merge "Using support lib implementation for launcher preference" into ub-launcher3-master 2018-10-19 20:36:31 +00:00
Sunny Goyal 87dc48b7bf Handling configuration changes at runtime instead of killing the process
Change-Id: I0c7f7e58ddb690f371c257b6142a4e918e9acb7f
2018-10-19 12:52:17 -07:00
Vadim Tryshev 3f007ce286 Merge "Enabling creating additional shortcuts by any launcher" into ub-launcher3-master 2018-10-19 18:49:24 +00:00
Vadim Tryshev 0ca6c30bf0 Enabling creating additional shortcuts by any launcher
Bug: 117888000
Test: manual test with a prototype
Change-Id: I4d678a6c35341e61c74ed295d2b2202c5eebe034
2018-10-19 11:39:02 -07:00
Sunny Goyal b2498b2790 Using support lib implementation for launcher preference
Bug: 117519297
Change-Id: Icea5e022a337436e48db9376fd441f805dc34e54
2018-10-19 18:09:40 +00:00
TreeHugger Robot 30dfe8add3 Merge "Fixing state not set properly when configuration changes and remote animation callback comes after threshold is crossed" into ub-launcher3-master 2018-10-19 18:08:42 +00:00
Winson Chung 6e11a2d9f2 Keep input consumer registered and rely on enabled state instead
Bug: 117224991
Test: Ensure swipe up still works
Change-Id: I719ce41959fca2157a3db614e90d404551299007
2018-10-18 22:53:41 +00:00
Sunny Goyal 6083c63e81 Merge "Fixing missing file in build rule" into ub-launcher3-master 2018-10-18 00:05:52 +00:00
Sunny Goyal e67e489f93 Fixing missing file in build rule
Change-Id: I272bfd9516a716637c5a245e13bd3a3f2c334f5c
2018-10-18 00:05:01 +00:00
TreeHugger Robot 1ba4ee89be Merge "Modifying SystemShortcut to enable support for RemoteAction" into ub-launcher3-master 2018-10-17 23:55:24 +00:00
Tony Wickham a937981b87 Merge "Add AllAppsRow plugin interface" into ub-launcher3-master 2018-10-17 20:47:51 +00:00
Vadim Tryshev 9acafc228b Modifying SystemShortcut to enable support for RemoteAction
See the bug, comment #1 for details

Bug: 117888000
Test: manual test with a prototype
Change-Id: I0422df6006e2cfc7344fc3bee531341b11b1050e
2018-10-17 13:45:25 -07:00
TreeHugger Robot 785a379570 Merge "Using a common class for observing secure settings" into ub-launcher3-master 2018-10-17 19:28:46 +00:00
Sunny Goyal d0ae492e9f Changing the FolderIcon shape based on AdpativeIcon
> Creating an abstract interface to represent a folderIcon shape
> Defined few common folder shapes
> Picking the folder shape closest to the AdaptiveIcon shape

Bug: 111433118
Change-Id: Ib35eddbdd6692767aa9dbe6aae1a379a68cc456a
2018-10-17 12:14:41 -07:00
Hyunyoung Song 5d09a44b5b Merge "Remove launcher dependency inside LauncherIcons" into ub-launcher3-master 2018-10-17 19:12:47 +00:00
Sunny Goyal 420d54544e Using a common class for observing secure settings
Bug: 117519297
Change-Id: Ie9d948130aea50bf10c9fc625fdb16f4cfc4712e
2018-10-17 12:07:13 -07:00
Sunny Goyal 367f21999d Adding dark theme for AddItemActivity
Bug: 117786476
Change-Id: I1a3adb7c10ed2326dc1440c3db15f702f42dbfd8
2018-10-17 11:25:40 -07:00
Hyunyoung Song b8137d0e00 Remove launcher dependency inside LauncherIcons
Bug: 115891474

Change-Id: Ie05d005ee3f8a10ebae35f8cf72b4f255a305667
2018-10-17 10:20:20 -07:00
Tony Wickham 5c5c118c48 Add AllAppsRow plugin interface
Bug: 115877296
Change-Id: I750941f220d08ca9ee14067253253f6d81417101
2018-10-16 17:22:09 -07:00
Bill Yi 7b4575107d Import translations. DO NOT MERGE
Change-Id: Ibd9387c2cc872963f84078960e09b9bccfdfcbdc
Auto-generated-cl: translation import
2018-10-16 17:16:15 -07:00
TreeHugger Robot 55ba0dcaaf Merge "Adding some extra logging around draglayer alpha" into ub-launcher3-master 2018-10-16 20:18:11 +00:00
Tracy Zhou dbccb545b5 Merge "Apply animation seen to onStateSetImmediately." into ub-launcher3-master 2018-10-16 19:03:51 +00:00
Tracy Zhou ff66e3a71f Apply animation seen to onStateSetImmediately.
Sometimes onStateSetImmediately gets called upon swipe up, especially when the phone just get unlocked.

Will add a test following this change.

Change-Id: I2d7117ae919663385b300433eceb063af09a5431
BUG: 113629419
Test: Manual
2018-10-16 18:38:54 +00:00
Sunny Goyal ba7dba3983 Fixing state not set properly when configuration changes
and remote animation callback comes after threshold is crossed

The transition length is updated when removeAnimations is received.
If the gesture delta is crossed before that, we were ending up in
long-swipe mode as due to an incomplete check.

Bug: 117549010
Change-Id: If5471c538ac51b84f176a1fad42112e84046da63
2018-10-15 15:31:10 -07:00
TreeHugger Robot ee11f2cf01 Merge "Make flags UI available on release build of launcher" into ub-launcher3-master 2018-10-15 21:38:02 +00:00
Ryan Lothian fa530cd23f Make flags UI available on release build of launcher
The UI will only be shown on eng/userdebug platform builds.

Bug: 117223984
Change-Id: I27843f2d856a4a19f3fe53c4d306606eaa5714a2
2018-10-15 17:24:48 -04:00