Commit Graph

34630 Commits

Author SHA1 Message Date
TreeHugger Robot 210bb43493 Merge "Add app launch event for tap on shortcut in shortcut container." into ub-launcher3-rvc-dev 2020-06-02 00:09:26 +00:00
thiruram b91480e3c7 Add app launch event for tap on shortcut in shortcut container.
Bug: 157765763
Change-Id: I769eb81ccabc96ad1c6c4c3d53ff89a8a744c3e0
2020-06-01 16:38:36 -07:00
Tony Wickham 1287feb616 Update TaskView fullscreen params when updating the thumbnail matrix
Previously, we were only updating the fullscreen params when updating
fullscreen progress. The problem with that is we optimize to skip
updating fullscreen progress if the new progress is the same as the
current. But since the fullscreen params depend on the insets computed
by the preview position helper, we should update the fullscreen params
when we update the preview position helper.

Test: force stop launcher, quick switch directly to the right, ensure
the adjacent TaskView has its insets applied properly

Bug: 157105795
Change-Id: I3c3b47c69205607c9e10ed38c403211816f30939
2020-06-01 18:32:12 -05:00
Sunny Goyal 518d54e3f2 Preventing launcher preload if user setup is not complete
Also fixing some leaks due to not destroying RecentsAnimationDeviceState

Bug: 155350432
Change-Id: I70f510c3db03515d5889f0bcde6a15a9456e9791
2020-06-01 16:19:38 -07:00
TreeHugger Robot 8a258df001 Merge "Fixing loadTasksInBackground called twice on swipe up" into ub-launcher3-rvc-dev am: 2a4dce1402
Original change: undetermined

Change-Id: I18a9d9a2500c102d3e5c0968945203c883b301e7
2020-06-01 22:55:57 +00:00
TreeHugger Robot 2a4dce1402 Merge "Fixing loadTasksInBackground called twice on swipe up" into ub-launcher3-rvc-dev 2020-06-01 22:44:03 +00:00
thiruram 0b278bdeaf Log tap on widget and appinfo system icons within ShortcutContainer. am: 5f1274c863
Original change: undetermined

Change-Id: I01266188426c0518d03d13289aee8292d207d3ed
2020-06-01 22:37:28 +00:00
Sunny Goyal b396864072 Fixing loadTasksInBackground called twice on swipe up
Bug: 157644889
Change-Id: Ia4413ea878f8ba731fbb7a8f61b7c0c0050f3811
2020-06-01 15:12:32 -07:00
thiruram d872ab4eec Add WW log for drag events from longpress popup window. am: 63bf8eedf9
Original change: undetermined

Change-Id: Ie0f78c5ad380d0cd870393cf38d0d65695825359
2020-06-01 22:05:18 +00:00
TreeHugger Robot ff4ccc9699 Merge "Fix bug where font size (etc.) doesn't change after changing display settings." into ub-launcher3-rvc-dev am: 77aaa94bc2
Original change: undetermined

Change-Id: Ibe1ef5eb41e20d23a17c111f46a232cb6f6a66fa
2020-06-01 22:05:12 +00:00
thiruram 5f1274c863 Log tap on widget and appinfo system icons within ShortcutContainer.
Bug: 157765763
Change-Id: Id417728d27678cce073ff36d24b129c4435dcbe5
2020-06-01 21:56:12 +00:00
thiruram 63bf8eedf9 Add WW log for drag events from longpress popup window.
Bug: 157765763
Sample Log: https://docs.google.com/document/d/1CBP2yTcXdFhPdNG5ZmWFKSgd8mDbMevY-akVlUXPLDo/edit#bookmark=id.368csp9y1pwc

Change-Id: I73024f2c8010e77b6f89829fda64130f54ff81f1
2020-06-01 21:55:25 +00:00
TreeHugger Robot 77aaa94bc2 Merge "Fix bug where font size (etc.) doesn't change after changing display settings." into ub-launcher3-rvc-dev 2020-06-01 21:51:53 +00:00
Jon Miranda 7772fcde47 Fix bug where font size (etc.) doesn't change after changing display settings.
The metrics we get from Display#getMetrics does not change regardless of
what the new configuration is (we would expect the scaledDensity to change).

Documentation shows that Display#getMetrics is deprecated in R.

Using guidance from b/154665987#comment14 we get the metrics from the derived
context.

Bug: 156141463
Change-Id: I25e5f2c13f94e0471111f6c895694947998e3222
2020-06-01 14:08:16 -07:00
vadimt bd7ee7366d Checking for success of interactions with Wellbeing
Bug: 157589968
Change-Id: I9a5cc6341c0133ae5e31c47b6bd89f80e15c9099
2020-06-01 14:03:43 -07:00
TreeHugger Robot c74cffb017 Merge "Enable RotationWatcher when home rotation is on" into ub-launcher3-rvc-dev am: 50f2a6c7d6
Original change: undetermined

Change-Id: If3594183ce2c0582c5b0ee89725ee1a41c859924
2020-06-01 20:48:29 +00:00
Vinit Nayak 27498c5989 Merge "Start quickswitch on task switch instead of touch down" into ub-launcher3-rvc-dev am: 39cc356a53
Original change: undetermined

Change-Id: Ie6df60c182979716f4c4fae0f4ef19c0820d7053
2020-06-01 20:48:18 +00:00
TreeHugger Robot 50f2a6c7d6 Merge "Enable RotationWatcher when home rotation is on" into ub-launcher3-rvc-dev 2020-06-01 20:33:30 +00:00
Joshua Tsuji eeb675683b Add SysUiOverlayInputConsumer.
This consumer is used when Bubbles is expanded, and causes swipes up to hide bubbles via closeSystemDialogs rather than going all the way home.

Test: install launcher and swipe up (after including the other CL in this topic)
Fixes: 156390484
Change-Id: I36b71dd95dc45a5a547eddfe0faddf61630b6f25
2020-06-01 20:33:13 +00:00
Vinit Nayak 39cc356a53 Merge "Start quickswitch on task switch instead of touch down" into ub-launcher3-rvc-dev 2020-06-01 20:32:14 +00:00
TreeHugger Robot 2c0bba0768 Merge "Reset Overview layout after swiping to home" into ub-launcher3-rvc-dev am: 0e1cbf56aa
Change-Id: I1c2bef66df6d646dec662ffe7fe9db16039b3bb7
2020-06-01 19:37:11 +00:00
Tony Wickham 10c2b4f9d9 Update home to overview depth interpolator to match other motion
Overview comes in and workspace goes out at overshoot(1.2), so
the wallpaper depth/blur should match that speed.

Test: go to overview from home in 3 button or 0 button mode,
ensure wallpaper scales down at the same rate as other elements

Bug: 154637581
Change-Id: I03254fa3fdf19f468852bed8aab7ba21203c429a
2020-06-01 14:36:46 -05:00
TreeHugger Robot 0e1cbf56aa Merge "Reset Overview layout after swiping to home" into ub-launcher3-rvc-dev 2020-06-01 19:24:54 +00:00
Vinit Nayak acd2f58693 Start quickswitch on task switch instead of touch down
Previously we would enter a quickswitch session state
whenever user tapped on navbar and sent flags to
sysui to only enable edge gesture for the current rotation.
Now we only do that on a new task resulting from the gesture
or when going into recents to show nav bar in the
orientation user would expect it (only if they never
quickswitched).

Fixes: 155844780
Test: Tested swiping back from quickswitching
into apps of different orientations.
Note that back is still broken when you
quickswitch and then rotate the foreground app.

Change-Id: I935e7c66489d46e59156414d64653c846ae4c5d8
2020-06-01 12:06:47 -07:00
Hyunyoung Song 4aad50b095 Merge "Migrate launcher home settings button tap/longpress logging to WW" into ub-launcher3-rvc-dev am: 2911c56a80
Change-Id: Icc5219be1dc3b38c0aa06a658ee6d639822fab3e
2020-06-01 18:24:10 +00:00
Hyunyoung Song 2911c56a80 Merge "Migrate launcher home settings button tap/longpress logging to WW" into ub-launcher3-rvc-dev 2020-06-01 18:08:39 +00:00
Vinit Nayak 90b006dbe5 Reset Overview layout after swiping to home
Reset overview when user does a swipe to home
gesture. Preivously we only rest when user
first when to over, and then swiped to home.

Fixes: 156053957
Change-Id: I5a157f9e2229aba4b36851bd46d704a39d647110
2020-06-01 10:40:05 -07:00
TreeHugger Robot 5013269895 Merge "More logging for pause non-detection" into ub-launcher3-rvc-dev am: 6d9e0c4a55
Change-Id: I28e1cfbc4b01f047a47023c2e2d929324d3bdb3a
2020-06-01 17:39:58 +00:00
TreeHugger Robot 6d9e0c4a55 Merge "More logging for pause non-detection" into ub-launcher3-rvc-dev 2020-06-01 17:27:10 +00:00
TreeHugger Robot 7c2be0af52 Merge "Removes unused constant" into ub-launcher3-rvc-dev am: 7149a7e0c5
Change-Id: I7a7759e23e994583069d42d4ccba5f625cd80422
2020-06-01 17:04:29 +00:00
TreeHugger Robot 7149a7e0c5 Merge "Removes unused constant" into ub-launcher3-rvc-dev 2020-06-01 16:50:30 +00:00
Jon Miranda 10a6ed86eb More logging for pause non-detection
Bug: 156044202
Change-Id: I68d6febf4c201c2fea41c7e24600dcc2c54a680a
2020-06-01 09:39:13 -07:00
android-build-team Robot f48a504329 Snap for 6545159 from 6af7a549f7 to mainline-release
Change-Id: I0f919b76b2c016cb2987423dfa5d472e8b01caa2
2020-05-31 07:05:55 +00:00
android-build-team Robot cfe3b8fefa Snap for 6544675 from 614c185e21 to rvc-release
Change-Id: Ia641d331113b1ec54f4700dd70dfc228e8671871
2020-05-30 23:08:24 +00:00
Tracy Zhou 49eab6aa95 Merge "Merging from ub-launcher3-rvc-dev @ build 6541617" into rvc-dev am: 614c185e21 am: dfbe0fc1a3 am: 31c91486b0 am: 35d42c2aad
Change-Id: If2f9c82bbfd8fb2e8bd86ebddb3eb2a8b21ed756
2020-05-30 08:37:03 +00:00
Tracy Zhou d08a34931e Merge "Merging from ub-launcher3-rvc-dev @ build 6541617" into rvc-dev am: 614c185e21 am: fd8f51550a am: b9b7392169 am: b576073973
Change-Id: I3d07bc8babaa15aef48592fcbe81f940f5910c49
2020-05-30 08:36:53 +00:00
Tracy Zhou 40a53f5398 Merge "Merging from ub-launcher3-rvc-dev @ build 6541617" into rvc-dev am: 614c185e21 am: dfbe0fc1a3 am: ffa5d445b1 am: 1ee4743a17
Change-Id: Idcc1eb34ad0df71379b0689728d5304cda3bcf43
2020-05-30 08:36:42 +00:00
Tracy Zhou 35d42c2aad Merge "Merging from ub-launcher3-rvc-dev @ build 6541617" into rvc-dev am: 614c185e21 am: dfbe0fc1a3 am: 31c91486b0
Change-Id: Ic09c9af1c63be028a0709915fb136ce3bee35ac2
2020-05-30 08:19:58 +00:00
Tracy Zhou b576073973 Merge "Merging from ub-launcher3-rvc-dev @ build 6541617" into rvc-dev am: 614c185e21 am: fd8f51550a am: b9b7392169
Change-Id: I955e168a1f7b3e64d6442ecbe181b30c460f5446
2020-05-30 08:19:53 +00:00
Tracy Zhou 1ee4743a17 Merge "Merging from ub-launcher3-rvc-dev @ build 6541617" into rvc-dev am: 614c185e21 am: dfbe0fc1a3 am: ffa5d445b1
Change-Id: I39e2656745d68475296436d46fc97d3217536f49
2020-05-30 08:19:36 +00:00
Tracy Zhou b9b7392169 Merge "Merging from ub-launcher3-rvc-dev @ build 6541617" into rvc-dev am: 614c185e21 am: fd8f51550a
Change-Id: I52d23d6355eae192e33b0def61914de37be63a9d
2020-05-30 08:01:56 +00:00
Tracy Zhou ffa5d445b1 Merge "Merging from ub-launcher3-rvc-dev @ build 6541617" into rvc-dev am: 614c185e21 am: dfbe0fc1a3
Change-Id: Ia6ccd9d7e5b528d20021f62c610e3a8f8a0d3953
2020-05-30 08:01:49 +00:00
Tracy Zhou 31c91486b0 Merge "Merging from ub-launcher3-rvc-dev @ build 6541617" into rvc-dev am: 614c185e21 am: dfbe0fc1a3
Change-Id: Ibed9166730399fed95e18316bb33695c091fa794
2020-05-30 08:01:43 +00:00
Tracy Zhou 6af7a549f7 Merge "Merging from ub-launcher3-rvc-dev @ build 6541617" into rvc-dev am: 614c185e21
Change-Id: I9a16b1df189b49c4021357606763b47168757ab0
2020-05-30 07:49:07 +00:00
Tracy Zhou fd8f51550a Merge "Merging from ub-launcher3-rvc-dev @ build 6541617" into rvc-dev am: 614c185e21
Change-Id: I9c3cf5433ed88168801834cc7ac64e0a2c7c56ad
2020-05-30 07:48:56 +00:00
Tracy Zhou dfbe0fc1a3 Merge "Merging from ub-launcher3-rvc-dev @ build 6541617" into rvc-dev am: 614c185e21
Change-Id: Id5932ec25d3997e24f8fcb97b17804a62ac99795
2020-05-30 07:48:45 +00:00
Tracy Zhou 614c185e21 Merge "Merging from ub-launcher3-rvc-dev @ build 6541617" into rvc-dev 2020-05-30 07:34:04 +00:00
Evan Rosky c2d940089c Merge "Move static-crops to 0,0 in animations" into rvc-dev am: 4279ef679f am: 82cd31ad26 am: 116990520f am: 2614fbfec7
Change-Id: I43197693eafd81cb6d67f1890ad349e3b721dd5c
2020-05-30 04:49:20 +00:00
Evan Rosky c649402bb8 Merge "Move static-crops to 0,0 in animations" into rvc-dev am: 4279ef679f am: c10ce7db6d am: f4335a8643 am: ed62be2a81
Change-Id: I5116df1bd57784ac0f5d222cd255c52774c3ba72
2020-05-30 04:49:13 +00:00
Evan Rosky ac87f13c7a Merge "Move static-crops to 0,0 in animations" into rvc-dev am: 4279ef679f am: 82cd31ad26 am: 2292947130 am: 1ec2baaa9e
Change-Id: I34557b447ef509c15fc650899ad41c0c2f56636f
2020-05-30 04:49:07 +00:00