Commit Graph

6882 Commits

Author SHA1 Message Date
Alex Chau fe032bccb5 Merge "Use FINAL_FRAME for leaving grid animation" into sc-v2-dev am: 3f88ded2bc am: 355c1aa33b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14915092

Change-Id: Ib71d376ffbc14aeeaeb370a8904c81a9454175d3
2021-06-09 18:54:37 +00:00
Alex Chau be380b9caa Merge "Avoid unnecessary onLayout if gesture is going to HOME" into sc-v2-dev am: 2f05076711 am: bfb180064b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14919071

Change-Id: I588e65b8e5fe6d1d85b4a0550914a27c6bb4c8a9
2021-06-09 18:54:06 +00:00
Alex Chau 355c1aa33b Merge "Use FINAL_FRAME for leaving grid animation" into sc-v2-dev am: 3f88ded2bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14915092

Change-Id: I04183f8e2fd337e4f0875ea383ccddee9a7db9eb
2021-06-09 18:09:02 +00:00
Alex Chau bfb180064b Merge "Avoid unnecessary onLayout if gesture is going to HOME" into sc-v2-dev am: 2f05076711
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14919071

Change-Id: I2ebdd47460f60c2c17c1ed6f187d2ea5e6b3f454
2021-06-09 18:08:56 +00:00
Alex Chau 3f88ded2bc Merge "Use FINAL_FRAME for leaving grid animation" into sc-v2-dev 2021-06-09 18:00:50 +00:00
Alex Chau 2f05076711 Merge "Avoid unnecessary onLayout if gesture is going to HOME" into sc-v2-dev 2021-06-09 17:50:32 +00:00
Lucas Dupin c806194ff3 Merge "Update blur radius" into sc-dev am: 14e1f2a6bb am: 19f5430b8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14914218

Change-Id: I596964d664397e2bf6b4871d72f49e88e9940c16
2021-06-09 16:03:44 +00:00
Lucas Dupin 6ca62131d1 Merge "Update blur radius" into sc-dev am: 14e1f2a6bb am: d279c4cb29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14914218

Change-Id: I0cd6c65e8a6438225bd3260fc46a14c62107eadf
2021-06-09 16:02:44 +00:00
Lucas Dupin 19f5430b8a Merge "Update blur radius" into sc-dev am: 14e1f2a6bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14914218

Change-Id: Ie42858a54d56e6f634a191442d530f7eac07ef5a
2021-06-09 15:44:15 +00:00
Lucas Dupin d279c4cb29 Merge "Update blur radius" into sc-dev am: 14e1f2a6bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14914218

Change-Id: I562dffcceb8d8877471d97f160a1f22964b1e308
2021-06-09 15:42:41 +00:00
Lucas Dupin 14e1f2a6bb Merge "Update blur radius" into sc-dev 2021-06-09 15:32:35 +00:00
Alex Chau 6f736fac65 Avoid unnecessary onLayout if gesture is going to HOME
Fixes: 186508379
Test: manual swipe up to carousel, then to home
Change-Id: I97a642a6fc4c4d0ca3805b79db60b6dfdaea1315
2021-06-09 13:07:32 +01:00
Alex Chau 838414ab3a Use FINAL_FRAME for leaving grid animation
Bug: 14844554
Test: manual
Change-Id: I9a8cf94a448de2520c4cc434f15377fa1f2d202e
2021-06-09 10:41:02 +01:00
Lucas Dupin 76877fda73 Update blur radius
Bug: 189976220
Test: manual
Change-Id: If5e6d6be7314dacfad8c501a5ae2da6556ca3cea
2021-06-08 21:51:47 -07:00
Shawn Lin 3125c24c30 Merge "Play the nav bar animation for app launch from recent in live tile" into sc-dev am: f0ebf00394 am: 34be7f366b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14878297

Change-Id: Ica22388357e8844eefa94b329bb9bf8706222ab2
2021-06-09 02:25:25 +00:00
Shawn Lin 9894d0dc10 Merge "Play the nav bar animation for app launch from recent in live tile" into sc-dev am: f0ebf00394 am: 2664158d7f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14878297

Change-Id: Ie4abc89c2b8c94c27a0d3e52034c41c631546bac
2021-06-09 02:25:00 +00:00
Shawn Lin 2664158d7f Merge "Play the nav bar animation for app launch from recent in live tile" into sc-dev am: f0ebf00394
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14878297

Change-Id: Ieb7f4529ba3c13e254d89bea73eb4d59eaade0a0
2021-06-09 02:08:47 +00:00
Shawn Lin 34be7f366b Merge "Play the nav bar animation for app launch from recent in live tile" into sc-dev am: f0ebf00394
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14878297

Change-Id: Ie63f9cc2645c21c4a3de111b9c3411ff66616c6d
2021-06-09 02:05:24 +00:00
Shawn Lin f0ebf00394 Merge "Play the nav bar animation for app launch from recent in live tile" into sc-dev 2021-06-09 01:39:49 +00:00
TreeHugger Robot 1b40a147d0 Merge "Re-enable swipe up view inflation test." into sc-dev am: 93e232a57b am: 50625a70a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14848883

Change-Id: Ic57433d70f872f8814f6174cdee5726230ad19c5
2021-06-09 01:26:44 +00:00
TreeHugger Robot 2e0c642595 Merge "Re-enable swipe up view inflation test." into sc-dev am: 93e232a57b am: 52434c6ec9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14848883

Change-Id: Id14f6ba6bdabd3f2d011c1973826e507a58eefad
2021-06-09 01:06:42 +00:00
TreeHugger Robot 7e019e8a47 Merge "Re-enable swipe up view inflation test." into sc-dev am: 93e232a57b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14848883

Change-Id: I0833ea17df3ef812c13168f3c503ae7b90586078
2021-06-09 01:06:26 +00:00
TreeHugger Robot 50625a70a2 Merge "Re-enable swipe up view inflation test." into sc-dev am: 93e232a57b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14848883

Change-Id: I2ebb2a0d380f002faee87e48cdddd6bb792d3cea
2021-06-09 01:05:10 +00:00
TreeHugger Robot 52434c6ec9 Merge "Re-enable swipe up view inflation test." into sc-dev am: 93e232a57b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14848883

Change-Id: I1652f25fb3b30cf7184933f5c1bdad49ff4fb14c
2021-06-09 01:04:55 +00:00
Vinit Nayak 09a715b567 Merge "Support A11y contextual button" into sc-v2-dev am: d897514642 am: 632c803160
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14886698

Change-Id: I71724d98a5fb6236293a2009d1cdc001a8920787
2021-06-08 22:36:52 +00:00
Vinit Nayak 632c803160 Merge "Support A11y contextual button" into sc-v2-dev am: d897514642
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14886698

Change-Id: I59477b92df4b931c832a198859af84d97145f5c9
2021-06-08 22:21:23 +00:00
Vinit Nayak d897514642 Merge "Support A11y contextual button" into sc-v2-dev 2021-06-08 22:07:53 +00:00
TreeHugger Robot 254d2a66a5 Merge "Make all tasks in intermediate carousel have the same size" into sc-v2-dev am: 437b22e203 am: f20e923f49
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14844554

Change-Id: I751b9d3153f5647956c61cd8417d3ce64a733298
2021-06-08 21:28:23 +00:00
zakcohen 284eef2bf9 Re-enable swipe up view inflation test.
Disable chips by default as they are not plan of record for launch.

Bug: 141579810
Test: Local and ran test
Change-Id: Iae270c6ac4bbec4f7c29b1137cf926383443e85e
2021-06-08 14:24:20 -07:00
TreeHugger Robot f20e923f49 Merge "Make all tasks in intermediate carousel have the same size" into sc-v2-dev am: 437b22e203
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14844554

Change-Id: Idc70ed9f0cb67829a442c7bc9f1c241e949fd7ce
2021-06-08 21:07:51 +00:00
TreeHugger Robot 437b22e203 Merge "Make all tasks in intermediate carousel have the same size" into sc-v2-dev 2021-06-08 20:49:38 +00:00
TreeHugger Robot 636d168e8d Merge "Consider TaskView's scale when calculating corner radius" into sc-v2-dev am: 010e3dfb26 am: e6145d68c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14899458

Change-Id: Ia5d75c1024a60d9430d801b4000bd1bb08746992
2021-06-08 19:50:12 +00:00
TreeHugger Robot e6145d68c5 Merge "Consider TaskView's scale when calculating corner radius" into sc-v2-dev am: 010e3dfb26
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14899458

Change-Id: Id9e479b0f1b4edd0a825b6240c4359447fc2d11e
2021-06-08 19:32:36 +00:00
TreeHugger Robot 010e3dfb26 Merge "Consider TaskView's scale when calculating corner radius" into sc-v2-dev 2021-06-08 19:04:27 +00:00
Alex Chau 36e9de1199 Make all tasks in intermediate carousel have the same size
- Replace fullscreen translation/scale with nonGrid, which applies whenever tasks are not in grid, so that intermediate carousle's tasks have the same size as focused task
- Avoid showing task icon in intermediate carousel as its scaled up. During swipe up, all task icons only appear after gesture is finished consistenly, regardles if it's running task.
- When swipe up from home, make tasks join the grid immediately
- Make pageOffset calculation consider task scale
- Tuned resistance and scale when RecentsView is swiped up

Bug: 187417137
Test: manaul
Change-Id: Ide55a32241a3551a58e12c399c22420562848c70
2021-06-08 19:47:50 +01:00
Vinit Nayak e568781206 Support A11y contextual button
Also migrate to only using sysui state flags
for ime/switcher visibility instead of 2 separate
methods.

Bug: 180046394
Test: Tested w/ 1 a11y service, then 2 services for
long click. Tested with IME switcher enabled and then
also suggested rotation button.
A11y takes precedence over IME switcher, but rotation button
takes precedence over a11y as is in phone mode today.

Change-Id: I9289165c8ca98d7ee432bd7145122d6a519600f6
2021-06-08 11:25:44 -07:00
Alex Chau bc42ba836e Consider TaskView's scale when calculating corner radius
Bug: 190139030
Test: Manual
Change-Id: I43fcb67848d30491bbfa58624f088c98ce433de4
2021-06-08 18:15:13 +01:00
Wei Sheng Shih 08d06351d1 Merge "Pre-set splash screen as icon-style when launch activity from Launcher." into sc-dev am: c3db44bbce am: 6f56a61d4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14773251

Change-Id: Ieadcc218aaf6defe34ccdff59041ef4b44beef58
2021-06-08 12:44:37 +00:00
Wei Sheng Shih e8d2a08562 Merge "Pre-set splash screen as icon-style when launch activity from Launcher." into sc-dev am: c3db44bbce am: 7d76519c1f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14773251

Change-Id: I0d8255797dc1611c85e8cc5d16f9b59aab9b9fc5
2021-06-08 12:43:14 +00:00
Wei Sheng Shih f077df5aef Merge "Pre-set splash screen as icon-style when launch activity from Launcher." into sc-dev am: c3db44bbce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14773251

Change-Id: Icc117227086edadc83c34fa12242674c4f6b961c
2021-06-08 12:29:50 +00:00
Wei Sheng Shih 7d76519c1f Merge "Pre-set splash screen as icon-style when launch activity from Launcher." into sc-dev am: c3db44bbce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14773251

Change-Id: I36fa8bff1c0a7e19b49149dd3a09b9aee5df08a7
2021-06-08 12:28:18 +00:00
Wei Sheng Shih 6f56a61d4c Merge "Pre-set splash screen as icon-style when launch activity from Launcher." into sc-dev am: c3db44bbce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14773251

Change-Id: Ic9703cd79e59e8548ee63d20573e424e833ce70b
2021-06-08 12:26:40 +00:00
Wei Sheng Shih c3db44bbce Merge "Pre-set splash screen as icon-style when launch activity from Launcher." into sc-dev 2021-06-08 12:16:24 +00:00
zakcohen b4d9ebd0de DO NOT MERGE am: 1fb6718c85
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14885687

Change-Id: I6205b60242fbc2b5b3ed2051a5728ac8b7dc7c71
2021-06-08 08:55:58 +00:00
zakcohen 370e783674 DO NOT MERGE am: 1fb6718c85
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14885687

Change-Id: I0979cda3bf21947188a3301b7c73442d0c9c8e60
2021-06-08 08:55:39 +00:00
Pat Manning 17da2b2bf8 Merge "Animate live tile translation and update live tile page scroll on dismissal of non-live tile tasks." into sc-v2-dev am: 9acaf302ad am: 0b5f695912
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14805376

Change-Id: I92527745166eded7a2561ce65a0253ab27a16f4c
2021-06-08 08:48:32 +00:00
Pat Manning 0b5f695912 Merge "Animate live tile translation and update live tile page scroll on dismissal of non-live tile tasks." into sc-v2-dev am: 9acaf302ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14805376

Change-Id: I9352fba6202a64e5b83442890d76d5b59c44ed06
2021-06-08 08:34:42 +00:00
Pat Manning 9acaf302ad Merge "Animate live tile translation and update live tile page scroll on dismissal of non-live tile tasks." into sc-v2-dev 2021-06-08 08:21:01 +00:00
zakcohen 1fb6718c85 DO NOT MERGE
Use focused task id for getting task size

When getting the selected task size, look at the focused task id, not
the running task id.
I believe this was a typo from the original change.

Bug: 190399315
Test: Local build and flash and run
Change-Id: Ice92e0562765f4f0142e27da0c38140df4c11425
2021-06-07 23:29:11 +00:00
Tony Wickham 47c8561c1b Merge "Fix regression where nav bar shows when taskbar is showing" into sc-v2-dev am: 4b916764a4 am: 2a94943e5d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14884146

Change-Id: I162e69da40fec8a092d50ef67f2892128abbaf0b
2021-06-07 22:28:26 +00:00