Commit Graph
87505 Commits
Author SHA1 Message Date
Brandon Dayauon 061cf0d4e9 Merge "Support two line text in AllApps/OnDeviceSearch w/ feature flag" into tm-qpr-dev am: 5ddc6ab4da am: e0bddb5b42
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20898210

Change-Id: I097b55e72e2c07d75a45ff044f581b1f5d30af6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 18:34:30 +00:00
Cole Faust a9c84f2932 Merge "Baseline NewApi issues" into udc-dev 2023-03-10 18:34:13 +00:00
Fengjiang Li b167a803fb Merge "[Predictive Back] Fix small bottom gap in widget to home animation" into tm-qpr-dev am: 20a343e740
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21934197

Change-Id: I142754b178563b7ec325bba16eb806737354b1ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 17:59:03 +00:00
Brandon Dayauon e0bddb5b42 Merge "Support two line text in AllApps/OnDeviceSearch w/ feature flag" into tm-qpr-dev am: 5ddc6ab4da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20898210

Change-Id: Ibf5cb36dc8e5ec0def0012b17b14e848a33d9d83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 17:58:48 +00:00
Fengjiang Li 20a343e740 Merge "[Predictive Back] Fix small bottom gap in widget to home animation" into tm-qpr-dev 2023-03-10 17:34:24 +00:00
Brandon Dayauon 5ddc6ab4da Merge "Support two line text in AllApps/OnDeviceSearch w/ feature flag" into tm-qpr-dev 2023-03-10 17:21:37 +00:00
Thales Lima 38fc7d539b [automerger skipped] Merge "Fix TaskView cropping for transient taskbar" into udc-dev am: 6ca92a383c am: 7b2939266d -s ours
am skip reason: Merged-In Ib4faeda6f0cccef3b23fcbacb89c6d2832c0df59 with SHA-1 3a6193517d is already in history

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

Change-Id: I0c40b5fc2870561487acf49c3b248dd71484dae6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 17:04:32 +00:00
Thales Lima 9316c56596 [automerger skipped] Merge "Fix TaskView cropping for transient taskbar" into udc-dev am: 6ca92a383c am: 35d6b8fb08 -s ours
am skip reason: Merged-In Ib4faeda6f0cccef3b23fcbacb89c6d2832c0df59 with SHA-1 d29418a43f is already in history

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

Change-Id: I56270e17b1f28df23c822fb69446dd301483f5c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 17:02:49 +00:00
Fengjiang Li 37305d49fa [Predictive Back] Fix bug where closing task bar's all apps will show scale animation even if predicitve back is disabled
TaskbarAllAppsSlideInView.onBackInvoked() can be triggered by ViewGroup.dispatchKeyEvent(event) with KEYCODE_BACK, in that case we should skip scale animation

Test: manual
Fix: b/272317866
Change-Id: I19468cfe4765de5276c479b0f7fa88ec0690bbfd
2023-03-10 08:54:55 -08:00
Thales Lima 35d6b8fb08 Merge "Fix TaskView cropping for transient taskbar" into udc-dev am: 6ca92a383c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21938699

Change-Id: I67da4a72eeef90690d6bb4afababc97f3e4cf1ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 16:31:59 +00:00
Thales Lima 7b2939266d Merge "Fix TaskView cropping for transient taskbar" into udc-dev am: 6ca92a383c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21938699

Change-Id: Icd06136007fd04579ed2c00305e046892f902013
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 16:31:49 +00:00
Charlie Anderson 5cb9961c28 Prevents an extra Widget shortcut from showing when popup receives update.
Bug: 247880037
Test: Tested manually on phone
Change-Id: I8e9827ac0bfac6161f8b81629a697d053970195b
2023-03-10 11:26:01 -05:00
Thales Lima 6ca92a383c Merge "Fix TaskView cropping for transient taskbar" into udc-dev 2023-03-10 15:52:16 +00:00
Pat Manning 616b46ef2e Scale using workspace width for handheld device on swiping from home to overview.
Continue to use height to compute scale for two panel home.

Fix: 272735870
Test: manual. Swipe from home to overview.
Change-Id: If7da8c504c389eab3ca337a69eb60dfe28467ed2
2023-03-10 15:35:15 +00:00
Charlie Anderson 5d8489e71e flip app shortcut popup design on for U
Bug: 247880037
Test: N/A

Change-Id: I3c1410024bd4ffe13b436344de38b6018d4ce3f1
2023-03-10 15:25:44 +00:00
Federico Baron bbd9550ed4 Merge "Fix bug where homescreen shows installation completed when it's technically still downloading and fix animation that repeats in apps with quick install" into tm-qpr-dev am: 0c77edb8cc am: aac9a588e2 am: c8e74c4052 am: 790377d772
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21943710

Change-Id: Iaf6eb67ce0f44c7da892b8bd8987187efecb1864
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 08:27:24 +00:00
Federico Baron 790377d772 Merge "Fix bug where homescreen shows installation completed when it's technically still downloading and fix animation that repeats in apps with quick install" into tm-qpr-dev am: 0c77edb8cc am: aac9a588e2 am: c8e74c4052
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21943710

Change-Id: I841342ff63e3e27c529eaba41e16e32159a4d5f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 07:53:19 +00:00
Federico Baron 2a3aa4ac3c Merge "Fix bug where homescreen shows installation completed when it's technically still downloading and fix animation that repeats in apps with quick install" into tm-qpr-dev am: 0c77edb8cc am: aac9a588e2 am: c8e74c4052 am: a3277284ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21943710

Change-Id: Ie043a048699f6561f6368968e978003777eec5cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 07:47:26 +00:00
Federico Baron a3277284ce Merge "Fix bug where homescreen shows installation completed when it's technically still downloading and fix animation that repeats in apps with quick install" into tm-qpr-dev am: 0c77edb8cc am: aac9a588e2 am: c8e74c4052
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21943710

Change-Id: If2ef1a16e67ed94a4d03ce620d76a3c5841ee6a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 07:26:55 +00:00
Federico Baron c8e74c4052 Merge "Fix bug where homescreen shows installation completed when it's technically still downloading and fix animation that repeats in apps with quick install" into tm-qpr-dev am: 0c77edb8cc am: aac9a588e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21943710

Change-Id: I94551744c4bc711bbb1fce8132a451bb9270ba0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 07:00:20 +00:00
Federico Baron aac9a588e2 Merge "Fix bug where homescreen shows installation completed when it's technically still downloading and fix animation that repeats in apps with quick install" into tm-qpr-dev am: 0c77edb8cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21943710

Change-Id: Ie3d3ff6a2cc834b80e8d909d4753f8c0d1af9c75
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 06:37:30 +00:00
Goooler 44da9e2465 Add more missing proguard rules (#3365)
Add necessary rules for updating AGP 8.
2023-03-10 06:29:26 +00:00
Federico Baron 0c77edb8cc Merge "Fix bug where homescreen shows installation completed when it's technically still downloading and fix animation that repeats in apps with quick install" into tm-qpr-dev 2023-03-10 06:21:17 +00:00
Sihua Ma 3d9dc3551d Remove app widget view when widget id is deleted
Also clearing all the views in clearViews()

Test: N/A
Fix: 272647976
Change-Id: Ia54401279f453a31f392898c4db2dbe199d346dd
2023-03-09 21:28:15 -08:00
Hongwei Wang e5e6a42838 VisD update for the PipAppIconOverlay
Supply the app icon to PipContentOverlay using IconProvider

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/blaCMAiD9NQCIFj1V4i8qQ
video: http://recall/-/aaaaaabFQoRHlzixHdtY/gqHVRIePASh13Kk7wMeewa
Bug: 271912318
Test: manual in both light and dark thems, see the videos
Change-Id: I8b57751b0e82446405680d76120dfcf75ef47c59
2023-03-09 19:25:04 -08:00
Android Build Coastguard Worker 3f7d616414 Snap for 9719949 from b915b989df to udc-release
Change-Id: I0a88277fc489b47a50c86869d44d165519122973
2023-03-10 02:30:10 +00:00
Sihua Ma bc9dafad7a Merge "Use app widget host instead of holder to get rid of deleteHost" into tm-qpr-dev am: 713931ec38 am: 7560a917d9 am: 6741e0d9ad am: fc2f7b8281
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21408002

Change-Id: I644678c0e9c80cc2ba4636616628ad72a6047e0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 00:34:29 +00:00
Sihua Ma adfc297557 Merge "Use app widget host instead of holder to get rid of deleteHost" into tm-qpr-dev am: 713931ec38 am: 7560a917d9 am: 6741e0d9ad am: 0ddecd5334
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21408002

Change-Id: I7736f5ef76d1214370dc598d3a8cd3effda07bf7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 00:33:32 +00:00
Sihua Ma 0ddecd5334 Merge "Use app widget host instead of holder to get rid of deleteHost" into tm-qpr-dev am: 713931ec38 am: 7560a917d9 am: 6741e0d9ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21408002

Change-Id: Ifb9695d64a401f9e9fff112f52b935cb8b57aa8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 00:10:14 +00:00
Sihua Ma fc2f7b8281 Merge "Use app widget host instead of holder to get rid of deleteHost" into tm-qpr-dev am: 713931ec38 am: 7560a917d9 am: 6741e0d9ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21408002

Change-Id: Ic2ac2f3cab2eb4fd314c1c2ae199a7fcb765cb68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 00:09:41 +00:00
Jon Miranda ffcc269b56 Merge "Align taskbar to the left/right in 3 button nav for certain devices." into tm-qpr-dev am: 0fe7e089ca am: a7d7c64037 am: d076e7f82f am: bb100bd6c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21893967

Change-Id: I3c4df7dcd8e747b2ca7962b45e460ae36ceb882f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 23:58:59 +00:00
Jon Miranda 95aa8f2f2f Merge "Align taskbar to the left/right in 3 button nav for certain devices." into tm-qpr-dev am: 0fe7e089ca am: a7d7c64037 am: d076e7f82f am: 5eb0afb263
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21893967

Change-Id: I2bf1384a0995d6d7cdc280377c8acef2261fee9e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 23:56:33 +00:00
Sihua Ma 6741e0d9ad Merge "Use app widget host instead of holder to get rid of deleteHost" into tm-qpr-dev am: 713931ec38 am: 7560a917d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21408002

Change-Id: I4aca6e225b37223c39cc3990649f7c70c4c95e40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 23:48:29 +00:00
Jon Miranda bb100bd6c1 Merge "Align taskbar to the left/right in 3 button nav for certain devices." into tm-qpr-dev am: 0fe7e089ca am: a7d7c64037 am: d076e7f82f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21893967

Change-Id: I13f319cf80f59323a9d1e7fde2383b31ea1f8116
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 23:29:29 +00:00
Jon Miranda 5eb0afb263 Merge "Align taskbar to the left/right in 3 button nav for certain devices." into tm-qpr-dev am: 0fe7e089ca am: a7d7c64037 am: d076e7f82f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21893967

Change-Id: I55143f800b49999da1140f8214dfc6341c81f4e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 23:29:24 +00:00
Sihua Ma 7560a917d9 Merge "Use app widget host instead of holder to get rid of deleteHost" into tm-qpr-dev am: 713931ec38
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21408002

Change-Id: I9a4ca72e07649daed35f4c4d4ca8b02caabe07bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 23:29:19 +00:00
Brandon Dayauon cf88ea1e62 Support two line text in AllApps/OnDeviceSearch w/ feature flag
Made separate feature flag for on device search
Add unit test to test twoLine string
- Unit tests for testing newStringThatShouldSupportTwoLineText() in BubbleTextView.java. This class tests a couple of strings
and uses the getLineCount() to determine if the test passes. Verifying with getLineCount() is sufficient since BubbleTextView can only be in one line or two lines,
and this is enough to ensure whether the string should be specifically wrapped onto the second line and to ensure truncation.

bug: 201388851
test: presubmit, ran locally on big and small device, before: https://screenshot.googleplex.com/3Q6pwveFDZqxDXL (ORIGINAL TWO LINE TEXT)
after:  https://screenshot.googleplex.com/7pkwUto6HGzMYoT

Change-Id: I93e6ed179e1081d5cdffc6db9c7ae34de8021c24
2023-03-09 15:13:04 -08:00
Jon Miranda d076e7f82f Merge "Align taskbar to the left/right in 3 button nav for certain devices." into tm-qpr-dev am: 0fe7e089ca am: a7d7c64037
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21893967

Change-Id: Ie8b506a757f340c34f21a7d318de84bbe50bd9d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 23:07:51 +00:00
Sihua Ma 713931ec38 Merge "Use app widget host instead of holder to get rid of deleteHost" into tm-qpr-dev 2023-03-09 23:06:55 +00:00
Sebastian Franco 239ae0a995 Making sure there is a propper Chrome icon for the test to long press
In some cases, the test was long pressing on a recommendation for
google chrome and not a regular chrome icon and the events didn't
match. I don't think is good to relly on chrome getting recommended
so I'm making sure there is always a chrome app icon on the hotseat

Fix: 269163620
Test: atest TaplTestsLauncher3:testWorkspace (run on pixel 7 pro)
Change-Id: Ic8ee744a9af18d60de9bbedd42043f5abbbd7356
2023-03-09 14:59:21 -08:00
Jon Miranda a7d7c64037 Merge "Align taskbar to the left/right in 3 button nav for certain devices." into tm-qpr-dev am: 0fe7e089ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21893967

Change-Id: I73af22d020c543f27eba846dd496d26b652a5a72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 22:46:30 +00:00
Vinit Nayak 812ef9cdf7 Merge "Add initial split from GroupedTaskView animation" into tm-qpr-dev am: 4b0a5ed8fa am: 4eb50abbc3 am: 392b20c0ad am: 2dd22153c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21613692

Change-Id: Ieea84e0f0f28db5582dfc6fc6bb6c1f4c5034110
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 22:46:24 +00:00
Vinit Nayak 6273535880 Merge "Add initial split from GroupedTaskView animation" into tm-qpr-dev am: 4b0a5ed8fa am: 4eb50abbc3 am: 392b20c0ad am: 3ff64655c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21613692

Change-Id: I2bebf107a915809691a9ccaa5df32026adc8ccf8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 22:45:05 +00:00
Federico Baron db599b2d8e Fix bug where homescreen shows installation completed when it's technically still downloading and fix animation that repeats in apps with quick install
Fix: 269702659
Test: Download an app that has a lighning next to the install text and verify that the animation plays smoothly and that it doesn't animate until we finish downloading completely.
Change-Id: I11147444a85db01c75d63b5cdd09d1d911a28c75
2023-03-09 14:44:41 -08:00
Fengjiang Li 1898d16ee0 [Predictive Back] Fix small bottom gap in widget to home animation
The bug was caused by a math problem. The extrat bottom offset should be

 offset = (H / 0.9 - H) / 2

Fix: b/269393854
Test: manual
Change-Id: Ia4d6b3f2ecb53b82d6779cd385ce4d7ca3c16113
2023-03-09 14:38:06 -08:00
Jon Miranda 0fe7e089ca Merge "Align taskbar to the left/right in 3 button nav for certain devices." into tm-qpr-dev 2023-03-09 22:33:28 +00:00
Jon Miranda e17a949950 Align taskbar to the left/right in 3 button nav for certain devices.
Otherwise we position the taskbar in the center.

Bug: 259712417
Fixes: 267997547
Test: transient taskbar unaffected
      persistent taskbar
      - test on small tablet
      - test on large tablet
      - test LTR and RTL

Change-Id: Ieb0a304d9963ebf583bc4ef2deaab747019e8d6d
2023-03-09 22:33:18 +00:00
Vinit Nayak 2dd22153c1 Merge "Add initial split from GroupedTaskView animation" into tm-qpr-dev am: 4b0a5ed8fa am: 4eb50abbc3 am: 392b20c0ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21613692

Change-Id: I58855e1f7ae33ad64133754524c3d061209084a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 22:27:00 +00:00
Vinit Nayak 3ff64655c1 Merge "Add initial split from GroupedTaskView animation" into tm-qpr-dev am: 4b0a5ed8fa am: 4eb50abbc3 am: 392b20c0ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21613692

Change-Id: Ic9f6b2755b29eb55be816e3fb4cac0228a178dc6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 22:26:32 +00:00
Cole Faust c7257cceec Baseline NewApi issues
NewApi was recently updated to support linting methods in
the system, module_lib, and system_server sdks, and was
demoted to a warning due to the new issues it finds.
Baseline all the new issues that NewApi can be made an error
again.

These cls were generated automatically by a script that
copied the NewApi issues from the reference baselines.

Bug: 268261262
Test: m lint-check
Change-Id: Iaaf0504fb29069417c00f2950b9412654b9bdab7
2023-03-09 14:05:29 -08:00