Commit Graph

49925 Commits

Author SHA1 Message Date
The Android Open Source Project 448bf2e182 Import translations. DO NOT MERGE
Change-Id: I06403631d61d5852455e12297cfbfdf1dc3a455a
Auto-generated-cl: translation import
2017-05-02 03:40:19 -07:00
The Android Open Source Project 2023510fea Import translations. DO NOT MERGE
Change-Id: I7384c07c2925bf394171475f74443649f2f7d853
Auto-generated-cl: translation import
2017-05-02 03:39:04 -07:00
Bill Yi 9e9f69540c Import translations. DO NOT MERGE skipped: 3fb17b1ca6
Change-Id: I8ed8e0dbbefcf658f2096ce6a4b2e72d4333140e
2017-05-02 10:36:43 +00:00
The Android Open Source Project 3fb17b1ca6 Import translations. DO NOT MERGE
Change-Id: I06d773eb648c315dd683fdc353be5a3f34e91f2e
Auto-generated-cl: translation import
2017-05-02 03:36:29 -07:00
Jon Miranda 22fbae938c Merge "Remove background scrim when there are no top insets." into ub-launcher3-dorval am: 0b728568f1
am: ce76b9b141

Change-Id: I45531d5dd38ee08b6334b2c0e2c8f18836c18635
2017-05-01 22:44:49 +00:00
Jon Miranda ce76b9b141 Merge "Remove background scrim when there are no top insets." into ub-launcher3-dorval
am: 0b728568f1

Change-Id: I8ff077c0c5761e82e5ecd3bcd363738505d7172e
2017-05-01 22:42:50 +00:00
TreeHugger Robot 0b728568f1 Merge "Remove background scrim when there are no top insets." into ub-launcher3-dorval 2017-05-01 22:33:15 +00:00
Jonathan Miranda f881e916e2 Remove background scrim when there are no top insets. am: b8b48733a9
Change-Id: I183fa5b28bd416968834350f054dcc2467074f75
2017-05-01 22:31:11 +00:00
Jon Miranda e4f0b2ee23 Fade in the FolderIcon stroke after Folder animates closed.
am: bdb5424fae

Change-Id: Id150f61ab5ab77c039d92b036c0abe5c9f692d5b
2017-05-01 22:05:16 +00:00
Jon Miranda bdb5424fae Fade in the FolderIcon stroke after Folder animates closed.
When the Folder animates closed, it hides itself the same
time as the FolderIcon becomes visible. Because the Folder
does not have the white stroke outline, there is a visual
jump between the closed Folder and the FolderIcon.

This change is a subtle and easy step towards reducing
the visual jump.

Bug: 35064148
Change-Id: I8aeeed873e7144499d19f3b01c85bfa8a792097f
2017-05-01 19:07:56 +00:00
Jon Miranda b8b48733a9 Remove background scrim when there are no top insets.
ie. In portrait multiwindow mode, the launcher is always on the
bottom so we can remove the background scrim that is meant to
protect the status bar contents.

Bug: 36397512
Change-Id: Ie9655b0604b5bebafdfb4153b370bb655129051c
2017-05-01 12:05:10 -07:00
Hyunyoung Song 5500d54ea7 Merge "When creating bitmap, do not apply width/height ratio if AdaptiveIconDrawable b/37670867" into ub-launcher3-dorval am: b4c2f07cd3
am: d9125d84ba

Change-Id: I51b24c56efec9f6f92b71fb8f556189e4198137d
2017-04-28 07:38:41 +00:00
Hyunyoung Song d9125d84ba Merge "When creating bitmap, do not apply width/height ratio if AdaptiveIconDrawable b/37670867" into ub-launcher3-dorval
am: b4c2f07cd3

Change-Id: If56ed7ea3476c62348c1912cf94a3c9690c25d4b
2017-04-28 07:36:11 +00:00
TreeHugger Robot b4c2f07cd3 Merge "When creating bitmap, do not apply width/height ratio if AdaptiveIconDrawable b/37670867" into ub-launcher3-dorval 2017-04-28 07:28:14 +00:00
Tony Wickham 24ba787ded Handle back-to-back height reduction animations
We reduce the height of the notification item when the second to last
notification is dismissed (to remove the unused footer) and when the
last notification is removed (to remove the unused notification item).
If the former is runninng when the latter starts, the end result is
janky because we weren't properly cleaning up the first animation when
the second began. We now cancel the existing animation before starting
the second.

Bug: 36172954
Change-Id: I742c15b6f59874bc675b4c20a83e9578ac5e5387
2017-04-27 15:18:37 -07:00
Tony Wickham e794f1033d Re-enable badges, with all dots am: f77a6f7fd7
am: 19d2e7fc55

Change-Id: Idd130cb89d097dd76eb0a695fe1bdf4adeb1f20d
2017-04-27 21:58:29 +00:00
Tony Wickham 19d2e7fc55 Re-enable badges, with all dots
am: f77a6f7fd7

Change-Id: I139ea47c73ee01a2777132f63b1d8add687579b0
2017-04-27 21:49:08 +00:00
Hyunyoung Song 9cb48d4a38 When creating bitmap, do not apply width/height ratio if AdaptiveIconDrawable
b/37670867

Change-Id: I60884c52e7eb4b2d6f0ae2a5dc8e7c730f1f2454
2017-04-27 14:19:58 -07:00
Tony Wickham f77a6f7fd7 Re-enable badges, with all dots
Also updated folder badge (dot) color to light gray,
added notification header back (with same number as
before, where each notification counts as >= 1),
and increased shadow opacity for the dots.

Change-Id: I53a3e0d94f23f482b55b3c10a922939ebb381314
2017-04-27 14:04:56 -07:00
Tony Wickham df62796cd8 Remove notification listener to disable badging am: ead1680e96
am: 22f8f9fc4b

Change-Id: I9519a6c8132213a4ff133a6ad79cd14d31f526bd
2017-04-27 20:38:13 +00:00
Tony Wickham 22f8f9fc4b Remove notification listener to disable badging
am: ead1680e96

Change-Id: Ie83df1b0dc9dba350ff65d8cc96d324ca79e0ae0
2017-04-27 20:36:43 +00:00
Tony Wickham ead1680e96 Remove notification listener to disable badging
Bug: 37748653
Change-Id: I80d9f7c5274604f552113c7be0319d5cd454b29c
2017-04-27 12:57:05 -07:00
Hyunyoung Song 58df94c70a Merge "[MANUAL] resolve merge conflicts of 59c0e0e91 to ub-launcher3-dorval-polish" into ub-launcher3-dorval-polish
am: 3533d3d0df

Change-Id: I71b7112898396f2cde60c6ff2471bcb76c05350f
2017-04-27 19:05:21 +00:00
TreeHugger Robot 3533d3d0df Merge "[MANUAL] resolve merge conflicts of 59c0e0e91 to ub-launcher3-dorval-polish" into ub-launcher3-dorval-polish 2017-04-27 18:52:59 +00:00
Hyunyoung Song 377d311ba9 Merge "Only apply legacy treatment on app icons that is targeting O" into ub-launcher3-dorval am: 59c0e0e919 -s ours
am: 705402b4db

Change-Id: Ibee7d985bb52fef3199042dece38beb2e14bb1ea
2017-04-27 18:51:20 +00:00
Hyunyoung Song 705402b4db Merge "Only apply legacy treatment on app icons that is targeting O" into ub-launcher3-dorval
am: 59c0e0e919  -s ours

Change-Id: I3a73996d1a753388bbafd3352dbda5fc5f506bc7
2017-04-27 18:45:50 +00:00
Hyunyoung Song 09204172b3 [MANUAL] resolve merge conflicts of 59c0e0e91 to ub-launcher3-dorval-polish
Change-Id: I7c80b665b5216e99284f5b04b8500fc35d916985
2017-04-27 11:43:47 -07:00
Sunny Goyal da1dfa32d0 Creating a custom drawable to customize shadow.
> Fixing DrapTargetBar set to visible (with alpha = 0) in the start
causing unnecessary draw

Bug: 37616877
Change-Id: Iaaff96099910f504f6e2f81c9376ddacde50ff6a
2017-04-27 05:35:28 -07:00
Hyunyoung Song 59c0e0e919 Merge "Only apply legacy treatment on app icons that is targeting O" into ub-launcher3-dorval 2017-04-27 04:03:40 +00:00
Tony Wickham 51f438e043 Support notifications with 0 count (show as dots) am: 0530e8c608
am: f73161b883

Change-Id: I713a9d443b957f00b4386f6251367c88d5c39d04
2017-04-27 03:03:33 +00:00
Tony Wickham f73161b883 Support notifications with 0 count (show as dots)
am: 0530e8c608

Change-Id: I6ec98b093fbd297d2f57bea91c0eb6b051c4b3c5
2017-04-27 03:01:02 +00:00
Tony Wickham 0530e8c608 Support notifications with 0 count (show as dots)
- Show number if number > 0
- Show icon if number == 0 and a notification specified an icon to show
- Show a dot otherwise
- In cases of multiple notifications, stack a second badge behind the
  first (visuals will be updated in future CL, as well as support
  stacked dots)
- Folders always show dot if any app within has a badge.

Change-Id: I0a89059b0e0a0d174fe739c9da4f75fa18c0edfa
2017-04-26 19:39:05 -07:00
Hyunyoung Song 7ed6101218 Only apply legacy treatment on app icons that is targeting O
For shortcuts, always apply legacy treatment.

b/37357483

Change-Id: I45f373ee0bb9436bc5029c88855ecb80b93fe277
2017-04-26 13:45:54 -07:00
Sunny Goyal a6c5c2d8ae Merge "Updating color extraction to include wallpaper theme color. Also adding mathods and callbacks to pass the related data to the callbacks." into ub-launcher3-dorval-polish
am: 83519d3fb1

Change-Id: Ibb4daeaa611d84bdcb76ccd1b3caffd40a03512d
2017-04-26 18:44:09 +00:00
TreeHugger Robot 83519d3fb1 Merge "Updating color extraction to include wallpaper theme color. Also adding mathods and callbacks to pass the related data to the callbacks." into ub-launcher3-dorval-polish 2017-04-26 18:36:32 +00:00
Jonathan Miranda e30a4d1734 Merge "Set the alpha to 1 when overview button is focused." into ub-launcher3-dorval am: b85f5dfcba
am: b0086a8945

Change-Id: I59e0cc1f7683143886884de3bcf4c250a4df9cb1
2017-04-26 18:01:06 +00:00
Jonathan Miranda b0086a8945 Merge "Set the alpha to 1 when overview button is focused." into ub-launcher3-dorval
am: b85f5dfcba

Change-Id: I14d1b89986502047eb36b2c64d0656f9f9616e0b
2017-04-26 17:59:06 +00:00
Jonathan Miranda b85f5dfcba Merge "Set the alpha to 1 when overview button is focused." into ub-launcher3-dorval 2017-04-26 17:53:25 +00:00
Tony Wickham 71102958b6 Merge "Move update popup header out of BubbleTextView" into ub-launcher3-dorval am: 59c4ae4d89
am: d4aac0a028

Change-Id: I1d41e4dee96af65e80646a0d5425b21982572876
2017-04-26 16:02:58 +00:00
Tony Wickham d4aac0a028 Merge "Move update popup header out of BubbleTextView" into ub-launcher3-dorval
am: 59c4ae4d89

Change-Id: I7d70478ccf17c74c65bab16641f888c105899799
2017-04-26 15:59:58 +00:00
TreeHugger Robot 59c4ae4d89 Merge "Move update popup header out of BubbleTextView" into ub-launcher3-dorval 2017-04-26 15:56:19 +00:00
Tony Wickham 9cc99a7a11 Merge "Fix updateIconBadges() in All Apps" into ub-launcher3-dorval am: d570c0401c
am: ca0cc05076

Change-Id: I7fc2d5e15c74ab71cce917cb144bb367c2e907f2
2017-04-26 15:53:58 +00:00
Tony Wickham ca0cc05076 Merge "Fix updateIconBadges() in All Apps" into ub-launcher3-dorval
am: d570c0401c

Change-Id: Ife54bfe7a33d98bae7e71cecdc577e70fe6997e6
2017-04-26 15:50:58 +00:00
Tony Wickham 2fe09f24eb Move update popup header out of BubbleTextView
Now we update from Launcher, which is both more efficient (only run it
when badges update, not whenever BubbleTextView applies an ItemInfo) and
more logical/cleaner.

Change-Id: Ib77433d9489c29e9781b3a48de37de0e07b5ba07
2017-04-26 08:46:39 -07:00
TreeHugger Robot d570c0401c Merge "Fix updateIconBadges() in All Apps" into ub-launcher3-dorval 2017-04-26 15:46:21 +00:00
Sunny Goyal 5e7b238a93 Updating color extraction to include wallpaper theme color.
Also adding mathods and callbacks to pass the related data to the callbacks.

Bug: 37616877
Change-Id: I7512cac7a603e8e5a05ec3a360c9eec493344b00
2017-04-26 08:42:05 -07:00
Jon Miranda 4e08b5b8ba Set the alpha to 1 when overview button is focused.
Bug: 37569953
Change-Id: I5c2acde3b5b443fe21e869d52bb9d2f8d98a914d
2017-04-26 08:39:12 -07:00
Tony Wickham 4926ebfe6d Fix updateIconBadges() in All Apps
Instead of notifyItemChanged(), we iterate over children of the
RecyclerView itself and call applyBadgeState() on affected icons.
This is the same logic we do for the workspace.

Issues this fixes:
- Icons flash when dismissing notifications
- Badge reappears on the icon while popup is open

Change-Id: I5c69d5c6bd47630c0241666b5f7f6f7ca97118f9
2017-04-26 08:39:12 -07:00
Bill Yi 6e156600a8 Import translations. DO NOT MERGE am: 7e07755349 -s ours
am: e97b97049b  -s ours

Change-Id: I7523a4c1135529fd8cf5400973955e344f3b051d
2017-04-26 15:26:54 +00:00
Bill Yi e97b97049b Import translations. DO NOT MERGE
am: 7e07755349  -s ours

Change-Id: I6aa35ce50bccc64a9d20d0db56777d913fb7abd8
2017-04-26 15:24:25 +00:00