Commit Graph

2947 Commits

Author SHA1 Message Date
Bill Yi
cd72d37a5f Import translations. DO NOT MERGE
Change-Id: Ibd887507837ddf4ad550f3fd8ae0086982fe1833
Auto-generated-cl: translation import
2018-10-06 18:42:21 -07:00
Hyunyoung Song
a4483361ff Fix ClassNotFoundException for FixedScaleDrawable
Change-Id: I6198a77ddb49505ead86de91dd7096a681873a1d
2018-09-26 12:26:53 -07:00
Bill Yi
94001d6db0 Import translations. DO NOT MERGE
Change-Id: Ie0d34917778d73f08e441cc078bdcbabe752e6a4
Auto-generated-cl: translation import
2018-09-22 08:51:38 -07:00
Sunny Goyal
1642f7173f Removing ViewScrim and cutom drawing code
Bug: 109828640
Change-Id: I2cab0215a32c2ca6bc331d48083fcc00ada05c3b
2018-09-18 11:41:02 -07:00
Sunny Goyal
194f58525a Adding a provider class for various popup actions
so that it can be customized easily.

Change-Id: I633846631ac3d4c70ebb3ea35a3edc2feee8339e
2018-09-17 17:05:32 -07:00
TreeHugger Robot
abbf01b782 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2018-09-12 20:40:45 +00:00
Bill Yi
87dbaec75a Import translations. DO NOT MERGE
Change-Id: Iefd9e37d4e8c34985f0b7a62841d724297ff051b
Auto-generated-cl: translation import
2018-09-12 13:01:31 -07:00
Tony Wickham
08c7cd5625 Update undo snackbar visuals
- Use accent color for action
- Update font-family to use TextTitle style
- Reduce elevation to 3dp
- Inset snackbar left/right margins more, unless we need to increase the
  width to fit the text
- For largest display/font size, fallback to 2 lines and smaller font if
  necessary to not cut off the label
- Remove top/bottom padding on action (b/114084048)
- Allow up to 20 char for the action (b/114317987)

Change-Id: I833c102aaac3ba3db2283997c142926c3830336d
2018-09-11 15:35:47 -07:00
Bill Yi
6b35469e0e Import translations. DO NOT MERGE
Change-Id: I7ba9b11754c0cef0a025597b94a34c744d5c0b73
Auto-generated-cl: translation import
2018-09-07 22:20:54 -07:00
Bill Yi
07f81e00f3 Import translations. DO NOT MERGE
Change-Id: I55f66fb29371969630a7c86c2f47bc8f1d6e9f0b
Auto-generated-cl: translation import
2018-09-04 16:15:46 -07:00
Tony Wickham
6a71a5bd77 Add undo snackbar for deleting items
- Add methods to ModelWriter to prepareForUndoDelete, then
  enqueueDeleteRunnable, followed by commitDelete or abortDelete.
- Add Snackbar floating view
- Show Undo snackbar when dropping or flinging to delete target; if the
  undo action is clicked, we abort the delete, otherwise we commit it.

Bug: 24238108
Change-Id: I9997235e1f8525cbb8b1fa2338099609e7358426
2018-08-30 16:22:25 -07:00
Sunny Goyal
2b787e5bd6 Using a placeholder icon shape instead of low-res/blurry icon
Bug: 111142970
Change-Id: I867224464ae9c026f4dcb5256ef14fc39c8e751d
2018-08-27 10:43:46 -07:00
Tony
977690e931 Make arrow feel more connected to popup
- Clip the arrow that is overlapped by the popup, so that it doesn't
  show when that part of the popup is highlighted
- Animate the arrow first instead of last. Now the animation feels
  like one continuous motion as the arrow grows into the popup.

Bug: 111159923
Bug: 111006276
Change-Id: I22fb3037d950d55fe6c8ed4dc5345279874f0a3a
2018-08-15 15:22:28 -07:00
TreeHugger Robot
52b28f0926 Merge "Adjust notification dots" into ub-launcher3-master 2018-08-09 22:19:57 +00:00
Vadim Tryshev
7acde48955 Enabling more checks in TAPL tests.
Hiding workspace from tests when in AllApps or Overview.

Also, we don’t need workspace_page_container.

Bug: 110103162
Test: Running TaplTests suite
Change-Id: I10875a1ce5d41a015c63034160676578f52d2e98
2018-08-03 10:29:36 -07:00
Jonathan Miranda
d9d4b5b2dc Merge changes from topic "am-b9751869-5607-4cac-8442-b1dba848150a" into ub-launcher3-master
* changes:
  [automerger] Update launcher grid for tablet devices. am: 5eacbb7fc1
  Update launcher grid for tablet devices.
2018-08-02 22:16:06 +00:00
Android Build Merger (Role)
36d5963b4a [automerger] Update launcher grid for tablet devices. am: 5eacbb7fc1
Change-Id: Ia3de5e3b9956047573cb1d09173021576bd8fa56
2018-07-31 18:15:13 +00:00
Jon Miranda
5eacbb7fc1 Update launcher grid for tablet devices.
* Number of hotseat icons matches number of workspace columns.
* Evenly space out the workspace icons.

Bug: 111617973
Change-Id: Ia80e6354c8d449f2a397db5fd432cebc9f23027f
2018-07-31 11:15:01 -07:00
Tony
05d98c246b Adjust notification dots
- Use consistent bounds for folders as other icons, to ensure dot
  has a consistent placement (moved right+up a bit)
- Strengthen the ambient shadow to improve contrast
  - Increased blur size and opacity
- Use a dark gray rather than black for dots on dark folders

Bug: 73331123
Change-Id: I888f4645d3a48465af93f5003dda8f8b7c3129f3
2018-07-23 16:41:45 -07:00
Sunny Goyal
36b54228fc Retiring some feature flags
Change-Id: I80a00ecaec0785ce2ba6a5f14a54c8a76f555d43
2018-07-10 13:52:17 -07:00
Sunny Goyal
7f920b8d5e Cleaning up build rules to simplify customizing derivative projects
> Using {packageName} instead of hardcoding com.android.launcher3 in AndroidManifest.xml
  for strings which are dependent on packageName
> Adding proguard rule to prevent obfuscating any overridable class
> Making it easier to extend SettingsActivity by overriding the fragment class

Change-Id: I5668c3f33b4cf20ad01d7f54b3d79cc0d268d391
2018-07-02 11:16:04 -07:00
Bill Yi
1e819d5ae5 Import translations. DO NOT MERGE
Change-Id: Ib5c08722b8ccc9194894bf7b007cd5d59a74829a
Auto-generated-cl: translation import
2018-06-28 12:11:30 -07:00
Android Build Merger (Role)
306aecc267 [automerger] Tune device profiles. am: 7e183c3976
Change-Id: I743a34c911977976cd62597b3a0fbfdf8419551e
2018-06-20 23:43:33 +00:00
Jon Miranda
7e183c3976 Tune device profiles.
* Extend page indicator so that its centered within the gap between
  the workspace items and hotseat.
* Decrease the amount of extra space we allot to the hotseat.
* Add the extra space to the hotseat bottom padding so that the hotseat icons
  are aligned to the top of the hotseat.

Bug: 78589630
Change-Id: I78c619a757d9d248874216e93376ad4ba18c8e50
2018-06-20 16:43:19 -07:00
Bill Yi
79f581516b Import translations. DO NOT MERGE
Change-Id: Ib9eb56eaa3740d8848d71d8a7a960af61c100e12
Auto-generated-cl: translation import
2018-06-18 11:58:04 -07:00
Android Build Merger (Role)
0c68860add [automerger] Prerequisites for TAPL am: 74c261c89f
Change-Id: I1fcaa26619291828c7fcc92aedd36faaba1e788b
2018-06-12 21:54:50 +00:00
Vadim Tryshev
74c261c89f Prerequisites for TAPL
Adding things that will be used by TAPL.

1. Adding Ctrl+W to open widgets
2. Marking a UI element with shortcuts_and_widgets
id. Example of usage: we want to be sure we are in all apps.
A somewhat paranoid way to check this is to check that
apps_view is on, and workspace and overview_panel are off.
However, workspace is always in the hierarchy. We use
shortcuts_and_widgets instead.

Bug: 110103162
Test: Manual
Change-Id: I2a851e16c477f7ee895b459530bc5a1ff19e32f8
2018-06-12 14:54:23 -07:00
Android Build Merger (Role)
54c1af806f [automerger] Moving clear all button inside the recents view am: c82c6396e9
Change-Id: I1109b5ae959cab870fbf81e60ca143534b22cc20
2018-06-11 20:51:12 +00:00
Sunny Goyal
c82c6396e9 Moving clear all button inside the recents view
Bug: 72222505
Bug: 109828536

Change-Id: I843b79db3e47abc2c41ed78f186b9c941941ddef
2018-06-11 13:51:03 -07:00
Android Build Merger (Role)
184e968628 [automerger] Changed the Task Menu to overlay on top of the task view am: 1b9c3d6fe3
Change-Id: I572cb5fe8801b2374487d489f78f2bf232df7217
2018-06-08 21:25:18 +00:00
Matthew Ng
1b9c3d6fe3 Changed the Task Menu to overlay on top of the task view
When tapping the icon for each card in overview, the options will
overlay on top of the task view below the icon instead of popping up
above the task view.

Change-Id: I42746022432385d976134988262514a238a5066e
Fixes: 109676098
Test: go to overview, tap the icon for the task
2018-06-08 14:24:22 -07:00
Android Build Merger (Role)
7f46327c04 [automerger] Defining a base theme, which can be overriden by derivative projects without affecting launcher theme am: bd88f396dc
Change-Id: I495b62832a9effdef6dc9ff779d92158f8be0aad
2018-06-08 18:20:26 +00:00
Sunny Goyal
bd88f396dc Defining a base theme, which can be overriden by derivative projects without
affecting launcher theme

Bug: 70220582
Change-Id: Ie3069686be5e6a42910e90541db2d6b5b79e25c1
2018-06-08 11:20:01 -07:00
Bill Yi
3f90a2dcf6 Import translations. DO NOT MERGE
Change-Id: I2078cff13794d2802f91dbce3ac92994af8fcfa1
Auto-generated-cl: translation import
2018-05-31 17:30:53 -07:00
Android Build Merger (Role)
a648206cd5 [automerger] Theme updates for dark text: am: 337fcb7983 am: a4feb0c385
Change-Id: Id1edd1dfac985be021f84e92c9014bcbf61608bb
2018-05-30 22:53:18 +00:00
Sunny Goyal
337fcb7983 Theme updates for dark text:
> Using white scrim on adjescent tiles in overview
> Using a ligher scrim in dark-theme+dark-text

Bug: 80253867
Change-Id: I3f257d3addaca8bc5970a61722f5ae0e7af89382
2018-05-30 15:53:10 -07:00
Android Build Merger (Role)
1a3fe14f47 [automerger] Fix testWidgetsContainerFling am: 68ac46da0c am: 840bb420d1
Change-Id: Ie8366e5343ae69b3200c47f8815984e1f006e605
2018-05-26 03:09:07 +00:00
Vadim Tryshev
68ac46da0c Fix testWidgetsContainerFling
It relies on the presence of the popup in the accessibility view.

Bug: 72967764
Test: atest google/perf/jank/SystemUI/UbSystemUIJankTests:android.platform.systemui.tests.jank.LauncherJankTests#testWidgetsContainerFling
Change-Id: I9d41ddcd60f9dc7626a96762b4e78a7b862aa1c9
2018-05-25 20:08:44 -07:00
Android Build Merger (Role)
11ee99186c [automerger] Adding support for dark text on dark theme am: a6afdffbbd
Change-Id: I7d83aa8d1e551ca00f397c20447164f4c43b3141
2018-05-24 20:50:34 +00:00
Sunny Goyal
a6afdffbbd Adding support for dark text on dark theme
Bug: 80253867
Change-Id: Ib81a2fe884f68cd2dd4af1e573bd8c836f374f16
2018-05-24 13:50:27 -07:00
Bill Yi
1117bdd7c2 Import translations. DO NOT MERGE
Change-Id: I14967d93f4762c4efdaf689bb2e3ca42423140bb
Auto-generated-cl: translation import
2018-05-23 14:00:26 -07:00
Bill Yi
793a0238fc Import translations. DO NOT MERGE
Change-Id: Ifb3ec95e81a8988a78e8b4dd90fee00b355525c3
Auto-generated-cl: translation import
2018-05-23 13:57:50 -07:00
Android Build Merger (Role)
80213f0354 [automerger] Making overview panel accessible via Tab am: f1507a6a64
Change-Id: I21a2dd970e1bb725034acd2255f11ce62515db8f
2018-05-22 21:49:32 +00:00
Vadim Tryshev
f1507a6a64 Making overview panel accessible via Tab
Keyboard navigation of AllAppsContainerView is broken in TOT; disabling
focusing there is necessary for Recents.

Bug: 72222505
Test: Manual
Change-Id: I85d544f7c8dbdaf12e49de51c6626bbc3dc32917
2018-05-22 14:47:44 -07:00
Android Build Merger (Role)
6e2a403d78 [automerger] Fixing wrong accessibility focus when opening a floating view am: de75321542
Change-Id: Idb4db3d979a4017804b744c06524905f39f8146e
2018-05-16 20:11:06 +00:00
Sunny Goyal
de75321542 Fixing wrong accessibility focus when opening a floating view
> Using common logic for announcing a floating view for widgets and folders

Bug: 79091095
Bug: 79748886
Change-Id: Ibb3fe48e68e724f50d69f51a03d3b35ad0baf625
2018-05-16 13:11:00 -07:00
Android Build Merger (Role)
a3450de3f5 [automerger] Updating the dark theme color to match system-ui theme am: 12f803843b
Change-Id: I61acb5c72c50a7cb14cc55d5139b75e0bd84d4e3
2018-05-14 22:58:24 +00:00
Sunny Goyal
12f803843b Updating the dark theme color to match system-ui theme
Bug: 79691756
Change-Id: I12058ca2d7651353af99f4ce65dc90339868bfc0
2018-05-14 15:58:19 -07:00
Android Build Merger (Role)
1e4420c4ab [automerger] Using dragHandle for workspace padding calculation instead of pageIndicator am: 08ef66789b
Change-Id: If1cee04dcd365d87328119ccec457c30c0fb317d
2018-05-10 18:33:17 +00:00
Sunny Goyal
08ef66789b Using dragHandle for workspace padding calculation instead of pageIndicator
> PageIndicator is a 1dp indicator which does not contribute in any padding calculations

Bug: 79111591
Change-Id: I4d8be0149da2b3f14593ae71ca037ffe3885d9be
2018-05-10 11:33:11 -07:00