Commit Graph

78507 Commits

Author SHA1 Message Date
Sunny Goyal 889495d8dd Updating gradle and build tools version
Change-Id: I269788d6d7798a5324a9170935c31a7c565cc214
2017-04-13 11:25:07 -07:00
Bill Yi 98978d67f3 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval
am: 14a499aff7  -s ours

Change-Id: I7a38bb24889a07de191e80eccccd32c4ce148a8b
2017-04-13 14:03:16 +00:00
TreeHugger Robot 14a499aff7 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval 2017-04-13 13:52:06 +00:00
Bill Yi 2af7e1e574 Import translations. DO NOT MERGE
Change-Id: Ic0fcaa61a226e5123cc22713911a4d5113d39400
Auto-generated-cl: translation import
2017-04-13 03:57:49 -07:00
Tony Wickham 5a2a655475 Merge "Add app info icon with no shadow for popup" into ub-launcher3-dorval
am: 25e8f6d83e

Change-Id: I8ea2798c98033d395e4afbbb5d86957518f33c22
2017-04-12 22:47:13 +00:00
Tony Wickham 25e8f6d83e Merge "Add app info icon with no shadow for popup" into ub-launcher3-dorval 2017-04-12 22:35:51 +00:00
Tony Wickham d690d68f97 Add app info icon with no shadow for popup
- Also changed opacities of the system shortcut icons to match spec
  (38% black in header, 54% when expanded view is shown)

Bug: 35766387
Change-Id: I73881bf1c72c98d78a38d82c632c4954b02eff4e
2017-04-12 14:38:37 -07:00
Tony Wickham 616bb65051 Merge "Remove reflection for a couple of methods" into ub-launcher3-dorval
am: 46b3a13528

Change-Id: I193c67e00b8c6fe88602a90e066252c69cc79e42
2017-04-12 00:40:18 +00:00
TreeHugger Robot 46b3a13528 Merge "Remove reflection for a couple of methods" into ub-launcher3-dorval 2017-04-12 00:35:01 +00:00
Tony Wickham bb3c1f8f7c resolve merge conflicts of ce44516dd to ub-launcher3-master
Change-Id: I6f4455c1d4bedf778850acbb1e1c7372d532e13a
2017-04-11 17:26:50 -07:00
Tony Wickham ce44516dd8 Update popup to match redlines
- Update specs in dimens.xml and colors.xml
- Move notification count to top right, and keep "Notifications" in left
    - Also removed NotificationHeaderView and instead use FrameLayout
- Limit to 2 shortcuts instead of 3 if there are notifications
- Use SP instead of DP for text (b/35869307)

Bug: 35766387
Change-Id: I892640933ad6351946af3df6c805b98bb4e7cb50
2017-04-11 16:44:38 -07:00
Tony Wickham 8eaa8e64ac Remove reflection for a couple of methods
Bug: 36855196
Change-Id: I3e6b2901d1c12fffd0172e85df98e2e17e737168
2017-04-11 16:39:58 -07:00
Tony Wickham 7fc94d7aac Merge "Disable notification listener on pre-26" into ub-launcher3-dorval
am: cd4cc97f6f

Change-Id: I6e1a2de2ece9308f057e6cdea1a3a50b2dd32962
2017-04-10 23:31:42 +00:00
Tony Wickham cd4cc97f6f Merge "Disable notification listener on pre-26" into ub-launcher3-dorval 2017-04-10 23:19:52 +00:00
Tony Wickham 5632e183f3 Disable notification listener on pre-26
Also remove isAtLeastO() checks in NotificationListener

Bug: 35443111
Bug: 37207407
Change-Id: If3eef406328f73d114d826e6c8a158bdc3788cac
2017-04-10 15:31:43 -07:00
Sunny Goyal 7019716620 Merge "Marking icon paths as non-translatable" into ub-launcher3-dorval
am: 3b31df70ea

Change-Id: I1130bc6e1a55f92ded5e44fd2c571e8d47013099
2017-04-10 18:41:54 +00:00
TreeHugger Robot 3b31df70ea Merge "Marking icon paths as non-translatable" into ub-launcher3-dorval 2017-04-10 18:36:48 +00:00
Tony Wickham 7178a4b4fe Merge "Only create one bitmap to clip popup item corners" into ub-launcher3-dorval
am: d4cb1f476d

Change-Id: I19fa53d61049a6c65fd59a22fcb2d2f2d069283c
2017-04-10 16:41:17 +00:00
Tony Wickham d4cb1f476d Merge "Only create one bitmap to clip popup item corners" into ub-launcher3-dorval 2017-04-10 16:33:36 +00:00
Sunny Goyal c3c4447fa6 Marking icon paths as non-translatable
Change-Id: Ifbe6c5a7edbc3ea361ae4a8ee38f9cde681813dc
2017-04-10 08:27:56 -07:00
Bill Yi 4c6d0facf7 Import translations. DO NOT MERGE
am: 51c4369af1  -s ours

Change-Id: Ie23e43e7b7828c9eb42af3dc2b0b51419e2cc443
2017-04-08 05:52:39 +00:00
TreeHugger Robot 51bc9c07aa Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2017-04-08 05:45:22 +00:00
Bill Yi c974115e06 Import translations. DO NOT MERGE
Change-Id: I5d54346e6ef1cc6b38229156698bf870035d2884
Auto-generated-cl: translation import
2017-04-07 22:22:41 -07:00
Bill Yi 51c4369af1 Import translations. DO NOT MERGE
Change-Id: I8caf65bc71dd6114dc08746f69f693a8da9799f6
Auto-generated-cl: translation import
2017-04-07 22:20:58 -07:00
Tony Wickham 36579219de Only create one bitmap to clip popup item corners
Previously we created a bitmap the size of the entire popup item and
drew a rounded rect in it to clip the corners. Now we create a bitmap
that is only the size of the rounded corner radius, and rotate and
translate it to all four corners to achieve the same clipping.

Besides the reduced memory of this approach, it also simplifies things
when we reduce the item's height (e.g. when the second to last
notification is dismissed), because we no longer have to recreate the
background bitmap to match the new size; the translation calculations
in dispatchDraw() automatically take the current size into account.

Bug: 35869307
Change-Id: I938bbc4bd87479580287426b4197516caf1a64d4
2017-04-07 14:30:25 -07:00
Hyunyoung Song 18c51d29b0 Merge "Launcher dump proto that will be used for:" into ub-launcher3-dorval
am: 0aa685bb6f  -s ours

Change-Id: I4aba83e96c2c0ef0153122f47c6f6a2d509f3ff0
2017-04-07 17:44:53 +00:00
Hyunyoung Song 0aa685bb6f Merge "Launcher dump proto that will be used for:" into ub-launcher3-dorval 2017-04-06 22:42:10 +00:00
Hyunyoung Song 72bdf27a3a [cleanup] Shadows should not be clipped on AdaptiveIconDrawable b/36702964
am: 830cca665c

Change-Id: Ib2a0e622cd480dbfea2ce59adc8a82f98ef2dac3
2017-04-06 16:40:44 +00:00
Hyunyoung Song 830cca665c [cleanup] Shadows should not be clipped on AdaptiveIconDrawable
b/36702964

Change-Id: I28d460eee6de84cd74866223b92d43274d64d334
2017-04-05 15:20:00 -07:00
Hyunyoung Song a3b60c97c6 Shadows should not be clipped on AdaptiveIconDrawable b/36702964
am: d02a29a502

Change-Id: Ia2f9a287f6f4409c4f16b5cd27364ef28a5b8bd4
2017-04-05 20:53:55 +00:00
Hyunyoung Song d02a29a502 Shadows should not be clipped on AdaptiveIconDrawable
b/36702964

Change-Id: Ic7363196aa493b4aa6a2dffa9c3e8f3399b1b3f3
2017-04-05 13:15:13 -07:00
Tony Wickham 6c300c89ec resolve merge conflicts of 128b7e59a to ub-launcher3-master
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I927373593dfb1b67b504a76b1ad013357b363a6e
2017-04-05 13:14:01 -07:00
Tony Wickham 128b7e59a1 Merge "Add support for getting widgets/shortucts for a particular package/user" into ub-launcher3-dorval 2017-04-05 19:54:40 +00:00
Hyunyoung Song e295acaeb3 Launcher dump proto that will be used for:
$ adb shell dumpsys activity provider com.android.launcher3/com.android.launcher3.LauncherProvider
To see how the proto is filled: go/launcher-proto-dump

b/31772480

Change-Id: I8e0f1e5e38148a3dfeabd2fc057392193b2625dd
(cherry picked from commit 6aa3729e98)
2017-04-04 23:06:30 +00:00
Sunny Goyal 2dbcfb6cb0 Build fix
Change-Id: I2395421f19e68f33d427485039aca42094a0154f
2017-04-04 16:03:07 -07:00
Tony Wickham 86222d23e2 Add support for getting widgets/shortucts for a particular package/user
Bug: 34940468
Bug: 33553066
Change-Id: I5d0131df206c6a13d4227ad28c5b094bbf1343df
2017-04-04 14:36:52 -07:00
Sunny Goyal 740e90144a Adding support for dynamically change icon shape for AdaptiveIcons
am: ca18746163

Change-Id: Ic4c14ad1760930735a881926aac8b45efe0cdba0
2017-04-04 19:52:22 +00:00
Sunny Goyal ca18746163 Adding support for dynamically change icon shape for AdaptiveIcons
> This would allow developers to verify their icon designs on different
device configurations
> This settings is only visible when developer settings is enabled

Change-Id: I7e32abfede001c134f23390734dcd39c93b68b9a
2017-04-04 12:33:59 -07:00
Tony Wickham 972f20f3e3 Small UI fix for widgets/app info shortcuts
am: 2f54a1625a

Change-Id: I3cdd215d4eca70c684ca88f763caeb829a7ce930
2017-04-03 23:45:48 +00:00
Tony Wickham 2f54a1625a Small UI fix for widgets/app info shortcuts
- Switch order of widgets & more and app info.
- Start binding widgets after starting to update these shortcuts on the
  UI thread, so that they will show up without waiting for the bind
  logic, which can take a while. We already have a callback mechanism
  for enabling widgets & more after widgets are bound, so this was how
  it was supposed to work already.

Change-Id: I5f702f9c0814d30acf6298be309c6dc30727316e
2017-04-03 15:58:50 -07:00
Hyunyoung Song 624e2b0083 Merge "IconNormalizer cleanup" into ub-launcher3-master 2017-04-03 22:24:42 +00:00
Sunny Goyal 39cdddd349 Clearing icon cache due to system app icon changes (without any SDK change)
am: 9b5a97585f

Change-Id: Iabb80368e02245d1426ada9fc13afaf279073bbb
2017-04-03 21:28:09 +00:00
Sunny Goyal 9b5a97585f Clearing icon cache due to system app icon changes (without any SDK change)
Bug: 36366450
Change-Id: I23b77bd2bff292dee0e9ec576ba49f03e34628a6
2017-04-03 14:12:52 -07:00
Tony Wickham 7022ba3bf1 Merge "Temporarily use reflection to get notification badge icon type" into ub-launcher3-dorval
am: 39a99e7098

Change-Id: I0fdc617a99d608aef61bd2dd3849467345cfba48
2017-04-03 17:50:25 +00:00
TreeHugger Robot 39a99e7098 Merge "Temporarily use reflection to get notification badge icon type" into ub-launcher3-dorval 2017-04-03 17:44:14 +00:00
Tony Wickham a4736df685 Temporarily use reflection to get notification badge icon type
Bug: 36855196
Change-Id: I408a98140c68f38327a6cd8ce4cc46c5f2fe34e6
2017-04-03 10:18:42 -07:00
Hyunyoung Song 0d834f2a0a IconNormalizer cleanup
> Remove unnecessary member variable

Change-Id: Id497ba86f3a4b968fa467df3791e92ae85495495
2017-04-03 00:26:45 -07:00
TreeHugger Robot 0f9e5321d6 Merge "code cleanup: regarding Favorites debug logging" into ub-launcher3-master 2017-04-01 06:55:12 +00:00
TreeHugger Robot 07372b5333 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2017-03-31 21:50:30 +00:00
Bill Yi 7e30171b0e Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval
am: aa57e97dc8  -s ours

Change-Id: I976c02812a9c66a291a34de15f8b93aebc923585
2017-03-31 21:28:32 +00:00