Winson Chung
131ac05712
Merge "Add windowing mode to task snapshot." into pi-dev am: 167710981c
...
am: ec1e188e67
Change-Id: If2193c37570deb762d7ae74fcbda4c3d9fd61729
2018-04-23 15:46:34 -07:00
Winson Chung
167710981c
Merge "Add windowing mode to task snapshot." into pi-dev
2018-04-23 22:16:01 +00:00
Sunny Goyal
a1668764b5
Merge "Exposing setRecentsVisibility method and associated callbacks to the Recents components" into pi-dev am: 9d5eb3453f
...
am: 97abef6da0
Change-Id: Ib42036805eebbc2f6981a931e4ae7eebb4bb5711
2018-04-23 12:58:35 -07:00
Winson Chung
a4fa8d5bd4
Add windowing mode to task snapshot.
...
Bug: 78155683
Test: atest FrameworksServicesTests:TaskSnapshotPersisterLoaderTest
Change-Id: I4e562d818416a30d6759baef37c74b6d9c514a00
2018-04-23 12:25:38 -07:00
Sunny Goyal
37cc29ac4d
Exposing setRecentsVisibility method and associated callbacks to the Recents components
...
Bug: 78125098
Test: Verified with Launcher as the recents component
Change-Id: Ic369d336f9caa3c8bdc565ff6931c78c9914e23e
2018-04-23 16:33:16 +00:00
Jorim Jaggi
99ae19d125
Merge "Remove prolonged animations" into pi-dev am: 5bdf9530a0
...
am: 92cb00c2e4
Change-Id: Ibab85ea0385f09ac332553e51b13c4638c6d6d98
2018-04-23 06:44:11 -07:00
Jorim Jaggi
5bdf9530a0
Merge "Remove prolonged animations" into pi-dev
2018-04-23 12:17:37 +00:00
Matthew Ng
437fc39327
Merge "Add a function to get the secondary split screen bounds" into pi-dev am: 427e41bd07
...
am: 652de4ec42
Change-Id: I1d7affda3f0715566e27be180ed52cc7d0a9241b
2018-04-20 18:48:30 -07:00
Matthew Ng
c603a5012f
Add a function to get the secondary split screen bounds
...
Access through the overview proxy to get the bounds of the secondary
split screen app when split screen is enabled.
Test: manual
Fixes: 77678123
Change-Id: Iabbcf30dc7194ac6fff9b4d7cad8a9fe5ee48a2b
2018-04-20 12:00:57 -07:00
Jorim Jaggi
66b48dfb9e
Remove prolonged animations
...
Didn't work anymore since the animation refactoring. Doesn't look
like we still need it, and only causing issues with stuck
animations.
Test: go/wm-smoke
Test: Dock task from recents
Change-Id: Ibb3543d15f42fc7689c3ad705aee693eba93e8b7
Fixes: 77993227
2018-04-20 16:50:25 +02:00
Tracy Zhou
373ce58c08
Merge "Implement swipe up and quick scrub onboarding" into pi-dev am: 08a2028228
...
am: 3c61313c88
Change-Id: Iaf863bc205557e9883dbb85238ca0e1ccdcb56ec
2018-04-18 18:50:53 -07:00
Sunny Goyal
a262fed8e2
Merge "Reducing the touch slop for quickstep" into pi-dev am: 0a16178660
...
am: a596129a80
Change-Id: Ia5d566ad66e0b88b7144df1724624a3ed3b6842a
2018-04-18 18:24:16 -07:00
TreeHugger Robot
08a2028228
Merge "Implement swipe up and quick scrub onboarding" into pi-dev
2018-04-19 01:16:20 +00:00
Tracy Zhou
27599053d5
Implement swipe up and quick scrub onboarding
...
Bug: 70180942
Test: manual test
Change-Id: I5c487d1e4ab800450c6b5a8f7ad1bf7434e45904
2018-04-18 17:08:27 -07:00
Sunny Goyal
c5ac711385
Reducing the touch slop for quickstep
...
Also fxing some wrong thresholds being used for slop comparisions
Test: Verified on device
Bug: 78232923
Change-Id: I0b10a921002f2e45d0d2472a3e690d1526f4aecb
2018-04-18 16:41:02 -07:00
Mehdi Alizadeh
05652972bd
Merge "Adds SettingsCompat to mirror settings names used in Launcher" into pi-dev am: eb914118f4
...
am: 3118c5768a
Change-Id: Ic07fbe1dad857591e7443906578e1194dd5a618b
2018-04-12 22:05:15 -07:00
Mehdi Alizadeh
eb914118f4
Merge "Adds SettingsCompat to mirror settings names used in Launcher" into pi-dev
2018-04-13 04:33:23 +00:00
Sunny Goyal
263d637160
Merge "Exposing activity type in targets so that we can handle home activity differently" into pi-dev am: 6dfad28bed
...
am: d4445cadbd
Change-Id: I7f41f3d8fc8cb35ecda756b0fd21034e3e499493
2018-04-12 20:00:11 -07:00
TreeHugger Robot
6dfad28bed
Merge "Exposing activity type in targets so that we can handle home activity differently" into pi-dev
2018-04-13 02:32:38 +00:00
Mehdi Alizadeh
501ff41a52
Adds SettingsCompat to mirror settings names used in Launcher
...
Bug: 77732469
Test: verify it builds
Change-Id: I2d0dee714a7d5eb59f189302d97414f3117a624b
2018-04-12 19:05:38 -07:00
Sunny Goyal
c5b69b8b91
Exposing activity type in targets so that we can handle home activity differently
...
Test: Verified library with launcher
Bug: 77830202
Change-Id: I072013725190aced116093808029973b278ed263
2018-04-12 18:10:40 -07:00
Tracy Zhou
f069f31bad
Merge "Move QuickStep onboarding strings from Launcher to SysUI" into pi-dev am: ea2e735d5b
...
am: ed618e9f1e
Change-Id: I65f24167396fa1ccde6314ec03102aee85bda495
2018-04-12 14:39:32 -07:00
Tracy Zhou
0ad27632ca
Move QuickStep onboarding strings from Launcher to SysUI
...
Test: N/A
Bug: 70180942
Change-Id: Ic3bd63899017f23c011a41a7a5a9e73a87b9eec1
2018-04-12 11:23:17 -07:00
Sunny Goyal
72e6c58e07
Merge "Fixing missing reportDrawFinish method in windowCallbacksCompat" into pi-dev am: 5000367d38
...
am: 64ab0490c0
Change-Id: I6a578f0caab4cb45866863b7608c561de7ef6754
2018-04-11 13:54:43 -07:00
Sunny Goyal
3eb4d642c1
Fixing missing reportDrawFinish method in windowCallbacksCompat
...
Test: Verified on launcher that there is no ANR
Bug: 77695434
Change-Id: I1c382ea24fee15835637ed9d4055161a99ff3625
2018-04-11 11:30:26 -07:00
Sunny Goyal
cbc3927c03
Merge "Adding a compatibility implementation for WindowCallbacks" into pi-dev am: 358840b0cb
...
am: 21824800d3
Change-Id: I3e3326220bb7824dc9691b0e2f315a194d80775c
2018-04-10 18:40:07 -07:00
Sunny Goyal
788800c7cd
Adding a compatibility implementation for WindowCallbacks
...
Test: Verified the library with launcher changes
Bug: 77695434
Change-Id: Id1c051896b542cb582c778c7c7709191f7a7957f
2018-04-10 16:19:01 -07:00
Winson Chung
5c2425b93f
Merge "Workaround fetching user's package resources" into pi-dev am: cfccbf9106
...
am: 4afdd6fd8d
Change-Id: Ia53003c021bf8cc93149a6bd52f22ac057aca661
2018-04-09 22:39:02 -07:00
TreeHugger Robot
cfccbf9106
Merge "Workaround fetching user's package resources" into pi-dev
2018-04-10 04:36:29 +00:00
Winson Chung
d9635968e6
Workaround fetching user's package resources
...
Bug: 77747389
Test: Manual, create work profile user, create an apk with an icon resource
in its task description, and ensure that launcher can load the icon.
Change-Id: I33c7eaca9481fe44440b4b584b64531835e2fe9e
2018-04-09 18:38:32 -07:00
Sunny Goyal
7a8fe148dc
Merge "Exposing the getHomeActivities() to allow the launcher detect the current home app" into pi-dev am: 172cb70322
...
am: 4afbaa9268
Change-Id: I8ed009d11891f7e4539323e65dd793f487927a89
2018-04-09 14:59:09 -07:00
Sunny Goyal
9159850734
Exposing the getHomeActivities() to allow the launcher detect the current home app
...
Test: Build and verified the lib with Launcher3
Bug: 75979063
Change-Id: I77c2b2178030e083336b2e51ee850f5753f03aba
2018-04-09 12:02:39 -07:00
Jorim Jaggi
0d36292e4e
Merge "Early wake-up for transitions (2/2)" into pi-dev am: 4c1453ac45
...
am: 2e1d841633
Change-Id: Ic0b06664869f6957871f9725c3fe6c90c16e16b9
2018-04-06 15:20:23 -07:00
Jorim Jaggi
4c1453ac45
Merge "Early wake-up for transitions (2/2)" into pi-dev
2018-04-06 21:44:28 +00:00
Jorim Jaggi
7c8a860cb9
Merge changes from topic "gpuprio" into pi-dev am: 7eeb0eb6d3
...
am: 89a0cc2406
Change-Id: I8cc93b1d10c4d3d80a0ded5559ccd2304551d2ab
2018-04-06 06:50:21 -07:00
Jorim Jaggi
e4428857d3
Add ThreadedRendererCompat for Launcher use
...
Bug: 75985430
Change-Id: Ia9a7c68cdff8a3263aa75f1178cb90bf4cf6f3de
2018-04-06 12:12:19 +00:00
Jorim Jaggi
aa763cd35f
Early wake-up for transitions (2/2)
...
On some devices it's very likely that we fall into GL comp during
app transitions. However, SF offsets are chosen in a way such that
the time to finish a frame is just too tight to be completely jank
free when hitting GL composition in SurfaceFlinger. Thus, we
introduce the concept of a separate early offset, and wakeup
SurfaceFlinger at that time if we think that hitting GL comp is
likely, or we already hit GL comp in the last frame.
Test: Open app, check vsync offsets in systrace
Test: Open many dialogs/apps to fall into GPU comp.
Bug: 75985430
Change-Id: I461fdcd573583f3ea0348c8b23cc9945d33f8976
2018-04-06 13:36:14 +02:00
Winson Chung
785c4d27cb
Merge "Fix issue with quickstep recents button not unlocking before entering PIP." into pi-dev am: 4b436a930d
...
am: b46f34dd50
Change-Id: Ica73c022208af87396a05bdaed511d536106fb95
2018-04-05 17:09:46 -07:00
TreeHugger Robot
4b436a930d
Merge "Fix issue with quickstep recents button not unlocking before entering PIP." into pi-dev
2018-04-05 23:34:35 +00:00
Sunny Goyal
5d103259d1
Merge "Adding a utility method to show Assist session" into pi-dev am: 53a77b615c
...
am: c9d3194e01
Change-Id: I836104f3aebb6eefedbb724055557bfe28753426
2018-04-04 17:10:09 -07:00
Sunny Goyal
5067909efa
Adding a utility method to show Assist session
...
Bug: 72122079
Test: Verified the library works with launcher
Change-Id: Ic1e9131687ea85fdcce16c71054ce7940c190504
2018-04-04 14:41:42 -07:00
Matthew Ng
75da95fa96
Merge "Added two touch slops for easier home press (1/3)" into pi-dev am: e81e6faf08
...
am: 2ce1ddd2ed
Change-Id: I895c7f48f72022c2f65028d1355576d80d1f7c13
2018-04-03 17:58:33 -07:00
Winson Chung
7e756be722
Allow recents animation to override divider minimized state am: f557c3b565
...
am: ea0adfdb10
Change-Id: I8d56a170214c5592e6b44781ab01eca6e94103f8
2018-04-03 17:51:51 -07:00
Winson Chung
8e50da2016
Prevent unnecessary reordering of the home stack am: 6a38fca2d8
...
am: 40fb4a289a
Change-Id: Ic448939e0e27f5e1baa9e83bcc10640ee0ed8013
2018-04-03 17:49:09 -07:00
TreeHugger Robot
e81e6faf08
Merge "Added two touch slops for easier home press (1/3)" into pi-dev
2018-04-03 22:31:57 +00:00
Matthew Ng
9a22363a50
Added two touch slops for easier home press (1/3)
...
The first slop starts the drag either for quick step or scrub. At this
point either launcher can animate swipe up or the home button moves for
scrub, however the home button is still active and can be pressed or
long pressed. The second slop is for activating quick step or scrub.
Similar to before when an operation has activated, the home button
cannot be pressed or long pressed. This allows the home button to have a
larger area to be clicked.
Change-Id: I0a3dd2b5e0f41748a7ba9ebb6241283291995228
Fixes: 76430825
Test: scrub or swipe up
2018-04-03 13:34:59 -07:00
Winson Chung
e3dd59c86a
Fix issue with quickstep recents button not unlocking before entering PIP.
...
Bug: 77152886
Test: Lock the screen with any show-over-lockscreen activity, then press
the recents button, ensure you are prompted to unlock
Change-Id: Iaa402c8c0fbf743c3410882a888a487d45085fa5
2018-04-02 16:32:15 -07:00
Winson Chung
f557c3b565
Allow recents animation to override divider minimized state
...
- When swiping up while in split-screen, the animation should be able to
adjust the docked divider minimized state so that we don't wait until
launcher is repositioned to the front in order for the divider to
update.
Bug: 73118672
Test: Enter split screen, swipe up and ensure the dock divider moves
(Note, there are still unrelated clipping issues)
Change-Id: Id71f91eaf2f06b3c33628a2199cc94c82e235471
2018-03-30 10:25:16 -07:00
Winson Chung
6a38fca2d8
Prevent unnecessary reordering of the home stack
...
- Just cancel the recents animation in-place when handling the home button
to prevent it from being repositioned to the bottom (which stops home)
and then starting it again (which restarts it)
Bug: 74405472
Test: Press home from an app, ensure launcher stop is only called once
Change-Id: Id41aa2f77c01767cc2c35445458b8f2db81200fc
2018-03-30 10:25:09 -07:00
Winson Chung
392685b6fd
Merge "Use package context for loading task description icon resource" into pi-dev am: a17eccac73
...
am: 0d685793e7
Change-Id: I26492efc4cb491c9d2e54612a69b678cdb3cca52
2018-03-27 23:08:22 +00:00