Jeremy Sim
fbb19cf016
Allows Launcher to recover gracefully into OverviewSplitSelect state
...
When Launcher restarts (as the result of a UiModeChange or something else), it attempts to recover its previous state. However, the OverviewSplitSelect state is unique because it requires some additional information to recover properly (the taskId of the staged task and so on). This change makes it so that the relevant information is passed forward in the recovery bundle. Launcher will now restart in the base Overview state, and then immediately apply the saved data to recover the OverviewSplitSelect state.
Fixes: 233019928
Test: Manual
Change-Id: Ie6123ef9c374be000268f82857b696c49213c541
2022-06-30 21:18:42 +00:00
Tracy Zhou
282a504f1d
Merge "Show IME switcher only when physical keyboard is connected in 3 button nav (instead of also when virtual keyboard is visible)" into tm-qpr-dev am: 1092ccacbf am: dc8edee14d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19072234
Change-Id: I7cb11a850f9101dfb226b2bdc4ec2685572e2b1c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-29 22:32:47 +00:00
Tracy Zhou
1092ccacbf
Merge "Show IME switcher only when physical keyboard is connected in 3 button nav (instead of also when virtual keyboard is visible)" into tm-qpr-dev
2022-06-29 21:27:17 +00:00
TreeHugger Robot
d5daa6d317
Merge "Let launcher clean-up shell transition leashes" into tm-qpr-dev am: 3cbbacebc8 am: 4c9264bd4d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19089545
Change-Id: I8059b97a1fe554131950544cfae8060c8816ec06
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-29 03:01:12 +00:00
Wei Sheng Shih
beef5e7a5f
Merge "[Shell Transition]Fix live tile be hidden by wallpaper leash." into tm-qpr-dev am: 0dd24fc7c3 am: 96032fd6f9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18911564
Change-Id: If1c895650d3fd3f406173e59e5bd1e0f71449557
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-29 03:00:47 +00:00
TreeHugger Robot
3cbbacebc8
Merge "Let launcher clean-up shell transition leashes" into tm-qpr-dev
2022-06-29 02:41:30 +00:00
Wei Sheng Shih
0dd24fc7c3
Merge "[Shell Transition]Fix live tile be hidden by wallpaper leash." into tm-qpr-dev
2022-06-29 02:10:19 +00:00
Anushree Ganjam
9c249312a4
Merge "Move bitmapSupplier.get() call to a worker thread." into tm-qpr-dev am: a65cc60f9d am: 385928d028
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18962392
Change-Id: I57c8dc859688fd91a8db1a2de80434eef76a5887
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-29 00:03:19 +00:00
Anushree Ganjam
a65cc60f9d
Merge "Move bitmapSupplier.get() call to a worker thread." into tm-qpr-dev
2022-06-28 23:13:35 +00:00
Hongwei Wang
459b6585d1
Merge "Scale the surface by progress when auto enter PiP" into tm-qpr-dev am: 6c4b75c365 am: e83a067d36
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19087389
Change-Id: I8fbd34fcf4e0bbc11f87d8ecd990dcd9a160a88b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-28 16:49:10 +00:00
Vinit Nayak
aa882e8820
Merge "Close all open views for 1P and 3P launchers" into tm-qpr-dev am: 6b05c8ce1f am: 68a4da89d7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18916005
Change-Id: I174474451a02ab92efcc748ff00653ab2e2d9710
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-28 16:48:58 +00:00
Vinit Nayak
5ceecaddd1
Merge "Hide split option if task is not dockable" into tm-qpr-dev am: c012c5385d am: ef1b44d215
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19087427
Change-Id: I034aff305b527002825ec9bffa7ff3d8045035bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-28 16:48:49 +00:00
Hongwei Wang
6c4b75c365
Merge "Scale the surface by progress when auto enter PiP" into tm-qpr-dev
2022-06-28 16:40:21 +00:00
Vinit Nayak
6b05c8ce1f
Merge "Close all open views for 1P and 3P launchers" into tm-qpr-dev
2022-06-28 16:24:16 +00:00
Nicolò Mazzucato
37608c95b8
Merge "Add jank monitoring for taskbar appearing and disappearing" into tm-qpr-dev am: 5529b23fbb am: 33240a47ef
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18457404
Change-Id: Ie07b1e4d0a56f3790e17376e1321a36104d28669
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-28 16:23:41 +00:00
Vinit Nayak
c012c5385d
Merge "Hide split option if task is not dockable" into tm-qpr-dev
2022-06-28 16:15:52 +00:00
Nicolò Mazzucato
5529b23fbb
Merge "Add jank monitoring for taskbar appearing and disappearing" into tm-qpr-dev
2022-06-28 15:15:35 +00:00
Vaibhav Devmurari
b1405a2fc1
Merge "Allow taskbar and taskbar all apps window to receive split touches" into tm-qpr-dev
2022-06-28 10:24:27 +00:00
Nicolo' Mazzucato
8256537fdb
Add jank monitoring for taskbar appearing and disappearing
...
Bug: 228969045
Test: record a perfetto trace and make sure the interaction is there
Change-Id: Id220f8eef5b08fb69410e08c230f867ffe21d126
2022-06-28 08:28:35 +00:00
Tracy Zhou
426f11ad83
Merge "Stash task bar when ime switcher is showing" into tm-qpr-dev am: 5bd220a230 am: 4267f132b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19066400
Change-Id: Ie512ccfbcd45504e03e733beb04ea043b8b9d197
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-28 06:03:19 +00:00
Vinit Nayak
e8a805c3f6
Hide split option if task is not dockable
...
* Also hide if activity is currently in multi-window
to keep logic parity
Fixes: 236689017
Test: Unable to initiate split with Camera app
Change-Id: Ib7e3043cbc7d4e2ef5da51779de36969ae7e6fef
2022-06-27 22:26:11 -07:00
Tracy Zhou
5bd220a230
Merge "Stash task bar when ime switcher is showing" into tm-qpr-dev
2022-06-28 04:50:34 +00:00
Tracy Zhou
7d0ff06995
Merge "Perform haptic feedback on nav button key press" into tm-qpr-dev am: 6663ebba3e am: 894d75f27a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19053212
Change-Id: I71e2af12cc4f82ea936b223c266fa40be52716df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-28 01:47:31 +00:00
Anushree Ganjam
d1a3e7ff2c
Move bitmapSupplier.get() call to a worker thread.
...
bitmapSupplier.get() is called twice which is unnecessary.
Call bitmapSupplier.get() in the constructor instead.
Bug: 232850298
Test: Manual.
OverView - shareImageToTarget https://b.corp.google.com/issues/232850298#comment8
Screenshot share from Toast - https://b.corp.google.com/issues/232850298#comment7
Change-Id: I920f89b90fafcc0d51b1b948fd76fdc9aaee4c52
2022-06-28 00:42:53 +00:00
Evan Rosky
6f4613749e
Let launcher clean-up shell transition leashes
...
Originally disabled this when we were directly using
the transition's leashes for animation (since the transition
system owns those leashes). However, now that we create our
own leashes in RemoteAnimationAdapterCompat, we can use this
logic again.
Bug: 235616350
Test: launch and close app in quick succession
Change-Id: I27f70f26e114443aeb83671437f54747aae92c51
2022-06-27 16:07:33 -07:00
Tracy Zhou
6663ebba3e
Merge "Perform haptic feedback on nav button key press" into tm-qpr-dev
2022-06-27 22:55:42 +00:00
Hongwei Wang
56911984e4
Scale the surface by progress when auto enter PiP
...
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/coTRupQrNjoSwGDzMhA4X7
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/fDqPTOPwyxHaZ4HLZDF7di
Bug: 235268241
Test: Verify the auto enter PiP animation for YouTube in \
both folded and unfolded state. See also videos.
Change-Id: I6fc10d6a733b8bdd3587994e8e27c4d6ab7e4f39
2022-06-27 11:32:15 -07:00
Tony Wickham
5ce98a18f4
Merge "Log when MotionPauseDetector detects onMotionPauseChanged" into tm-qpr-dev am: c4405218ca am: b653ac621b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19036576
Change-Id: Ie360f187fcae3078baf6ba8701547bb8e0e1e689
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-27 18:10:25 +00:00
Tony Wickham
c4405218ca
Merge "Log when MotionPauseDetector detects onMotionPauseChanged" into tm-qpr-dev
2022-06-27 17:28:17 +00:00
Vaibhav Devmurari
207e374413
Allow taskbar and taskbar all apps window to receive split touches
...
Adding feature to allow UI interaction during Drag and drop.
To allow user to interact with taskbar UI during D&D, the window
should support FLAG_SPLIT_TOUCH to receive touch events while user
using D&D.
DD: go/global_drag_and_drop
Test: manual
Bug: 220109830
Change-Id: Icd549aa272c140d865d89eeb9f5619b5ab13c015
(cherry picked from commit 0074baa82e )
2022-06-27 10:11:58 +00:00
Vaibhav Devmurari
3253d8f4a3
Merge "Allow taskbar and taskbar all apps window to receive split touches"
2022-06-27 10:11:30 +00:00
Tracy Zhou
015adda83c
Stash task bar when ime switcher is showing
...
Bug: 226489759
Test: connect to physical keyboard and select a typable field, and make sure the task bar is stashed
Change-Id: Ie1cf753f793dc9cb350e57e9448c2913260992ca
2022-06-25 16:26:13 -07:00
Tracy Zhou
38afa9ba34
Merge "Fix ime switcher not showing for 3-button nav" into tm-qpr-dev am: f9fafe7a92 am: 03c4e3af2d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19066374
Change-Id: Id04f26c0e71181cfb32a7cd5932f06c6c7cc832b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-25 07:07:25 +00:00
TreeHugger Robot
90982ba3bf
Merge "Treat all apps predictions as all app icons when animating icons to their original position" into tm-qpr-dev am: ce12869fad am: 9d9895c100
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19066650
Change-Id: I29ee913fa3d83b3c05a705a71cc87cfc92b64764
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-25 07:06:13 +00:00
Tracy Zhou
849a0c4e81
Show IME switcher only when physical keyboard is connected in 3 button nav (instead of also when virtual keyboard is visible)
...
Bug: 226489759
Test: connect to a physical keyboard in 3 button nav and make sure the ime switcher shows; and doesn't show with virtual keyboard
Change-Id: Ib9a5880eb1bd6d5b877a9f3789ce858f399c4910
2022-06-24 23:40:41 -07:00
Tracy Zhou
f9fafe7a92
Merge "Fix ime switcher not showing for 3-button nav" into tm-qpr-dev
2022-06-25 06:36:39 +00:00
TreeHugger Robot
ce12869fad
Merge "Treat all apps predictions as all app icons when animating icons to their original position" into tm-qpr-dev
2022-06-25 06:33:16 +00:00
Schneider Victor-tulias
a36e5f13c0
Treat all apps predictions as all app icons when animating icons to their original position
...
Taskbar all apps predictions were being ignored when animating a cancelled drag to their original position. This was causing a null pointer since they no longer had a view parent that could be used. These icons will now animated to the taskbar all apps icon.
Fixes: 236669335
Test: cancelled drags of taskbar icons, predicted taskbar icons, taskbar all apps icons and taskbar all apps prediction icons
Change-Id: I2a9a1ed4120927a08b8c8341ad36dfdb95fef608
2022-06-24 12:22:04 -07:00
Tracy Zhou
804feb76e7
Fix ime switcher not showing for 3-button nav
...
Bug: 226489759
Test: connect to a physical keyboard in 3 button nav and make sure the ime switcher shows
Change-Id: Iabde149e8bcd1edacff8e039f956628c69341ecb
2022-06-24 11:17:40 -07:00
Vaibhav Devmurari
0074baa82e
Allow taskbar and taskbar all apps window to receive split touches
...
Adding feature to allow UI interaction during Drag and drop.
To allow user to interact with taskbar UI during D&D, the window
should support FLAG_SPLIT_TOUCH to receive touch events while user
using D&D.
DD: go/global_drag_and_drop
Test: manual
Bug: 220109830
Change-Id: Icd549aa272c140d865d89eeb9f5619b5ab13c015
2022-06-24 16:25:53 +00:00
Luca Zuccarini
9797a234f2
Merge "Unify the source of truth for NORMAL <> ALL_APPS transitions." into tm-qpr-dev am: 4a0129fa5f am: 0e12609cb2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18911769
Change-Id: I0c9d5f68008c4018e76db5121ff42f4af8315c66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-24 10:41:08 +00:00
Alex Chau
4aecfa4068
Merge "Check null before getting DeviceProfile in AbsSwipeUpHandler" into tm-qpr-dev am: f7526085a9 am: e0f3bc67d9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19038729
Change-Id: I62b7dd26970960b8099bcbf956aff40d4fc1b5e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-24 10:39:59 +00:00
Luca Zuccarini
4a0129fa5f
Merge "Unify the source of truth for NORMAL <> ALL_APPS transitions." into tm-qpr-dev
2022-06-24 10:25:49 +00:00
Alex Chau
f7526085a9
Merge "Check null before getting DeviceProfile in AbsSwipeUpHandler" into tm-qpr-dev
2022-06-24 10:05:27 +00:00
Sunny Goyal
23dca1500b
Merge "Fixing wrong flags used by AllAppsController in SystemUiController" into tm-qpr-dev am: c3a5c4b16e am: 062861eddc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19037687
Change-Id: I4c089c7b71faa32e5604e2cbf95be7a7e592fd55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-23 23:37:08 +00:00
Sunny Goyal
c3a5c4b16e
Merge "Fixing wrong flags used by AllAppsController in SystemUiController" into tm-qpr-dev
2022-06-23 22:52:11 +00:00
Tony Wickham
c214335eba
Log when MotionPauseDetector detects onMotionPauseChanged
...
Test: verified logging locally
Bug: 232548865
Change-Id: I587481a380148127f715c5b1b59436b2cbc1533e
2022-06-23 15:05:42 -07:00
Tracy Zhou
0a0fcb809c
Perform haptic feedback on nav button key press
...
Fixes: 203614307
Test: manual
Change-Id: Icaea3f5e436522f23202c20fcc7f7c5dbe309372
2022-06-23 14:29:34 -07:00
Schneider Victor-tulias
ef1903c0c8
Merge "Fix a potential null-pointer onActivityDestroyed" into tm-qpr-dev am: 2df19a2345 am: 26d5306cfc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18936784
Change-Id: Ib9bc52b71dc51f4eed5912406e3811baaabbc50f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-23 19:07:24 +00:00
Schneider Victor-tulias
2df19a2345
Merge "Fix a potential null-pointer onActivityDestroyed" into tm-qpr-dev
2022-06-23 18:29:09 +00:00