Commit Graph

28359 Commits

Author SHA1 Message Date
Patryk Michalik 4bf7a67672 Create IconPackSettings Composable 2021-03-03 18:03:20 +01:00
Patryk Michalik f6d8aa92f9 Only allow multiples of 10 for icon and label size values 2021-03-03 17:46:30 +01:00
Patryk Michalik 9ac5704d86 Add Jetpack Compose 2021-03-03 14:25:21 +01:00
Patryk Michalik 5ad285bd15 Continue work on CustomSeekBarPreference 2021-03-03 12:38:27 +01:00
Patryk Michalik 06afdc137c Prepare to add grid and icon size customisation 2021-03-02 23:47:08 +01:00
Kshitij Gupta da3b5a9975 Lawnchair: Set preference for the new IconPackSettingsFragment 2021-03-03 03:27:42 +05:30
Patryk Michalik 0ae7747c41 IconPackSettingsFragment: Remove redundant list entry 2021-03-02 22:04:13 +01:00
Patryk Michalik fcc126c5e9 Prepare IconPackSettingsFragment for use 2021-03-02 22:03:28 +01:00
Kshitij Gupta 8a3ce672d5 Lawnchair: Add basic preference for picking icon packs 2021-03-02 04:57:44 +05:30
Patryk Michalik 907ffa7807 Prepare to add icon pack support, reorganise code 2021-03-01 23:14:35 +01:00
Patryk Michalik 67220f78b6 Dynamically update Top App Bar in Settings 2021-03-01 21:51:40 +01:00
Patryk Michalik 48003fa119 Settings: Dynamically update Top App Bar title to match open Fragment 2021-03-01 20:59:57 +01:00
Patryk Michalik bd451993c7 Create BasePreferenceFragment 2021-03-01 18:55:54 +01:00
Kshitij Gupta d5583949ab Lawnchair: Initial port for icon pack support [2/2]
- Yes ik the code is a lil ugly, will clean out soon
2021-03-01 22:36:30 +05:30
Patryk Michalik e48fdc7871 Settings: Reorganise entries, add fragment transition 2021-03-01 17:51:21 +01:00
Patryk Michalik c336c88ebf Add Top App Bar to Settings, update app theme 2021-03-01 15:27:19 +01:00
Patryk Michalik b83f5d6057 Use Material Components 2021-03-01 12:37:21 +01:00
Patryk Michalik d48acc70e0 Open Lawnchair settings when ‘Home settings’ is tapped 2021-02-28 19:46:54 +01:00
Kshitij Gupta c930b5f9fb Launcher3: Build in Lawnchair, make "lawn" app flavor
- Also add placeholder SettingsActivity
2021-02-28 23:23:06 +05:30
Patryk Michalik 9691c7c6d7 Update app icon (#93) 2021-02-28 22:39:55 +05:30
Kshitij Gupta 8627ab7b3d Lawnchair: Simplify structure, update app name 2021-02-28 21:17:06 +05:30
Patryk Michalik 1d49390841 Move IconLoader to submodule 2021-02-28 15:13:32 +01:00
Kshitij Gupta 5498c5ad59 Launcher3: Include Lawnchair 2021-02-28 16:57:07 +05:30
Kshitij Gupta 4b8375ef18 Launcher3: Add in kotlin support 2021-02-28 16:52:05 +05:30
Patryk Michalik 10efcc000e Add Lawnchair module 2021-02-28 12:17:59 +01:00
Kshitij Gupta 87a0000d52 DeviceConfig: Check for permission before bailing 2021-02-28 03:08:42 +05:30
Kshitij Gupta 16275e5c04 Launcher3: Standalone studio build 2021-02-28 02:57:05 +05:30
Kshitij Gupta d89d3ab882 Launcher3: Import iconloaderlib from AOSP 2021-02-28 02:57:01 +05:30
android-build-team Robot 7b96ec1f93 Snap for 6864616 from fd2f276d4e to rvc-qpr1-release
Change-Id: Ie668ced2b72cc573297b4ece06df84829f88de33
2020-09-25 23:10:55 +00:00
android-build-team Robot 1958761a88 Snap for 6862191 from a5dae88b71 to rvc-qpr1-release
Change-Id: I0829b875e72b562c3d57ab4651b2ad1b4d7da530
2020-09-24 23:07:07 +00:00
TreeHugger Robot fd2f276d4e Merge "[DO NOT MERGE] Make overview to home translate faster" into rvc-qpr-dev 2020-09-24 22:45:02 +00:00
Tony Wickham 0a22d107f6 [DO NOT MERGE] Make overview to home translate faster
Fixes: 169052350
Change-Id: Ia6f21f479498927a5561819fcc256b698acbd095
2020-09-24 19:14:56 +00:00
Tony Wickham a5dae88b71 [DO NOT MERGE] Remove CurveProperties#pageParentScale
Test: Set TaskView#EDGE_SCALE_DOWN_FACTOR = 0.2f, then swipe
down on the centermost TaskView; ensure it fills the screen.
Alternatively, touch and hold the nav bar and ensure there is
no jump in scale on the app window.

Fixes: 169259407
Change-Id: Ib3cfba6ebafbcb90de9c6b1ab79f53605d995321
(cherry picked from commit 82ff64530e)
2020-09-24 17:31:31 +00:00
android-build-team Robot 60ca7a0b44 Snap for 6859016 from f5e8ecda30 to rvc-qpr1-release
Change-Id: I6a664d3a0de16c31a5d8e70892417133bfbd8899
2020-09-23 23:06:15 +00:00
Sunny Goyal 41874d1e02 [DO NOT MERGE] Snapshot strings from ub-branch to platform
Bug: 159176821
Change-Id: Ia079de403bed5ee7501a2d70f40989dcfafbddc7
2020-09-23 14:51:35 -07:00
Winson Chung f5e8ecda30 DO NOT MERGE Only check activity rotation allowed when considering menu layout
- The canRecentsActivityRotate() also checks whether system rotation
  is enabled which prevents us from using the right layout orientation
  when home rotation is enabled while system rotation is disabled.

Bug: 168278832
Test: Tested menu visibility in combination of
      Auto rotate setting x Home rotation setting X Device orientation
Change-Id: If74a38b1ec51abd2ea7f3ba3de23f0b2c4cab0ab
Merged-In: If74a38b1ec51abd2ea7f3ba3de23f0b2c4cab0ab
(cherry picked from commit 9cd3740fe7)
2020-09-22 19:16:30 +00:00
android-build-team Robot 042ad3eff9 Snap for 6828801 from e209b03a7f to rvc-qpr1-release
Change-Id: I7c78e48a7c10b5b600c960be04b9d5c0cb947f45
2020-09-11 23:05:45 +00:00
Tracy Zhou e209b03a7f Only load the first page in grid preview
Bug: 160662425
Test: manual (verified correctness)
Merged-In: I9dc3b7d7b84924ffb588470d4b6b20431a62b6cd
Change-Id: I9dc3b7d7b84924ffb588470d4b6b20431a62b6cd
(cherry picked from commit 312cf43863)
2020-09-10 23:53:21 +00:00
android-build-team Robot 33e7aa38f4 Snap for 6823548 from 3cdba9d5b5 to rvc-qpr1-release
Change-Id: Ibf084865185d3432560ec4fb2eaf82751ef27efd
2020-09-09 23:06:40 +00:00
TreeHugger Robot 3cdba9d5b5 Merge "Refrain from overwriting shortcut icon with default icon" into rvc-qpr-dev 2020-09-08 22:52:36 +00:00
Pinyao Ting 52dede83f1 Refrain from overwriting shortcut icon with default icon
Invert the condition check in IconCache so that, if a shortcut is
already using a non-default icon, do not replace it with default icon
again.

Bug: 162783875
Test: add weather shortcut, backup, restore, verify its icon is not
replaced by default droid icon

Change-Id: Idaf4ce4afa84d21f7192a2f4ce41a6f8daa8d3f2
(cherry picked from commit 61e8ae1d9d)
2020-09-03 23:37:55 +00:00
vadimt 01a51f5bb9 Merging from ub-launcher3-rvc-qpr-dev @ build 6809704
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-qpr-dev_rvc-qpr-dev_6809704.html

Change-Id: I870f8ec233dfae0c9c857ebb050217879f83ba65
Merged-In: Ib9d52ba333f2982d2420cab42a0935e8e8a303b3
2020-09-03 02:59:35 +00:00
TreeHugger Robot 39c79929d1 Merge "Make modal based UI changes in TaskView only if modalness changes." into ub-launcher3-rvc-qpr-dev 2020-08-28 23:08:11 +00:00
Sreyas 3aca92104f Make modal based UI changes in TaskView only if modalness changes.
Fixes issue with jittery displaying of suggestion chip, when entering overview.
Tested:Manual

Change-Id: Id37fcc67840402f1f66d7646cd562c282a19e312
2020-08-28 15:13:25 -07:00
TreeHugger Robot 7c39afeccc Merge "Scale down chip proportional to TaskView becoming fullscreen." into ub-launcher3-rvc-qpr-dev 2020-08-28 22:10:57 +00:00
TreeHugger Robot 7d7b471a6c Merge "Implementing TouchDelegate to make full chip clickable." into ub-launcher3-rvc-qpr-dev 2020-08-28 17:53:54 +00:00
Sreyas 8a622edb78 Scale down chip proportional to TaskView becoming fullscreen.
Tested: Manual
Change-Id: I09c80b28cb01fb4873efffa8d4856b63af32493f
2020-08-28 10:20:05 -07:00
Sreyas fee2b25b9c Implementing TouchDelegate to make full chip clickable.
Bug: 166376182
Tested: Manual
Change-Id: I36b2559908fbf7ab6a863fb6e550a88b5374aefa
2020-08-28 10:10:30 -07:00
TreeHugger Robot 01a5b52b42 Merge "Fix a couple issues with overview to home transition" into ub-launcher3-rvc-qpr-dev 2020-08-26 21:54:08 +00:00
Hyunyoung Song c6890f8869 Fix Robolectric test breakage am: 77e29775a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12442805

Change-Id: Ib8711dce31cc2bbb54776939a402440521b09c5f
2020-08-25 18:19:20 +00:00