Sunny Goyal
9820c05f2b
Removing prediciton loading state
...
Also fixing test flakyness due to delayed prediction loading
Bug: 132993129
Bug: 131854153
Change-Id: I85f7afff0e3ee0ca9e40e92e91681f797a0bc2de
2019-05-23 17:01:19 -07:00
Perumaal Shanmugam and Android (Google) Code Review
d2f793f77d
Merge "Chips flag turn on by default" into ub-launcher3-qt-dev
2019-05-23 21:37:11 +00:00
Sunny Goyal
ab3963ddcf
Moving TestInformationProvider to Launcher3 so that it can be used for
...
testing Launcher3 without quickstep
Also keeping the provider as disabled until needed
Change-Id: Ib5f459e02ae551724b390f3b74f43d601568d749
2019-05-23 14:02:33 -07:00
TreeHugger Robot and Android (Google) Code Review
571e51161c
Merge "Quick patch for PredictionUiStateManager.applyState interrupting allapps" into ub-launcher3-qt-dev
2019-05-23 20:53:27 +00:00
vadimt
0c1ed7cb4c
Quick patch for PredictionUiStateManager.applyState interrupting allapps
...
Constructor of PredictionUiStateManager posts an action in 5 sec, which
may interfere with the process of opening all apps.
Waiting until the posted action happens.
Hopefully this will fix massive flakes.
Bug: 131854153
Change-Id: I6544eae1a3b063c03e78185826c05a76add1f71b
2019-05-23 12:36:32 -07:00
Sunny Goyal
f5d02b069a
Reading navigation_bar_gesture_height for bottom swipe region
...
Bug: 132917885
Change-Id: I39d266fc34a69c3ba50246b5a66350942a85becb
2019-05-23 10:42:24 -07:00
TreeHugger Robot and Android (Google) Code Review
a338daa261
Merge "Adding a utility class to cache views at an activity level" into ub-launcher3-qt-dev
2019-05-22 23:35:03 +00:00
Perumaal S
7664a483f2
Chips flag turn on by default
...
Change-Id: Ia5d23a4711ec507cce75d205d3b8e17434ab6b1e
2019-05-22 15:45:48 -07:00
Sunny Goyal
be8c34077c
Lock launcher rotation during activity transition to allow
...
proper seamless transition at the end
Bug: 131360075
Change-Id: I2b76d4b3e0528e56b7b4709fd3708bc858bf1612
2019-05-22 15:21:56 -07:00
Sunny Goyal
5686333117
Adding a utility class to cache views at an activity level
...
Bug: 122345781
Change-Id: I9a939e0b19c06c1089c1ceb515f8b97fb5dbb49e
2019-05-22 14:23:12 -07:00
Adam Cohen
a09cfe2340
Fix issue where AllAppsContainerView was blocking touches to part of the home screen
...
=> After the scrubber was engaged, it would continue to intercept touches forever
(seems like a long standing issue)
=> Also fixed issue where the All Apps scrubber could be engaged from the Home / Overview
states
b/133265591
b/132716177
Change-Id: I8c7b9d45be65216f2f1a69f69ab1636accd812c0
2019-05-22 14:21:12 -07:00
vadimt
3ab80bb734
Enable debug tracing for a lab-only non-starting app from all apps
...
Bug: 132900132
Change-Id: I9c5bb51e49f865ea1e1d3d2209a8dfb149f66e87
2019-05-22 12:58:35 -07:00
Jon Miranda
4c76bb8b3e
Fix bug where recycled FloatingIconView stays clipped to outline.
...
Bug: 123900446
Change-Id: I9507dab86cc0da27626d1b48e0f6a236f2b3f219
2019-05-22 07:33:31 -07:00
TreeHugger Robot and Android (Google) Code Review
0ef504aa71
Merge "Adding tracing for a lab-only flake" into ub-launcher3-qt-dev
2019-05-22 03:12:56 +00:00
vadimt
e17d1feb79
Adding tracing for a lab-only flake
...
We had a resolved case in the past where an app's context menu didn't
open on a long click (thanks to app updates), now the menu opens, but
the drag gesture doesn't drag the icon.
Bug: 133009122
Change-Id: I45d104a92fab6556ecd937aef76f0a8147e67f56
2019-05-21 17:19:23 -07:00
Sunny Goyal
2524b82369
Remove unnecessary dispatchInsets routing
...
Insets are dispatched to all views. We never consume the insets and
let each view decide what to do with it.
Also fixing scrim in all-apps when in full-gesture navigation
Change-Id: Ib1c6bef5b32aac0c6ea03078b5138d2d0408c6d8
2019-05-21 15:58:44 -07:00
TreeHugger Robot and Android (Google) Code Review
4b41793155
Merge "Not allowing applying dot state to override "disabled" description" into ub-launcher3-qt-dev
2019-05-21 21:05:03 +00:00
vadimt
da6dad5101
Not allowing applying dot state to override "disabled" description
...
Disabled apps were always accessibility-marked like "Disabled Messenger"
With introduction of dots, this degraded, the the "Disabled" part was
never added.
Restoring the old behavior here.
Bug: 129036789
Change-Id: Icb97ea9a190643449d90f558a78039df30c53cbf
2019-05-21 13:24:23 -07:00
TreeHugger Robot and Android (Google) Code Review
32ba3c1125
Merge "Using squared hypot to optimize some comparisions" into ub-launcher3-qt-dev
2019-05-21 19:48:37 +00:00
Sunny Goyal
878aa33567
Using squared hypot to optimize some comparisions
...
Change-Id: Ia5b99c2e60eedf02dea26857819f0e13127db4e2
2019-05-20 15:20:47 -07:00
TreeHugger Robot and Android (Google) Code Review
2445ca0777
Merge "Fix bug where FolderIcon stays visible during swipe up to home animation." into ub-launcher3-qt-dev
2019-05-20 20:16:47 +00:00
TreeHugger Robot and Android (Google) Code Review
692b5a26d9
Merge "Swipe up to home into FolderIcon animation bug fixes." into ub-launcher3-qt-dev
2019-05-20 20:10:18 +00:00
Jon Miranda
ae975a613d
Swipe up to home into FolderIcon animation bug fixes.
...
- Fixes clipping issues.
- Fixes badge being shifted.
Bug: 124510042
Change-Id: I2520d963fb2041a049650c2b8c12ddb3de7b8d87
2019-05-20 11:10:25 -07:00
Sunny Goyal
1b40b731b2
Using different resource size for touch region in landscape
...
Bug: 132917885
Change-Id: Ib702fd17fecff980db2e1d00f05cd055bcc3185a
2019-05-20 10:09:26 -07:00
Jon Miranda
e543818bb6
Fix bug where FolderIcon stays visible during swipe up to home animation.
...
This can happen when opening an app from a folder, and then immediately
swiping up back to home.
This happens because when we swipe up to go home, there's a race condition
where the folder close animation finishes and sets the FolderIcon to VISIBLE
right before FloatingIconView sets it to INVISIBLE.
To fix it, in OverviewState#onStateEnabled we call
AbstractFloatingView#closeAllOpenViews(animate=false). Then we added logic
to cancel any Folder closing animation (which there is,
from WindowTransformSwipeHandler#onLauncherStart) and to just close the
folder right then and there.
Bug: 132588097
Change-Id: I4379431815e7cbddede5ea0213fe9323f001484b
2019-05-20 10:01:15 -07:00
Sunny Goyal
0334047553
Updating SDK check now that the version code is finalized
...
Change-Id: I2b8d65885f83154f7500adb520b1eed1da5c4a4e
2019-05-17 16:57:23 -07:00
TreeHugger Robot and Android (Google) Code Review
d3b0e8ed61
Merge "Add more logging and commands to service dump" into ub-launcher3-qt-dev
2019-05-17 21:34:21 +00:00
Winson Chung
9fe9a155ca
Add more logging and commands to service dump
...
Change-Id: I03d5ea5aac618eba7e0e5a1555e45a165918bb60
2019-05-17 14:23:09 -07:00
TreeHugger Robot and Android (Google) Code Review
b05fbb8915
Merge "Add getOverviewFullscreenProgress() to LauncherState" into ub-launcher3-qt-dev
2019-05-17 20:39:42 +00:00
Tony
5406817028
Add getOverviewFullscreenProgress() to LauncherState
...
- BackgroundAppState sets this to 1, all other states set it to 0
- QuickSwitchState extends BackgroundAppState, and calculations for
fullscreen scale/translation are moved to BackgroundAppState
- Move fullscreen progress logic out of WindowTransformSwipeHandler
and into the launcher activity controller, which uses the new
RecentsView.FULLSCREEN_PROGRESS property to animate it
Bug: 130020567
Change-Id: If6265fcce3749050be354742e7d2c418d11ee9bb
2019-05-17 16:21:02 -04:00
TreeHugger Robot and Android (Google) Code Review
098febafaa
Merge "Make folder backgrounds opaque" into ub-launcher3-qt-dev
2019-05-17 20:13:12 +00:00
Jon Miranda
3f411e7ae4
Add padding between nav bar and hotseat in vertical bar layout.
...
- Set to match the workspace padding on the opposite side of the
screen.
Bug: 130521490
Change-Id: I26fd71bb146c56a647397a040dbbac9d1556c3fe
2019-05-16 17:16:21 -07:00
Hyunyoung Song and Android (Google) Code Review
0d51988d6e
Merge "Add developer options for grid change for Styles Bug: 118758696" into ub-launcher3-qt-dev
2019-05-16 22:08:43 +00:00
Jon Miranda
c2968da372
Fix bug where FloatingIconView did not use IconShape normalization scale.
...
This fix allows for a clean tradeoff between the FIV and the original icon
in all icon shapes.
Bug: 130292844
Change-Id: Ief2eec2673161e0f9d32d8710713a1f01880040d
2019-05-16 14:21:28 -07:00
Hyunyoung Song
58de5de42a
Add developer options for grid change for Styles
...
Bug: 118758696
Change-Id: I66cd36cda495d339e0c2550f0957e3fbcddca477
2019-05-16 13:38:38 -07:00
Hyunyoung Song
d8c71598ee
Make folder backgrounds opaque
...
Bug: 130451254
Change-Id: I3b15d97e44e4ccc2968cfb4402d2479cca958afe
2019-05-15 17:12:39 -07:00
Sunny Goyal
dedda05568
Using a proxy activity for startActivityForResult
...
This ensures that the home task is never blocked by a different task
Bug: 74500048
Change-Id: I01fd26f1d6242e39b2d8fabac5e064b748aebe62
2019-05-15 16:33:06 -07:00
Sunny Goyal and Android (Google) Code Review
62f53ddafb
Merge "Enabling fake rotation by default" into ub-launcher3-qt-dev
2019-05-15 18:39:37 +00:00
Sunny Goyal
41d51a0a15
Enabling fake rotation by default
...
Fake rotation is only enabled if homescreen rotation is not enabled
Bug: 131360075
Change-Id: Ie56fc4b46b38d3a599ec6da3d506a971e73b0394
2019-05-15 11:21:34 -07:00
Jon Miranda
ffaca2e162
Fix landscape app open/close animations.
...
Bug: 123900446
Bug: 124510042
Change-Id: I3db80d6f8064ce26f97cdede63c0d25499416e98
2019-05-15 10:46:33 -07:00
Jon Miranda
4028575ba0
Fade in badges on top of icons after swipe up animation.
...
Bug: 123900446
Change-Id: I54e367e0be72781e24d13ec6ea64dbddd85fb0bd
2019-05-15 09:37:24 -07:00
Jon Miranda
a03f96caef
Tone down foreground springs until they are properly tuned.
...
Change-Id: I8c66bc9b4828da82d5dcf74d1479795c4d75ed7c
2019-05-14 14:21:19 -07:00
TreeHugger Robot and Android (Google) Code Review
348b0ad3cb
Merge "Center align foreground during app open, use springs during app close." into ub-launcher3-qt-dev
2019-05-14 20:38:03 +00:00
TreeHugger Robot and Android (Google) Code Review
4fbfb4123a
Merge "Using model-time scrolling in all apps" into ub-launcher3-qt-dev
2019-05-14 20:34:15 +00:00
Jon Miranda
4b8b5fd4e4
Center align foreground during app open, use springs during app close.
...
Bug: 123900446
Change-Id: Ic4ffed28f6ba8782c3d8dfa031ebd70022c4c520
2019-05-14 12:57:05 -07:00
TreeHugger Robot and Android (Google) Code Review
0e78900d48
Merge "Ensure app widget ids are restored after database is sanitized." into ub-launcher3-qt-dev
2019-05-14 17:45:38 +00:00
vadimt
3d13f303ee
Using model-time scrolling in all apps
...
This should solve flakes when the test thread wakes up too rarely to
inject enough touch events.
Change-Id: I461583d35eb4bfe0192b81c242aacf8d20e353d1
2019-05-14 10:40:22 -07:00
Jon Miranda
c7206caf6e
Ensure app widget ids are restored after database is sanitized.
...
Previously, it was possible for AppWidgetsRestoredReceiver to
start the restore process before work profile has finished restoring which
resulted in the work profile items being removed from the workspace.
Bug: 131315856
Change-Id: I2f295a1ca91f1996522bcc8052aa139979526e3b
2019-05-14 17:30:04 +00:00
Hyunyoung Song
e751d90c44
Implement 3 shades of folder icon/container fill color
...
Bug: 130451254
Change-Id: I36d885a2b0247f1bb84cb98073459853ae723331
2019-05-14 10:15:11 -07:00
TreeHugger Robot and Android (Google) Code Review
0098e382fb
Merge "Fixing insets mapping in 3-button and 2-button mode" into ub-launcher3-qt-dev
2019-05-13 18:31:22 +00:00