Commit Graph

12313 Commits

Author SHA1 Message Date
Jonathan Miranda 3e3fab457c Merge "Folder icon polish." 2021-07-21 01:08:36 +00:00
Vinit Nayak fc02d3cf4a Merge "Move NavButtons to end of taskbar" into sc-v2-dev am: 6d2dd7a9e4 am: ce6907de48
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15329808

Change-Id: I512d85536566883829bd3345c216248b06e00303
2021-07-21 00:44:42 +00:00
Vinit Nayak 6d2dd7a9e4 Merge "Move NavButtons to end of taskbar" into sc-v2-dev 2021-07-21 00:11:31 +00:00
Jon Miranda 2cc564c647 Folder icon polish.
- Increase the overlap between the preview items and the background
  so that it appears more intentional (lots of reports of users
  thinking that its a bug)
- Fix bug where clip path was still clipping icons when
  dragging and swiping to home.

Bug: 193701705
Bug: 191225536
Test: test 2 icon, 3 icon, and 4 icon folders
      close folder on 2nd page, ensure clipping
      ensure no preview items are clipped in drag view
      ensure no preview items are clipped in swipe up to home
      test 2x2, 3x3, 4x4, 4x5, and 5x5 grids to ensure no clipping
      of folder icons
      drag and drop folder in and out of hotseat
      create folders (2 icon, 3 icon, 4 icon)

Change-Id: Id49bae33438e10248bef05450d7e2c92c2140748
2021-07-20 22:13:56 +00:00
Vinit Nayak 8dcbde87c0 Move NavButtons to end of taskbar
* Layout hotseat icons from the end instead of the start
* IME down and system back arrow are now separate views

Bug: 191399224
Test: Tested w/ RTL + LTR in gesture
and 3 button nav w/ and w/o IME

Change-Id: I4d0ecd0bee0c519892c63eeefef45055b26d349b
2021-07-20 13:55:37 -07:00
Hyunyoung Song bfe32f7ad8 Merge "Fix fast scroller issues / remove fast thumb access / fix wrong popup location" into sc-dev am: 56c33c3cb8 am: 3e4bd6c3ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15331688

Change-Id: Iacb2908d200f5ce8c0fa557cda7394db5ce04bd1
2021-07-20 19:48:10 +00:00
Hyunyoung Song 46255ad68e Merge "Fix fast scroller issues / remove fast thumb access / fix wrong popup location" into sc-dev am: 56c33c3cb8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15331688

Change-Id: I103161ef85f4f546399793b40aa7054263e64c84
2021-07-20 19:36:14 +00:00
Hyunyoung Song 56c33c3cb8 Merge "Fix fast scroller issues / remove fast thumb access / fix wrong popup location" into sc-dev 2021-07-20 19:06:36 +00:00
Hyunyoung Song 02e5d63fc7 Fix fast scroller issues / remove fast thumb access / fix wrong popup location
(1) Remove jumping to arbitrary fast scroller position
because back gesture can trigger arbitrary fast scrolling
(2) Pop up would show up in random location when user combines
touching the track and scrolling. This was because thumb
location was not updating when user was scrolling on the main
container.

Bug: 193177670
Bug: 191562400

Test: manual
Change-Id: I129aaa37ca911666453a8c98e24eaac33827238f
2021-07-19 23:44:14 -07:00
Jonathan Miranda 7de95d6767 Merge "Revert "Use wallpaper colors for widgets in wallpaper change preview"" into sc-dev 2021-07-20 00:45:57 +00:00
Jonathan Miranda f5fee1a7d3 Revert "Use wallpaper colors for widgets in wallpaper change preview"
Revert "Implement generateColorsOverride from LocalColorExtractor"

Revert submission 15331418-colorcp

Reason for revert: Broke the build
Reverted Changes:
Ife80b07f9:Use wallpaper colors for widgets in wallpaper chan...
I1371eb787:Implement generateColorsOverride from LocalColorEx...

Bug: 194138049

// Using original change's merged-in tag to avoid clashing
Merged-In: I3fb76b6036cb909771b789eac15742df78c2c742
Merged-In: I4da9ad1cc88be251f97e86b6c8c9b346ed20f586

Change-Id: I3835dfb8efe745dc0a654712a5b1f68c4946f446
2021-07-20 00:44:42 +00:00
TreeHugger Robot 8188380c05 Merge "Remove the shadow under PendingAppWidgetHostView." into sc-dev am: 0a70a5a690 am: 9225d11671
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15328564

Change-Id: If1756603eea6aee76db66cadfebfa35f3fe2b0a5
2021-07-20 00:43:44 +00:00
TreeHugger Robot 0a70a5a690 Merge "Remove the shadow under PendingAppWidgetHostView." into sc-dev 2021-07-20 00:25:48 +00:00
TreeHugger Robot 0c1c0daa12 Merge "Remove the shadow under PendingAppWidgetHostView." into sc-v2-dev 2021-07-20 00:24:57 +00:00
Brian Isganitis 6819202b65 Merge "Use wallpaper colors for widgets in wallpaper change preview" into sc-dev 2021-07-19 23:47:56 +00:00
Brian Isganitis e98f688196 Merge "Use global color extraction in widgets for wallpaper preview" into sc-v2-dev am: 9b3ef3e638 am: df311603e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15329444

Change-Id: If7920bff50108cab908a07c34d082b811da344f0
2021-07-19 23:19:37 +00:00
Brian Isganitis 9b3ef3e638 Merge "Use global color extraction in widgets for wallpaper preview" into sc-v2-dev 2021-07-19 22:54:56 +00:00
Pierre Barbier de Reuille a28f864bbf Remove the shadow under PendingAppWidgetHostView.
Fix: 194007734
Test: Manual (see bug)
Change-Id: Ia46dbf8417bb9df17f35b43bfa2698206d940587
2021-07-19 22:21:06 +00:00
Pierre Barbier de Reuille 771c60d36e Remove the shadow under PendingAppWidgetHostView.
Fix: 194007734
Test: Manual (see bug)
Change-Id: Ia46dbf8417bb9df17f35b43bfa2698206d940587
2021-07-19 22:55:49 +01:00
Brian Isganitis 74e6ced362 Use wallpaper colors for widgets in wallpaper change preview
Test: Widgets should adapt to wallpaper colors in launcher preview.
Bug: 192205054
Merged-In: I3fb76b6036cb909771b789eac15742df78c2c742
Merged-In: I4da9ad1cc88be251f97e86b6c8c9b346ed20f586
Change-Id: Ife80b07f99da913d65bff96fba2ccd76b0a2ed48
2021-07-19 16:58:20 -04:00
TreeHugger Robot 9d34bf06d0 Merge "Updating bounce animation to move hotseat instead of all-apps" into sc-dev am: 380afd86ab am: 18c7e34550
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302019

Change-Id: I318b93a6c576a5a65fb9585a2b818e57a1d09fbd
2021-07-19 20:34:15 +00:00
TreeHugger Robot 550e7d8eba Merge "Updating bounce animation to move hotseat instead of all-apps" into sc-dev am: 380afd86ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302019

Change-Id: I103bbbeeff0d5bd4eb16e3cafdf27b4d192d4dd1
2021-07-19 20:19:34 +00:00
TreeHugger Robot 380afd86ab Merge "Updating bounce animation to move hotseat instead of all-apps" into sc-dev 2021-07-19 20:05:44 +00:00
TreeHugger Robot 9bd4020134 Merge "Wait for dismiss animation to finish before checking task count" into sc-v2-dev am: b0ef69e886 am: 26db50490a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15312149

Change-Id: I7ee1650a1884c79aab63a42217a1cb18e2e563c7
2021-07-19 19:25:19 +00:00
Brian Isganitis 57c8d68001 Use global color extraction in widgets for wallpaper preview
Test: Widgets in wallpaper app should use wallpaper colors
Bug: 192205054
Change-Id: I4da9ad1cc88be251f97e86b6c8c9b346ed20f586
2021-07-19 15:03:27 -04:00
TreeHugger Robot b0ef69e886 Merge "Wait for dismiss animation to finish before checking task count" into sc-v2-dev 2021-07-19 18:39:18 +00:00
Jonathan Miranda 291cfde1bb Merge "Fix notification dot not always being up to date." into sc-dev am: 8e095ccb05 am: 4e16c6ed22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302020

Change-Id: Ieae003d368ec8452db75f9e332c0617b168cc44e
2021-07-19 18:14:10 +00:00
Jonathan Miranda 70e8c0b022 Merge "Fix notification dot not always being up to date." into sc-dev am: 8e095ccb05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302020

Change-Id: I73d52b726f120029edc345a4154e36e734a6ea32
2021-07-19 18:00:49 +00: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
Alex Chau 97cba26a20 Wait for dismiss animation to finish before checking task count
- See http://b/193440212#comment5, TaskView takes time after swipe gesture to finish dismiss animation, so wait for the animation to finish before checking task count

Bug: 193440212
Test: TaplTestsQuickstep#testOverview
Change-Id: I21397e68f384e956a7c9f2ee8a8161ac784b4d2e
2021-07-19 17:34:57 +01:00
Sunny Goyal f706230a00 Updating bounce animation to move hotseat instead of all-apps
Bug: 193827513
Test: Manual
Change-Id: I86c0e9cb56ab3c6e8e978f574e564fe1e1a41c43
2021-07-19 08:38:47 -07:00
TreeHugger Robot f77fcfbb28 Merge "Fix widget cell container size" into sc-v2-dev am: daf4289766 am: d6b8146816
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15311691

Change-Id: I232f7421cfd9fd0d9f954296e6faae56245fd59c
2021-07-19 09:42:35 +00:00
TreeHugger Robot daf4289766 Merge "Fix widget cell container size" into sc-v2-dev 2021-07-19 09:18:44 +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 38f4d2e49c Merge "Use DeviceProfile.isTwoPanels for two panels expectation in tests" into sc-v2-dev am: 189e80e617 am: 571cb3d470
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15312133

Change-Id: Iff3df5321fece2da376c5f6e2add5557b7e0a54b
2021-07-16 17:54:49 +00:00
Alex Chau 0686931b68 Use DeviceProfile.isTwoPanels for two panels expectation in tests
Fix: 193810767
Test: TaplTestsLauncher3.testWorkspace
Change-Id: Ifec5506415b79f3effa84fe0163eb1bb2bc7cc8d
2021-07-16 15:14:34 +00:00
András Klöczl a4d9a135ed Merge "Fix two panel accessibility issues" into sc-v2-dev am: f52f6206dc am: 26d51f7efa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15300170

Change-Id: I0803d6ff36db14f20478ed7cf4f1b7a87d7ea13b
2021-07-16 12:30:00 +00:00
András Klöczl f52f6206dc Merge "Fix two panel accessibility issues" into sc-v2-dev 2021-07-16 12:05:47 +00:00
Steven Ng 4f0f5d732d Fix widget cell container size
This was the same calculation used before http://ag/15177218.

Test: run AddWidgetTest, AddConfigWidgetTest
Bug: 193819550
Change-Id: I1b5e0072a4c05b656de98f8d42667ae99438c005
2021-07-16 12:43:55 +01:00
Steven Ng 73f83cd14d Merge "Scale RemoteViews from requestPinAppWidget shown in AddItemActivity" into sc-v2-dev am: 4083ae30db am: 8971abebf1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15288650

Change-Id: I4505f4b08835992839e0c72545ee75e232c64796
2021-07-16 09:57:24 +00:00
Steven Ng 4083ae30db Merge "Scale RemoteViews from requestPinAppWidget shown in AddItemActivity" into sc-v2-dev 2021-07-16 09:24:02 +00:00
Andras Kloczl 77b3eb0acb Fix two panel accessibility issues
When two panel home was enabled in Launcher the items on
the left panel weren't able to get selected while on Talkback
because of an incorrect calculation in getScrollProgress.
Also the user was unable to jump to other workspaces by doing
simple one finger swipes because the page jump count was
only 1.

Test: manual
Bug: 174464170
Change-Id: I6cfe39b5059e8e7e7a32c9b0d372c658e796c3e8
2021-07-16 10:39:51 +02:00
Steven Ng 02c75d9897 Fix class cast issue in AddItemActivity am: 671ffb88ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15299573

Change-Id: I393d4540df0b32e644e3d1a963db14564281c03c
2021-07-16 02:04:23 +00:00
TreeHugger Robot f877edb8fc Merge "Fix work profile disable button falsing" into sc-dev am: 753c8b7016
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15286021

Change-Id: I20ea01059f339d8a3dbe1186b7d838fd17faf539
2021-07-16 02:02:54 +00:00
TreeHugger Robot 3559798fba Merge "Removing support for change listeners from feature flags" into sc-v2-dev am: 4aac62110e am: fdbabc6be4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302089

Change-Id: I9bb74727ab64325944f2d01e4fcc7aebfda144fd
2021-07-16 01:56:33 +00:00
TreeHugger Robot fdbabc6be4 Merge "Removing support for change listeners from feature flags" into sc-v2-dev am: 4aac62110e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302089

Change-Id: Ib53f78f1badbf62661b96ad9b7f6455f596704e8
2021-07-16 01:30:55 +00:00
TreeHugger Robot 4aac62110e Merge "Removing support for change listeners from feature flags" into sc-v2-dev 2021-07-16 01:20:32 +00:00
Alex Chau 20d83a976d Merge "Enable logs on swipe detection in tests" into sc-v2-dev am: 0eaf4e86a2 am: 5873f9f085
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302098

Change-Id: I30a792a8f248d0dd17146efc3f78702eefb2178d
2021-07-16 01:05:43 +00:00
Alex Chau 5873f9f085 Merge "Enable logs on swipe detection in tests" into sc-v2-dev am: 0eaf4e86a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302098

Change-Id: I4883b5be8c49ef0215a50a8a94a025492f239424
2021-07-16 00:48:30 +00:00
Alex Chau 0eaf4e86a2 Merge "Enable logs on swipe detection in tests" into sc-v2-dev 2021-07-16 00:28:42 +00:00