OSDN Git Service
Sunny Goyal [Wed, 8 Mar 2017 22:25:09 +0000 (14:25 -0800)]
Adding broadcast receiver to handle SESSION_COMMIT broadcast
> Disabling Install shortcut broadcast for O and above
> Adding a preference to control automatic icon addition on homescreen
> Adding icons on homescreen for new installs based on the above preference
Bug:
32920609
Bug:
27967412
Change-Id: I92e5cb7c841fb445dc8bc058d975f212ee54f8d1
Louis Begin [Mon, 27 Feb 2017 06:33:11 +0000 (14:33 +0800)]
Add checks for FeatureFlags.QSB_ON_FIRST_SCREEN
When false, it correctly does not show the QSB but leaves
a default style search bar which cannot be removed.
Add checks to control default view visibility in device
profile layout & re-layout, QSB container and in
Workspace's onMeasure
Bug:
35967694
Change-Id: I3d0f89e1022d838eeb95762fd1fb3f7257956c41
Sunny Goyal [Mon, 6 Mar 2017 18:54:55 +0000 (18:54 +0000)]
Merge "Updating FolderIcon drawing to avoid dependency on software layer." into ub-launcher3-dorval
Bill Yi [Mon, 6 Mar 2017 14:30:32 +0000 (06:30 -0800)]
Import translations. DO NOT MERGE
Change-Id: I438eb3210577fca407121d91cda2223090fd31f4
Auto-generated-cl: translation import
Mario Bertschler [Sat, 4 Mar 2017 00:05:39 +0000 (00:05 +0000)]
Merge "App discovery integration in All Apps search" into ub-launcher3-dorval
Hyunyoung Song [Fri, 3 Mar 2017 21:16:37 +0000 (21:16 +0000)]
Merge "Change application launcher icons to adaptive icons b/
35429795" into ub-launcher3-dorval
Mario Bertschler [Fri, 17 Feb 2017 20:16:13 +0000 (12:16 -0800)]
App discovery integration in All Apps search
This is the basis for app discovery integration while searching in all apps.
This does NOT include binding to the actual service and retrieving results,
but instead provides all the UI to show suggested instant apps and apps
from a store with star rating and pricing.
Change-Id: I1605b52848491acee4ac1d15c0112e6a768363f6
Sunny Goyal [Mon, 20 Feb 2017 04:21:37 +0000 (20:21 -0800)]
Updating FolderIcon drawing to avoid dependency on software layer.
Instead of cliping using clipPath, using PorterDuffXfermode to clear
area outside the bounds. This provides much better support for antialiasing.
Software layer was also being used for drawing shadow. But since the paint
color was set to transparent, no shadow was being drawn in O. Instead drawing
the shadow using radial gradient.
Bug:
35680116
Bug:
35428783
Change-Id: I0431664400628d5d01675fe72fe7ade01b64d611
Mario Bertschler [Fri, 3 Mar 2017 20:48:09 +0000 (20:48 +0000)]
Merge "Setting soft input to adjust resize while all apps is open." into ub-launcher3-dorval
Hyunyoung Song [Fri, 3 Mar 2017 19:14:05 +0000 (11:14 -0800)]
Change application launcher icons to adaptive icons
b/
35429795
Change-Id: I4fa2fb167040c2470c403a293d1a172c276b2f81
Sunny Goyal [Fri, 3 Mar 2017 20:10:29 +0000 (20:10 +0000)]
Merge "Moving Event dispatcher definition from LAuncher to BaseActivity so that it can be used in other activities as well." into ub-launcher3-dorval
Mario Bertschler [Fri, 3 Mar 2017 18:58:06 +0000 (10:58 -0800)]
Setting soft input to adjust resize while all apps is open.
Bug:
35947394
Change-Id: I897063dc803b58e1f3b6ad16c6a721f808a2798a
Hyunyoung Song [Thu, 2 Mar 2017 20:36:08 +0000 (12:36 -0800)]
[DO NOT MERGE] Add shadow to Adaptive Icons
Bug:
35920618
Change-Id: Ib48a656f988d1f007c32ab15cb28d120fab1e94f
(cherry picked from commit
da9ac1f01a16a2fe13e321d6fada5cb63f534bc2)
Tony Wickham [Fri, 24 Feb 2017 23:08:13 +0000 (15:08 -0800)]
Update notification visuals (part 2)
- Background is now white, and color beneath and divider color
updated accordingly (not from color extraction)
- Removed overflow text ("+6") and added it to a header
("6 Notifications"). Use "..." instead if there is an overflow.
- Even spaced out icons in notification footer between the
far right icon and the ellipsis
- Remove code to change arrow tint, since it is always white
now. This also fixes the issue where it was drawn as a rect.
Bug:
35766387
Change-Id: I03bfda4ff029f23dd8b3dd1b72f534ea0e2c0816
Sunny Goyal [Thu, 2 Mar 2017 01:27:16 +0000 (17:27 -0800)]
Fixing wrong check being used for application status
Earlier we were relying on activity list to check is an app is
installed or not. It fails if the app only exposes widgets and
no visible activity. Hence dragging an icon to AppInfo sometimes
causes the icon to get disappear.
Bug:
33241335
Change-Id: Ieb71e298a0930dd0a831cf09bd1e998514a427fd
TreeHugger Robot [Thu, 2 Mar 2017 01:23:18 +0000 (01:23 +0000)]
Merge "Fixing SDCard and package enabled state checks in PackageManagerHeler" into ub-launcher3-dorval
TreeHugger Robot [Thu, 2 Mar 2017 01:18:50 +0000 (01:18 +0000)]
Merge "Add null check when populating popup" into ub-launcher3-dorval
Sunny Goyal [Tue, 28 Feb 2017 23:14:58 +0000 (15:14 -0800)]
Fixing SDCard and package enabled state checks in PackageManagerHeler
Bug:
32365540
Change-Id: Iaac3e08ce55457ebbfb3633514ebc8ade6d200c5
Tony [Thu, 2 Mar 2017 00:51:15 +0000 (16:51 -0800)]
Add null check when populating popup
It was crashing when there were notifications
but no shortcuts.
Change-Id: I92e961e6186ef24736777855e114bd3245f7ac91
Tony Wickham [Mon, 27 Feb 2017 21:30:20 +0000 (13:30 -0800)]
Add shadow to badges
- Add static method to ShadowGenerator to generate a
circle Bitmap with a shadow.
- Move setColorScale() from DragView to Themes, and
use it to apply color to the shadowed Bitmap.
Bug:
35744066
Change-Id: I8d1da528bbf94dc83851f0b4016361ed9f8d5349
Tony Wickham [Wed, 1 Mar 2017 20:04:25 +0000 (12:04 -0800)]
Only check for badge setting on notification on O+
Bug:
33553066
Change-Id: I20b991ae23c92c81510986191c05426ea72d273b
Tony Wickham [Wed, 1 Mar 2017 18:57:22 +0000 (18:57 +0000)]
Merge "Merge deep shortcuts in rounded rect" into ub-launcher3-dorval
Tony Wickham [Tue, 28 Feb 2017 00:30:47 +0000 (16:30 -0800)]
Merge deep shortcuts in rounded rect
- DeepShortcutViews are added to ShortcutsItemView, which
is in PopupContainerWithArrow
- Moved some shortcut-specific logic to ShortcutsItemView
(namely, touch/long-click handling for draggin shortcuts)
- Moved round-rect clipping to PopupItemView
- Removed collapseToIcon() logic, including
PillWidthRevealOutlineProvider, which was only used for
that purpose. It isn't necessary now that the deep
shortcuts have no background themselves.
- Replaced focus pill drawable with ripple effect on
shortcuts and notification view.
Bug:
35766387
Change-Id: I6bc09f1851cfbb806df4bf75a6e435b0f1900c9c
Tony Wickham [Wed, 1 Mar 2017 18:11:54 +0000 (18:11 +0000)]
Merge "Respect badge settings to filter out badges" into ub-launcher3-dorval
Tony Wickham [Sat, 18 Feb 2017 01:03:30 +0000 (17:03 -0800)]
Respect badge settings to filter out badges
Bug:
35405389
Bug:
32410600
Change-Id: I8e7b928a6cf7d9a66df8cb056bd73eaa45f68e6c
Jon Miranda [Tue, 28 Feb 2017 21:15:28 +0000 (13:15 -0800)]
Close Folder before doing any automatic updates.
We already close the Folder when Work Profile apps are
auto added to the Work Profile Folder. This change extends that
functionality to when apps are being auto removed from the
Work Profile Folder.
Bug:
35845161
Change-Id: I2aa6a6a0ed28a95f6a59a549430f91482583548b
Bill Yi [Tue, 28 Feb 2017 03:27:58 +0000 (19:27 -0800)]
Import translations. DO NOT MERGE
Change-Id: I81729ad91123d3dc3c365d09f2c7027f62411755
Auto-generated-cl: translation import
Jon Miranda [Mon, 27 Feb 2017 22:32:39 +0000 (14:32 -0800)]
Update Launcher3 AndroidManifest.xml to match NexusLauncher.
Add stateUnchanged flag to activity windowSoftInputMode.
* Original Change-Id: Iad029d1ce327527ae3933c9eca86474be6ba5aa1
Set resizeableActivity to true to enable multi-window for Launcher.
* Original Change-Id: I2d17c89db2eb8d60b3393c2abc3b026e5574085d
Change-Id: I534f6511e7fd7778cc4469f56527d6452ccbc9a9
Sunny Goyal [Mon, 27 Feb 2017 18:07:13 +0000 (10:07 -0800)]
Moving Event dispatcher definition from LAuncher to BaseActivity so that
it can be used in other activities as well.
Bug:
34766840
Change-Id: Ie4b723483792bee93fb75e63146ebea7dfeebeda
Sunny Goyal [Mon, 27 Feb 2017 17:41:14 +0000 (09:41 -0800)]
Fix crash when the progress of an installing app decreases
Bug:
35793892
Change-Id: I957967c7a11359d951fe055027aa45c7dfd1bd84
Jon Miranda [Fri, 24 Feb 2017 18:00:14 +0000 (10:00 -0800)]
Enable suggestions for Folder names.
We turn on suggestions, turn off auto complete, and disable the
default behavior where red lines appear under typos.
Bug:
30055146
Change-Id: Ia151b7a4db1dfc6908504e6ea82a1f6989f05ca5
Tony Wickham [Tue, 21 Feb 2017 23:16:12 +0000 (15:16 -0800)]
Update notification view to match newer specs
- Use smaller radius for notifications round rect background
- Remove "Notifications" header, and clip children to round rect path
- Flip main notification so that icon shows on the right instead of
left; footer is also flipped so animation makes sense
- Clean up animations to animate view outline instead of height
Bug:
32410600
Change-Id: I6bd1e1f8395b3703f28c3b0056a89e67672368ab
Sunny Goyal [Fri, 24 Feb 2017 02:30:22 +0000 (18:30 -0800)]
Using transaction when dropping tables, so that the DB never enters
an inconsistant state
Bug:
34720697
Change-Id: I55a26d63be6c06622da6ee3395bf1990f1a58a11
TreeHugger Robot [Fri, 24 Feb 2017 00:37:30 +0000 (00:37 +0000)]
Merge "Removing custom state definition from FastBitmapDrawable" into ub-launcher3-dorval
TreeHugger Robot [Fri, 24 Feb 2017 00:27:19 +0000 (00:27 +0000)]
Merge "Remove first icon from notification footer after it animates." into ub-launcher3-dorval
Sunny Goyal [Thu, 16 Feb 2017 21:33:15 +0000 (13:33 -0800)]
Removing custom state definition from FastBitmapDrawable
> For Fast scrolling, using state list animator defined in xml
> For Pressed state, using onState change method in a drawable
Change-Id: Ia608690f593938cf0f77e00afcc2a3076e48d8f4
Jon Miranda [Thu, 23 Feb 2017 23:12:42 +0000 (15:12 -0800)]
Ignore tasks if the LauncherModel is still pending.
The tasks will be enqueued after the model is loaded when it
gets to the final state.
Bug:
31509386
Change-Id: Id72aaedb025a91a49b25e1ef103cc1976d603b21
TreeHugger Robot [Wed, 22 Feb 2017 23:53:26 +0000 (23:53 +0000)]
Merge "Adding some tests for request pin shortcut/widget flow" into ub-launcher3-dorval
Sunny Goyal [Wed, 25 Jan 2017 19:19:59 +0000 (11:19 -0800)]
Adding some tests for request pin shortcut/widget flow
Bug:
33584624
Change-Id: I49df36f60d2ae071b9d2c77c9c3300e010cd3bb9
Sunny Goyal [Fri, 17 Feb 2017 19:22:34 +0000 (11:22 -0800)]
Simplifying Model data load state management
Instead of maintaining 3 different states, each tied to a subset of data,
maintaing a single state that represents all the data. Individual subset
data is invalidated in rare cases and these invalidates are tightly tied
to the UI. This also allows us to add new data to the model, without worring
about classifying the data into a subset.
Bug:
34112546
Change-Id: Id9cb273de35b79e84a2ef8d6556fcf1e72fb4b75
Tony Wickham [Fri, 27 Jan 2017 21:18:30 +0000 (13:18 -0800)]
Remove first icon from notification footer after it animates.
Before, we had a hack where the notifation view would tell the
footer to trim its notifications, which is inefficient and ugly
since we already know exactly what notification to remove. So
now we move the relevant removal logic (keeping things like the
overflow text in sync) to a removeViewFromIconRow() that is
used after the icon animates as well as when trimming notifications.
Bug:
32410600
Change-Id: I19e54e0c28daea869b45649c7f5c74843412bb86
TreeHugger Robot [Wed, 22 Feb 2017 19:46:10 +0000 (19:46 +0000)]
Merge "Close Folder when an item is auto added to it." into ub-launcher3-master
Bill Rassieur [Wed, 22 Feb 2017 19:28:46 +0000 (19:28 +0000)]
Empty commit to trigger a build.
am:
8dfc049598
Change-Id: Ic3dae2d96ac6dac123392c4d232e1362f3206a32
Bill Rassieur [Wed, 22 Feb 2017 19:23:19 +0000 (11:23 -0800)]
Empty commit to trigger a build.
BUG:
35639108
Jon Miranda [Wed, 22 Feb 2017 18:17:49 +0000 (10:17 -0800)]
Close Folder when an item is auto added to it.
This can happen when items (as part of a Work Profile) are auto added
to the Work profile Folder.
Bug:
35628160
Change-Id: I29d3b277b0e9cd4bb238fb5aff9a52c6b9e764f8
Bill Yi [Wed, 22 Feb 2017 15:53:34 +0000 (07:53 -0800)]
Import translations. DO NOT MERGE
Change-Id: I2424c6b29a8d71a3fb697a85f82f2678774c975f
Auto-generated-cl: translation import
Sunny Goyal [Wed, 22 Feb 2017 01:18:16 +0000 (01:18 +0000)]
Merge "Fixing accessibility description for all-apps grid adapter. Only counting app icons towards various collection related info" into ub-launcher3-master
Sunny Goyal [Wed, 22 Feb 2017 00:43:56 +0000 (16:43 -0800)]
Fixing accessibility description for all-apps grid adapter.
Only counting app icons towards various collection related info
Change-Id: I2aca87e1acf6cd7bdaddfbaad174e273e8272d4b
Jon Miranda [Tue, 21 Feb 2017 20:37:51 +0000 (12:37 -0800)]
Close all open views when binding the Launcher.
This fixes a bug where a work profile remains opened even
after the work profile is removed from the device. This can
occur when the work profile is removed with the Folder still opened.
Bug:
35627777
Change-Id: I8d5b4bd9931cad2316b6b8786501d6b3780b7aca
TreeHugger Robot [Tue, 21 Feb 2017 20:33:33 +0000 (20:33 +0000)]
Merge "Launcher3: fix app shortcuts for suspended apps" into ub-launcher3-master
Charles He [Wed, 15 Feb 2017 12:22:56 +0000 (12:22 +0000)]
Launcher3: fix app shortcuts for suspended apps
This CL fixes app shortcuts for suspended packages.
1) When DO/PO suspends an app, its pinned shortcuts are instantly grayed
out, but this is not persisted after the launcher restarts (e.g. device
reboot). We now enforce the launcher to check the suspended state when
loading the workspace, and gray out pinned shortcut icons accordingly.
2) When DO/PO suspends an app, its app shortcut popup is still
available. We now temporarily disable the popup when the app is
suspended, and persist the state across restarts.
Bug:
32365540
Test: manual, by following the steps in the bug above
Test: manual, by restarting the launcher package
Change-Id: I983d7c17fa198beca23b66459b50bd67b447bdd2
Jon Miranda [Tue, 21 Feb 2017 17:06:51 +0000 (09:06 -0800)]
Fix folder icon animation where it animates downwards on 1st run.
The first time FolderIcon#growAndFadeOut is called, the folder
icon pivot x/y is not set. By moving the call after centerAboutIcon
(which sets the pivot point), we get the expected result of the
animation growing upward.
Bug:
35126799
Change-Id: I22fccb6b23550f823eb7b4485b9584022b810323
Tony Wickham [Tue, 21 Feb 2017 16:45:04 +0000 (16:45 +0000)]
Merge "Remove badges when launcher loses notification access" into ub-launcher3-master
Tony [Mon, 13 Feb 2017 18:17:37 +0000 (10:17 -0800)]
Remove badges when launcher loses notification access
- NotificationListener.getInstance() has been changed to
getInstanceIfConnected() (same behavior as before).
- When starting launcher, we send a full refresh of badges
regardless of whether the NotificationListner is connected.
If it is not connected, we pass an empty list for the
active notifications, so that all pre-existing badges are
removed.
Bug:
35221052
Change-Id: If920317f10814c010e02b5a30ce86a58ac7bc61c
Sunny Goyal [Fri, 17 Feb 2017 20:10:37 +0000 (12:10 -0800)]
Enabling translation for string relates to Add to homescreen confirmation prompt
Bug:
34819119
Change-Id: Id4c522319c92641faa28bb685f4ea4658aa4ec9e
Sunny Goyal [Fri, 17 Feb 2017 17:53:58 +0000 (17:53 +0000)]
Merge "Simplifying some launcher themes" into ub-launcher3-master
TreeHugger Robot [Fri, 17 Feb 2017 07:43:38 +0000 (07:43 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master
Bill Yi [Fri, 17 Feb 2017 07:40:20 +0000 (07:40 +0000)]
Import translations. DO NOT MERGE
am:
e5c99a2140 -s ours
Change-Id: Ifffdd23bc65534039a330bf77ceffaba418982ba
Bill Yi [Fri, 17 Feb 2017 07:31:06 +0000 (23:31 -0800)]
Import translations. DO NOT MERGE
Change-Id: Id2b9f6fbdd4aea3663ba8e418888bac8cf956da3
Auto-generated-cl: translation import
Bill Yi [Fri, 17 Feb 2017 07:30:20 +0000 (23:30 -0800)]
Import translations. DO NOT MERGE
Change-Id: If87152e5d565c37127110756f1185f82833ec685
Auto-generated-cl: translation import
Adam Cohen [Fri, 17 Feb 2017 00:50:57 +0000 (00:50 +0000)]
Merge "Add notification listener back to the manifest" into ub-launcher3-master
Tony [Mon, 13 Feb 2017 15:44:01 +0000 (07:44 -0800)]
Add notification listener back to the manifest
This reverts commit
d27b65d4d0035d6b66aac3e6040aa791f155e502.
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
Sunny Goyal [Sat, 11 Feb 2017 00:52:16 +0000 (16:52 -0800)]
Simplifying some launcher themes
> Replacing some colors with theme attributes
> Simplifying styles definition by removing unnecessary inheritance and inlining some definitions
Change-Id: Ifa167515cae6a7fd3720f1a52ff9ce11abb4495f
Tony Wickham [Thu, 16 Feb 2017 23:17:31 +0000 (23:17 +0000)]
Merge "Ensure that filtered notifications are removed from BadgeInfo." into ub-launcher3-master
TreeHugger Robot [Thu, 16 Feb 2017 21:56:39 +0000 (21:56 +0000)]
Merge "Separating methods for updating the model to a sepatate class." into ub-launcher3-master
Sunny Goyal [Thu, 2 Feb 2017 21:52:53 +0000 (13:52 -0800)]
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
Sunny Goyal [Thu, 16 Feb 2017 21:48:28 +0000 (21:48 +0000)]
Merge "Updating the shortcut preview generation logic" into ub-launcher3-master
Sunny Goyal [Mon, 13 Feb 2017 18:44:43 +0000 (10:44 -0800)]
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
Sunny Goyal [Mon, 13 Feb 2017 20:13:43 +0000 (12:13 -0800)]
Removing wrapper around ViewPropertyAnimator, and using ObjectAnimator
instead
Bug:
35218222
Change-Id: Ic714cf7d20989cb45f07712e8a6f6659d0e3f30d
TreeHugger Robot [Thu, 16 Feb 2017 18:08:15 +0000 (18:08 +0000)]
Merge "Fixing wrong check for grid migration" into ub-launcher3-master
Sunny Goyal [Thu, 16 Feb 2017 18:01:46 +0000 (18:01 +0000)]
Merge "Adding some logging around launcher grid when device profile changes" into ub-launcher3-master
Tony Wickham [Thu, 16 Feb 2017 16:39:17 +0000 (16:39 +0000)]
Merge "Animate notification background color directly" into ub-launcher3-master
Tony Wickham [Thu, 16 Feb 2017 16:38:59 +0000 (16:38 +0000)]
Merge "Ignore touches before notification is populated" into ub-launcher3-master
Tony [Tue, 14 Feb 2017 18:18:48 +0000 (10:18 -0800)]
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
Tony Wickham [Thu, 16 Feb 2017 00:03:27 +0000 (16:03 -0800)]
Ignore touches before notification is populated
Bug:
35398757
Change-Id: I24f1b66787af7c7caeb325e9a1f3e6ef86e62b81
Tony Wickham [Wed, 15 Feb 2017 22:53:08 +0000 (14:53 -0800)]
Fallback to WallpaperManager#getDrawable() if getWallpaperFile() is null
Bug:
34521181
Change-Id: Ifc5f7cd9a11ff1f66acaadaea494ba4a0d142c3c
Sunny Goyal [Wed, 15 Feb 2017 22:41:35 +0000 (14:41 -0800)]
Fixing wrong check for grid migration
Change-Id: I0475512302fd185fcd984d032cf19b34df3f8840
Sunny Goyal [Wed, 15 Feb 2017 22:39:54 +0000 (14:39 -0800)]
Adding some logging around launcher grid when device profile changes
Bug:
35349518
Change-Id: Ia71504cd37749f8eaa5e038ac2867bcd9749a4bb
TreeHugger Robot [Wed, 15 Feb 2017 18:53:19 +0000 (18:53 +0000)]
Merge "Adding minSDK for test targets" into ub-launcher3-master
Sunny Goyal [Wed, 15 Feb 2017 18:38:41 +0000 (10:38 -0800)]
Adding minSDK for test targets
Bug:
35079440
Change-Id: Ie27eebe7afaed6a80efc43cb41f651e8acabc835
Hyunyoung Song [Tue, 14 Feb 2017 18:25:27 +0000 (18:25 +0000)]
Merge "Hide legacy icon treatment behind a flag." into ub-launcher3-master
Sunny Goyal [Tue, 14 Feb 2017 18:02:33 +0000 (18:02 +0000)]
Merge "Initializing LauncherAppState only on the main thread" into ub-launcher3-master
Hyunyoung Song [Tue, 14 Feb 2017 17:23:30 +0000 (09:23 -0800)]
Hide legacy icon treatment behind a flag.
Change-Id: I662f1317945e6dd175fd03dbabc264e45c18dcee
Sunny Goyal [Wed, 1 Feb 2017 20:52:54 +0000 (12:52 -0800)]
Initializing LauncherAppState only on the main thread
Bug:
33032833
Change-Id: I7992a5358142dde80aeaf8c6b7a6c7bfef2c8a00
TreeHugger Robot [Tue, 14 Feb 2017 00:29:47 +0000 (00:29 +0000)]
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
Sunny Goyal [Mon, 13 Feb 2017 23:43:00 +0000 (15:43 -0800)]
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
Sunny Goyal [Mon, 13 Feb 2017 20:03:08 +0000 (20:03 +0000)]
Revert "Changing LauncherViewPropertyAnimator to use ValueAnimator"
Issue: Animations do not run
This reverts commit
33c04705beee04f7df309d702bc7303f161a8f18.
Change-Id: I069379ac1003c4b11e008b82530c952a66604459
Sunny Goyal [Fri, 10 Feb 2017 01:37:56 +0000 (17:37 -0800)]
Changing LauncherViewPropertyAnimator to use ValueAnimator
Using ValueAnimator allows better support for changes in Animator
APIs.
Bug:
35218222
Change-Id: I4efa470b4bb686328539d35d8e23e297a4ac885a
Tony Wickham [Fri, 10 Feb 2017 16:03:22 +0000 (08:03 -0800)]
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
TreeHugger Robot [Thu, 9 Feb 2017 23:28:20 +0000 (23:28 +0000)]
Merge "Making methods in PaackageManagerHelper non-static" into ub-launcher3-master
Tony Wickham [Thu, 9 Feb 2017 22:21:34 +0000 (14:21 -0800)]
Temporarily remove notification listener from the manifest.
Bug:
35102937
Change-Id: I830b7146815248c80f65c91a6cf81a2664afeaac
TreeHugger Robot [Thu, 9 Feb 2017 21:59:46 +0000 (21:59 +0000)]
Merge "Create a singleton HashMap instead of using Collections.singleton()" into ub-launcher3-master
Tony Wickham [Thu, 9 Feb 2017 16:28:52 +0000 (08:28 -0800)]
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
Sunny Goyal [Thu, 9 Feb 2017 18:25:06 +0000 (18:25 +0000)]
Merge "Updating the default widget preview generation logic" into ub-launcher3-master
TreeHugger Robot [Thu, 9 Feb 2017 18:24:16 +0000 (18:24 +0000)]
Merge "Updating widget tray theme" into ub-launcher3-master
Sunny Goyal [Tue, 7 Feb 2017 21:11:17 +0000 (13:11 -0800)]
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
Sunny Goyal [Tue, 7 Feb 2017 23:06:32 +0000 (15:06 -0800)]
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
Jon Miranda [Wed, 8 Feb 2017 01:12:36 +0000 (17:12 -0800)]
Add basic logs for tap outside action.
Change-Id: I6288610b9870c3abe88794c53309b1d76dd2780f
Tony Wickham [Tue, 7 Feb 2017 22:26:20 +0000 (22:26 +0000)]
Merge "Animate badges when they are added or removed" into ub-launcher3-master
Tony Wickham [Thu, 2 Feb 2017 20:57:18 +0000 (12:57 -0800)]
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