Sunny Goyal and Android (Google) Code Review
519fbdb2b3
Merge "Simplifying some launcher themes" into ub-launcher3-master
2017-02-17 17:53:58 +00:00
TreeHugger Robot and Android (Google) Code Review
dd88dd16c5
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master
2017-02-17 07:43:38 +00:00
Bill Yi and android-build-merger
3cfa7d919f
Import translations. DO NOT MERGE
...
am: e5c99a2140 -s ours
Change-Id: Ifffdd23bc65534039a330bf77ceffaba418982ba
2017-02-17 07:40:20 +00:00
Bill Yi
953f9f90c5
Import translations. DO NOT MERGE
...
Change-Id: Id2b9f6fbdd4aea3663ba8e418888bac8cf956da3
Auto-generated-cl: translation import
2017-02-16 23:31:06 -08:00
Bill Yi
e5c99a2140
Import translations. DO NOT MERGE
...
Change-Id: If87152e5d565c37127110756f1185f82833ec685
Auto-generated-cl: translation import
2017-02-16 23:30:20 -08:00
Adam Cohen and Android (Google) Code Review
09f5a96a71
Merge "Add notification listener back to the manifest" into ub-launcher3-master
2017-02-17 00:50:57 +00:00
Tony
4d8019abf4
Add notification listener back to the manifest
...
This reverts commit d27b65d4d0 .
Also added boolean to values/ and values-v25/ and values-v26/
to enabled/disable the listener by API version.
Bug: 35443111
Bug: 33553066
Change-Id: I69465c720f3b3eca7ae2025e01c315720862bec8
2017-02-16 16:38:54 -08:00
Sunny Goyal
1f3f07d47c
Simplifying some launcher themes
...
> Replacing some colors with theme attributes
> Simplifying styles definition by removing unnecessary inheritance and inlining some definitions
Change-Id: Ifa167515cae6a7fd3720f1a52ff9ce11abb4495f
2017-02-16 15:24:37 -08:00
Tony Wickham and Android (Google) Code Review
2f64ffe53e
Merge "Ensure that filtered notifications are removed from BadgeInfo." into ub-launcher3-master
2017-02-16 23:17:31 +00:00
TreeHugger Robot and Android (Google) Code Review
93bc3c1e41
Merge "Separating methods for updating the model to a sepatate class." into ub-launcher3-master
2017-02-16 21:56:39 +00:00
Sunny Goyal
43bf11d9c9
Separating methods for updating the model to a sepatate class.
...
Removing static access to model update methods, to allow for better
access control and testing
Change-Id: I9afe004dbf1b2fe50df422fd28bceea9230a4704
2017-02-16 13:50:14 -08:00
Sunny Goyal and Android (Google) Code Review
a74e92a75a
Merge "Updating the shortcut preview generation logic" into ub-launcher3-master
2017-02-16 21:48:28 +00:00
Sunny Goyal
7d87cb1a6e
Updating the shortcut preview generation logic
...
Drawing a shortcut icon on a white round-rect with shadow
Also center aligning the preview
Bug: 34819119
Change-Id: Ic25be6bf301aeb11315a5050f009259b26c6134a
2017-02-16 13:41:04 -08:00
Sunny Goyal
9e76f682f3
Removing wrapper around ViewPropertyAnimator, and using ObjectAnimator
...
instead
Bug: 35218222
Change-Id: Ic714cf7d20989cb45f07712e8a6f6659d0e3f30d
2017-02-16 11:19:01 -08:00
TreeHugger Robot and Android (Google) Code Review
eb04b84153
Merge "Fixing wrong check for grid migration" into ub-launcher3-master
2017-02-16 18:08:15 +00:00
Sunny Goyal and Android (Google) Code Review
6130fa91af
Merge "Adding some logging around launcher grid when device profile changes" into ub-launcher3-master
2017-02-16 18:01:46 +00:00
Tony Wickham and Android (Google) Code Review
4f43bbe048
Merge "Animate notification background color directly" into ub-launcher3-master
2017-02-16 16:39:17 +00:00
Tony Wickham and Android (Google) Code Review
05661918eb
Merge "Ignore touches before notification is populated" into ub-launcher3-master
2017-02-16 16:38:59 +00:00
Tony
ffb0b68ae2
Animate notification background color directly
...
Before we were calling setBackgroundColor() in the update
listener, which is less efficient because it creates a
new ColorDrawable; now we reuse one throughout.
Change-Id: I0cd87e5ee72af41d2dae4375ce3df9fd6e92bd82
2017-02-15 16:39:22 -08:00
Tony Wickham
7aefaae5d9
Ignore touches before notification is populated
...
Bug: 35398757
Change-Id: I24f1b66787af7c7caeb325e9a1f3e6ef86e62b81
2017-02-15 16:05:40 -08:00
Tony Wickham
0891d1fd9b
Fallback to WallpaperManager#getDrawable() if getWallpaperFile() is null
...
Bug: 34521181
Change-Id: Ifc5f7cd9a11ff1f66acaadaea494ba4a0d142c3c
2017-02-15 14:53:08 -08:00
Sunny Goyal
f3a13e1584
Fixing wrong check for grid migration
...
Change-Id: I0475512302fd185fcd984d032cf19b34df3f8840
2017-02-15 14:42:47 -08:00
Sunny Goyal
c29de85780
Adding some logging around launcher grid when device profile changes
...
Bug: 35349518
Change-Id: Ia71504cd37749f8eaa5e038ac2867bcd9749a4bb
2017-02-15 14:40:30 -08:00
TreeHugger Robot and Android (Google) Code Review
a59402f98c
Merge "Adding minSDK for test targets" into ub-launcher3-master
2017-02-15 18:53:20 +00:00
Sunny Goyal
c9a489c75c
Adding minSDK for test targets
...
Bug: 35079440
Change-Id: Ie27eebe7afaed6a80efc43cb41f651e8acabc835
2017-02-15 10:39:35 -08:00
Hyunyoung Song and Android (Google) Code Review
06d4be29cf
Merge "Hide legacy icon treatment behind a flag." into ub-launcher3-master
2017-02-14 18:25:27 +00:00
Sunny Goyal and Android (Google) Code Review
b7f52ec0d1
Merge "Initializing LauncherAppState only on the main thread" into ub-launcher3-master
2017-02-14 18:02:33 +00:00
Hyunyoung Song
42c9434346
Hide legacy icon treatment behind a flag.
...
Change-Id: I662f1317945e6dd175fd03dbabc264e45c18dcee
2017-02-14 09:23:30 -08:00
Sunny Goyal
fdbef27759
Initializing LauncherAppState only on the main thread
...
Bug: 33032833
Change-Id: I7992a5358142dde80aeaf8c6b7a6c7bfef2c8a00
2017-02-13 17:36:18 -08:00
TreeHugger Robot and Android (Google) Code Review
7d093e75f6
Merge "Fixing bug in AnimationLayerSet where it sets the layer type to software at the end of the animation instead fo setting it back to the original value" into ub-launcher3-master
2017-02-14 00:29:47 +00:00
Sunny Goyal
2ae9c85bd7
Fixing bug in AnimationLayerSet where it sets the layer type to software
...
at the end of the animation instead fo setting it back to the original value
Change-Id: I528dc41fb896ae57905d5ceab7256a53bdb81489
2017-02-13 15:43:40 -08:00
Sunny Goyal
ef1292149a
Revert "Changing LauncherViewPropertyAnimator to use ValueAnimator"
...
Issue: Animations do not run
This reverts commit 33c04705be .
Change-Id: I069379ac1003c4b11e008b82530c952a66604459
2017-02-13 20:03:08 +00:00
Sunny Goyal
33c04705be
Changing LauncherViewPropertyAnimator to use ValueAnimator
...
Using ValueAnimator allows better support for changes in Animator
APIs.
Bug: 35218222
Change-Id: I4efa470b4bb686328539d35d8e23e297a4ac885a
2017-02-13 09:20:34 -08:00
Tony Wickham
988f34b7f2
Ensure that filtered notifications are removed from BadgeInfo.
...
There are cases where a BadgeInfo can contain a key that is later
used for a notification that should be filtered out. So instead
of simply not sending filtered notifications to PopupDataProvider,
now we explicitly send them and remove the corresponding key from
the BadgeInfo if it exists.
Bug: 35239510
Change-Id: I9532f47b1f07b44234f8707657b15b0de519b347
2017-02-13 07:02:26 -08:00
TreeHugger Robot and Android (Google) Code Review
ee544c5d24
Merge "Making methods in PaackageManagerHelper non-static" into ub-launcher3-master
2017-02-09 23:28:21 +00:00
Tony Wickham
d27b65d4d0
Temporarily remove notification listener from the manifest.
...
Bug: 35102937
Change-Id: I830b7146815248c80f65c91a6cf81a2664afeaac
2017-02-09 14:23:13 -08:00
TreeHugger Robot and Android (Google) Code Review
c6444eef17
Merge "Create a singleton HashMap instead of using Collections.singleton()" into ub-launcher3-master
2017-02-09 21:59:47 +00:00
Tony Wickham
580edcf529
Create a singleton HashMap instead of using Collections.singleton()
...
The Set returned by Collections.singleton() doesn't support all
operations, causing crashes in certain situations (namely, whenever
a notification is updated rather than added or removed).
Change-Id: Ie104b7f99c4a32db5f1f7e43ec3775d34dc26ce1
2017-02-09 10:30:06 -08:00
Sunny Goyal and Android (Google) Code Review
c9f844db2b
Merge "Updating the default widget preview generation logic" into ub-launcher3-master
2017-02-09 18:25:06 +00:00
TreeHugger Robot and Android (Google) Code Review
c99b30b01f
Merge "Updating widget tray theme" into ub-launcher3-master
2017-02-09 18:24:16 +00:00
Sunny Goyal
d5d5e22715
Updating widget tray theme
...
Using standard theme attributes rather than custom color codes, so
that it plays nice with system theme changes.
Bug: 34819119
Bug: 34897402
Bug: 21446746
Change-Id: I265fba3ceae8873650fd09e4704838d313155e83
2017-02-09 10:16:22 -08:00
Sunny Goyal
92bbfa19c3
Updating the default widget preview generation logic
...
We draw a while round rect box which is divided into the cells to
represent the widget size. The app icon is drawn in the center
for this white box.
Bug: 34819119
Change-Id: Ie4d83712577f21b276c6744a55993f71da368398
2017-02-08 15:28:02 -08:00
Jon Miranda
c6cf493b07
Add basic logs for tap outside action.
...
Change-Id: I6288610b9870c3abe88794c53309b1d76dd2780f
2017-02-07 17:14:28 -08:00
Tony Wickham and Android (Google) Code Review
4b20e0c312
Merge "Animate badges when they are added or removed" into ub-launcher3-master
2017-02-07 22:26:20 +00:00
Tony Wickham
1e61849bc7
Animate badges when they are added or removed
...
- Scale the badge and text or icon up or down, respectively.
- Only animate if the badge is visible, and don't animate when
applying shortcut or app info.
- Animate folder badge out when folder enters accepting state.
Bug: 34838365
Bug: 32410600
Change-Id: Ie60cb1fc54fe60d72734d833040545d27660d645
2017-02-07 14:10:09 -08:00
Jonathan Miranda and Android (Google) Code Review
72d90876b8
Merge "Update PreviewLayoutRule API to prepare for new folder animation." into ub-launcher3-master
2017-02-07 21:45:39 +00:00
Tony Wickham and Android (Google) Code Review
00002d02f5
Merge "Add logging for notifications." into ub-launcher3-master
2017-02-07 19:05:40 +00:00
Tony Wickham and Android (Google) Code Review
d097f475e8
Merge "Add badges to folders" into ub-launcher3-master
2017-02-07 18:59:04 +00:00
Tony Wickham and Android (Google) Code Review
3cdda5fa8b
Merge "Show notification icon in place of "1" in badge." into ub-launcher3-master
2017-02-07 18:57:32 +00:00
Tony Wickham
c6b79e307f
Add logging for notifications.
...
- Log notification launches
- Log notification swipes
- Fix logDragNDrop() to only log if the pre-drag ends (so it doesn't
log a long-press that only shows shortcuts without dragging).
- Add shortcut rank to logs when launching deep shortcuts, where 0
is the shortcut closest to the app icon (highest rank).
Bug: 34770729
Bug: 32410600
Change-Id: I99dcef9b6a71da2ef58e32397702bb137407b10f
2017-02-07 10:16:52 -08:00