Commit Graph

60459 Commits

Author SHA1 Message Date
fbaron
328ca3811c Update colors for widget picker
Bug: 278157622
Test: Look at widget picker on tablet and verify that the colors match the new spec, and verify the portrait mode looks good also.
Change-Id: I634d876dfafc086806b233c500f7d8daddfe7b0b
2023-04-18 16:17:24 -07:00
Holly Sun
977aa48347 [play] Add a new attribute type for GMS Play in order to distinguish with the old M0 flow.
Bug: 260712395
Test: wwlogcat https://paste.googleplex.com/5204101439684608
Flag: ENABLE_SEARCH_UNINSTALLED_APPS. OFF
Change-Id: I5dc75b7aef9cd778c59167347500b923626e4953
2023-04-18 14:49:02 -07:00
Vinit Nayak
f89438718f Add logs for work tab missing
* Start tracing where launcher goes after
it gets the broadcast for new work profile user
unlocked

Bug: 243688989
Flag: None
Change-Id: I53ccab743ac5dd2aee6b7ff6e440bcf731387119
2023-04-18 13:57:33 -07:00
Sebastian Franco
c42520965f Make functions private to keep TAPL design consistent
Bug: 266116487
Test: compiles
Change-Id: I22b612e4bc1a7424af3702474b709426fcfcb6ef
2023-04-18 13:43:10 -07:00
Mady Mellor
3e3d3e78a0 Merge "Creates BubbleBarView & BubbleBarViewController & friends" into udc-dev 2023-04-18 20:35:17 +00:00
Schneider Victor-tulias
394c114d15 Merge "Update the All set page lottie animation to use dynamic colors" into udc-dev 2023-04-18 20:14:09 +00:00
Schneider Victor-tulias
5e68914621 Update the BorderAnimator
Updated the BorderAnimator to allow it to animate the border outside the view's bounds. This makes it match the specs and makes it more compatible with other animations.

Flag: ENABLE_KEYBOARD_QUICK_SWITCH
Test: tried keyboard quick switching on a handheld, foldable and tablet
Fixes: 276336349
Change-Id: I025f8b0f431e78bcb5c7b4b3859a7d6dde5da600
2023-04-18 20:12:59 +00:00
Schneider Victor-tulias
e784d586cb Merge "Polish the keyboard quick switch view and border animation colors" into udc-dev 2023-04-18 20:10:35 +00:00
Jon Miranda
59d1214798 Remove ActivityInfo.CONFIG_SCREEN_SIZE if orientation is still the same.
Avoid NPE to unblock development while we investigate root cause.

Bug: 274394837
Test: see repo steps in bug comment #11
Change-Id: Ib18aa9da1d2827ae03037215ff9e34d27493995b
Flag: ENABLE_TRANSIENT_TASKBAR true
2023-04-18 19:38:53 +00:00
Jagrut Desai
52a7798bbe Merge "Refactoring instance variable for ArrowPopup.java" into udc-dev 2023-04-18 16:03:33 +00:00
Bill Yi
fa74f9128b [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 5dc55f5de1
Blank merge reason: commit message contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22686767

Change-Id: I91df996c89d406d5bc5cc1da110f8e22e35f747e
2023-04-18 14:29:35 +00:00
Bill Yi
1b8aa08a6f [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 93f0be3966
Blank merge reason: commit message contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22686765

Change-Id: I03a128f6e168a7eeaec12539c7da75ecf91f3bc8
2023-04-18 14:29:29 +00:00
omarmt
a6cebae247 resetPositionAnimated should be called when onBackCancelled ends
Test: mp droid
Bug: 265060720
Change-Id: I308a4f388b6619181c05c84ac6db47c900c586af
2023-04-18 10:31:41 +00:00
Vinit Nayak
b0f1da28fe Merge "Prevent taskbar on phone from crashing" into udc-dev 2023-04-18 00:49:48 +00:00
Mady Mellor
55913d53c6 Creates BubbleBarView & BubbleBarViewController & friends
BubbleBarView shows BubbleViews in a bar similar to transient
taskbar. BubbleBarView can be collapsed (bubbles in a stack) or
expanded (bubbles all visible). When expanded, WMShell will be
notified to show the appropriate expanded bubble view (not part of
this CL).

Also creates BubbleControllers which contains BubbleBarViewController
and will eventually contain other controllers related to stashing
for the bubble bar.

Bug: 253318833
Test: manual, with other CLs, see go/bubble-bar-tests
Flag: WM_BUBBLE_BAR
Change-Id: I990ab3da6614db90ffff8c40281dc7f16b3957f6
2023-04-17 16:36:28 -07:00
Federico Baron
b167b59697 Merge "Fix progress and plate width for download app" into udc-dev 2023-04-17 23:23:03 +00:00
Sunny Goyal
c3cca79545 Merge "Moving ModelDbController from LauncehrProvider to LauncherModel" into udc-dev 2023-04-17 22:11:28 +00:00
Pat Manning
ffff442ed5 Merge "Add feature flag for cursor hover states in Launcher." into udc-dev 2023-04-17 21:45:55 +00:00
Bill Yi
5dc55f5de1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifcdcd02f83d4dfc5f708b44239e6514d935309eb
2023-04-17 14:40:57 -07:00
Bill Yi
b9b86a22f0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I935d7839185c696387eb2141f6343ccd8876af4d
2023-04-17 14:40:10 -07:00
Bill Yi
93f0be3966 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I12e36d24e6b85c01bf533124f31f3055334764f3
2023-04-17 14:38:51 -07:00
Bill Yi
c4acfd3481 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I63782983c81aa196210241ec83bd40a8b30de835
2023-04-17 14:38:25 -07:00
Brian Isganitis
5bf0806768 Merge "Update notification dots in Taskbar All Apps." into udc-dev 2023-04-17 21:22:29 +00:00
Brian Isganitis
01be7eeb57 Properly compute scroll for Taskbar All Apps.
It was hooked up to Launcher All Apps scroll, which is a separate
instance from Taskbar.

Test: atest WMShellFlickerTests
Fix: 270770472
Change-Id: I14b11c8b5f1143886dd5976a12bba9e4ee66aa96
2023-04-17 18:19:54 +00:00
Schneider Victor-tulias
5285763d99 Update the All set page lottie animation to use dynamic colors
Flag: not needed
Fixes: 263088674
Test: Launched the All set page on handheld, foldable and tablet
Change-Id: I5c742985c3fcce32742553f0ab5d237c1a77f991
2023-04-17 09:45:52 -07:00
fbaron
28ad76fb64 Fix progress and plate width for download app
It looks like the plate width wasn't quite right as it's supposed to be half the width of the progress bar width. This should fix that.

Bug: 267272201
Test: Verify that the download app ux matches spec in bug
Change-Id: Ifbcb1e2d31cd8d9c20a69e8c64104198563f7cf9
2023-04-15 04:34:34 +00:00
Fengjiang Li
47f2dd6a11 Merge "Format switch case block of TouchInteractionService so that future change is not blocked by lint" into udc-dev 2023-04-14 23:18:31 +00:00
Jagrut Desai
282f093533 Refactoring instance variable for ArrowPopup.java
refactoring naming for instance variables to be more in sync with java codestyle

Test: presubmit
Bug: 278291850
Flag: not needed
Change-Id: I24eb1433941b44404871b305acf0d2d145662080
2023-04-14 16:08:52 -07:00
Sunny Goyal
ce953a36ec Moving ModelDbController from LauncehrProvider to LauncherModel
Migrating some of the class to use the controller directly, will
update the remaining calls in follow up cls

Bug: 277345535
Test: Presubmit
Change-Id: I8edc7c43665f94702ac64bd92932d6c94cb544a4
2023-04-14 14:13:17 -07:00
Andrew Cole
89aea61bc4 Screen recording flakey test
Adding back the screen recording on the test to see more information about what is failing

Test: Manual
Bug: b/258071914
Change-Id: I6114c66f3fc78e9713cd9f13fd8d8008d9921a32
2023-04-14 20:21:01 +00:00
Fengjiang Li
e12d344b61 Format switch case block of TouchInteractionService so that future change is not blocked by lint
Test: test launching app
Bug: 278092752
Change-Id: I6d3be682d653f7378bb4c9ce4b6a1048e49386dc
2023-04-14 12:43:27 -07:00
Federico Baron
087bf95bb6 Merge changes Ic4c5cd96,I2cc2417f into udc-dev
* changes:
  Turn on flag for download app ux V3
  Improve color, contrast, and dimensions to match new spec for download icon
2023-04-14 18:14:49 +00:00
Sunny Goyal
348e518b2c Merge "Using a runtime generated layout for tests instead of defining xml" into udc-dev 2023-04-14 18:12:57 +00:00
Pat Manning
56df78ab1a Add feature flag for cursor hover states in Launcher.
Bug: 243191650
Test: manual.
Flag: ENABLE_CURSOR_HOVER_STATES
Change-Id: Ibf8e62c3f3e03b9391a87af4f18f3843252c57bf
2023-04-14 14:14:22 +01:00
Tiger Huang
e67092ee1b Merge "Always suppress scrim for taskbar" into udc-dev 2023-04-14 10:34:09 +00:00
Mike Schneider
45894db9d5 Merge "Revert ag/22195243 and solve the initialization issue it was supposed to fix differently" into udc-dev 2023-04-14 06:35:57 +00:00
fbaron
ff8b89cea4 Turn on flag for download app ux V3
Bug: 267272201
Test: Verify that when the flag is on the new app download animation is visible
Change-Id: Ic4c5cd9678d6eb5dd9d66114e82eb9d93d48fd46
2023-04-13 23:53:20 +00:00
Federico Baron
4ba9c11568 Improve color, contrast, and dimensions to match new spec for download icon
Here we update the values to the correct HCT values according to the specs, as well as the size of the icon

Bug: 267272201
Test: Turn on flag ENABLE_DOWNLOAD_APP_UX_V3 and download an app to see the changes.
Change-Id: I2cc2417f7500c4c08c41056bfeef3c33f4eab174
2023-04-13 23:53:20 +00:00
Federico Baron
cc79886814 Merge "Fix droptarget button wrong radius on hover" into udc-dev 2023-04-13 23:50:12 +00:00
Stefan Andonian
4c28cd49ca Merge "Make all debug feature flags boot aware." into udc-dev 2023-04-13 22:05:36 +00:00
Vinit Nayak
f00760ac23 Prevent taskbar on phone from crashing
* Update code behind flag to work with transient taskbar
* We explicitly set the mDestroyed flag to false in
TaskbarActivityContext because it gets set to true when
the flag is on, but nothing resets it unless it gets
recreated normally.

Bug: 274517647
Flag: persist.wm.debug.hide_navbar_window
Test: Enable flag and verify no crash
Change-Id: I9a149ffb47a10efedfc9dff8399d12d4c1a31553
2023-04-13 14:33:17 -07:00
Bill Yi
fc7fa8f36b Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-04-13 20:38:27 +00:00
Bill Yi
5b31f73a5f Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-04-13 20:38:27 +00:00
Sebastián Franco
df812dfd91 Merge "Parsing test boards from text files to be able to add more and bigger tests" into udc-dev 2023-04-13 20:32:34 +00:00
Jon Miranda
e60bea51e3 Merge changes from topics "presubmit-am-0ed6d9a2502540239b46d7d3573bd44e", "presubmit-am-7a77b5bffdb04bf38bcec9ec17d4d6ee" into tm-qpr-dev am: f583786984 am: d6fe892f4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22603500

Change-Id: I25422fb8cfd3ec7b992186477cf6b9fc6c2d028f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 20:25:49 +00:00
Jon Miranda
d6fe892f4c Merge changes from topics "presubmit-am-0ed6d9a2502540239b46d7d3573bd44e", "presubmit-am-7a77b5bffdb04bf38bcec9ec17d4d6ee" into tm-qpr-dev am: f583786984
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22603500

Change-Id: Iea9d0c287c3acd640467f4cd0430dbad031e39df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 20:11:52 +00:00
Jon Miranda
8cf1e75ab8 Merge changes from topic "presubmit-am-7a77b5bffdb04bf38bcec9ec17d4d6ee" into tm-qpr-dev-plus-aosp am: 5523175f13
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22598537

Change-Id: I651b3a3fb06e9e4ee96266b0c1345b79cf958892
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 20:10:08 +00:00
Sunny Goyal
94a8a8aa06 Merge "Removing remaining code around ENABLE_DATABASE_RESTORE" into udc-dev 2023-04-13 19:51:04 +00:00
fbaron
84e19a9bea Fix droptarget button wrong radius on hover
Fix: 277470359
Test: drag app to uninstall or remove on tablet, verify the button shape doesn't change when hovered over
Change-Id: I6b8b2de7357f8d19cdee7632a9957624a3f242a1
2023-04-13 19:27:00 +00:00
Bill Yi
c745faf8da [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 673da4dc3f -s ours am: 4206573569 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22567417

Change-Id: I47f663fc89eb48b66b5df0c068e88a23d08dbaee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 19:12:59 +00:00