Commit Graph
58436 Commits
Author SHA1 Message Date
Alina Zaidi 08260a8752 Merge "Bug fixes for widget picker search." into sc-dev am: 378ca5e920
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13852907

Change-Id: Ic4475ea56fe9a0cf75e26c8c7fc58f7b89b9dce8
2021-03-18 10:54:48 +00:00
Steven Ng 3b07c7427a Merge "Adjust font, color, margin, corners for all widgets tray" into sc-dev am: 99060b30ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13901157

Change-Id: Id59548ac617a7d5283fc7c0cca058c726a161cda
2021-03-18 10:54:40 +00:00
Alina Zaidi f7a942dd1a Merge "Bug fixes for widget picker search." into sc-dev am: 378ca5e920
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13852907

Change-Id: Ic4e7e0b4181ade6be1a7d8917afaec5f3f2a908b
2021-03-18 10:54:16 +00:00
Steven Ng 32aa92e07f Merge "Adjust font, color, margin, corners for all widgets tray" into sc-dev am: 99060b30ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13901157

Change-Id: I0221dae10323408503b42b936415c26389376cc3
2021-03-18 10:54:05 +00:00
Alina Zaidi 378ca5e920 Merge "Bug fixes for widget picker search." into sc-dev 2021-03-18 10:32:18 +00:00
Steven Ng 99060b30ca Merge "Adjust font, color, margin, corners for all widgets tray" into sc-dev 2021-03-18 10:25:00 +00:00
Sunny Goyal fc5125d710 Merge "Adding some build rules in Launcher3" into sc-dev am: f0ae3631ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13857568

Change-Id: I872a266e8fdae892210b85381d8d8034c0cecf71
2021-03-18 07:00:16 +00:00
Sunny Goyal 10228811ca [automerger skipped] Merge "Adding some build rules in Launcher3" into sc-dev am: f0ae3631ca -s ours
am skip reason: skip tag Change-Id Ib2c18f1e252b3382030293fd3b873e840320301a with SHA-1 f90d6451b0 is already in history

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

Change-Id: If2c75746b59766b1129193e5e2be55105b52378a
2021-03-18 06:59:57 +00:00
Sunny Goyal f0ae3631ca Merge "Adding some build rules in Launcher3" into sc-dev 2021-03-18 06:26:06 +00:00
Tracy Zhou 73b3175d79 Merge "Enable Live Tile" into sc-dev am: 7e7bab4cb6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13755884

Change-Id: Iea3f7c8a939b2da8b1b727e09bedd3960f6e815b
2021-03-18 06:03:40 +00:00
Tracy Zhou a696c36c49 Merge "Enable Live Tile" into sc-dev am: 7e7bab4cb6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13755884

Change-Id: Ib3b0879ffe3516b69c257d19bbc044db254a12b9
2021-03-18 06:03:06 +00:00
Tracy Zhou 7e7bab4cb6 Merge "Enable Live Tile" into sc-dev 2021-03-18 05:24:48 +00:00
android-build-team Robot c6f304feba Snap for 7216432 from 530aca6ad5 to tm-release
Change-Id: Ief2afccc73c5f1334cea9fa1c0b2d15176c19645
2021-03-18 03:07:24 +00:00
Tracy Zhou 56c0931e99 Enable Live Tile
Fixes: 169694902
Fixes: 174866547
Fixes: 181937887
Test: manual
Change-Id: I5f2f304d4003e72ed2fb4ea0b0c74f06d2adfe4b
2021-03-17 18:34:52 -07:00
Sunny Goyal f5c42ea6aa Adding some build rules in Launcher3
Bug: 182502086
Test: Presubmit
Change-Id: Ib2c18f1e252b3382030293fd3b873e840320301a
Merged-In: Ib2c18f1e252b3382030293fd3b873e840320301a
2021-03-18 01:26:36 +00:00
Sunny Goyal 6dd20c65c9 Merge "Adding some build rules in Launcher3" 2021-03-18 01:25:37 +00:00
android-build-team Robot 9c282f8131 Snap for 7216111 from 1e024358ad to sc-v2-release
Change-Id: I5792b0978ffa71dfa6b351fa8b26c33606ce3d30
2021-03-18 01:08:30 +00:00
android-build-team Robot bf94f0e03d Snap for 7216111 from 1e024358ad to sc-release
Change-Id: I711292eaf66a5e3dd24e4f7b66471162f9a455be
2021-03-18 01:07:43 +00:00
Jon Spivack 840b42f66f Pass Assistant web URI in NIU Actions
The Task Overlay for the activity shown in Recents requests the AssistContent for that activity. If the content includes a web URI, this is added to the Intents sent by the NIU Actions buttons.

Bug: 180157890
Test: Manual (tested with Chrome as the recent activity on local device)
Test: TODO (b/179738220)
Change-Id: I33c79e75678605693e0282e4ad82dc6af28957dd
2021-03-17 17:47:29 -07:00
vadimt 6327dabc2a Not assuming reverse order of menu shortcuts
For Launcher3 tests the order can be either
Shortcut 0
Shortcut 1
Shortcut 2

or
Shortcut 2
Shortcut 1
Shortcut 0

Test: presubmit
Bug: 182006150
Change-Id: Ie014f5e5655a5b0bff05316c2a1457a5b5f703ef
2021-03-17 15:53:49 -07:00
Steven Ng 08ef694509 Adjust font, color, margin, corners for all widgets tray
Test: manually
Bug: 179797520
Change-Id: Ib78aae05e021da272ef2f754c876d24a4c14bcb0
2021-03-17 22:43:12 +00:00
[1;3C a608d81359 Add rotation support to launch animations
This only adds support for launch animations. Recents
requires some auxiliar work.

Adds a rotation parameter to the animation targets that
only gets used by shell transitions. If this is non-zero,
launcher will transform it's coordinates relative to that
provide rotation.

Bug: 179308296
Test: Launch and exit apps with different orientation from
      default (portrait).
Change-Id: I7b52cbd37432bcd43e7155bcb07b30cc65c43186
2021-03-17 15:30:47 -07:00
vadimt 17ba630cd9 Fixing testOverview test
Apparently, we can't generally expect that flinging to and
fro will return Overview to the original task, especially
if the device performance is low.

Now starting the expected task explicitly.

Test: presubmit
Bug: 182794819
Change-Id: Ia2931f4f3005c46dd72990c247a90f9010b9b8d5
2021-03-17 14:41:04 -07:00
Sunny Goyal c373e1c642 Adding an optional QSB in hotseat
Removing sections in all-apps during transition and treating
it as a single unit

Bug: 175137718
Test: Manual
Change-Id: I55a501d80b5903f1a9d92a26b3784784fd9e50fd
2021-03-17 12:21:44 -07:00
Steven Ng 30dd1d65f6 Apply local color extraction during drag-n-drop
Test: Drag a test widget around and observe local extract color
      is applied.

Bug: b/182282587, b/182816217
Change-Id: If63a9d91ceb2102d5d913bca85997b8be07b1adf
2021-03-17 18:10:51 +00:00
Sunny Goyal d5347045d0 Using recents animation and swipe handler for 3-button mode
Bug: 181165935
Test: Manual

Change-Id: I7fe586319e4dde1a1b398a0c75896c4dfdb75862
2021-03-17 09:26:51 -07:00
Jon Miranda 01554536a9 Snap to destination page before animating folder close.
This ensures the X page animation runs in the preview.

Bug: 175329686
Test: Scroll to 2nd page, and close folder before scroll finishes
Change-Id: Id4820a212dcc945b0134b79f3d42c68954b17275
2021-03-17 12:15:48 -04:00
Jon Miranda 58561d4fd7 Dump DeviceProfile to help with debugging grid changes
Some of these internal values are not exposed in hierarchy viewer

Bug: 175329686
Test: Take bug report and verify output
Change-Id: Ic39be510682fe5aeb03b7436858f6442895c796f
2021-03-17 11:50:08 -04:00
Alina Zaidi 2e732e95d9 Bug fixes for widget picker search.
SearchBarController
- Use Extended Edit Text to handle close keyboard action well.
- On press enter while search remove focus from bar and hide keyboard.
- On cancel button press hide keyboard and also reset search targets to empty so that on next search session the previous results dont flash (show for a short time before reflecting users query).

WidgetsFullSheet
- Make sure expanded header are reset when user leaves personal/work recycler views. Search recycler view resets its expanded header on every search already.
- Show 'no search results' view if no search result present.
- Update WidgetListBaseRowEntryComparator to show personal profile widgets first.

Test: Tested prototype locally.
Bug: b/157286785
Change-Id: Ibaa208c4091783e14ac0887caf559e867185df5a
2021-03-17 14:43:04 +00:00
Alex Chau 97e56b1665 Merge "Two panel & two page swipe & currentPage fixes" into sc-dev am: 1e024358ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13728185

Change-Id: I60d81c9d7dfb540a6da40264bb3713618e2331fd
2021-03-17 13:58:42 +00:00
Samuel Fufa 6a25b64b12 Merge "[Hotseat] Fix badging for shortcut predictions in hotseat" into sc-dev am: 7165a1d6de
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13887561

Change-Id: I52c64fa2c52c9c24143e73f84161e7d99ede3c90
2021-03-17 13:58:34 +00:00
Alex Chau 530aca6ad5 Merge "Two panel & two page swipe & currentPage fixes" into sc-dev am: 1e024358ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13728185

Change-Id: I514c3fda36c8d8b624c44a4054ad295e744ce1b1
2021-03-17 13:58:31 +00:00
Samuel Fufa f951a7ccde Merge "[Hotseat] Fix badging for shortcut predictions in hotseat" into sc-dev am: 7165a1d6de
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13887561

Change-Id: Ia03048f7743c5faa4009f66565036aa43fc3bb86
2021-03-17 13:55:08 +00:00
Alex Chau 1e024358ad Merge "Two panel & two page swipe & currentPage fixes" into sc-dev 2021-03-17 13:47:01 +00:00
Samuel Fufa 7165a1d6de Merge "[Hotseat] Fix badging for shortcut predictions in hotseat" into sc-dev 2021-03-17 13:15:47 +00:00
Alex Chau 56f7bb4b5d Merge "Align task thumbnails to edge when cropped." into sc-dev am: b4254cd504
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13817071

Change-Id: Id3c4d489b3c2fab22714f700e07e8351b63e57ce
2021-03-17 11:49:08 +00:00
Alex Chau 036eae2bc5 Merge "Align task thumbnails to edge when cropped." into sc-dev am: b4254cd504
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13817071

Change-Id: I93d39edda7831b0169dadf48536636698190f44f
2021-03-17 11:48:26 +00:00
Andras Kloczl 8e57cce4ee Two panel & two page swipe & currentPage fixes
- Pagespacing set to 0 to have similar design to figma
- Added padding to left side of left panel and right side of right panel to match figma
- getPageScrolls changed to support two page scrolling
- validateNewPage changed so that only even indexed pages can be switched to
- getPageWidthSize added for measurements, it returns half screen width when two panel is active
- onMeasure changed to use getPageWidthSize
- panelCount has been increased from 1 to 2 when two panel is active
- add feature flag for two panel home
- shouldConsumeTouch changed so not only currentpage is checked but currentpage+1 screen as well
- add one more extra check for setDropLayoutForDragObject for currentpage + 2, next to right panel
- using new grid option for two panel home screen

Test: manual
Bug: 174464115
Change-Id: I1bad7eecc67f65fb833608744a5aa5aca65373b4
2021-03-17 12:19:02 +01:00
Alex Chau b4254cd504 Merge "Align task thumbnails to edge when cropped." into sc-dev 2021-03-17 11:09:04 +00:00
Yogisha Dixit 6ba03c5fce Merge "Fix bug with resize frame disappearing." into sc-dev am: 6d593d891e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13887005

Change-Id: Ibfbe14238f9b39b1f4d7b5d94a34eea7f02398c0
2021-03-17 10:50:44 +00:00
Yogisha Dixit 736faa41ff Merge "Fix bug with resize frame disappearing." into sc-dev am: 6d593d891e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13887005

Change-Id: I9c198e2c3c489f2b80ee17db7dbedeac4cabe3b9
2021-03-17 10:44:05 +00:00
Yogisha Dixit 6d593d891e Merge "Fix bug with resize frame disappearing." into sc-dev 2021-03-17 10:27:33 +00:00
Yogisha Dixit c02aa1524d Merge "Use targetCell[Width|Height] as default widget size." into sc-dev am: 8332f51b99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13714414

Change-Id: I0f45b70c4f71dffcedc8774d11f3e33b25c81391
2021-03-17 10:11:40 +00:00
Alina Zaidi d75796431c Merge "Have an interface for WidgetsSearchBar so Nexus Launcher can override the search bar." into sc-dev am: f8cf4c59b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13827977

Change-Id: Ib9404e4cbb6a3b39b2945d2d43a3cce2bc07ff90
2021-03-17 10:11:26 +00:00
Yogisha Dixit 6ce8e95262 Merge "Use targetCell[Width|Height] as default widget size." into sc-dev am: 8332f51b99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13714414

Change-Id: Ia71890a9ac1cee979d2f44f6a5218557a62db64c
2021-03-17 10:11:17 +00:00
Alina Zaidi bf1c979225 Merge "Have an interface for WidgetsSearchBar so Nexus Launcher can override the search bar." into sc-dev am: f8cf4c59b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13827977

Change-Id: I5e32a8852d7f8ed4d70af2ce2a150adb0212d127
2021-03-17 10:11:08 +00:00
Yogisha Dixit 8332f51b99 Merge "Use targetCell[Width|Height] as default widget size." into sc-dev 2021-03-17 09:53:36 +00:00
Alina Zaidi f8cf4c59b7 Merge "Have an interface for WidgetsSearchBar so Nexus Launcher can override the search bar." into sc-dev 2021-03-17 09:47:27 +00:00
Sunny Goyal f90d6451b0 Adding some build rules in Launcher3
Bug: 182502086
Test: Presubmit
Change-Id: Ib2c18f1e252b3382030293fd3b873e840320301a
2021-03-17 06:14:02 +00:00
android-build-team Robot 4940843c78 Snap for 7213287 from a5d8c9cbf0 to tm-release
Change-Id: Ic4ab98f199dbb2d22175443f68fec68c80e9e57a
2021-03-17 03:07:32 +00:00