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
TreeHugger Robot and Android (Google) Code Review
06892dcfab
Merge "Swipe up to home animation changes." into ub-launcher3-qt-dev
2019-05-13 18:11:40 +00:00
TreeHugger Robot and Android (Google) Code Review
ba39e91dfd
Merge "Use LauncherApps#getAllPackageInstallerSessions to get all sessions." into ub-launcher3-qt-dev
2019-05-13 18:07:48 +00:00
Jon Miranda
a3c0b0aa68
Swipe up to home animation changes.
...
* Tracks either the top or bottom of the rect for the fling/spring in the
Y direction.
- This allows us to have the icon always animate downwards.
* Scales the spring velocity for the Y component.
Bug: 124510042
Change-Id: I47571f906c8aa1beca4dd703d67d013ab6a1161f
2019-05-13 10:58:54 -07:00
Jon Miranda
c2e54bc210
Use LauncherApps#getAllPackageInstallerSessions to get all sessions.
...
This new API allows us to get the package installer sessions for the main
user as well as the managed profile, which will allow us to restore
work profile items on the workspace.
Bug: 131315856
Change-Id: Id76e815a76d1c715bc160776fd87d75bba92ff93
2019-05-13 10:52:26 -07:00
Sunny Goyal
7a39b1bc5f
Fixing insets mapping in 3-button and 2-button mode
...
Bug: 131360075
Change-Id: If6e3a4fbb011fc313efeb91686a9d787761862c5
2019-05-13 10:29:11 -07:00
TreeHugger Robot and Android (Google) Code Review
952fdb3e70
Merge "Add some floating views that should hide back button" into ub-launcher3-qt-dev
2019-05-13 17:19:33 +00:00
Tony
f941f8493d
Add some floating views that should hide back button
...
Change-Id: I5c8b7803d2ab8347d11786d84128f6f431b4cbfc
2019-05-13 11:15:54 -05:00
Jon Miranda
5bbc3b7054
Force hide notification dot until fade animation is complete.
...
When the animation is complete, the notification dot animates in.
Bug: 123900446
Change-Id: Ie98342f2945ac4e42fb810b4334ef03a734ebef2
2019-05-12 18:19:30 +00:00
Jonathan Miranda and Android (Google) Code Review
57730ed095
Merge "Initial app open/close polish using tuned values." into ub-launcher3-qt-dev
2019-05-10 17:30:46 +00:00
Jon Miranda
2da1da3076
Initial app open/close polish using tuned values.
...
* Rect and radius now match the app window size.
Bug: 124510042
Bug: 122843905
Change-Id: Ibc85bfe1d75d01cefe00b6bf32557e04a0ee4716
2019-05-10 10:11:35 -07:00
Alex Mang and Android (Google) Code Review
9b39df068e
Merge "Adding query length parameter to protobuf" into ub-launcher3-qt-dev
2019-05-10 17:04:57 +00:00
vadimt
24d31d4b6e
Disabling updating All Apps during a long-press recognition
...
This is supposed to eliminate test flakes in the lab.
When an app gets updated while all apps is opened, all-apps will be
re-laid-out.
If the layout happens while we are recognizing a long-press on an app
icon in all Apps, the long-press won't be recognized.
In the lab, this happened so frequently that it caused considerable
flakiness. Even after we started running tests in airplane mode, this
still keeps happening. The bug refers an example with airplane mode on.
The fix will be also mildly beneficial for users.
Bug: 132177321
Change-Id: Ie7c7473fe94b8af83f04cd719286bae69e2d9de0
2019-05-09 15:48:32 -07:00
Alex Mang
68c67540cd
Adding query length parameter to protobuf
...
Bug: 131940434
Change-Id: Iaa7ca520406df882e154db3662a190607eb61b23
2019-05-09 15:13:52 -07:00
Vadim Tryshev and Android (Google) Code Review
94dbfb9bdb
Merge "Not using magic constants for navbar height" into ub-launcher3-qt-dev
2019-05-09 00:42:15 +00:00
vadimt
1b383af652
Not using magic constants for navbar height
...
Change-Id: I6783b8a2ebb059ce35748d8c3e818cbe732ff40d
2019-05-08 17:20:34 -07:00
Jon Miranda
df94de9343
Fix SDK check to use Utilities.ATLEAST_Q.
...
Bug: 131315856
Change-Id: Ie1d00d85dd01da7e57f28e16f51a49962d734927
2019-05-08 10:05:57 -07:00
Tony Wickham and Android (Google) Code Review
3acd837949
Merge "Always place notification dots directly on adaptive icon path" into ub-launcher3-qt-dev
2019-05-06 21:57:34 +00:00
Tony Wickham and Sunny Goyal
e1cb93f957
Always place notification dots directly on adaptive icon path
...
- Calculate point on icon path nearest to top right corner, and
use that as center for the dot
- Cleanup code related to dot offset
Test:
Set each style (different icon shape) and verify dot is in correct
placement for each of:
- Folders
- Icons in folders
- Icons in all apps
- Icons on workspace
Bug: 124414511
Change-Id: I036ed3677e8af222f00d4fad4a36a7e4d9b49ad9
2019-05-06 10:42:55 -07:00
Winson Chung
0e44900863
Continue gestures on interaction after recents animation finishes
...
- Detect when start of the next task is interrupted with another gesture
(after finishing the recents animation but before the next task is
launched), and ensure that the next gesture is continued with another
other activity input consumer (but without actual remote animation
targets)
Bug: 128376812
Test: Introduce artificial delay in recents animation finish, try to quick
switch quickly
Change-Id: I057a0b2c4b7e8636467e37f5bbc8800b46c24345
2019-05-06 10:17:49 -07:00
Sunny Goyal and Android (Google) Code Review
56b3dfaa04
Merge "Updating floating animation target if layout changes during the animation" into ub-launcher3-qt-dev
2019-05-04 19:39:20 +00:00
Sunny Goyal and Android (Google) Code Review
a962578718
Merge "Calling onTransitionEnd when starting a user controller animation so that any transient property is cleared" into ub-launcher3-qt-dev
2019-05-04 18:45:36 +00:00
Sunny Goyal
abb55950f6
Updating floating animation target if layout changes during the animation
...
Bug: 131360075
Change-Id: Id71e154aa59177955baa9daab00ecf11ee7d8c43
2019-05-04 11:38:47 -07:00
Sunny Goyal
905262c1a7
Adding utility method to get adaptive icon scale
...
Change-Id: I5ff190c3b794bb13309375782ccd420e85b59091
2019-05-03 21:31:46 -07:00
Sunny Goyal
9cc1b2f242
Calling onTransitionEnd when starting a user controller animation so
...
that any transient property is cleared
Bug: 80529128
Bug: 131360075
Change-Id: I613a0df4a06861be1c7195e1473c907489de1d1a
2019-05-03 11:56:18 -07:00
Sunny Goyal
878f6d3871
Fixing FloatingIconView position and rotation in rotated layout
...
Bug: 131360075
Change-Id: I4e39f35df99a07e00f3e86865b330d91e9461da0
2019-05-03 11:35:10 -07:00
vadimt
04f356fe17
Fixing jank in folder animation.
...
This continues ag/6410337
Bug: 69236787
Test: Manual
Change-Id: Iac9f7ab21bf3741846b9721d4c8235e8fc49f7fb
2019-05-02 15:40:18 -07:00
Jonathan Miranda and Android (Google) Code Review
a34072b76b
Merge "Use original BubbleTextView icon for legacy stamped forced adaptive icons." into ub-launcher3-qt-dev
2019-05-02 22:15:45 +00:00