Commit Graph

99 Commits

Author SHA1 Message Date
Sunny Goyal 4276e7b649 Moving autority definition to a separate file, so
that it can be easily customized using android studio

Change-Id: I17f4f4511c2af5d382727769d1b74413f233d500
Bug: 120079798
2018-11-27 23:20:32 +00:00
Sunny Goyal 202fabfe10 Adding reusable version of IconCache and IconFactory
> Adding resource based allowing projects to control cache behavior
> Fixing missing comments from ag/5470467
> Adding support for no-immemory cache

Bug: 115891474
Change-Id: I691206805430cd93d3be78119bc249cefd79790a
2018-11-09 15:44:07 -08:00
TreeHugger Robot 8ac8d73530 Merge "Split out launcherProtos from sysui_shared.jar" into ub-launcher3-master 2018-11-06 01:14:56 +00:00
Hyunyoung Song 0ae3888ad1 Split out launcherProtos from sysui_shared.jar
Bug: 113043444
Change-Id: I3115cdc7871b0f77601e399df01cdde0dde87c6e
2018-11-05 17:01:54 -08:00
Hyunyoung Song 719eee2be2 Create iconloader library
Bug: 115891474
Test: Builds everything

Change-Id: I1d75702d4e5a10d694eeb839784a629de2f74dd2
2018-11-02 14:18:45 -07:00
Rajeev Kumar 51ca603ac4 Create a deep shortcuts override.
This change disables deep shortcuts on Android Go devices.
Bug: 112904271
Test: Manual test

Change-Id: I6150a3500f67d8a8412b51796cc442e3384c2cbb
2018-10-31 13:52:38 -07:00
Rajeev Kumar c00a259701 Rename go/src_flags directory as go/src
This CL is preparation work to implement Modular shortcuts component in launcher using  java/code swap.

Bug: 112904271
Test: Manual test
Change-Id: I35cf81e95fe487a384d4e9f17ea303093197318f
2018-10-30 17:16:25 -07:00
TreeHugger Robot a934b2bbca Merge "Using support lib implementation for launcher preference" into ub-launcher3-master 2018-10-19 20:36:31 +00:00
Sunny Goyal b2498b2790 Using support lib implementation for launcher preference
Bug: 117519297
Change-Id: Icea5e022a337436e48db9376fd441f805dc34e54
2018-10-19 18:09:40 +00:00
Tony Wickham 5c5c118c48 Add AllAppsRow plugin interface
Bug: 115877296
Change-Id: I750941f220d08ca9ee14067253253f6d81417101
2018-10-16 17:22:09 -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
Sunny Goyal 4548a7d48d Disabling proguard on Launcher3 as it is a test target
Bug: 117527405
Change-Id: I4d32cf060eebaa0d8efe4f0a3a5c924eadcffa4a
2018-10-10 10:03:02 -07:00
Hyunyoung Song f120e0a626 Link SystemUISharedLib from source if it exists
Bug: 113683301

Test: mmma -j31 packages/apps/Launcher3
Change-Id: I93671a788a322b474fd5bd4750e188faad958060
2018-08-31 13:57:30 -07:00
Hyunyoung Song 74176d6ba7 Link SysUISharedLib from source if it exists
Bug: 113128349

Test: mmma -j31 packages/apps/Launcher3
Change-Id: I4bee3d59df403db46ed848d839b09c3df4ec874b
2018-08-31 10:48:46 -07:00
Sunny Goyal d230307a95 Migrating to android-x
Change-Id: I9a774152d13a541e8496dd84f2469bfed407f86d
2018-08-14 15:22:12 -07:00
Rajeev Kumar dedecd8cf3 Specify proguard.flags file explicitly in the Launcher3QuickStepGo make rule
This change makes sure that following build command doesn't error out:
tapas Launcher3QuickStepGo
make -j45

Bug: 112274857
Test: Built source with tapas Launcher3QuickStepGo and it built successfully.
Change-Id: Icd788e4e119efd386bec6646627c2d9dd485af60
2018-08-06 21:37:53 +00:00
Rajeev Kumar 02c33da4d2 Enable code shrinking (dead code removal) on Launcher3QuickStepGo app
Bug: 112042795
Test: Manual testing

I found following effect of shrinking on the apk:

Launcher3QuickStepGo.apk            4925099 bytes
Launcher3QuickStepGo_Proguard.apk   2619051 bytes

We get total saving of 2306048 bytes in apk size.

Change-Id: I75abedc05e5d04967928e73f02bcc78608f52ac0
2018-08-03 13:33:18 -07:00
Tim Joines 56ded9c4ea Allow Launcher3Go to override Launcher3QuickStep
Go devices will not want QS.

Bug: 77490347, 110425849, 109932837
Test: Manual, Launcher is no longer crashing
Change-Id: I1a1e0540beeab04927802156be26098139710f30
2018-06-21 06:21:00 +00:00
Sunny Goyal 9fc97976e0 Creating some common launcher targets
Bug: 110336301
Change-Id: I4de635c9a2acd9dee0a8cd2396d6cfa23eefb2db
2018-06-18 01:12:55 -07:00
Sunny Goyal c551927ce0 Adding Launcher3QuickstepGo target
Bug: 77490347
Change-Id: Ie280619921027759abfc2be3b002a05291f74816
2018-05-24 18:44:45 -07:00
TreeHugger Robot 00b8ac8371 Merge "Revert "Re-enabling Widgets in Launcher3Go"" into ub-launcher3-master 2018-04-05 18:31:54 +00:00
Rajeev Kumar ff8699e411 Revert "Re-enabling Widgets in Launcher3Go"
This reverts commit 2eb7f0a34b.

Bug: 74039047
Test: Manual tests
Change-Id: Ifa38f7b1b805d781fbfc63cd71b01609f0a85d9e
2018-04-05 18:25:54 +00:00
Jiyong Park 1bb730c5e9 Fix link-type check warning on libSharedSystemUI
There has been a link-type check warning on libSharedSystemUI
the prebuilt lib is built without SDK but the app using it
(Launcher3QuickStep) is built with SDK. Since this effectively prevents
the app from being unbundled, such warning will turn into errors soon.

However, the lib isn't ready to be built with SDK yet. So, in order to
suppress the link-type check warning until then, the prebuilt lib is
added with LOCAL_SDK_VERSION := current.

Bug: 69899800
Bug: 73327733
Test: m -j Launcher3QuickStep is successful and does not show any
link-type check warning

Change-Id: Ifd74bfee8c608e099737bd46569b05f007c1e86b
2018-02-23 18:03:17 +00:00
Rajeev Kumar 2eb7f0a34b Re-enabling Widgets in Launcher3Go
Bug: 72876955
Test: Tested manually
Change-Id: I19e8696cf41cc00832b571e778bbc4c4774fa112
2018-02-05 13:57:24 -08:00
Sunny Goyal a783400823 Fixing quickstep build
Change-Id: I1db1ce636c52cb02dd248dd843de8c886ad34604
2017-11-07 16:43:24 -08:00
Sunny Goyal 85525173ce Rearranging the code structure to allow replacing state logic.
Change-Id: I6f83d0f77045ba189f02dd465bf70ffc2a239aa1
2017-11-06 14:57:50 -08:00
Sunny Goyal 73133391e5 Adding a placeholder recents activity
Change-Id: Idde86b4008559cde8bcf13fba90a8c72c3f1f591
2017-11-02 11:23:31 -07:00
Sunny Goyal 9d341964a0 Setting up build rules and placeholder code for QuickStep
Change-Id: Ib4ad5c6082b293fc9f9455d70e2b21462b4ab76d
2017-10-30 10:04:24 -07:00
Sunny Goyal f2dd4216c1 Removing extraction service and palette api dependency
Change-Id: I30ad1a1462a97b6bc03f8e386ae3058c7fe022e5
2017-09-29 10:40:08 -07:00
Sunny Goyal 64a75aa305 Adding A feature flag to disable widgets and a corresponding build
target Launcher3Go without widgets support

Bug: 62353159
Change-Id: Ia03d2235a9bcf75f9ef191924f81630e63a2c684
2017-07-21 14:10:13 -07:00
Sunny Goyal 2385ebebee Adding support for derivative apps to safely extend LauncherLog proto
Bug: 37676962
Change-Id: I24716070841b41418ac57b8dc367278e3ebdd046
2017-07-20 11:47:11 -07:00
Jon Miranda 4e11c2738a Add physics motion to items in all apps.
Motion applied to:
- Icons
- Prediction icons
- Prediction divider

Bug: 38349031
Change-Id: I376e6e39080c8c80463a0ce8b104b05e4d576f17
2017-05-23 10:02:51 -07:00
Sunny Goyal 3d706ad703 Separating the config and flags in different directories so that
it is easier to override one or the other

Bug: 36001650
Change-Id: I713f4f5dbcf902614ce9f6c7a73bdace7bdf1ea0
2017-03-07 09:30:51 -08:00
Sunny Goyal 6c46a6d324 Using java_style enum generation for proto
This makes it easier to track various method parameters and simplifies
debug logging

Change-Id: Ib7c3d52590d0c36b2c8460c889ee3bead3454569
2016-12-15 09:30:35 -08:00
Hyunyoung Song 14b64340ab Merge "Change support lib res path" into ub-launcher3-master 2016-11-14 19:00:35 +00:00
Hyunyoung Song 3fa9954cf1 Make Launcher3 privileged module
Make privileged module to enable Launcher to render search widget
without granting permission to gmscore.

Change-Id: I920233ced18325ecc8db70e9227993913a2d9762
2016-11-14 18:59:23 +00:00
Hyunyoung Song 426d089290 Change support lib res path
b/32869945

> warning message will be gone after $ tapas Launcher3 && make

Change-Id: I1780704e206c3cbb458ab76de623eef502b28b8c
2016-11-14 10:46:08 -08:00
Shankhoneer Chakrovarty 687c345f9e Created include filters for jacoco
Go to for report: https://cnsviewer.corp.google.com/ear/cns/on-d/home/android-test/kharon/shankh/world/test_logs/ub-launcher3-calgary/0/CodeCoverage/inv_5368912399306607305/coverage_8663315225010526892.ear/index.html
go to https://x20web.corp.google.com/users/sh/shankh/coverage/index.html for source code level code coverage statistics

Bug: 29882934

Change-Id: I397537f45ac4611e8a97d4656d0e7d2b694688fc
2016-09-20 12:14:48 -07:00
Sunny Goyal d83a67a6b4 Separating out configs and common manifest entries
This separation allows for easier modification of Launcher3
by derivative projects

Change-Id: Ib3469e9b5d2707daef572050698d792316534d45
2016-05-24 14:11:24 -07:00
Sunny Goyal d297be2148 Changing minSDK for launcher3 to 21 (Lollipop)
Change-Id: I421a33801886bdcccb43429b571af1ca7c6b9f55
2016-05-10 15:35:25 -07:00
Hyunyoung Song 77c263660e Fix recyclerview res path
Manually cherry picking ag/943086

Change-Id: I37b75a04e3fff61b4bd42625a060c41e0fe7e85d
(cherry picked from commit bcc53286c2)
2016-04-20 17:28:01 +00:00
Sunny Goyal 30a716157b Removing WallpaperPicker from Launcher3
Launcher3 will no longer include a wallpaper picker.
Eventually it will just point to the system wallpaper settings where
user can choose from all the installed pickers

Change-Id: Ib5832fa7e451610acd4b2d34ee48fe36e3699d26
2016-04-12 17:59:16 -07:00
Tony Wickham d9dc2e2cb3 Add palette dependency to Android.mk.
Change-Id: I34fcfa87a35df8ec1029669d6b570c1a95029b66
2016-04-01 16:05:15 -07:00
Sunny Goyal bd822508e5 Deleting the WallpaperPicker code inside launcher.
Instead linking it to the packages/apps/WallpaperPicker project

Change-Id: Ib6830b180a22c22afece01e0a4f6e94e89d6452b
2016-02-18 15:09:21 -08:00
Sunny Goyal 5e9ef1344d Removing lib proto util
Change-Id: Iebe6341a60a5e62bde97b5cca68f8abb93b04d36
2016-01-06 15:31:09 -08:00
Hyunyoung Song 56e6b478ff Fix broken make target launcher_protoutil_lib Bug:26406415
am: 4ae00b1b8e

* commit '4ae00b1b8e853f45770c833085179eb382220d78':
  Fix broken make target launcher_protoutil_lib Bug:26406415
2016-01-06 21:20:56 +00:00
Hyunyoung Song 4ae00b1b8e Fix broken make target launcher_protoutil_lib
Bug:26406415

Change-Id: If3895b384feb9f2a6294fd76c043420851a37f49
2016-01-06 13:12:45 -08:00
Ying Wang baa5589f6d Remove unnecessary use of ../.
Change-Id: Ie747c305cbf1a6bf42f6c04c5c4d5ec3c6dad990
2016-01-04 12:19:01 -08:00
Hyunyoung Song d30e845d89 Overlay support lib RV resources in Android.mk
Note: after this change, ag/735298 can be reverted.

b/22719084

Change-Id: I83caf8832790b1df0a90a1339f6b24f481c51661
2015-07-27 18:24:45 -07:00
bohu 86179020cc Enable Launcher3 as default Home app
The default Home app launcher2 is deprecated and cannot launch Nexus 6
or any other high resolution devices in emulator. This CL enables launcher3
as the default Home app, since it can handle Nexus 6 and is well maintained.

Bug: 22609402
Change-Id: Iaba545fec218f79e40e0f72de5236ddadfabaa14
2015-07-20 22:23:27 +00:00