Commit Graph

3332 Commits

Author SHA1 Message Date
Suphon Thanakornpakapong 3c571e77df Add lens shortcut in overview actions 2021-10-18 12:07:46 +07:00
Suphon Thanakornpakapong c90b5c764f Fix crash when launching widget customization 2021-10-15 16:40:32 +07:00
Suphon Thanakornpakapong d3b6c77006 Match window transition radius to square icon shapes 2021-10-15 16:31:50 +07:00
Suphon Thanakornpakapong 47a10063f0 Theme ui elements using accent color palette 2021-10-14 23:57:17 +07:00
Suphon Thanakornpakapong cddb7fe98a Fix crashes below R 2021-10-13 09:56:37 +07:00
Suphon Thanakornpakapong a970927f77 Override fonts in overview 2021-10-12 09:58:04 +07:00
Suphon Thanakornpakapong 97b01bf3e9 Fix clear all action 2021-10-11 23:24:05 +07:00
Suphon Thanakornpakapong 7264539e0a Fix scroll snapping in recents on Android 11 2021-10-11 17:54:01 +07:00
Suphon Thanakornpakapong 01563bce7d Initial quickstep support on 11 2021-10-10 11:46:32 +07:00
Suphon Thanakornpakapong 8653e75046 Reimplement drawer opacity pref 2021-10-10 01:45:56 +07:00
Suphon Thanakornpakapong 8f97794f58 Implement icon pack support 2021-10-09 22:57:23 +07:00
Suphon Thanakornpakapong 1d7c0a4bf6 Fix crash below 12 2021-10-09 16:34:29 +07:00
Suphon Thanakornpakapong a463238dbd Fix more errors 2021-10-07 09:42:24 +07:00
Suphon Thanakornpakapong cc2bd15873 Merge remote-tracking branch 'aosp/android12-release' into 12-dev 2021-10-05 14:13:08 +07:00
Suphon Thanakornpakapong 6fefb1d768 Don't allow custom recents icon from Facebook and Twitter 2021-09-28 13:13:17 +07:00
Suphon Thanakornpakapong c2c97f1ede Move drawer opacity code to lawnchair sourceset 2021-09-05 23:11:52 +07:00
Suphon Thanakornpakapong 5a5b635777 Allow setting drawer opacity from 0 to 100 2021-09-05 23:01:16 +07:00
Suphon Thanakornpakapong c60dd7eea6 Fix blur in recents not applied in landscape 2021-09-04 23:46:24 +07:00
Suphon Thanakornpakapong 7b67942098 Fix accessing preferences before context is available 2021-09-04 23:14:53 +07:00
Suphon Thanakornpakapong 4ae44220c4 Fix status bar gesture on OOS 2021-09-04 17:47:34 +07:00
Suphon Thanakornpakapong f2cae58229 Reapply blur when entering recents 2021-09-04 16:53:38 +07:00
Suphon Thanakornpakapong 6cac30f326 Keep blur applied if drawer is not solid 2021-09-04 16:19:37 +07:00
Suphon Thanakornpakapong c61da71a7f Add fallback navigation mode 2021-08-22 10:07:53 +07:00
Suphon Thanakornpakapong a841c94c99 Defer loading custom window radius until first unlock 2021-08-19 14:14:46 +07:00
Lucas Dupin b9472327b1 Adjust all apps zoom level
The All Apps scrim fades in early, covering part of the zoom animation.
We need to adjust the max zoom in order to make All Apps consistent with
Overview, -1, and Shade.

Test: pull up the all apps drawer
Fixes: 195992422
Change-Id: Ia7bbe17fe7f227dd0a16ba7d21b402cff57176f0
(cherry picked from commit f168bb7aaf)
(cherry picked from commit 3f6a4e6bf5)
2021-08-12 22:35:49 +00:00
Tracy Zhou 145bd74749 [DO NOT MERGE] Disable live tile in split mode for S
Recall link: https://recall.googleplex.com/projects/debb8388-5e38-42c5-99ab-20bdfb92d25e/sessions/655af962-b4bd-4dc4-93aa-178852c0d701

Bug: 193991436
Test: enter split screen and swipe up
Change-Id: I7adffcdefb12d225db207542716a436f29df0377
2021-08-03 20:50:27 +00:00
Alex Chau fb5ae9060d Always treat FallbackRecentsView as visible if isInLiveTileMode is true
- activity.hasBeenResumed is no longer an accurate indicator after live tile has been introduced, indeed it's always false
- Return recentsView regardless if there is a runningTask as well

Bug: 194286330
Test: In fallback Recents with 3 button, tap overview button from home screen, then tap overview button again. Try combination with back and home button
Change-Id: Ib2775a11f5466abc433763f24192e7bfdcf191a2
(cherry picked from commit 455718e842)
2021-07-30 08:22:03 +00:00
Tracy Zhou 6842315605 Clear command queue of OverviewCommandHelper on home tap
Fixes: 194934483
Test: manual
Change-Id: Id83b341245793c38c305e6ada5581ac4e49527a7
Merged-In: Id83b341245793c38c305e6ada5581ac4e49527a7
2021-07-29 19:09:53 +00:00
Tracy Zhou 024749a1e0 Merge "Reset current task and dequeue overview commands when recents animation is cancelled" into sc-dev 2021-07-26 21:17:38 +00:00
Tracy Zhou 94e798bac1 Reset current task and dequeue overview commands when recents animation is cancelled
Fixes: 193925362
Test: manual
Change-Id: I792be003e5aabf34324075829d5381cba591892b
2021-07-26 12:17:01 -07:00
Sunny Goyal 58e81e5da1 Fixing touch events ignored in some cases
Bug: 160218103
Test: Manual
Change-Id: Ifa71e742451acecd8979a6833a202c6189b4df52
2021-07-22 15:27:43 -07:00
Jason Chang 1b3f5d3883 Merge "Fix unable to swipe up to exit one-handed mode under 2 button navigation" into sc-dev 2021-07-22 09:43:13 +00:00
Brian Isganitis ec4a56a311 Support overriding All Apps EDU animation on drag
Test: Dragging during All Apps EDU animation overrides the animation.
Bug: 160218103
Change-Id: I1c0a2d047bcb43ea7ce30cf87182b392dac313e4
2021-07-21 17:39:00 +00:00
Jason Chang edc7917521 Fix unable to swipe up to exit one-handed mode under
2 button navigation

Remove redundant condition checking when consuming One-handed mode
gesture events.

Bug: 193761450

Test: manual
Test: atest WMShellUnitTests
Change-Id: Id4687cb579c17d7de1a08b32c003e656cbbce820
2021-07-21 11:54:52 +08:00
Lucas Dupin ee9099af7f Revert "Apply depth even when surface is null"
This reverts commit a6c38be150.

Fixes: 193333562
Test: manual
Change-Id: I4fae079e0cd056fc800e5a15389f4795c77e17fb
2021-07-20 14:14:50 -07:00
Sunny Goyal c3f56d7628 Merge "Fixing quickswitch window not properly aligned in split-screen" into sc-dev 2021-07-20 07:03:51 +00:00
Sunny Goyal a1bed5428d Fixing quickswitch window not properly aligned in split-screen
Bug: 193992000
Test: Manual
Change-Id: Ic37cbc561a0299be1a1c05dfb17bd826c173100e
2021-07-19 17:10:12 -07:00
Jonathan Miranda 8e095ccb05 Merge "Fix notification dot not always being up to date." into sc-dev 2021-07-19 17:45:26 +00:00
Jon Miranda f8441cc276 Fix notification dot not always being up to date.
- Prediction row views were never updated when notification changes.
- FloatingIconView set the BubbleTextView to force hide dot, but never restored it.
  BubbleTextView is instanceof IconLabelDotView, so its already handled in the end runnable

Bug: 183360736
Test: 1. swipe up to go home such that the closing app has a notification,
         note that the notification dot is properly updated
      2. have all apps open
         make notification update for a predicted app
         ensure dot is properly updated

Change-Id: I35dacf9b71a3d8b8a857be450690d65ea9199bf6
2021-07-16 17:50:56 -07:00
TreeHugger Robot f054bf5681 Merge "Fixing regression from animation not starting while in overview" into sc-dev 2021-07-16 01:27:02 +00:00
Winson Chung 558b18eb12 Fixing regression from animation not starting while in overview
Bug: 193830420
Test: Open an app in overview, tap on a notification
Change-Id: Ifd9797dc40d9fffbf9603bca98fcb4a4119e0444
2021-07-15 16:17:51 -07:00
Cyrus Boadway 66f1b57815 Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev 2021-07-15 18:28:29 +00:00
Hongwei Wang a35d7ec90e Merge "Use display cutout info in auto-enter-pip transition" into sc-dev 2021-07-14 23:52:42 +00:00
Cyrus Boadway 1cf5527ae8 Keep transparent drawable for clipping outline during launch animation
During the widget-activity transition, the widget foreground loses its
clipping radius, if the clipping is determined by a drawable. We remove
the drawable through the animation.

For widgets where there is content being clipped by the background's
corener radius, this results in the widget window appearing square
through the entire animation, then snapping in rounded corners on
animation-complete.

To solve this, we leave a transparent clone of the drawable in the
original drawable's place, for the balance of the animation, providing
the outline for clipping.

Manual testing against 20 Google widgets showed no regression in
behaviour in other cases.

Bug: 193665108
Test: manual

Change-Id: I3db31e4634c8dd6b22a513a976386d396445ebc2
2021-07-14 19:21:16 +00:00
Schneider Victor-tulias ae2e5d9231 Merge "Update Gesture navigation tutorial to match new specs" into sc-dev 2021-07-13 23:27:45 +00:00
Hongwei Wang 854fbf8d23 Use display cutout info in auto-enter-pip transition
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bpKcGg1eoOo5Jz5U6IwBYK
Bug: 191310680
Test: manual, auto-enter-pip from landscape with source rect hint being
      turned on, see the video
Change-Id: Ic191fc73597132a5119522dda477a4319e35d1c8
Merged-In: Ic191fc73597132a5119522dda477a4319e35d1c8
2021-07-13 13:24:57 -07:00
Schneider Victor-tulias bfe33b057a Update Gesture navigation tutorial to match new specs
- Updated strings
- Updated removed 'next' button when there are followign steps
- Added timeout to automatically continue the tutorial
- Combined back left and right into one step

Bug: 192009114
Bug: 177005427
Test: manual
Change-Id: I58b9017c4d69b5d097326c7d5be156a63951fb1a
2021-07-09 19:38:16 +00:00
Winson Chung d489a4b6e9 Merge "Fix crash when handling recents animation canceled" into sc-dev 2021-07-08 21:21:37 +00:00
Winson Chung 255fe1ea45 Fix crash when handling recents animation canceled
- If Launcher finishes the animation, that also cleans up the screenshot
    on the server side, so we can skip calling it

Fixes: 192684578
Test: N/a, adding a null check
Change-Id: I8bf1ad5089762469697d14842cc14c184055e925
2021-07-08 10:12:34 -07:00
kumarashishg 88be649d21 NIU Actions: Add NIU Actions tooltip
These tooltips are added to educate the user about NIU buttons actions. We have added tooltips for Translate and Listen NIU actions buttons.

Bug: 186006700
Test: Manual
Change-Id: Ib076c2a44055b62f2daf06bddf45aca220a28756
2021-07-08 00:48:22 +00:00