Commit Graph

6666 Commits

Author SHA1 Message Date
Tony Wickham f4087bbab4 Merge "Round popup corner clipping rotation center" into ub-launcher3-dorval-polish 2017-06-16 19:35:58 +00:00
Tony ad69fa4c74 Round popup corner clipping rotation center
Before, it was possible for the rotation to occur around
a slightly off-center pivot on certain devices when the
display setting was set to "small."

Bug: 62049689
Change-Id: I5f2f557a1170cc98c0a83b87749526a4d7ea73f1
2017-06-16 11:46:57 -07:00
Tony Wickham b37200637d Merge "Animate badge after folder closes" into ub-launcher3-dorval-polish 2017-06-16 17:56:31 +00:00
TreeHugger Robot 2da5b6a287 Merge "Don't crash when tapping twice on a notification" into ub-launcher3-dorval-polish 2017-06-16 17:53:18 +00:00
Tony 814deadc2c Animate badge after folder closes
Bug: 62586079
Change-Id: I17d7b88730c16f5cce36972dd485fd10b823f742
2017-06-15 18:30:41 -07:00
Tony cd6885455b Don't crash when tapping twice on a notification
Bug: 62588191
Change-Id: I33671ab08411c4e4e624b579561229d32b7a29c9
2017-06-15 18:14:38 -07:00
Rajeev Kumar 00f3da27b1 Some cleanups in DragDriver class:
1. Get rid of unused instance variables from DragDriver#SystemDragDriver
class
2. Get rid of unnecessary ;

Change-Id: I26e5c784beee7846b0929517c04c1eb26a0993e0
2017-06-15 17:29:26 -07:00
TreeHugger Robot 5692eb4554 Merge "Making bitmap of PreloaderIconDrawable smaller so it fits inside the progress circle." into ub-launcher3-dorval-polish 2017-06-15 23:29:38 +00:00
TreeHugger Robot 037fd6d964 Merge "Fix for clipped promise icon." into ub-launcher3-dorval-polish 2017-06-15 23:24:48 +00:00
Rajeev Kumar 21e69dc142 Merge "Replace use of java.util.HashMap with android.util.ArrayMap in UserManagerCompatVL class" into ub-launcher3-dorval-polish 2017-06-15 23:12:15 +00:00
Rajeev Kumar da3c18dcbd Merge "1. Get rid of few unnecessary boxing in BgDataModel class. 2. Get rid of an unnecessary return statment from BgDataModel class." into ub-launcher3-dorval-polish 2017-06-15 22:31:19 +00:00
Sunny Goyal 2de667d3af Merge "Fixing FLAG_PROVIDER_NOT_READY not being cleared in LoaderTask" into ub-launcher3-dorval-polish 2017-06-15 21:01:35 +00:00
Rajeev Kumar 443bfc8600 1. Get rid of few unnecessary boxing in BgDataModel class.
2. Get rid of an unnecessary return statment from BgDataModel class.

Change-Id: I7be47a75d3754bc621cff4af59d5b03cc3e53f10
2017-06-15 13:18:51 -07:00
Mario Bertschler 6db41f1c69 Fix for clipped promise icon.
Bug: 62544596
Change-Id: Iadbd8b27244b6d2ff3f9f0167f90b2a260687bc3
2017-06-15 11:17:33 -07:00
Rajeev Kumar 8cae50d8b2 Replace use of java.util.HashMap with android.util.ArrayMap in
UserManagerCompatVL class

Bug: 62466540
Change-Id: Ia492a9189ae950d2a96b79b786dc447afa982c21
2017-06-14 19:05:37 -07:00
Rajeev Kumar 005a376c35 Merge "Replace use of java.util.HashMap with android.util.ArrayMap in DrawableFactory." into ub-launcher3-dorval-polish 2017-06-14 23:21:25 +00:00
Rajeev Kumar 81d8a3dd22 Merge "1. Replace use of java.util.HashMap with android.util.ArrayMap in CellLayout class 2. Get rid of explicit type arguments that can be inferred 3. Make instance variables final Bug: 62466540" into ub-launcher3-dorval-polish 2017-06-14 23:17:49 +00:00
Rajeev Kumar 9fb9b3bcb1 Merge "1. Get rid of mWidgetMinSize as the contents of this collection are queried, but never updated. 2. Get rid of explicit type arguments that can be inferred 3. Add type argument to variables of type HashSet Bug: 62466540" into ub-launcher3-dorval-polish 2017-06-14 23:01:25 +00:00
Mario Bertschler fd126aa95e Making bitmap of PreloaderIconDrawable smaller so it fits inside
the progress circle.

Bug: 62270605
Change-Id: Idd3c145303531dbfbe9bd69af68b5c02baf21a93
2017-06-14 15:33:32 -07:00
Rajeev Kumar 0ce439fc9a 1. Get rid of mWidgetMinSize as the contents of this collection are
queried, but never updated.
2. Get rid of explicit type arguments that can be inferred
3. Add type argument to variables of type HashSet
Bug: 62466540

Change-Id: Ia7c9f212dcc760dfa7b1ddcd42f1e6328394d3ee
2017-06-14 12:57:51 -07:00
Sunny Goyal f6eb789016 Extracting search algorithm in an interface to make it easier to change the search behavior
Change-Id: I0b1d1387c78d13ef749aac39d5c8167c2909716a
2017-06-14 11:18:13 -07:00
Sunny Goyal 571e12da66 Fixing FLAG_PROVIDER_NOT_READY not being cleared in LoaderTask
If a widget is installed, the provider is always ready. The flag was not
being cleared all the time (similar to PackageUpdatedTask).

Bug: 62496671
Change-Id: Ia1c0cb3b312a20ed6451baeccb632a5e5f0e3edc
2017-06-14 11:04:05 -07:00
Rajeev Kumar 7847d10f38 Merge "Replace use of java.util.HashMap with android.util.ArrayMap in AutoInstallsLayout, DefaultLayoutParser, ImportDataTask classes." into ub-launcher3-dorval-polish 2017-06-13 17:42:53 +00:00
Rajeev Kumar ef66cdbca4 Merge "1. Replace use of java.util.HashMap with android.util.ArrayMap in PackageUpdatedTask class 2. Get rid of explicit type arguments that can be inferred" into ub-launcher3-dorval-polish 2017-06-13 17:00:18 +00:00
Sunny Goyal 4ec91c3769 Merge "Adding support for loading workspace in the absence of Launcher." into ub-launcher3-dorval-polish 2017-06-13 16:55:48 +00:00
Rajeev Kumar 83afc9eda7 1. Replace use of java.util.HashMap with android.util.ArrayMap in
PackageUpdatedTask class
2. Get rid of explicit type arguments that can be inferred

Bug: 62466540
Change-Id: Ifbe4e7d217cea292530f5ced0f4df2ee40c1262c
2017-06-12 16:20:33 -07:00
Rajeev Kumar 98e063e6df Merge "Fix synchronization on a non-final field 'sInstanceLock' by making it final." into ub-launcher3-dorval-polish 2017-06-12 20:55:45 +00:00
Sunny Goyal 76a3d91899 Merge "resolve merge conflicts of 5cc7bbdbb to ub-launcher3-dorval-polish" into ub-launcher3-dorval-polish 2017-06-12 20:55:35 +00:00
Rajeev Kumar b685d10edb Merge "Some cleanups in Workspace.java class 1. Make instance variables final 2. Get rid of explicit type arguments that can be inferred 3. Get rid of redundant initializer 4. Get rid of unnecessary ;" into ub-launcher3-dorval-polish 2017-06-12 20:55:32 +00:00
Sunny Goyal a616d2b0e2 resolve merge conflicts of 5cc7bbdbb to ub-launcher3-dorval-polish
Test: I solemnly swear I tested this conflict resolution.
Change-Id: If3359341d5269f2c908b3a8856b6f38ba69a05eb
2017-06-12 13:54:01 -07:00
Rajeev Kumar bf3366f0d9 Fix synchronization on a non-final field 'sInstanceLock' by making
it final.

Bug: 62466540
Change-Id: I28a1c53435d761089b2ee7742d31a0cb482b8afd
2017-06-12 13:11:29 -07:00
Rajeev Kumar 93c0512b28 Some cleanups in Workspace.java class
1. Make instance variables final
2. Get rid of explicit type arguments that can be inferred
3. Get rid of redundant initializer
4. Get rid of unnecessary ;

Bug: 62466540
Change-Id: Ia534fb032c20447e604011d466aa3efdfade4027
2017-06-12 12:59:47 -07:00
Rajeev Kumar 606d3836a5 Merge "1. Replace use of java.util.HashMap with android.util.ArrayMap in ShortcutCache class 2. Get rid of unused constants from ShortcutCache class 3. Make instance variables final" into ub-launcher3-dorval-polish 2017-06-12 19:57:48 +00:00
Rajeev Kumar 9962dbe671 1. Replace use of java.util.HashMap with android.util.ArrayMap in
CellLayout class
2. Get rid of explicit type arguments that can be inferred
3. Make instance variables final
Bug: 62466540

Change-Id: I9acbde25704d62883d174f5573383a2d8b0e1e6e
2017-06-12 12:16:20 -07:00
TreeHugger Robot 97d7491343 Merge "Making some constants accessible" into ub-launcher3-dorval-polish 2017-06-12 19:10:00 +00:00
Rajeev Kumar 0a3169bc66 1. Replace use of java.util.HashMap with android.util.ArrayMap in
ShortcutCache class
2. Get rid of unused constants from ShortcutCache class
3. Make instance variables final

Bug: 62466540
Change-Id: I465da77aa1521790c8359d0f9987d3fc1286b44b
2017-06-12 11:59:47 -07:00
Sunny Goyal 5cc7bbdbb3 Removing dependency on onAttachedToWindow callback.
When resizing in multi-window mode, the system reuses the decorView and
may not call onAttachedToWindow.

Bug: 62495747
Bug: 38463796
Change-Id: I949f8f8e37b5a4748947024df09097f15c940bf8
2017-06-12 11:14:11 -07:00
Sunny Goyal 325b5c7a66 Some theme fixes
> workspaceTextColor was not clearly defined to white and relied on HomeScreenElementTheme
> Not all attributes were defined in sw720dp. Created a interm style to avoid such errors
> Applying proper tint to resize frame
> Fixing shadow colors for homescreen icon

Change-Id: If8441011c968291de50b2fd8d7612ce3d5353b95
2017-06-11 20:24:02 -07:00
Rajeev Kumar 415ff73c84 Replace use of java.util.HashMap with android.util.ArrayMap
in DrawableFactory.

Change-Id: I4ab7f908c3e8768762942ca83f576197dfea66d6
Bug: 62466540
(cherry picked from commit 2d75266c75)
2017-06-09 23:31:59 +00:00
Rajeev Kumar 0590a4c0ce Replace use of java.util.HashMap with android.util.ArrayMap in
AutoInstallsLayout, DefaultLayoutParser, ImportDataTask
classes.

Change-Id: Idcf1f5f020132ddf43751067a38a64bfc088800e
Bug: 62466540
(cherry picked from commit 26453a297b)
2017-06-09 23:30:56 +00:00
Rajeev Kumar 7886c037f8 Replace use of java.util.HashMap with android.util.ArrayMap in
AnimationLayerSet.

Change-Id: I8563d17d97ff36c2b07f73ecb73b0a355780355e
Bug: 62466540
(cherry picked from commit 20ecc54ebd)
2017-06-09 23:25:41 +00:00
Sunny Goyal 1d7ff6fdb7 Making some constants accessible
Change-Id: Id5caff8defe8ccc4a79e1c99b0040abb1750b3e1
2017-06-09 11:24:38 -07:00
Sunny Goyal 7bffad10cc Fixing Drawable not getting tinted properly if the color is always transparent
Bug: 62457537
Change-Id: I04b8804162b7338f62d3fdabb87dd31ad507ebaa
2017-06-09 08:24:05 -07:00
TreeHugger Robot e6711ceeb6 Merge "Updating the WallpaperManagerCompatVL to use JobSchedular instead of intent service" into ub-launcher3-dorval-polish 2017-06-08 23:29:24 +00:00
Tony Wickham 0ecf5bcfcb resolve merge conflicts of 7092db024 to ub-launcher3-dorval-polish
Test: I solemnly swear I tested this conflict resolution.x
Change-Id: I0f9ed3d42fcb04299c3c23d06629f855614c0538
2017-06-08 15:49:07 -07:00
Sunny Goyal 8231596619 Updating the WallpaperManagerCompatVL to use JobSchedular instead of intent service
Bug: 62065291
Change-Id: I5872cea1b110268e9593eeb6397e94ecea1bc03d
2017-06-08 15:39:38 -07:00
Mario Bertschler 6d55202c9b Trigger theme change if supportsDarkText is switching.
Change-Id: Id5ec0429b5fb94d742dfac093263144f71f0d6b7
2017-06-08 15:12:20 -07:00
TreeHugger Robot 1ab7f3bf24 Merge "Use extracted color for scrim in overview mode." into ub-launcher3-dorval-polish 2017-06-08 21:45:48 +00:00
Mario Bertschler ff4f201fad Use extracted color for scrim in overview mode.
Change-Id: Ia24dbf69a64cb0b84da9985a5dd78ca699e7bed1
2017-06-08 14:36:20 -07:00
Tony Wickham 7092db0241 Add support for color extracted notification dots
Changing the badge_color in colors.xml to transparent
will cause them to be color extracted.

When an extracted color is used in the IconPalette, we
desaturate the background. Otherwise we respect the
exact color specified in colors.xml.

Change-Id: Ie82d0c5335fa5f24d4cc47766e4c1719c4916f8b
2017-06-08 21:08:47 +00:00