Commit Graph

49925 Commits

Author SHA1 Message Date
TreeHugger Robot 1764c7ee94 Merge "Do not allow widget to be resized beyond max size." into sc-dev 2021-03-23 00:57:20 +00:00
Jon Spivack 2b800cd528 Merge "Pass Assistant web URI in NIU Actions" into sc-dev am: 1de153c6e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13715289

Change-Id: I254dcfdf9556f0a01dd68d220a8fdb73d35e509c
2021-03-23 00:21:30 +00:00
Jon Spivack cccda49dd5 Merge "Pass Assistant web URI in NIU Actions" into sc-dev am: 1de153c6e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13715289

Change-Id: Ibf4c0393f64e041b2026cd979c6d166b4f7d5e09
2021-03-23 00:21:12 +00:00
Jon Spivack 1de153c6e5 Merge "Pass Assistant web URI in NIU Actions" into sc-dev 2021-03-22 23:57:58 +00:00
Sreyas 59b5e241e2 Hide chips if loaded in select mode.
Bug: 182375263
Test: Manual

Change-Id: Id9709a2033b303c09d9ca26d2e05af6af45df564
2021-03-22 15:59:54 -07:00
Steven Ng 71ee062b8a Merge "Exact common layout from widgets bottom sheet" into sc-dev am: d14e76867b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931235

Change-Id: I00649630f4e43cdf757528d3720fb318ad3fd0de
2021-03-22 22:56:55 +00:00
Steven Ng dd542ee190 Merge "Exact common layout from widgets bottom sheet" into sc-dev am: d14e76867b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931235

Change-Id: I1f4e5d211ff4dfb23fb79661495937e862309d6e
2021-03-22 22:56:09 +00:00
Tony Wickham 9ce3b25ef6 Add TaskbarView as a child of Hotseat
Instead of keeping the Taskbar window showing above the home screen,
we now integrate a copy of TaskbarView directly into Launcher's view
hierarchy. Most TaskbarController calls apply to both TaskbarViews
(mTaskbarViewInApp and mTaskbarViewOnHome), except for calls related
to Hotseat, which only apply to mTasbkarViewInApp given the real
Hotseat will be showing with mTaskbarViewOnHome.

More cleanup will follow this change.

Test: All taskbar interactions (e.g. drag and drop) continue to work
Bug: 182512211
Bug: 171917176
Change-Id: I0f0b124f652daa85f866e1df8f9e2981540331a0
2021-03-22 15:26:01 -07:00
Steven Ng 867ff5f60c Update title of bottom widgets tray
Only use the "app name" instead of "app name widgets" as title
Remove "Touch & hold to move a widget" subtitle.

Test: manual

Bug: 179797520
Change-Id: I7a5954af73aa5b480096e93ade3520cef6c93f17
2021-03-22 22:23:46 +00:00
Steven Ng d14e76867b Merge "Exact common layout from widgets bottom sheet" into sc-dev 2021-03-22 22:23:06 +00:00
Tony Wickham 62e08797f3 Fix extra haptic on swipe up
Test: swipe up in 0 button mode, no haptic until pause detected

Bug: 181165935
Change-Id: I69b598cf8e1ac1038d5cfad0f43468a8d7d23e4a
2021-03-22 15:13:21 -07:00
Hyunyoung Song cbf77a48d4 Merge "Remove cursor when edit text no longer has focus" into sc-dev am: 9197cfa36a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13927513

Change-Id: I0f3790119cf25859639464b1bfb2b3095ecb09dc
2021-03-22 21:58:10 +00:00
Hyunyoung Song a5cfd84625 Merge "Remove cursor when edit text no longer has focus" into sc-dev am: 9197cfa36a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13927513

Change-Id: I59ce5f8131add9a22ce441a6cc2ae5ffd205cc01
2021-03-22 21:57:28 +00:00
Tracy Zhou 50a4b0dfa2 Merge "Support live tile with OVERVIEW_GRID" into sc-dev am: 5ac61e1a2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13944347

Change-Id: Id497e33e17fbd80876de71740168e9e431c44808
2021-03-22 21:57:11 +00:00
Tracy Zhou 97575d92ca Merge "Support live tile with OVERVIEW_GRID" into sc-dev am: 5ac61e1a2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13944347

Change-Id: Ib527c23f2912c797eeb954fabeefb34bfd8039a9
2021-03-22 21:56:22 +00:00
Hyunyoung Song 9197cfa36a Merge "Remove cursor when edit text no longer has focus" into sc-dev 2021-03-22 21:24:10 +00:00
Tracy Zhou 5ac61e1a2e Merge "Support live tile with OVERVIEW_GRID" into sc-dev 2021-03-22 21:20:22 +00:00
Steven Ng 05df2843ee Increase the number of prediction for widgets model
Test: launch all widgets tray and observes widgets predicted.

Bug: 179797520
Change-Id: Id231cde5015a2a79b7532a39343b3340c27e09c9
2021-03-22 20:22:42 +00:00
Steven Ng 8241ffeddc Merge "Add an 65% opacity for workspace elements drag over button drop target" into sc-dev am: 164936c3db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13930314

Change-Id: I8aba5d28ee5fa34e506bbe704b6889ebba2c406c
2021-03-22 20:12:56 +00:00
TreeHugger Robot ff540281dc Merge "Don't go to NORMAL after task launches if animation in progress" into sc-dev am: 6db6c9fe7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13930923

Change-Id: I0b3e1411b52a3705469ec7a9f38460416fb45ddc
2021-03-22 20:12:19 +00:00
Winson Chung cbfbc7493b Expose the full task info with the remote animation target
Bug: 129067201
Test: Manual

Change-Id: Ife60b31a5798f43b55634dbb0f75dbc0c9795560
2021-03-22 20:02:49 +00:00
Steven Ng 596ae53fea Merge "Add an 65% opacity for workspace elements drag over button drop target" into sc-dev am: 164936c3db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13930314

Change-Id: Ideb0673ddfba6171ea3eda289bb52f7ffc84e525
2021-03-22 19:56:51 +00:00
TreeHugger Robot 2207fe0fef Merge "Don't go to NORMAL after task launches if animation in progress" into sc-dev am: 6db6c9fe7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13930923

Change-Id: I7aaad17e2aa15a5126469858703189c5ef48fe87
2021-03-22 19:56:33 +00:00
Tony Wickham 15a418b1f4 Merge "Dump input monitor and input event receiver to bug reports" into sc-dev am: 089ad5faab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13952248

Change-Id: Iaa2b724e859bc4606e6fc1ce7e555b3c6f0140db
2021-03-22 19:56:28 +00:00
Steven Ng fd8b087924 Merge "Align widgets previews top to the table layout" into sc-dev am: aa3c6468b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13948666

Change-Id: Ia9db77fde9a1332298f09fd0f98e180a84464296
2021-03-22 19:56:07 +00:00
András Klöczl 51f80bb42e Merge "Fix widget scrolling issue on right panel" into sc-dev am: 3043ef1689
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931240

Change-Id: Ibff2b68c8e38f662b794f2459ae3669963096fa1
2021-03-22 19:52:42 +00:00
Steven Ng 164936c3db Merge "Add an 65% opacity for workspace elements drag over button drop target" into sc-dev 2021-03-22 19:44:20 +00:00
TreeHugger Robot 6db6c9fe7d Merge "Don't go to NORMAL after task launches if animation in progress" into sc-dev 2021-03-22 19:42:35 +00:00
Tony Wickham c279f1bd75 Merge "Dump input monitor and input event receiver to bug reports" into sc-dev am: 089ad5faab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13952248

Change-Id: Ibe81af7926f71aa7d5923ce367c38ab8b27afa06
2021-03-22 19:34:24 +00:00
Steven Ng 51f485738e Merge "Align widgets previews top to the table layout" into sc-dev am: aa3c6468b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13948666

Change-Id: I47b7bbb98c939b0155da7b2e4b002dd9ffcbdb08
2021-03-22 19:34:15 +00:00
András Klöczl 9a2810dd10 Merge "Fix widget scrolling issue on right panel" into sc-dev am: 3043ef1689
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931240

Change-Id: I9742702b0805a74c24bc2a35f023ffc479e70b48
2021-03-22 19:33:46 +00:00
Steven Ng c68ffe2455 Merge "Fix corner radius for single item in the widgets tray." into sc-dev am: f45f875232
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13948667

Change-Id: If940889bfe2373458cb094721af968b389665138
2021-03-22 19:32:18 +00:00
Steven Ng 33f4c5ab0f Merge "Fix corner radius for single item in the widgets tray." into sc-dev am: f45f875232
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13948667

Change-Id: I354f5d77f29ac1aa5ac720406710a85be2a84349
2021-03-22 19:23:13 +00:00
Lucas Dupin 6063312e84 Merge "Apply new color scheme" into sc-dev am: 8b9365d4ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13895558

Change-Id: Iabec49f87719d356811c9caaabc2a343ad3327d6
2021-03-22 19:18:46 +00:00
Lucas Dupin 56a044ee30 Merge "Apply new color scheme" into sc-dev am: 8b9365d4ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13895558

Change-Id: Ib3310c1fe1dc5f1ea2aaa0994714bdd236998b1d
2021-03-22 19:18:13 +00:00
Jonathan Miranda 3cf05fa570 Merge "Dump DeviceProfile to help with debugging grid changes Some of these internal values are not exposed in hierarchy viewer" into sc-dev am: 93e1e56675
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13901184

Change-Id: I52e963c9c60a9fd0f8b4ab692377bd44e9a35451
2021-03-22 19:18:05 +00:00
Jonathan Miranda 2daad1f150 Merge "Dump DeviceProfile to help with debugging grid changes Some of these internal values are not exposed in hierarchy viewer" into sc-dev am: 93e1e56675
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13901184

Change-Id: I9fcd04fa3ac3f16ed65edde68be940fe11ea2052
2021-03-22 19:17:42 +00:00
Tony Wickham 089ad5faab Merge "Dump input monitor and input event receiver to bug reports" into sc-dev 2021-03-22 19:04:14 +00:00
Steven Ng aa3c6468b0 Merge "Align widgets previews top to the table layout" into sc-dev 2021-03-22 18:54:52 +00:00
András Klöczl 3043ef1689 Merge "Fix widget scrolling issue on right panel" into sc-dev 2021-03-22 18:53:45 +00:00
Steven Ng f45f875232 Merge "Fix corner radius for single item in the widgets tray." into sc-dev 2021-03-22 18:51:41 +00:00
Steven Ng e4c0e954d3 Exact common layout from widgets bottom sheet
Test: open widgets bottom sheet and drag and drop widgets & shortcuts.

Bug: 182305634
Change-Id: I82e3e584edf64177ffa6e677f5b3f487823d3e1b
2021-03-22 17:50:49 +00:00
Tracy Zhou ef45cc95b5 Support live tile with OVERVIEW_GRID
Test: turn on both ENABLE_QUICKSTEP_LIVE_TILE and OVERVIEW_GRID. Swipe up from app to overview
Fixes: 183231362
Change-Id: Ic918e1fad423295d532cefce13c85e622ff8116c
2021-03-22 10:30:22 -07:00
Lucas Dupin 8b9365d4ad Merge "Apply new color scheme" into sc-dev 2021-03-22 16:57:18 +00:00
Andras Kloczl 2bb5134413 Fix widget scrolling issue on right panel
Since we added support for multiple panels on the home screen,
we need to call cancelLongPress on all the visible pages not
just on the leftmost visible page.

Test: manual
Bug: 178582378
Change-Id: I88ded543a16b1bbf2a53a627e5725f68b42e742b
2021-03-22 17:39:06 +01:00
Steven Ng f4fb4d9429 Fix corner radius for single item in the widgets tray.
If there is only one item, corner radius at 4 corners should be 28dp.

Test: Corner radius of one item is correctly shown in the widgets
      picker.

Bug: 183382610
Change-Id: Ief46af8c41ce944792d08212e93f7d68c6278d05
2021-03-22 16:30:57 +00:00
Tony Wickham 85a8da0290 Dump input monitor and input event receiver to bug reports
Test: adb shell dumpsys activity service TouchInteractionService
Bug: 180915942
Change-Id: Ic1155b323cd3f9cef164ce4d663cadc4b29a0893
2021-03-22 09:30:18 -07:00
Jonathan Miranda 93e1e56675 Merge "Dump DeviceProfile to help with debugging grid changes Some of these internal values are not exposed in hierarchy viewer" into sc-dev 2021-03-22 15:48:46 +00:00
Steven Ng 267270e859 Align widgets previews top to the table layout
Test: Manual

Bug: 179797520
Change-Id: I0716432e72327b825619bc35d55cb74d9621ee6a
2021-03-22 15:26:13 +00:00
Steven Ng 5a0644ec21 Merge "A11y fix for all widgets tray (Part 2 / n)" into sc-dev am: f3814eea2d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931238

Change-Id: If9871d7f4ed0783156e326175b6d059078064bd8
2021-03-22 14:27:31 +00:00