Commit Graph

4212 Commits

Author SHA1 Message Date
Sipun Ku Mahanta
986264f049 Optimize drawables
Before - 627.73kb
After - 546.84kb

Signed-off-by: Sipun Ku Mahanta <sipunkumar85@gmail.com>
Change-Id: I982b546a141b3ec1ddc58758957607f6242f82fb
2022-08-10 14:29:05 +04:30
Patryk Michalik
7767d76320 Revert commits d2f4294a & 7c618e01 2022-07-17 19:15:22 +02:00
Suphon Thanakornpakapong
7c618e0146 Move drawable tokens assignment to layout inflater 2022-06-22 21:40:58 +07:00
Suphon Thanakornpakapong
4a3ce2b120 Merge tag 'android-12.1.0_r8' into 12.1-dev 2022-06-22 16:31:57 +07:00
Patryk Michalik
99f2899598 Refine Settings UI 2022-05-18 12:47:00 +02:00
Suphon Thanakornpakapong
4d56a09a07 Use stretch effect in widgets menu 2022-05-11 11:10:37 +07:00
Suphon Thanakornpakapong
b2305001c4 Fix widgets crash 2022-05-11 11:05:29 +07:00
Suphon Thanakornpakapong
7ec7c933fc Drop VectorChildFinder dependency 2022-05-10 17:23:21 +07:00
Suphon Thanakornpakapong
11e1a2fdc8 Merge remote-tracking branch 'aosp/android12L-release' into 12.1-dev 2022-05-08 20:29:17 +07:00
Bill Yi
b891ee715f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I310e7924c7767b24b697fc96a098b37db4cf1216
2022-04-05 21:24:55 +00:00
Bill Yi
5b0608e0c2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2481624f80c74293e15a1b520a1ee471fc741171
2022-03-24 05:35:40 +00:00
Bill Yi
7933df7269 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I480f37dd715c29100722f29e601013255513fb28
2022-03-17 02:59:43 +00:00
Bill Yi
dd74e5e99c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5ef1dcb01818ee0a85a3dbe46dd92f21caab3a5c
2022-03-02 19:25:24 +00:00
Bill Yi
98fda41b31 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie685cf732f6d413b10232c12c0b2faea1469b723
2022-02-18 09:24:16 +00:00
TreeHugger Robot
3ba95852f3 Merge "Adding ripple effect to the "All Apps tab" buttons." into sc-v2-dev 2022-02-11 02:11:50 +00:00
Patryk Michalik
4cb659345a Remove duplicate resources 2022-02-03 17:40:30 +01:00
Patryk Michalik
dce7f7afbf Update dynamic calendar icon 2022-01-31 11:17:12 +01:00
DanGLES3
4f86962549 Disable Force Dark on the launcher (#2427)
* Disable Force Dark on the launcher

In order to avoid potentially miscolored icons when users have this option active on their devices

* Update styles.xml

* Update styles.xml
2022-01-26 00:20:33 +07:00
Bill Yi
2a599f3eea Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0dfd8609046378398394e3eff496d783ade48a41
2021-12-15 06:58:05 +00:00
Sebastian Franco
3a50ab4af1 Adding ripple effect to the "All Apps tab" buttons.
Test: Manually tested
Fix: 192252147
Change-Id: I38d37b581b998dc05f087533cff3968ebe0cb00d
2021-12-13 14:18:32 -06:00
Alex Chau
ab26c62c4a Allow restore across form factors
- Removed deviceTypeCompatible check and allow restore across for mfactors
- In AOSP default device_profile, mark 3x3, 4x4, and 5x5 as phone only. On tablets they'll reflow to 6x5.

Bug: 198575341
Bug: 210129187
Test: Only 3x3, 4x4 and 5x5 are enabled on phone
Test: Only 6x5 is enabled on tablet
Test: Phone backup of 4x4 get restored and reflow to 6x5 on tablet
Change-Id: I36a641d47fcee86ace0fea3d9194d61d12517f13
2021-12-10 22:00:49 +00:00
Alex Chau
1c883d861e Add launcher grid spec for tablet
- Introduced device_category to allow grids to be only enabled for certain device types. By default grids are enabled for all device types, so old OEM device_profiles aren't affected
  - Removed device_profiles_split.xml as a result and merged with device_profiles.xml
- Added deviceType in InvariantDeviceProfile to replace isSplitDisplay and centralize the logic
- Only has 6x5 grid with new default layout that works better for tablets

Bug: 198575341
Test: manual
Change-Id: I03f6727ce837ffeee6321b6d7c53942338d0cf30
2021-12-08 18:22:34 +00:00
Alex Chau
992db75dae Use percentage scaling for overview thumbnail size
- Limit overview to screen ratio to be at max 70%
- Tuned row spacing and page spacing
- Added 2 more test activities to testOverviewForTablet to avoid dismissing tasks at end of grid, as more grid tasks are now shown

Bug: 207350366
Test: manual
Change-Id: Id04871464bdb3ef2d6b046977b0ffd9bd51bc230
Merged-In: Id04871464bdb3ef2d6b046977b0ffd9bd51bc230
2021-12-07 14:50:40 +00:00
Alex Chau
5656154f1a Merge "Add back screenshot button to Launcher3" into sc-v2-dev 2021-12-06 17:37:42 +00:00
Alex Chau
dc73072797 Constraint Snackbar's width to 504dp
Fix: 209005185
Test: manual
Change-Id: I512ddb575a9fced4bf2608806aef875fe34304e6
2021-12-03 16:20:42 +00:00
Alex Chau
1bf0fe1b70 Add back screenshot button to Launcher3
- Also make spacing between buttons always 36dp
- Updated screenshot button image for Launcher3

Fix: 208384949
Test: Start overview in Launcher3WithQuickStep, test screenshot button is working
Change-Id: Ieb60ce134813202c1d14137fff0a131e1f5f8c96
2021-12-03 12:32:29 +00:00
Vinit Nayak
455197bf41 Add icons for staged split
Fixes: 208649953
Change-Id: I8b7bb3a650e836608ebe6aa50631026f5f6a7c63
2021-12-01 14:58:53 -08:00
TreeHugger Robot
96f34af124 Merge "Fling to close tasks in the GestureNav can be too small." into sc-v2-dev 2021-11-30 18:34:09 +00:00
Vinit Nayak
f957244b88 Show multiple App Info A11y options for split app icons
* AccessibilityNode actions are required to have a
unique resourceId to show as an action in A11y dialog.
For now, only AppInfo option is shown for each app in split,
but moving forward we'll need to add resourceIDs for
each option that can show up for either app.

Fixes: 200609838
Test: Saw multiple options for App Info for each app
come up in talkback mode

Change-Id: I92b349347354ac639537021d775eea814c866a0e
2021-11-18 23:22:46 -08:00
TreeHugger Robot
84b64d7910 Merge "Reset split selection state when RecentsView resets" into sc-v2-dev 2021-11-18 23:51:47 +00:00
Vinit Nayak
97f9bd575a Reset split selection state when RecentsView resets
* We weren't calling reset on the views
involved in split selection when recents view gets
a reset call (oops)
* Use device theme for split placeholder theme instead
of hardcoding to white

Fixes: 206155455
Change-Id: I3768fd574cb21eec9562d89c1a93eaa3f53d5ff1
2021-11-18 14:06:27 -08:00
TreeHugger Robot
160d85c815 Merge "Adding back the badges on widgets for widget recommendations." into sc-v2-dev 2021-11-18 17:44:50 +00:00
TreeHugger Robot
f46f911fd1 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-11-18 17:20:21 +00:00
Bill Yi
645278133c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I96e0a393c618e4bf956a23d2da8066d123f13932
2021-11-18 04:20:51 +00:00
TreeHugger Robot
010faef3a5 Merge "Add animated background to the suw all set page." into sc-v2-dev 2021-11-18 00:07:35 +00:00
Sebastian Franco
0a1328d9fb Adding back the badges on widgets for widget recommendations.
Test: Manual Testing
Fix: 202956924
Change-Id: I859d3d93d95bdc8d0742eb6b5dd40ad12a386928
2021-11-17 15:08:09 -06:00
Sebastian Franco
3b86202a95 Fling to close tasks in the GestureNav can be too small.
The problem is that the velocity threshold to activate the fling
was set using pixels per second, so a better aproach would is to
use dp/s. So now there is a variable set in the dimes.xml file
called base_swift_detector_fling_release_velocity.

Test: Manually tested
Fix: 201252634
Change-Id: Ief14f25de136dead74f03cb24d2120b67900239e
2021-11-16 14:46:36 -06:00
Hyunyoung Song
3f14c80d4c Merge "Add FeatureFlag to enable two line label inside all apps" into sc-v2-dev 2021-11-11 21:29:30 +00:00
Vinit Nayak
14ed91fb5b Update Split Overview menu strings
Bug: 181704764
Change-Id: Icaf51a702d529e20a0e65c4708fc7bc833e5eeeb
2021-11-11 11:20:04 -08:00
Hyunyoung Song
afe8fadc15 Add FeatureFlag to enable two line label inside all apps
Bug: 201388851
Test: screenshot on the bug
Change-Id: Id01d6f9f9e25b98cad8368ac0faf671addf793f8
2021-11-10 22:26:51 -08:00
Schneider Victor-tulias
d0865f8219 Add animated background to the suw all set page.
Test: Ran all set page in landscape/portrait, dark/light mode
Fixes: 190828563
Change-Id: Ie7fbc6ce6777e9cec8d4dcb5dff3090dc167a161
2021-11-10 14:15:55 -08:00
Bill Yi
657f9f832a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib4454b1544113a5c942e181642b0cfb90565001c
2021-11-05 22:12:48 +00:00
Alex Chau
67ddd0fefd Merge "Update overview clear all button to be larger" into sc-v2-dev 2021-11-05 11:49:56 +00:00
Alex Chau
56bd257478 Update overview clear all button to be larger
- Tuned the size and corner radius
- Tuned the margin from screen edge
- Tuned the vertical position

Bug: 204153113
Test: manual
Change-Id: Ibf3df599b31c7ecc2c9c951fc89e7e09c90253ef
2021-11-04 16:02:17 +00:00
sfufa@google.com
6cf7b319ac [Search] Show search suggestions with in Recyclerview
This change removes usage of FloatingHeaderView to display suggested web results to using RecyclerView.

Bug: 204116666
Test: Manual [apk attached to BR]
Change-Id: I7f8f1a5630f3cc2b29e7276636eaf45cda148566
2021-11-03 10:27:04 -07:00
Suphon Thanakornpakapong
c2492ac068 Fix work card inflation crash 2021-11-02 09:29:27 +07:00
Brian Isganitis
f0fa83e988 Merge "Decrease character limit for "Home settings" to 20." into sc-v2-dev 2021-11-01 20:00:32 +00:00
Jonathan Miranda
9b85616119 Merge "Remove PROTOTYPE_APP_CLOSE feature flag and associated code." into sc-v2-dev 2021-11-01 18:35:44 +00:00
Bill Yi
9252143fb6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifdcb1408fd64a714b08364c9e2106ade4c4a6fd7
2021-10-30 01:23:53 +00:00
Jon Miranda
029a644a6e Remove PROTOTYPE_APP_CLOSE feature flag and associated code.
Flag was never enabled, safe to remove.

Bug: 200999899
Test: manual
Change-Id: Ie2646d8c4b9a1c40fac1bfd7dadf4ec714171aec
2021-10-29 16:07:29 -07:00