Bill Yi
cbab862cf8
Merge pi-dr1-dev to aosp-master
...
Change-Id: I3bdbba15a0bc0d2b5140ed92972f6650af91ef26
2018-10-19 12:20:46 -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
Winson Chung
578deb0875
Keep input consumer registered and rely on enabled state instead
...
Bug: 117224991
Test: Ensure swipe up still works
Change-Id: I719ce41959fca2157a3db614e90d404551299007
2018-10-18 15:44:49 -07:00
Winson Chung
13c072b904
Merge branch 'ub-launcher3-master' into launcher3merge2018-10-17
...
Test: Presubmit
Change-Id: Ibec2771e9b4e5a81dc618bc0f6951ba52aed6801
2018-10-17 17:43:56 -07: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
Vadim Tryshev
2ccdd08ad1
Merge "Supporting OOP tests" into ub-launcher3-master
2018-10-15 20:12:45 +00:00
Sunny Goyal
cb2c505917
Adding some extra logging around draglayer alpha
...
Bug: 116853349
Change-Id: I8b7ddbfdd74ea422380097e62bea86e160c1651f
2018-10-15 12:30:47 -07:00
TreeHugger Robot
cf7715511e
Merge "Adding keyboard handling to QsbHostView similar to a normal appwidget view" into ub-launcher3-master
2018-10-15 18:10:32 +00:00
Sunny Goyal
c604a10551
Adding keyboard handling to QsbHostView similar to a normal appwidget view
...
Bug: 116842846
Change-Id: Ibab2dc1793561998f81710301d9ce0ca3d77e7b4
2018-10-15 11:00:28 -07:00
Winson Chung
0ac0be2e4f
Merge "Fix issue with side pages being visible momentarily when swiping up" into ub-launcher3-master
2018-10-15 17:31:57 +00:00
TreeHugger Robot
367f8f2e2d
Merge "Fixing wrong index passed when highlighting a preference during scroll" into ub-launcher3-master
2018-10-13 02:13:43 +00:00
Vadim Tryshev
34b6f9f106
Supporting OOP tests
...
AbstractLauncherUiTest was modified to compile and work both in- and
out- of proc.
Bug: 113056917
Test: was in Nexus branch
2018-10-13 01:13:45 +00:00
Sunny Goyal
570dac8123
Fixing wrong index passed when highlighting a preference during scroll
...
Bug: 117656931
Change-Id: I518ac7a309774cb91b64433ccece2b9f272639db
2018-10-12 15:43:12 -07:00
Winson Chung
7f96440ee0
Fix issue with side pages being visible momentarily when swiping up
...
- Apply the initial scale to overview while it is in the backround app
state to ensure the side pages are positioned accordingly. Since this
affects the computation of the target rects for the overview
animation, also ensure that we calculate those with the final target
overview scale applied.
Bug: 117439562
Change-Id: I5e00cf1683e31b22cf937b966d52f8cbe745aaba
2018-10-12 14:46:13 -07:00
TreeHugger Robot
9ccff14b53
Merge "Remove unused NO_ALL_APPS_ICON flag" into ub-launcher3-master
2018-10-12 18:58:50 +00:00
Ryan Lothian
f2e8ddaf79
Remove unused NO_ALL_APPS_ICON flag
...
Change-Id: I2286121d8e396acc4afe76c77ef99abd6154a866
2018-10-12 14:45:35 -04:00
TreeHugger Robot
0e62132923
Merge "Fixing BindWidgetTest failing on Launcher3" into ub-launcher3-master
2018-10-11 23:15:18 +00:00
Winson Chung
181f9865ca
Merge "Reduce extraneous loading of task snapshots/icons" into ub-launcher3-master
2018-10-11 23:09:42 +00:00
Sunny Goyal
4470344529
Fixing BindWidgetTest failing on Launcher3
...
Bug: 117616326
Change-Id: I3d08defc735498305cf982b214f6c0fae1508bd9
2018-10-11 16:06:52 -07:00
TreeHugger Robot
7fad0d54ca
Merge "Fixing overview package name chech in TAPL" into ub-launcher3-master
2018-10-11 21:33:16 +00:00
TreeHugger Robot
e0c16831a8
Merge "Fixing dead lock in loading icon for recents" into ub-launcher3-master
2018-10-11 21:33:14 +00:00
Sunny Goyal
719f58b23f
Fixing dead lock in loading icon for recents
...
> getBitmapInfo() is called on background thead which blocks
on the main thread to get InvariantDeviceProfile
> getDefaultIcon() can be called on the main thread, which
would get blocked on a previous call of getBitmapInfo()
Bug: 117588621
Change-Id: I6549398c7e0a49284fe59950965495074ab8cdd0
2018-10-11 13:59:20 -07:00
Sunny Goyal
897931a56a
Fixing overview package name chech in TAPL
...
Bug: 117568664
Change-Id: Icac29b4c2c600b90aa21d6db0a7a81403eb3c785
2018-10-11 13:41:27 -07:00
Winson Chung
4292c3038b
Reduce extraneous loading of task snapshots/icons
...
- Skip handling loading visible task data after resetting overview, we
currently keep the tasks bound to their task views (some calls are not
synchronous with the lifecycle of recents, can be changed later), so
the next call to loadVisibleTasks before the tasks have been loaded would
load snapshots for old tasks
- Skip loading tasks if the previously requested load plan is still valid,
this can happen because setCurrentTask() will be called multiple times
during swipe up
Bug: 117603579
Change-Id: Ie58ded14dedbb3934d08163ca7939d89310c3ecf
2018-10-11 12:48:16 -07:00
Tony Wickham
76cce29d66
Add plugin support
...
- Add libs/plugin_core.jar
- Include plugin_core in Launcher3 build (it is already present other
builds as part of the updated shared lib)
- Add PluginEnablerImpl that uses SharedPrefs to enable/disable plugin
components
- Add src_plugins, where plugin interfaces will live. It has a build
rule to create a jar that plugin projects will depend on.
- Copy PluginPreferencesFragment from sysui but using our implementation
for PluginEnabler
Bug: 115877296
Change-Id: I3db54677eaceb10f92018c0f9d18920ad9ffac39
2018-10-10 14:02:56 -07:00
Sunny Goyal
4548a7d48d
Disabling proguard on Launcher3 as it is a test target
...
Bug: 117527405
Change-Id: I4d32cf060eebaa0d8efe4f0a3a5c924eadcffa4a
2018-10-10 10:03:02 -07:00
Vadim Tryshev
514cd27850
Merge "Improving tests to fix testBindNormalWidget_withoutConfig, and beyond" into ub-launcher3-master
2018-10-10 02:03:39 +00:00
Vadim Tryshev
016ca90736
Merge "Keep hunting down flakes in testOpenCloseMessagesApp" into ub-launcher3-master
2018-10-10 02:02:31 +00:00