Commit Graph

2956 Commits

Author SHA1 Message Date
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
Sunny Goyal 367f21999d Adding dark theme for AddItemActivity
Bug: 117786476
Change-Id: I1a3adb7c10ed2326dc1440c3db15f702f42dbfd8
2018-10-17 11:25:40 -07:00
Bill Yi 7b4575107d Import translations. DO NOT MERGE
Change-Id: Ibd9387c2cc872963f84078960e09b9bccfdfcbdc
Auto-generated-cl: translation import
2018-10-16 17:16:15 -07:00
Ryan Lothian fa530cd23f Make flags UI available on release build of launcher
The UI will only be shown on eng/userdebug platform builds.

Bug: 117223984
Change-Id: I27843f2d856a4a19f3fe53c4d306606eaa5714a2
2018-10-15 17:24:48 -04:00
Sunny Goyal c604a10551 Adding keyboard handling to QsbHostView similar to a normal appwidget view
Bug: 116842846
Change-Id: Ibab2dc1793561998f81710301d9ce0ca3d77e7b4
2018-10-15 11:00:28 -07:00
Tony Wickham 76cce29d66 Add plugin support
- Add libs/plugin_core.jar
- Include plugin_core in Launcher3 build (it is already present other
  builds as part of the updated shared lib)
- Add PluginEnablerImpl that uses SharedPrefs to enable/disable plugin
  components
- Add src_plugins, where plugin interfaces will live. It has a build
  rule to create a jar that plugin projects will depend on.
- Copy PluginPreferencesFragment from sysui but using our implementation
  for PluginEnabler

Bug: 115877296
Change-Id: I3db54677eaceb10f92018c0f9d18920ad9ffac39
2018-10-10 14:02:56 -07:00
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