Commit Graph

6491 Commits

Author SHA1 Message Date
Sunny Goyal 27687f31c0 Initializing the Add To Homescreen setting by reading it from market app am: 3e443a2457
Change-Id: I53fed693082c4733f9fffc542998885231f54eaf
2017-05-03 18:25:04 +00:00
Sunny Goyal 3e443a2457 Initializing the Add To Homescreen setting by reading it from market app
> Also enabling add to home-to-homescreen feature based on install reason

Bug: 36588249
Change-Id: Icfc1edd4c31ed7eb50086f8ffb1a7858a9641b41
2017-05-03 11:24:54 -07:00
Tony Wickham 6484fe3748 Merge changes from topic 'am-58d0617b-47f2-44b7-ac1f-c278ee055d1e' into ub-launcher3-master
* changes:
  Merge commit 'e3c59256794448c67e01333a9f5036559b1bd502' into am-58d0617b-47f2-44b7-ac1f-c278ee055d1e
  Use source bounds/activity options for App Info System Shortcut
2017-05-03 18:20:41 +00:00
Tony Wickham debc046b89 Merge commit 'e3c59256794448c67e01333a9f5036559b1bd502' into am-58d0617b-47f2-44b7-ac1f-c278ee055d1e
* commit 'e3c59256794448c67e01333a9f5036559b1bd502':
  Use source bounds/activity options for App Info System Shortcut

Change-Id: Ic7e89e1f2de44198ab95308095b17447d27f0c0d
2017-05-03 11:17:13 -07:00
Mario Bertschler c9c955a9fd Merge "All Apps transition with gradient and scrim." into ub-launcher3-dorval-polish
am: db67e7c7a3

Change-Id: I2d418d73b3957938ab6072e92fdd69ac45d385e7
2017-05-03 18:06:51 +00:00
Mario Bertschler db67e7c7a3 Merge "All Apps transition with gradient and scrim." into ub-launcher3-dorval-polish 2017-05-03 18:04:11 +00:00
Mario Bertschler 48198d004a All Apps transition with gradient and scrim.
The transition is behind a feature flag and
turned off by default.

Change-Id: I155840ba82b5a573d874376797db5f739a52d706
2017-05-03 10:32:57 -07:00
Tony e3c5925679 Use source bounds/activity options for App Info System Shortcut
Bug: 37923215
Change-Id: I6c3e64b7a98223ab26fde80c0a86dd169200065f
2017-05-02 21:32:27 -07:00
Hyunyoung Song 0811bc5003 Merge "Uninstalling app from recent apps shelf should not leave a hole." into ub-launcher3-dorval
am: 6d163e0fe7

Change-Id: Ib56767f618cbaa3b63afa6871819fd9c85a43747
2017-05-03 00:10:04 +00:00
Hyunyoung Song 6d163e0fe7 Merge "Uninstalling app from recent apps shelf should not leave a hole." into ub-launcher3-dorval 2017-05-03 00:04:10 +00:00
Hyunyoung Song 5ae6832a9f Uninstalling app from recent apps shelf should not leave a hole. am: 51114f2ad3
Change-Id: Ibe932f41a23036ee76af3a5d41d5cc83b1345419
2017-05-02 23:32:06 +00:00
Hyunyoung Song 51114f2ad3 Uninstalling app from recent apps shelf should not leave a hole.
Bug: 37751234
Change-Id: Ie36d2ab1a24523e5061582dbc0ee347444da8a78
2017-05-02 16:31:47 -07:00
Tony Wickham 2526ba8215 Merge "Relax notification filter for badges" into ub-launcher3-dorval
am: 61682f2fd4

Change-Id: I9e87d0b152a4dc60bb23454a9993ef73747d0636
2017-05-02 21:25:22 +00:00
Tony Wickham 61682f2fd4 Merge "Relax notification filter for badges" into ub-launcher3-dorval 2017-05-02 21:19:14 +00:00
Tony Wickham 40b70f6aa2 Merge changes from topic 'am-30a6fdd8-4f75-4d91-832e-e4ef27006722' into ub-launcher3-master
* changes:
  Relax notification filter for badges am: 4441055233
  Relax notification filter for badges
2017-05-02 21:19:14 +00:00
Tony Wickham 9d02a3ddd6 Merge "Handle back-to-back height reduction animations" into ub-launcher3-dorval
am: aaff476c3d

Change-Id: I31a2d3628fa2413d0c2bac4fc0b37c27a029b6d0
2017-05-02 21:13:22 +00:00
Tony Wickham 0228b32ce0 Merge "Close Folder when opening WidgetsBottomSheet" into ub-launcher3-dorval
am: 2bb1e74ccf

Change-Id: I6442f823d6c276add4ddb2275c5ed20aad8b29e4
2017-05-02 21:11:22 +00:00
Tony Wickham aaff476c3d Merge "Handle back-to-back height reduction animations" into ub-launcher3-dorval 2017-05-02 21:09:27 +00:00
Tony Wickham dc2d707a38 Merge changes from topic 'am-c58363b2-325e-41bd-baab-3a46a1cb158f' into ub-launcher3-master
* changes:
  Handle back-to-back height reduction animations am: 24ba787ded
  Handle back-to-back height reduction animations
2017-05-02 21:09:27 +00:00
Tony Wickham 2bb1e74ccf Merge "Close Folder when opening WidgetsBottomSheet" into ub-launcher3-dorval 2017-05-02 21:05:07 +00:00
Tony Wickham cbc173d14f Relax notification filter for badges am: 4441055233
Change-Id: I75921ed9fd8131bef4eed54e29a265aaa9145e27
2017-05-02 21:02:56 +00:00
Tony Wickham 4441055233 Relax notification filter for badges
- Allow notifications with only title or text, not both (centered in popup)
- Allow notifications without an intent (don't add onClickListener)

Change-Id: I33d9bdbe0d27347d703b6fb81eda64ebdc7429d5
2017-05-02 14:02:37 -07:00
Tony Wickham 26852c6d5f Close Folder when opening WidgetsBottomSheet am: 8897b4167e
Change-Id: I615507af33639d758f5ddafe739f30957b4f0c49
2017-05-02 20:48:54 +00:00
Tony Wickham 8897b4167e Close Folder when opening WidgetsBottomSheet
Dragging a shortcut from the bottom sheet to the open folder crashes.

Bug: 37810233
Change-Id: I82c953dd67528f9f1bc5a678650e87215af347a2
2017-05-02 13:48:30 -07:00
Tony Wickham 84b32ceb5c Handle back-to-back height reduction animations am: 24ba787ded
Change-Id: I55e483165f2cbd6a09aec94aede78971f8257f20
2017-05-02 20:45:05 +00:00
Sunny Goyal cbdfe0d0ea Merge "Creating a custom drawable to customize shadow." into ub-launcher3-dorval-polish
am: 41fae0a1a2

Change-Id: Ifad58277d67aad491ad37c0244fa0c98ee1c3608
2017-05-02 17:33:41 +00:00
TreeHugger Robot 41fae0a1a2 Merge "Creating a custom drawable to customize shadow." into ub-launcher3-dorval-polish 2017-05-02 17:29:21 +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
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
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