Mario Bertschler
ff4f201fad
Use extracted color for scrim in overview mode.
...
Change-Id: Ia24dbf69a64cb0b84da9985a5dd78ca699e7bed1
2017-06-08 14:36:20 -07:00
Mario Bertschler
54ba601a99
Dark text support for caret, drop target text and cell layout drop outline
...
Change-Id: I1bcad657b6e49be6fa93cafe9d8ae304604be34d
2017-06-08 10:54:09 -07:00
Mario Bertschler
9483c6f4ed
Merge "Dark color on super light wallpaper support" into ub-launcher3-dorval-polish
2017-06-08 17:45:56 +00:00
TreeHugger Robot
4efee85b75
Merge "Adding utility method to temporarily hide scrollbar" into ub-launcher3-dorval-polish
2017-06-08 01:38:37 +00:00
Jon Miranda
5c83e7cdc5
Refactor and generalize SpringAnimationHandler.
...
SpringAnimationHandler is only responsible for motion tracking and
updating the list of springs it is handling.
Spring initialization and updates are handled by the AnimationFactory
interface.
This is done in preparation for future CLs where SpringAnimationHandler
will be used in more cases.
Bug: 38349031
Change-Id: I5ebce710cc05e4e88b708ceea5d2cfefbd0eb3d0
2017-06-07 15:45:45 -07:00
Mario Bertschler
a693694502
Dark color on super light wallpaper support
...
Change-Id: I0fdfa9abefb72e06c45b1f635ac97e2acfa97f05
2017-06-07 15:25:07 -07:00
Sunny Goyal
9e4c359054
Adding utility method to temporarily hide scrollbar
...
Bug: 37616877
Change-Id: I286493746c44ace8958ffd8df24317125b445cf7
2017-06-07 14:05:48 -07:00
TreeHugger Robot
3a5b835297
Merge "Fix bug where physics appears not to run in all apps." into ub-launcher3-dorval-polish
2017-06-07 20:31:03 +00:00
Jon Miranda
75de76f917
Fix bug where physics appears not to run in all apps.
...
ie. When scrolling up from the bottom, the animation will immediately
start since the last visible item condition is true — and by the time
it reaches the top the spring is done moving.
Bug: 38349031
Change-Id: I344deef47c50b33405345dd3a137ccdb12aeae02
2017-06-07 13:17:19 -07:00
Sunny Goyal
d9a2187621
Adding tint support for shadow drawable.
...
Bug: 37616877
Change-Id: I2ce8d82143238422bccabfa5191ef95e936a713d
2017-06-07 10:41:55 -07:00
TreeHugger Robot
f6add46e5e
Merge "Generalize findContrastColor() to work for dark backgrounds" into ub-launcher3-dorval-polish
2017-06-07 01:00:52 +00:00
TreeHugger Robot
da84e97947
Merge "Removing QsbBlockerView" into ub-launcher3-dorval-polish
2017-06-07 00:47:56 +00:00
Tony Wickham
c094a3accb
Merge "Don't use CharSequence as notification text" into ub-launcher3-dorval-polish
2017-06-07 00:40:41 +00:00
Tony Wickham
47ab9b1fc5
Generalize findContrastColor() to work for dark backgrounds
...
Previously it assumed the background was lighter than the foreground.
Bug: 62380473
Change-Id: Icd53750a2f9181890c8b9c62721d07946e115e99
2017-06-06 17:38:57 -07:00
Tony Wickham
15fcdbed07
Merge "Add support for popup dark theme" into ub-launcher3-dorval-polish
2017-06-06 23:55:44 +00:00
Sunny Goyal
966d901af0
Removing QsbBlockerView
...
> Removing workspace state change listener. State change happens with hardware layer,
so children should not be calling invalidatge() during the animation
> Moving QSB inside the QSB and removing a floating layout
Bug: 37616877
Change-Id: I9af3522a05dafa5796586bb64f512d98688caf79
2017-06-06 16:48:25 -07:00
Tony Wickham
bd867a3d3e
Don't use CharSequence as notification text
...
If a notification changes the color etc. on the CharSequence, then
it overrode our colors. Gmail for instance always makes the second
text dark (apparently), overriding our dark theme.
Change-Id: Ibd8751d70849fd10fd0114af02d382aba1771d4e
2017-06-06 16:35:33 -07:00
Tony Wickham
90038ebab2
Add support for popup dark theme
...
Bug: 62380473
Change-Id: Ib22e9b82841bf10b7f139638f268f0a878e3c6b9
2017-06-06 16:34:20 -07:00
Hyunyoung Song
9be3585f7f
Merge "Prevent clipping on the top and left side on AdaptiveIconDrawables b/62372639" into ub-launcher3-dorval
...
am: 88082394eb
Change-Id: I7148678d490c55e9a10e672cba839ef8aef9d00a
2017-06-06 21:17:52 +00:00
TreeHugger Robot
88082394eb
Merge "Prevent clipping on the top and left side on AdaptiveIconDrawables b/62372639" into ub-launcher3-dorval
2017-06-06 21:13:16 +00:00
TreeHugger Robot
7e6e96dabd
Merge "Revert "Decrease jank in all apps physics."" into ub-launcher3-dorval-polish
2017-06-06 21:12:54 +00:00
Jonathan Miranda
6d60532167
Revert "Decrease jank in all apps physics."
...
This change created an issue where some items appear to not have springs when the device does not have that many apps.
This reverts commit 9d7f2b9e0d .
Change-Id: I8e79cf3f86972fde8184debb6ab4d0f32283a8bd
2017-06-06 20:36:24 +00:00
Hyunyoung Song
9279496e54
Prevent clipping on the top and left side on AdaptiveIconDrawables
...
b/62372639
Change-Id: I0b2c0daecba2904f3e89f7b0b558d9b10f5dcbf6
2017-06-06 13:21:11 -07:00
TreeHugger Robot
561e53577b
Merge "Decrease jank in all apps physics." into ub-launcher3-dorval-polish
2017-06-06 18:14:19 +00:00
Sunny Goyal
b434fde427
Moving LoaderTask to a separate class file
...
Bug: 34112546
Change-Id: I86d93cfb5d3903bfd3878564cbe8b67b64fd8423
2017-06-06 10:47:23 -07:00
Tony Wickham
0540c0606b
Merge "Fix visibility of notification footer divider" into ub-launcher3-dorval-polish
2017-06-06 17:29:16 +00:00
TreeHugger Robot
3e61c9d6d0
Merge "Improved color extraction algorithm" into ub-launcher3-dorval-polish
2017-06-06 17:19:12 +00:00
Mario Bertschler
7e3a882a49
Improved color extraction algorithm
...
Change-Id: I31fdd2a5bc8598dbc8ea5363c995b29057f45997
2017-06-06 10:12:09 -07:00
Tony Wickham
79b176e42c
Fix visibility of notification footer divider
...
Now it is only visible when the notification footer is present,
instead of always being visible.
Change-Id: Ie85ff31918901115cdfe55b36e75aa80b43e7b13
2017-06-05 17:54:45 -07:00
Jon Miranda
9d7f2b9e0d
Decrease jank in all apps physics.
...
By creating the spring in onCreateViewHolder and adding
in onBindViewHolder, we are able to take advantage of
RecyclerView's prefetching optimizations.
Bug: 38349031
Change-Id: Ie445039fd90ca92ae4ce1ff71c57b15f662377a8
2017-06-05 14:27:20 -07:00
TreeHugger Robot
9b9beae02e
Merge "Moving LoaderTask static" into ub-launcher3-dorval-polish
2017-06-05 19:49:11 +00:00
Tony
f514f207c2
resolve merge conflicts of 629a67c5a to ub-launcher3-dorval-polish
...
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I5aed3f0c978976c499b532c816d81196cb11e3a1
2017-06-02 19:33:49 -07:00
Tony
629a67c5ac
Migrate ColorExtractionService to JobService
...
IntentService cannot be run in the background, so moving to
JobService prevents us from crashing if the wallpaper is
changed while we aren't running.
Bug: 62065291
Change-Id: Ie0c887e36d0ced43a0b9ab8136bf55eb37697489
2017-06-02 18:21:05 -07:00
Sunny Goyal
c6e97692e4
Moving LoaderTask static
...
Will move it to a separate file in a followup cl.
This simplifies dependencies between LauncherModel and LoaderTask which
and making it easier to start the loader before Launcher activity is
created (as the Callbacks in LauncherModel can change while loader is running).
Bug: 34112546
Bug: 37616877
Change-Id: Ie9619c6b0de0e3eb60657c04ae1b58d946c829e9
2017-06-02 14:27:29 -07:00
TreeHugger Robot
d74633cbc5
Merge "Launch wallpaper picker with rectangular reveal" into ub-launcher3-dorval-polish
2017-06-02 20:17:30 +00:00
TreeHugger Robot
8d14e49709
Merge "Promise icons don't support popup" into ub-launcher3-dorval-polish
2017-06-02 20:07:31 +00:00
Tony
85efb4b07d
Launch wallpaper picker with rectangular reveal
...
There was a logic error causing it to be launched with null
activity options.
Bug: 37904252
Change-Id: Ia44b7bccf0b7f83ceab9d3949542b79a842e4873
2017-06-02 13:06:10 -07:00
Tony
869a97da73
Promise icons don't support popup
...
Bug: 62253847
Change-Id: I1123f3d1efad65e74957b1404b5b2c95ba392713
2017-06-02 12:18:46 -07:00
TreeHugger Robot
ccb25a3da8
Merge "Moving workspace bind logic into a separate class." into ub-launcher3-dorval-polish
2017-06-01 23:46:40 +00:00
Sunny Goyal
f8d6ed21ce
Moving workspace bind logic into a separate class.
...
This change separates the loading and binding code. Eventually workspace
loading will not depend on bind and we will be able to preload workspace
even before the launcher activity is started.
Bug: 34112546
Bug: 37616877
Change-Id: Ia8e661465cb40ad073b5b76adfc74b9e15633b1d
2017-06-01 15:56:38 -07:00
Tony
acaf5b3a37
Remove gap between popup items
...
- Unround interior corners
- Update colors (shortcuts are gray when next to
notifications, notifications always white)
- Clean up animation to animate entire popup with
simple reveal instead of individual items
animating with reveal and icon scale
Bug: 35766387
Bug: 36110804
Change-Id: I33685d53e2db3904731676123dc230be4dabb5d4
2017-05-31 15:11:43 -07:00
Hyunyoung Song
d5645d406b
Merge "Add debug message to indicate why shortcut has been deleted. b/62088762" into ub-launcher3-dorval-polish
2017-05-31 21:01:09 +00:00
Hyunyoung Song
3a253967df
Add debug message to indicate why shortcut has been deleted.
...
b/62088762
Change-Id: I2bd6104d1f4d76d7bf888615a06088d3405f03c6
2017-05-31 12:08:55 -07:00
Mario Bertschler
2518cfc365
Distignuishing between hotseat/workspace on the logging for opening
...
all apps via swipe/fling.
b/38422894
Change-Id: I84a5fd8df38f70caf887eb0def905756059ccd93
2017-05-30 13:57:05 -07:00
Mario Bertschler
c6e07299c2
Providing a default color extraction implementation.
...
Enabling FeatureFlag LAUNCHER3_GRADIENT_ALL_APPS
Change-Id: I86d982344a4a04a79bde6dce714b1f0bff90f992
2017-05-26 11:36:51 -07:00
Tony Wickham
27af2de5ac
Merge "Log when App info or Widgets system shortcuts are tapped" into ub-launcher3-dorval-polish
2017-05-25 21:40:16 +00:00
Tony Wickham
1d0b0e25dc
Log when App info or Widgets system shortcuts are tapped
...
Sample output:
D/UserEvent: action:LONGPRESS
Source child:APP_ICON, grid(1,3), span(1,1), pageIdx=0 parent:WORKSPACE id=0
Elapsed container 135 ms session 7984 ms action 0 ms
isInLandscapeMode false
isInMultiWindowMode false
D/UserEvent: action:TAP
Source child:WIDGETS_BUTTON parent:DEEPSHORTCUTS
Elapsed container 41 ms session 8906 ms action 0 ms
isInLandscapeMode false
isInMultiWindowMode false
D/UserEvent: action:LONGPRESS
Source child:APP_ICON, grid(1,3), span(1,1), pageIdx=0 parent:WORKSPACE id=0
Elapsed container 184 ms session 11297 ms action 0 ms
isInLandscapeMode false
isInMultiWindowMode false
D/UserEvent: action:TAP
Source child:APPINFO_TARGET parent:DEEPSHORTCUTS
Elapsed container 678 ms session 11976 ms action 0 ms
isInLandscapeMode false
isInMultiWindowMode false
Bug: 37430954
Change-Id: I526edbf1eea551eb8eaddbb27e52058804fee874
2017-05-25 21:37:58 +00:00
TreeHugger Robot
552e6c803c
Merge "Theming on Scrim- and GradientView" into ub-launcher3-dorval-polish
2017-05-25 20:33:26 +00:00
Mario Bertschler
27288381a1
Theming on Scrim- and GradientView
...
Change-Id: I3070b54485a9476ffb71e325cdd45c2bd7ef5c9a
2017-05-25 13:25:05 -07:00
Hyunyoung Song
9c7ed9e9da
Merge "Use View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR API now that it's available b/38431856" into ub-launcher3-dorval-polish
2017-05-25 17:56:21 +00:00