Commit Graph

36183 Commits

Author SHA1 Message Date
Pat Manning bfedd5e4a1 Merge "Prevent clearing home between display size changes." into sc-v2-dev am: de40c75730 am: 8e8ea10974
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14734950

Change-Id: I6901f56b03cf4ff055de7c4222eb543cf6564b69
2021-06-04 02:15:19 +00:00
Jon Spivack 561202ccfd Merge "TaskOverlayFactoryGo: Keep persistent instance of AssistContentRequester" into sc-dev am: b7cecf8a90 am: 05e828c896 am: 7637d727ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14803962

Change-Id: I50476d8655bb4a7187d16c971eea9336be06f83f
2021-06-04 02:15:15 +00:00
Weilun Du 1050f2e8ca Merge "Revert "Update preferences to Material Next styling"" into sc-dev am: 971d7fddcc am: fcec6c6b15 am: 33670f76c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14805276

Change-Id: I12d0b16937d25fd28ba50a59fa0b3bf2edf76490
2021-06-04 02:15:08 +00:00
TreeHugger Robot ba1c6e9d2a Merge "AssistContentRequester move binder call to background thread." into sc-dev am: 8c46bba98e am: f40d4452d8 am: e63cecbe6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14801431

Change-Id: If487604b9771438d8a18bb4651048b6661914e48
2021-06-04 02:14:38 +00:00
Pat Manning 929a88ec3e End drag touch event when crossing task drag threshold, and only when task is going up (drag to dismiss) am: 49cb49b1f5 am: 668d10d6c4 am: 7d86f4342c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800534

Change-Id: I74db16c297f32437c8df51b5656dc953d4122410
2021-06-04 02:14:33 +00:00
TreeHugger Robot 68e67f6bde Merge "Remove elevation from the full widgets picker container" into sc-dev am: 23cf59bfd5 am: e14cb20a6c am: 76416f5065
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14793490

Change-Id: I48df0cef4fd899a7989aa76ad57958a1f47a8d3a
2021-06-04 02:14:28 +00:00
TreeHugger Robot 4fdb50dd62 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 04eff2698c -s ours am: 2d5e54e1b8 -s ours am: db1530a666 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ida5dca658557adc0955a403de4d590a2579daba5
2021-06-04 02:14:23 +00:00
TreeHugger Robot 36632161e2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 51d7cda483 -s ours am: 8462ca2133 -s ours am: 4758c31afb -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4830d1a63c3a371308b73ff0911b2fbf1e6d9346
2021-06-04 02:14:18 +00:00
Bill Lin 1cf3039c1e Merge changes I7b9e6e7f,I9729cd40 into sc-dev am: 51b35256d2 am: ae054d8584 am: b61a3850b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800258

Change-Id: Ib18d6c070199ec49afb96a69c5dac299f030e20f
2021-06-04 02:14:12 +00:00
Pat Manning 8e8ea10974 Merge "Prevent clearing home between display size changes." into sc-v2-dev am: de40c75730
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14734950

Change-Id: I800de65fd5fa8b776a6699318632e9f042227608
2021-06-04 01:37:32 +00:00
Jon Spivack 7637d727ad Merge "TaskOverlayFactoryGo: Keep persistent instance of AssistContentRequester" into sc-dev am: b7cecf8a90 am: 05e828c896
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14803962

Change-Id: I3a545ebbe2180959170a4a6f041f1b250e076d52
2021-06-04 01:37:28 +00:00
Weilun Du 33670f76c6 Merge "Revert "Update preferences to Material Next styling"" into sc-dev am: 971d7fddcc am: fcec6c6b15
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14805276

Change-Id: I956d5a5e35e15645fa5e3157ef5b5086ab22fad3
2021-06-04 01:37:23 +00:00
TreeHugger Robot e63cecbe6e Merge "AssistContentRequester move binder call to background thread." into sc-dev am: 8c46bba98e am: f40d4452d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14801431

Change-Id: I8eae7b2f787f346c177f444622828b239d722e0c
2021-06-04 01:37:02 +00:00
Pat Manning 7d86f4342c End drag touch event when crossing task drag threshold, and only when task is going up (drag to dismiss) am: 49cb49b1f5 am: 668d10d6c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800534

Change-Id: I0d44702769117fcf7198367116d3d6c39f05c5e3
2021-06-04 01:36:58 +00:00
Wei Sheng Shih 78637a21cf Merge "Read the starting surface icon size from framework" into sc-dev am: 630efccd7a am: e909a01164 am: 4ff61e0876
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14609921

Change-Id: I196abf06955907351e88b3e0e220a94c9a3fc8d7
2021-06-04 01:15:12 +00:00
Brian Isganitis b317f7eacf Merge "Update preferences to Material Next styling" into sc-dev am: b177133e7b am: aa6aa7bb69 am: d8998a9fab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14740617

Change-Id: I3bbb410edf9f9f3f799f3c4da307c80d21de51ac
2021-06-04 01:14:58 +00:00
TreeHugger Robot 76416f5065 Merge "Remove elevation from the full widgets picker container" into sc-dev am: 23cf59bfd5 am: e14cb20a6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14793490

Change-Id: Ie22b10b472747ae74881e0fecbdf9cd0bbe07dd9
2021-06-04 01:10:38 +00:00
TreeHugger Robot db1530a666 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 04eff2698c -s ours am: 2d5e54e1b8 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7a753b617efef26f193871e3749da9951dc9f0cd
2021-06-04 00:50:16 +00:00
TreeHugger Robot 4758c31afb [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 51d7cda483 -s ours am: 8462ca2133 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibf8be33b2be093d25e81e344fa3d9f3bd5b578b4
2021-06-04 00:50:02 +00:00
Bill Lin b61a3850b2 Merge changes I7b9e6e7f,I9729cd40 into sc-dev am: 51b35256d2 am: ae054d8584
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800258

Change-Id: I775c0edcfe403c854a7c87104fa9aba78761f18d
2021-06-04 00:49:48 +00:00
Wei Sheng Shih 4ff61e0876 Merge "Read the starting surface icon size from framework" into sc-dev am: 630efccd7a am: e909a01164
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14609921

Change-Id: I48b29916929c0e6ebae7e6cb0ca4a362557c07a8
2021-06-04 00:49:35 +00:00
Brian Isganitis d8998a9fab Merge "Update preferences to Material Next styling" into sc-dev am: b177133e7b am: aa6aa7bb69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14740617

Change-Id: I952a8818396916db08100a0b02cc606230da9cae
2021-06-04 00:49:26 +00:00
TreeHugger Robot e4e4541139 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-06-04 00:38:54 +00:00
TreeHugger Robot 2d5e54e1b8 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 04eff2698c -s ours
am skip reason: subject contains skip directive

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

Change-Id: I18ad50aa596facb3e8fcf6940567d0ab10d72b9b
2021-06-04 00:32:14 +00:00
TreeHugger Robot 8462ca2133 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 51d7cda483 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id37dee6971c2982f471cb51d83b7f5471c6f7a56
2021-06-04 00:32:10 +00:00
Bill Lin ae054d8584 Merge changes I7b9e6e7f,I9729cd40 into sc-dev am: 51b35256d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14800258

Change-Id: I7dd368b3289795396bcc967e3650abfb64e40390
2021-06-04 00:31:54 +00:00
TreeHugger Robot 04eff2698c Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-04 00:23:55 +00:00
TreeHugger Robot 51d7cda483 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-04 00:20:35 +00:00
Bill Lin 51b35256d2 Merge changes I7b9e6e7f,I9729cd40 into sc-dev
* changes:
  2/ Notify adjust touch slop when one handed mode activated
  1/ Provides feasibility to adjust touch slop in TouchController
2021-06-04 00:16:12 +00:00
Brian Isganitis 13cafefc0f Show toolbar back button on subsettings pages am: 6afcfd7cbd am: d2ad24f763 am: f8bf0c6307
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14741513

Change-Id: Ifdbe2a1efb2fad5bf60df8714353bab55d2c8bd5
2021-06-03 23:15:13 +00:00
Brian Isganitis 03a28f2471 Pad bottom of settings list view with bottom system insets am: ed49a7187d am: fc96a7d41e am: bd9f4db7de
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14738959

Change-Id: If1bdbe48e6af2b033904f34a1bc93517d7889c59
2021-06-03 23:15:11 +00:00
Brian Isganitis f8bf0c6307 Show toolbar back button on subsettings pages am: 6afcfd7cbd am: d2ad24f763
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14741513

Change-Id: I8c09f6b7661efd876f69b08c115ee8facebcd975
2021-06-03 23:01:58 +00:00
Brian Isganitis bd9f4db7de Pad bottom of settings list view with bottom system insets am: ed49a7187d am: fc96a7d41e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14738959

Change-Id: Ie8c7a86a9a1ff66090cf67e6a36a51ed3672abe1
2021-06-03 23:01:57 +00:00
Brian Isganitis d2ad24f763 Show toolbar back button on subsettings pages am: 6afcfd7cbd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14741513

Change-Id: I1044251b276263c7315328e635fd2f9d7723562a
2021-06-03 22:38:13 +00:00
Brian Isganitis fc96a7d41e Pad bottom of settings list view with bottom system insets am: ed49a7187d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14738959

Change-Id: I71a84336583875e70afbdce0e80a6df09da5f328
2021-06-03 22:38:11 +00:00
Jonathan Miranda 89e28303a3 Merge "Only inset widgets if workspaceTopPadding is greater than the widget padding." into sc-dev am: 3ed65ede16 am: 328a2bd5ef am: df3caf7274
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14823934

Change-Id: I2e3aca701d66fa911e744d21737ff57117d0c0e6
2021-06-03 21:11:54 +00:00
Brian Isganitis 6afcfd7cbd Show toolbar back button on subsettings pages
Test: Back button displayed and functional on subsettings
Bug: 187732263
Change-Id: I6a3679de3a00480f5a0861f966d178be25f001d4
2021-06-03 17:04:33 -04:00
Brian Isganitis ed49a7187d Pad bottom of settings list view with bottom system insets
This change allows for a transparent navigation bar in the settings Material next redesign.

Test: Bottom of settings not cut off by bottom navigation bar
Bug: 187732263
Change-Id: I237011003ca0c3760c0fbdbb2865ef90c19d7b81
2021-06-03 17:02:05 -04:00
Jonathan Miranda df3caf7274 Merge "Only inset widgets if workspaceTopPadding is greater than the widget padding." into sc-dev am: 3ed65ede16 am: 328a2bd5ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14823934

Change-Id: Id16a11d69a03051846aa52edcf2a4935e1bfc4b1
2021-06-03 20:58:39 +00:00
Jonathan Miranda 328a2bd5ef Merge "Only inset widgets if workspaceTopPadding is greater than the widget padding." into sc-dev am: 3ed65ede16
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14823934

Change-Id: I76ecb9bb0cf1bd6e768dca2c8c7ee4f1e835c4ab
2021-06-03 20:41:22 +00:00
Jonathan Miranda 3ed65ede16 Merge "Only inset widgets if workspaceTopPadding is greater than the widget padding." into sc-dev 2021-06-03 20:23:18 +00:00
Bill Yi 06b9166f88 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9c3ef53a1d831f17490ee5b96c730ab10893223e
2021-06-03 19:03:31 +00:00
Bill Yi 77811638c7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2aeaa7f42eb543dc89898042289ba5baf91da4ca
2021-06-03 19:02:15 +00:00
Jon Spivack e2a4140043 Merge "TaskOverlayFactoryGo: Keep persistent instance of AssistContentRequester" into sc-dev am: b7cecf8a90 am: ea61dfb098
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14803962

Change-Id: I4f0764244178cc051b3f3ca4f521d7ce32ec0270
2021-06-03 19:00:55 +00:00
Bill Yi 5821abb3e5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I463274ac8154729157b0fd623b966dba8ce36711
2021-06-03 19:00:20 +00:00
Zak Cohen 02da8d0782 Merge "RecentsView - reduce work in color tint animator" into sc-dev am: d7129fc919 am: 68df577307 am: 333fed77a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14803765

Change-Id: I0deb90d2dba4a075c05ce76b94ea7de8edcb8451
2021-06-03 17:59:20 +00:00
Bill Lin a1221bcd53 2/ Notify adjust touch slop when one handed mode activated
When one handed mode activated, user swipe-up to exit usually
cross over the NavBar region, and then invoke TouchController
intercept touch event to trigger All Apps drawer on Home.

To enhanced the UX of gesture conflict of exit OHM & All Apps,
notify TouchController throught LauncherActivityInterface,
and Launcher dispatch onOneHandedModeStateChanged() event to
all mTouchControllers in DragLayer that touchController can
adjust the touch slop by it's SingleAxisSwipeDetector.

Test: manual trigger One handed mode and swipe-up to exit
Test: monitor minDisplacement of SingleAxisSwipeDetector
      OHM activated : touchSlop x multiplier
      OHM deactivated : touchSlop x 1
Test: check All Apps doesn't mis-trigger when exit one handed mode
Bug: 186235522
Change-Id: I7b9e6e7fa898231697d1866186a5f9b1717a9aa3
2021-06-04 01:44:51 +08:00
Bill Lin 945bb34b5e 1/ Provides feasibility to adjust touch slop in TouchController
There is a case when one handed mode triggered(Activated), all apps
drawer is very easy to trigger while user swipe up around NavBar
region to exit one handed mode. Since System Gesture monitor regsion
is small on screen bottom, swipe-up gesture usually cross over NavBar
monitor region and invoke launcher touch controller intercept touch
event and introduce unexpectedly trigger all apps drawer.

Adding onOneHandedModeStateChanged(boolean activated) for controller
be able to adjust the touch slop by multiplier, we can set a larger
multiplier when the visible window size translate become smaller
and make swipe gesture not too sensitive.

Test: manual swipe up to swich "home <-> all apps" and monitor
      minDisplacement of SingleAxisSwipeDetector
Test: Trigger one handed mode and swipe up to exit one handed mode
      check the minDisplacement of SingleAxisSwipeDetector
Bug: 186235522
Change-Id: I9729cd408d85b2b22582bf800e28d1471fc06980
2021-06-04 01:44:50 +08:00
Zak Cohen 333fed77a4 Merge "RecentsView - reduce work in color tint animator" into sc-dev am: d7129fc919 am: 68df577307
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14803765

Change-Id: If649266bbe8ff16829ea54a63ee80a131c0015e0
2021-06-03 17:44:40 +00:00
Zak Cohen 68df577307 Merge "RecentsView - reduce work in color tint animator" into sc-dev am: d7129fc919
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14803765

Change-Id: Id0679baf604aa354dfe2013e5575193b389a07e5
2021-06-03 17:25:15 +00:00