Commit Graph

78507 Commits

Author SHA1 Message Date
Tony Wickham 33eafc6328 Merge commit 'refs/changes/42/2374342/1' of sso://googleplex-android/platform/packages/apps/Launcher3
Change-Id: I85dc9f76f21ebbe156ef68bcb5a11c28c8d871ba
2017-06-08 22:12:46 +00:00
Mario Bertschler 6d55202c9b Trigger theme change if supportsDarkText is switching.
Change-Id: Id5ec0429b5fb94d742dfac093263144f71f0d6b7
2017-06-08 15:12:20 -07:00
TreeHugger Robot dc376278d8 Merge "Revert "Merge commit 'refs/changes/42/2374342/1' of sso://googleplex-android/platform/packages/apps/Launcher3 into dots-color"" into ub-launcher3-master 2017-06-08 22:12:04 +00:00
Tony Wickham 6f1118a919 Revert "Merge commit 'refs/changes/42/2374342/1' of sso://googleplex-android/platform/packages/apps/Launcher3 into dots-color"
This reverts commit 0316c12062.

Change-Id: I166af3bd287b0c9c0aad6430c0f9ec50961c8f3c
2017-06-08 22:04:23 +00:00
Mario Bertschler b4f2fc7fae Merge "Use extracted color for scrim in overview mode." into ub-launcher3-dorval-polish
am: 1ab7f3bf24

Change-Id: Ib11100e0db37f35856ce7e8d8dd6a779910c69f4
2017-06-08 21:48:47 +00:00
TreeHugger Robot 1ab7f3bf24 Merge "Use extracted color for scrim in overview mode." into ub-launcher3-dorval-polish 2017-06-08 21:45:48 +00:00
Sunny Goyal fef486704a Merge "Adding a utility method for getting device prefs" into ub-launcher3-dorval-polish
am: 9f3d584b65

Change-Id: Ib3acc5b9d67a1703c800ea59138aa62c1f3c7126
2017-06-08 21:41:17 +00:00
Mario Bertschler ff4f201fad Use extracted color for scrim in overview mode.
Change-Id: Ia24dbf69a64cb0b84da9985a5dd78ca699e7bed1
2017-06-08 14:36:20 -07:00
TreeHugger Robot 9f3d584b65 Merge "Adding a utility method for getting device prefs" into ub-launcher3-dorval-polish 2017-06-08 21:32:52 +00:00
Tony Wickham 7092db0241 Add support for color extracted notification dots
Changing the badge_color in colors.xml to transparent
will cause them to be color extracted.

When an extracted color is used in the IconPalette, we
desaturate the background. Otherwise we respect the
exact color specified in colors.xml.

Change-Id: Ie82d0c5335fa5f24d4cc47766e4c1719c4916f8b
2017-06-08 21:08:47 +00:00
Sunny Goyal 9d887a2c45 Adding a utility method for getting device prefs
Change-Id: I1e3c7df0a3f4e847b40d722d44890e441cc73509
2017-06-08 14:00:54 -07:00
Tony Wickham 0316c12062 Merge commit 'refs/changes/42/2374342/1' of sso://googleplex-android/platform/packages/apps/Launcher3 into dots-color
Change-Id: I85d3d443fcdc4f738da7040178eaab01dd881856
2017-06-08 21:00:37 +00:00
Tony Wickham 0245690671 Updating icon badging string to "Notification dots" am: 85b64c7da0
am: 16c3e91949

Change-Id: I31c8d9c694a93a2125ccc6cd3068bd10ee88cfc0
2017-06-08 20:08:40 +00:00
Tony Wickham 16c3e91949 Updating icon badging string to "Notification dots"
am: 85b64c7da0

Change-Id: Ibbdb9576502673ea1229c78a4d0027c4a50a18a8
2017-06-08 20:05:10 +00:00
Tony Wickham 58c174692f Updating icon badging string to "Notification dots" am: 85b64c7da0
Change-Id: Ied60704fb927cd03201d362283d6a1e9264aa58d
2017-06-08 19:18:40 +00:00
Tony Wickham 85b64c7da0 Updating icon badging string to "Notification dots"
Change-Id: Ie3193c8aae8fee5860274ba6823b0cdfe25b1083
2017-06-08 19:18:31 +00:00
Mario Bertschler ca20dc56b7 Dark text support for caret, drop target text and cell layout drop outline
am: 54ba601a99

Change-Id: Ie3169f9bbbeaae3d9d8c3826d93666ac1857a35b
2017-06-08 18:17:36 +00: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 245a575be9 Merge "Dark color on super light wallpaper support" into ub-launcher3-dorval-polish
am: 9483c6f4ed

Change-Id: I2592bc5811c8dcb0742c4fcc888c117cb2bee83c
2017-06-08 17:51:30 +00: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
Sunny Goyal e86f11fa38 Adding support for loading workspace in the absence of Launcher.
> LoadWorkspace can be called with a LoaderResult which does not bind anything.
> Synchronous bind does not look for a valid page id, and will fallback to the
  current pageId similar to full load flow

Bug: 37616877
Change-Id: If14491dc79c5b85ae1019cc93e4e08759df3387d
2017-06-08 09:39:34 -07:00
Sunny Goyal 9d2d6a507d Merge "Adding utility method to temporarily hide scrollbar" into ub-launcher3-dorval-polish
am: 4efee85b75

Change-Id: If666d7b470cb3c4787a870235134dfa494de06e7
2017-06-08 01:43:46 +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 8dd654c9dd Refactor and generalize SpringAnimationHandler.
am: 5c83e7cdc5

Change-Id: I3fa69b3ab59badf589657a1dfc539481710e34b8
2017-06-07 23:00:03 +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
Jon Miranda ea98dd6703 Merge "Fix bug where physics appears not to run in all apps." into ub-launcher3-dorval-polish
am: 3a5b835297

Change-Id: I98bf8fe0e3951a2e4db7c7a01750729da3bc77f1
2017-06-07 20:36:50 +00: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
Sunny Goyal fd62e7eb20 Adding tint support for shadow drawable.
am: d9a2187621

Change-Id: If2db63380a409e932fb023d2c56070ebc6574299
2017-06-07 20:20:49 +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
Tony Wickham cd1eb60173 Merge "Generalize findContrastColor() to work for dark backgrounds" into ub-launcher3-dorval-polish
am: f6add46e5e

Change-Id: Iae3596e3f37e7ea8cda17f3fcf3cc90efb6246be
2017-06-07 01:03:11 +00: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
Sunny Goyal a56bc452c4 Merge "Removing QsbBlockerView" into ub-launcher3-dorval-polish
am: da84e97947

Change-Id: Ia5c93304e1da31992d6bb1288a1e389e72972787
2017-06-07 00:55:11 +00:00
TreeHugger Robot da84e97947 Merge "Removing QsbBlockerView" into ub-launcher3-dorval-polish 2017-06-07 00:47:56 +00:00
Tony Wickham 16ff67c25c Merge "Don't use CharSequence as notification text" into ub-launcher3-dorval-polish
am: c094a3accb

Change-Id: I0de26606144564bcb23671032ce31f72faab5db9
2017-06-07 00:45:39 +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 052355006e Merge "Add support for popup dark theme" into ub-launcher3-dorval-polish
am: 15fcdbed07

Change-Id: I3fb6540ef98c5d00a438d3095d54e876af92bf17
2017-06-07 00:03:35 +00: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 2a3f676aa2 Merge "Prevent clipping on the top and left side on AdaptiveIconDrawables b/62372639" into ub-launcher3-dorval am: 88082394eb
am: 9be3585f7f

Change-Id: I8da55962b11fd0834616037ef280957d483ab8c2
2017-06-06 21:19:51 +00: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
Jonathan Miranda c7028c9295 Merge "Revert "Decrease jank in all apps physics."" into ub-launcher3-dorval-polish
am: 7e6e96dabd

Change-Id: Ib9530791fce08503d1a57e926a9e283a6162c058
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