Commit Graph

3002 Commits

Author SHA1 Message Date
Bill Yi 3092a21532 Import translations. DO NOT MERGE
Change-Id: I3bfe6c1b97612ecc829e361fc70d98b9318da417
Auto-generated-cl: translation import
2019-03-26 22:14:07 -07:00
TreeHugger Robot 9cf493a735 Merge "Lint fix: Invalid vector path in horizontal_ellipsis" into ub-launcher3-master 2019-03-05 19:21:44 +00:00
Tobias Dubois fb0544e512 Lint fix: Invalid vector path in horizontal_ellipsis
Use 0.9 instead of .9 in the vector drawable path to
avoid crashes on some devices.

Test: Manual
Change-Id: I9d5889fdf48fbb2f09995b75d4f20c47454ef591
2019-03-05 10:31:56 -08:00
TreeHugger Robot 34691cffe3 Merge "Drop target NPE due to wrong android:theme usage" into ub-launcher3-master 2019-03-04 23:42:28 +00:00
Hyunyoung Song 15f7de8332 Drop target NPE due to wrong android:theme usage
Bug: 127345257
Change-Id: I2774644b304b26f56e380f75d17790d05744def1
2019-03-04 14:46:39 -08:00
Tony 4bb4b89b9a Scale and translate hotseat with workspace instead of all apps
- Move the hotseat alongside workspace instead of on top of all apps in xml layout
- Set pivot point of hotseat to match the workspace's, and apply the same scale
- Translate the hotseat with the workspace instead of all apps
- SpringLoadedState does not scale or translate the hotseat

Change-Id: Ic45fe99f83f0e0012afa78073d9577e65da444e2
2019-03-03 15:43:50 -08:00
Hyunyoung Song 9272d0d31b Merge "Inherit TextAppearance.DeviceDefault for the RRO text font" into ub-launcher3-master 2019-02-28 07:44:47 +00:00
Hyunyoung Song 72dae7f4ce Inherit TextAppearance.DeviceDefault for the RRO text font
Bug: 126229665
Change-Id: I54f59f64888847c8a3ce2ea63be12a4c9199bb05
2019-02-27 16:58:57 -08:00
TreeHugger Robot 6c396fdf61 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2019-02-21 17:35:30 +00:00
Bill Yi 8a924860a8 Import translations. DO NOT MERGE
Change-Id: If286ea171fe2d58b96ce77d0fee6053bd40d9f78
Auto-generated-cl: translation import
2019-02-21 08:23:37 -08:00
Miranda Kephart 1a359a261d Add hints in Overview
If the ENABLE_HINTS_IN_OVERVIEW flag is enabled, pulls chip hint
data (currently from the NavBarHint plugin; eventually from AiAi)
and shows the chips between the task view screenshot and the QSB.

Screenshot: https://screenshot.googleplex.com/Ww05W13XjBv

BUG:124390101

Change-Id: I7686673b705257eca31f2fa40e2744e197153c7c
2019-02-20 15:17:03 -05:00
Bill Yi ef5634d308 Import translations. DO NOT MERGE
Change-Id: I56191aecd8c7b6c8472afc1ff07e3b0cb853da9e
Auto-generated-cl: translation import
2019-02-07 20:50:32 -08:00
Hyunyoung Song 29e5d44a63 Add a flag to turn on theme picker in wallpaper picker
Bug: 122524192
Change-Id: I79bd8bde359a56185c1dd0c10964695263d0f6d5
2019-02-07 14:16:32 -08:00
Sunny Goyal bcadb7f4ba Changing some colors for folderIcon in dark themes
Bug: 111139480
Change-Id: I5b338c6faf61626a21f703da37b95466806cbbfd
2019-02-05 14:45:51 -08:00
Bill Yi 2aeee4ba55 Import translations. DO NOT MERGE
Change-Id: Ic9282c2ed62a6ac88e8e61f309f1dfffdf1e487a
Auto-generated-cl: translation import
2019-01-29 19:35:37 -08:00
vadimt 759db43f3b Implementing available part of UX spec for DW toast
See https://docs.google.com/presentation/d/1AepsnLeKcRhjMW35SkB5yMKO3u6waigug8Tyfe0LO5o/edit#slide=id.g4c5ab81849_0_0

Also using time formatting code copy-pasted from Google DWB app.

Bug: 118319143
Tests: Manual
Change-Id: I84392d7655f402e38cf4c46ae530d06f755a7df8
2019-01-17 12:57:02 -08:00
Bill Yi 3f4596c966 Import translations. DO NOT MERGE
Change-Id: I0b697bc4b99b99e44f905f60fd1ee9a39be246c3
Auto-generated-cl: translation import
2019-01-11 14:10:36 -08:00
Sunny Goyal 9fc5ae7fa7 Moving folder shape logic definition to xml
Adding support for storing custom parameters in shape definition

Change-Id: I06f04f1836b337f8cc0ab2ad8c893bb03ae9c794
2019-01-07 12:35:35 -08:00
TreeHugger Robot 8e9342f40b Merge "Set colorPrimaryDark to the value assigned in P release" into ub-launcher3-master 2019-01-02 19:36:27 +00:00
Hyunyoung Song 211b2fe3b0 Set colorPrimaryDark to the value assigned in P release
previous value: google_grey_200

Bug: 117532945
Change-Id: Ia1d0a36920e6eff2d7022521123983c947804b91
2019-01-02 11:24:05 -08:00
TreeHugger Robot 3446fb65c4 Merge "Cleanup strings for iconoverride" into ub-launcher3-master 2018-12-27 06:30:39 +00:00
Hyunyoung Song 339a311d99 Cleanup strings for iconoverride
Bug: 120736782
Change-Id: I9745fe999cec3c4e1f442decb482ed916d0b871a
2018-12-26 20:59:57 -08:00
Bill Yi 7332cddb39 Import translations. DO NOT MERGE
Change-Id: Ifac82f65480a8f5405b7250297945fb296a1fe5b
Auto-generated-cl: translation import
2018-12-21 15:33:28 -08:00
Hyunyoung Song c641bd107c Provide more context for "Remove" and "Uninstall" strings for TC
Bug: 120255489
Change-Id: Iec1d93e1aab0bae38d95e9f4e2c87e9328f04da3
2018-12-21 11:01:27 -08:00
Hyunyoung Song a7a9583bb8 Remove IconShapeOverride
Bug: 120736782
Change-Id: Iee44f10ff2b9ec447ae74d9ad6a0aa3668c401d6
2018-12-19 17:16:56 -08:00
Bill Yi 80f5c19fd2 Import translations. DO NOT MERGE
Change-Id: I1539df9cc5f5633585a5714fc8069163d7edb951
Auto-generated-cl: translation import
2018-12-11 10:47:07 -08:00
Sunny Goyal c5939393a9 Bye bye workspace screens table
Removing a separate table for workspace screens. List of screens are
automatically parsed using the items in the favorites DB. Order of the
screen based on the screen id and rearranging screens is no longer
supported. In case the screens need to be rearranged, all the items
in the favorites db will need to be updated with new screen ids.

This makes backing up the DB (in the same database) easier as only
one table needs to be duplicates.

Change-Id: I8ba947a898f637d780e2f49925e78604263126e8
2018-12-10 11:43:35 -08:00
Sunny Goyal 415f173331 Changing the format for device profile definition
Device profiles are defined such that the grid size is fixed
and only the icon and text sizes change. For every grid size option
there are multiple display configurations.

Bug: 118758696
Change-Id: I54aac9106c576324b02530913c447e849b4ae1da
2018-12-07 00:06:25 -08:00
Bill Yi c4e957cb9b Import translations. DO NOT MERGE
Change-Id: Ica50c5055efc0de3a9783184977b7d8f78441bf1
Auto-generated-cl: translation import
2018-12-06 07:47:42 -08:00
Tony Wickham 7120490595 Merge "Rename "badges" to "dots" where appropriate" into ub-launcher3-master 2018-12-05 21:19:57 +00:00
Sunny Goyal c6726f5c36 Merge "Adding support for launcher preview generation" into ub-launcher3-master 2018-12-05 09:10:17 +00:00
Sunny Goyal ef92b82778 Adding support for launcher preview generation
Creating a utility class which generates a launcher preview
for a provided InvariantDeviceProfile

Bug: 118758696
Change-Id: I0aebeb6eed37f72edd1cc305e58eece305aae3ff
2018-12-04 20:19:14 -08:00
Tony Wickham f34bee819c Rename "badges" to "dots" where appropriate
This will reduce confusion with the other "badging" concept we use for,
e.g. work profiles. It is also consistent with the external name
"notification dots".

Change-Id: I2a2c9d96dc0d6284eb0c48adc78a856271caad4d
2018-12-04 10:46:40 -08:00
Vadim Tryshev 49db73a7c1 Moving composing task content description to resources
Bug:118319143
Test: Manual
Change-Id: Iedcf3d90191614011b9b7d35afabb17a5b5953b3
2018-11-30 11:24:14 -08:00
Vadim Tryshev fdfeb6dd3b Moving Pause button to the left of the context menu header
See this mock:
https://www.google.com/url?q=https://docs.google.com/presentation/d/1AepsnLeKcRhjMW35SkB5yMKO3u6waigug8Tyfe0LO5o/edit%23slide%3Did.g455d187f2a_0_45&sa=D&ust=1542320415002000&usg=AFQjCNH-jsy5THG1WqxjeYbj628QFMJKvQ

Bug: 117888000
Test: Manual
Change-Id: I1edbc569347f09f0806ad6749735c3dec198277a
2018-11-26 14:30:52 -08:00
Bill Yi f1982fcaae Import translations. DO NOT MERGE
Change-Id: I22579d4f7492047b291e6c6a7f73508ccad3af2d
Auto-generated-cl: translation import
2018-11-10 00:27:25 -08:00
Sunny Goyal dcf917b133 Adding an interface to allow adding custom views in FloatingHeaderView
Bug: 109828640
Change-Id: I9bde5d4fab47eb3e5787bbb741b5b9051a15c0c2
2018-11-06 14:50:16 -08:00
Sunny Goyal 876e462ffa Removing separate hotseat widget, instead using a QSB acroll all UI.
The QSB is responsible for updating its UI according to various states.

Bug: 109828640
Change-Id: Ic8cbf3d404d5870de0f6b8fe25a332b8d21bae20
2018-11-05 13:36:41 -08:00
Hyunyoung Song 08584e18d6 Merge "Add StatsLog*Manager for logging. Bug: 113043444" into ub-launcher3-master 2018-11-05 20:04:59 +00:00
Hyunyoung Song fc00747909 Add StatsLog*Manager for logging.
Bug: 113043444

Verification: (19) is our event classifier number
11-05 11:24:28.188   932   994 I statsd  : { 1541445868000000000 766293363001 (19)0x10000->1[I] 0x20000->0[I] 0x30000->0[I] 0x40000->[S] 0x50000->1[I]  }

Change-Id: I75403837f9fa8e51efa012fb708bce7efc9c4488
2018-11-05 11:41:38 -08:00
Hyunyoung Song 719eee2be2 Create iconloader library
Bug: 115891474
Test: Builds everything

Change-Id: I1d75702d4e5a10d694eeb839784a629de2f74dd2
2018-11-02 14:18:45 -07:00
Zak Cohen cc4c61472e DeepShortcut - show loading placeholder before content is available.
Sometimes the deep shortcuts can take time to load, show an initial loading
state before any text is set.

Note: changed singleLine to lines=1 as the former causes issues with RTL
layout and is deprecated.

Bug: 78620208
Tested: manual test on pixel 3

Change-Id: I782addb8d64425a1a95cee4f104fc0bd44809815
2018-10-26 11:25:58 -07:00
TreeHugger Robot a96f916504 Merge "Moving Plugin and feature flags UI to androidX" into ub-launcher3-master 2018-10-25 20:25:09 +00:00
Sunny Goyal eae0514f1a Moving Plugin and feature flags UI to androidX
> Combining both preference into a single screen
> Adding plugin preference screen so quickstep build

Change-Id: I3d2ff3ebdac3c774659e79ecb81be6f75f765eb0
2018-10-25 13:07:42 -07:00
Bill Yi 934a1cb6f4 Import translations. DO NOT MERGE
Change-Id: I598aeef629ca1a842172b6108c64f29aadb9f06a
Auto-generated-cl: translation import
2018-10-25 06:26:36 -07:00
Winson Chung cc8dbf31db Caching clean up, remove dependency on old shared lib loading/caching logic
- Clarify caching policy, we only cache the last N task snapshots
- Pull out necessary logic from RecentsTaskLoadPlan (deprecated) into
  launcher class RecentTasksList which also manages the invalidation of
  the last loaded list
- Pull out logic from task loading logic in the shared lib into separate
  classes TaskThumbnailCache and TaskIconCache, and have each task view
  manage the load request for data

Bug: 117603579
Test: Thumbnails still load

Change-Id: I938e4dea19e7f5d24724c32194d254ca003e89aa
2018-10-23 00:01:07 +00:00
TreeHugger Robot 76fea5fdd0 Merge "Adding dark theme for AddItemActivity" into ub-launcher3-master 2018-10-22 18:48:44 +00:00
TreeHugger Robot 44347633ef Merge "Adding SystemShortcut for RemoteAction" into ub-launcher3-master 2018-10-19 21:43:39 +00:00
Vadim Tryshev dc7d25d3e1 Adding SystemShortcut for RemoteAction
Bug: 117888000
Test: manual test with a prototype
Change-Id: I10ed0a8c0237a85af5ac32a7fc68e1f9d2ffc5ba
2018-10-19 14:34:00 -07:00
Sunny Goyal b2498b2790 Using support lib implementation for launcher preference
Bug: 117519297
Change-Id: Icea5e022a337436e48db9376fd441f805dc34e54
2018-10-19 18:09:40 +00:00