Sunny Goyal
b891eebbb5
Fixing shortcut icons are not getting correct color extraction.
...
> Avoiding color extraction for icons which have already be evaluated
> Fixing color extraction from hardware bitmaps
Bug: 111343544
Change-Id: I624866e892465684871fbc130003e32945d86460
2018-11-30 01:41:56 -08:00
TreeHugger Robot
429395f043
Merge "Moving autority definition to a separate file, so that it can be easily customized using android studio" into ub-launcher3-master
2018-11-28 00:59:35 +00:00
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
TreeHugger Robot
33fd26f025
Merge "Moving Pause button to the left of the context menu header" into ub-launcher3-master
2018-11-26 23:36:21 +00: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
TreeHugger Robot
4a5bc9f8b0
Merge "Making CellLayout inflatable without LauncherActivtiy" into ub-launcher3-master
2018-11-21 01:21:49 +00:00
TreeHugger Robot
d2fe2010f9
Merge "Removing Launcher dependency in search box layout" into ub-launcher3-master
2018-11-21 01:14:42 +00:00
Sunny Goyal
ab770a10b9
Making CellLayout inflatable without LauncherActivtiy
...
This will allow creating cellLayout with a different device profile
or a different activtiy which can be used when displaying multiple
activities in multi-display or generating a preview for changing
display properties.
Change-Id: I386731d95e33c48bdef270ce9c0d3e9feefb6262
2018-11-20 17:11:13 -08:00
Ryan Lothian
1ede836b9b
Merge "Get Robolectric tests passing" into ub-launcher3-master
2018-11-20 22:54:15 +00:00
Sunny Goyal
33611be973
Removing Launcher dependency in search box layout
...
Bug: 118758696
Change-Id: Id918c44b8bd2a97ab577481b7584afbe56e8a591
2018-11-20 13:53:33 -08:00
TreeHugger Robot
1b5d7ea6f8
Merge "Moving some methods from various activities to the base interface" into ub-launcher3-master
2018-11-19 21:50:22 +00:00
Sunny Goyal
fe8e4a90be
Moving some methods from various activities to the base interface
...
This allows creating some custom views in the absence of
activity context
Bug: 118758696
Change-Id: I23999290e972a2a8cbd725a521a4e0c7c2e5023e
2018-11-19 13:04:35 -08:00
Ryan Lothian
d813e79ecc
Get Robolectric tests passing
...
+ Default SDK 28 -> 26, as >26 isn't available for
unbundled make builds.
+ @Ignore 3 test methods that currently fail with
resource-related errors.
Test: RunLauncherRoboTests succeeds locally
Bug: 119567714
Change-Id: Id6ea42cef050119d892b5af2b1ba1afc4c4f0b28
2018-11-15 20:17:33 +00:00
Jonathan Miranda
a5c67901f8
Merge "Clean up span calculations in LauncherAppWidgetProviderInfo." into ub-launcher3-master
2018-11-15 00:35:55 +00:00
Winson Chung
3386fbf674
Ensure base StatsLogManager can be instantiated
...
Bug: 119500924
Change-Id: Ia1adfa75147508ff1ff2a119cfba62b034ae4604
2018-11-14 15:11:48 -08:00
TreeHugger Robot
9c9625a15f
Merge "Moving come tests to Roboelectric" into ub-launcher3-master
2018-11-13 23:22:53 +00:00
Vadim Tryshev
9d9310ba72
Merge "Fix showing strange Launcher on pressing Home." into ub-launcher3-master
2018-11-13 01:28:24 +00:00
Vadim Tryshev
e45e60140e
Fix showing strange Launcher on pressing Home.
...
Bug: 118441555
Test: manual, race condition repro, TaplTests
Change-Id: I8b09895558f8baa72eb3a794724170417fadfda6
2018-11-12 16:11:55 -08:00
Sunny Goyal
06a07e9748
Moving come tests to Roboelectric
...
> Fixing resource loading in robo tests
Change-Id: Id5b8a0e4916a2a200da7a41b03f19846834beb1f
2018-11-12 10:49:59 -08:00
Tony Wickham
4cdf0bd49f
Merge "Add ToggleableGlobalSettingsFlag for QUICK_SWITCH" into ub-launcher3-master
2018-11-10 00:48:54 +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
Tony
94c5b83a7e
Add ToggleableGlobalSettingsFlag for QUICK_SWITCH
...
- ToggleableGlobalSettingsFlag saves/loads from Settings.Global rather than
SharedPrefs, allowing other processes to update the setting as well.
- ToggleableGlobalSettingsFlag#get() reads from storage every time.
- Add the flags' descriptions to the feature flags settings UI.
Change-Id: I9cfc44ddaa5d9e223cf77a9b2475f8d25757d1fb
2018-11-09 15:27:24 -08:00
TreeHugger Robot
7b3c12f90e
Merge "Allow overriding flags in Robolectric tests" into ub-launcher3-master
2018-11-09 16:08:29 +00:00
Sunny Goyal
1a9cbd3c88
Moving BaseIconCache to icon lib
...
Change-Id: I4fb56dcd6231a848d152e690edaf8885efbc995a
2018-11-08 15:18:25 -08:00
Ryan Lothian
af0c0e8b0d
Allow overriding flags in Robolectric tests
...
Bug: 117235618
Change-Id: Ibc01a4fe1de6a38d9fc620e4601fdb2282bf03e1
2018-11-08 17:25:23 -05:00
Sunny Goyal
024659c1b0
Fixing wrong layout used to calculate drag-n-drop location
...
Bug: 119229781
Bug: 119234125
Change-Id: I24425a7754db3dfef803088761fa67c9586d89d9
2018-11-08 11:10:59 -08:00
Sunny Goyal
9a4c5be23e
Moving some utility classes to icon lib
...
Change-Id: I0cc19ea02fb0732e9e1778a18c0d2c229232d179
2018-11-07 13:16:07 -08:00
TreeHugger Robot
8b8ff994d2
Merge "Removing some Launcher3 dependencies from BaseIconCache" into ub-launcher3-master
2018-11-07 20:16:21 +00:00
TreeHugger Robot
1b34109d6a
Merge "Adding an interface to allow adding custom views in FloatingHeaderView" into ub-launcher3-master
2018-11-06 23:00:05 +00:00
Sunny Goyal
e62d2bb165
Removing some Launcher3 dependencies from BaseIconCache
...
Change-Id: Ic80ed4a5cd2fc414cd6c27096d798e7f0b8efc72
2018-11-06 14:51:55 -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
41e8da3cee
Removing Launcher3 util class dependency in IconCacheUpdateHandler
...
Change-Id: I7317c11cd2aa54b4b7647aa5644b23c91a240d19
2018-11-06 12:32:35 -08:00
Sunny Goyal
066ace1b88
Replacing setAlphaComponent with setAlphaComponentBound for better animation interpolation
...
setAlphaComponent throws expetion for invalid range, which can cause brashes in overshoot
interpolation
Bug: 118390004
Change-Id: Ic9c5ff3d660eba353b982c4c47ccfaf329b3e296
2018-11-06 09:59:03 -08:00
TreeHugger Robot
ea14a7ac3a
Merge "Removing UserManagerCompat wrapper for getting baded label" into ub-launcher3-master
2018-11-06 01:46:37 +00:00
TreeHugger Robot
9b5b417e64
Merge "Disable Shortcuts menu item for Android Go devices." into ub-launcher3-master
2018-11-06 01:41:59 +00:00
Sunny Goyal
d7239fcc52
Removing UserManagerCompat wrapper for getting baded label
...
This removes some crass dependency on Launcher compat implementation
making it easier to move iconCache to a separate library
Change-Id: If5fab0c82d98089cde6f54b6a374fb7bb2db5ae8
2018-11-05 17:33:15 -08:00
Rajeev Kumar
9ed67ddc50
Disable Shortcuts menu item for Android Go devices.
...
Bug: 112904271
Test: Manual test
Change-Id: I423afd62063babcda52d3907bbd608049238f065
2018-11-05 17:32:16 -08:00
TreeHugger Robot
06bca75d01
Merge "Removing some launcher cross dependency in BaseIconCache so that it can eventually be moved to icon library" into ub-launcher3-master
2018-11-06 01:31:24 +00:00
Sunny Goyal
678f47c0c9
Removing some launcher cross dependency in BaseIconCache
...
so that it can eventually be moved to icon library
Change-Id: I65e3ad34322a10695c1ba114f5e60c4418747f05
2018-11-05 17:22:09 -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
Rajeev Kumar
1baf8a78c6
Create a launcher LoaderResults override.
...
This change disables shortcuts/widgets binding on Android Go devices.
Bug: 112904271
Test: Manual test
Change-Id: I3dbcd23dc448ff9ca5fe6c32958dcffb51c4bcf5
2018-11-05 15:43:53 -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
TreeHugger Robot
ccda30d4b6
Merge "Create a launcher model override." into ub-launcher3-master
2018-11-02 22:39:56 +00:00
Rajeev Kumar
0a926c1d67
Create a launcher model override.
...
This change disables shortcuts/widgets loading on Android Go devices.
Bug: 112904271
Test: Manual test
Change-Id: I2c40f87a8f5d752525c99d254693a4e0a9eeeb2b
2018-11-02 15:25:25 -07:00
Hyunyoung Song
719eee2be2
Create iconloader library
...
Bug: 115891474
Test: Builds everything
Change-Id: I1d75702d4e5a10d694eeb839784a629de2f74dd2
2018-11-02 14:18:45 -07:00
Sunny Goyal
b1513bd811
Merge "Simplifying scrim drawable initialization." into ub-launcher3-master
2018-11-02 18:00:04 +00:00
TreeHugger Robot
dd44c8cd08
Merge "FeatureFlag: quick scrub is now quick switch" into ub-launcher3-master
2018-11-01 21:39:04 +00:00