Commit Graph

34630 Commits

Author SHA1 Message Date
Bill Yi d4274a6fa4 Import translations. DO NOT MERGE
Change-Id: I35349dcb69ae712340d4f189b9e26cdb59d15622
Auto-generated-cl: translation import
2017-06-15 22:38:59 -07:00
Bill Yi 2951c2716f Import translations. DO NOT MERGE skipped: 5098e36f01
Change-Id: Icf2136d8fa16209c6e0d8bac59fb44ea12338200
2017-06-16 05:34:45 +00:00
Bill Yi 5098e36f01 Import translations. DO NOT MERGE
Change-Id: I70b392e6556e5ad4fdc8d07a69b7bb95e1717627
Auto-generated-cl: translation import
2017-06-15 22:34:30 -07:00
Rajeev Kumar 086467dab8 1. Get rid of unnecessary ; from VerticalPullDetector
2. Make an instance variable final

Change-Id: I1a62814106c064a13ee5da0882db36d56e122f98
2017-06-15 18:46:22 -07: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
Rajeev Kumar f75faf8036 1. Replace use of java.util.HashMap with android.util.ArrayMap in
LauncherAppsCompatVL class.
2. Fix Synchronization on a non-final field 'mCallbacks'.
3. Add missing @Override to the overriden methods.
4. Add missing @NonNull to the method parameters.
Bug: 62466540

Change-Id: I0d650bfe5b7e390db7090c2ae29a8622d49073d7
2017-06-15 16:56:49 -07:00
Mario Bertschler 794de6a6e6 Merge "Making bitmap of PreloaderIconDrawable smaller so it fits inside the progress circle." into ub-launcher3-dorval-polish
am: 5692eb4554

Change-Id: I15eb2cf855d676c6abc846a65fc93b9774c21139
2017-06-15 23:34:27 +00:00
Sunny Goyal e8f2f7b34c Merge "Updating the UI for Add-to-homescreen dialog" into ub-launcher3-dorval-polish
am: 35a4ae02d1

Change-Id: Ie9d0739910a251604dd65d35436f011739e33d6b
2017-06-15 23:34:12 +00:00
Mario Bertschler 490df27a26 Merge "Fix for clipped promise icon." into ub-launcher3-dorval-polish
am: 037fd6d964

Change-Id: I6b3eb6a07bca78aba61492ce5e1a6bca5cf060ee
2017-06-15 23:30:13 +00: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 35a4ae02d1 Merge "Updating the UI for Add-to-homescreen dialog" into ub-launcher3-dorval-polish 2017-06-15 23:28:30 +00:00
TreeHugger Robot 037fd6d964 Merge "Fix for clipped promise icon." into ub-launcher3-dorval-polish 2017-06-15 23:24:48 +00:00
Tony 887bd1fe1a Show more shortcuts when last notification is dimissed
We currently only show 2 shortcuts when notifications are
present, but support up to 4 otherwise. With this change,
the hidden shortcuts are added back after dismissing the
notifications, instead of only after closing and reopening
the container.

To ensure the transition is as elegant as possible, we also
separated the shortcuts header from the rest of the shortcuts.
That way we can reveal the new shortcuts without removing the
header (the shortcuts come out from behind the header).

Bug: 38036250
Change-Id: Ie9ab35f9be57cec1d5345e9e70e84e09ea52c9fc
2017-06-15 16:21:34 -07:00
Rajeev Kumar f34093356a Merge "Replace use of java.util.HashMap with android.util.ArrayMap in UserManagerCompatVL class" into ub-launcher3-dorval-polish
am: 21e69dc142

Change-Id: Ic3425a8a125a453dd7834fe7e18042aa3621f69e
2017-06-15 23:19:42 +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 468eaa0f99 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
am: da3c18dcbd

Change-Id: I1fb6147775d7e6bac09d8ed7171ecce39902c5ae
2017-06-15 22:34:47 +00:00
Rajeev Kumar ba99be59b8 Merge "Add following compile time dependency to packages/apps/Launcher3/build.gradle file" into ub-launcher3-dorval-polish
am: 0130a0555b

Change-Id: I880924f480103aa85fa8fde1c3f6a785461f9eb9
2017-06-15 22:31:38 +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
Rajeev Kumar 0130a0555b Merge "Add following compile time dependency to packages/apps/Launcher3/build.gradle file" into ub-launcher3-dorval-polish 2017-06-15 22:20:57 +00:00
Sunny Goyal 8b4342c943 Updating the UI for Add-to-homescreen dialog
> Adding scrollView so that the contents are accessible in multi-window
  mode as well
> Updating the padding to be same as an alert-dialog

Bug: 36725328
Change-Id: I83d32156aa9cb751daf6589bc226d7cde69e9b53
2017-06-15 14:51:28 -07:00
Sunny Goyal 5606e07059 Removing long press support from page-indicator
Bug: 62445549
Bug: 38163974
Change-Id: Ic0ae44ded7e4755c5401f327ce0d98a9ea96b2ab
2017-06-15 14:25:12 -07:00
Sunny Goyal 67deffed84 Merge "Fixing FLAG_PROVIDER_NOT_READY not being cleared in LoaderTask" into ub-launcher3-dorval-polish
am: 2de667d3af

Change-Id: I24fe0077dde448f9c5b05ec547d949fb4011058f
2017-06-15 21:06:33 +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
Tony Wickham 539ddc1b46 Merge "Align widgets labels to view start for RTL" into ub-launcher3-dorval-polish
am: 922f84acf2

Change-Id: I2e060336df906997a3ecab11f8e19b5da0743557
2017-06-15 19:26:53 +00:00
Tony Wickham 922f84acf2 Merge "Align widgets labels to view start for RTL" into ub-launcher3-dorval-polish 2017-06-15 19:19:40 +00:00
Tony Wickham 7fd4bb625d Align widgets labels to view start for RTL
Bug: 62593142
Change-Id: I058be62904d0c3a04837331e2da884aca21a598c
2017-06-15 11:30:37 -07:00
Mario Bertschler 6db41f1c69 Fix for clipped promise icon.
Bug: 62544596
Change-Id: Iadbd8b27244b6d2ff3f9f0167f90b2a260687bc3
2017-06-15 11:17:33 -07:00
Hyunyoung Song 17ad86b1bd Merge "Add LAUNCHER3_SPRING_ICONS feature flag b/34841763" into ub-launcher3-dorval-polish
am: 1153e9eb89

Change-Id: I905acca335e99f0fe2fe7b0c750766d052665b02
2017-06-15 17:30:17 +00:00
Hyunyoung Song 1153e9eb89 Merge "Add LAUNCHER3_SPRING_ICONS feature flag b/34841763" into ub-launcher3-dorval-polish 2017-06-15 17:19:08 +00: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 4bfa466cef Add following compile time dependency to
packages/apps/Launcher3/build.gradle file

compile
"com.android.support:support-dynamic-animation:${SUPPORT_LIBS_VERSION}"

Change-Id: Iab156fc00837829034f5b9eb9755a83a65546de6
2017-06-14 19:04:10 -07:00
Rajeev Kumar 44c3ddcf49 Replace use of java.util.HashMap with android.util.ArrayMap in
AddWorkspaceItemsTask class
Bug: 62466540

Change-Id: Iae1e7a639754d08ad7dbb90b20e2e4e205a078f8
2017-06-14 17:50:51 -07:00
Rajeev Kumar a729006c4c Merge "Replace use of java.util.HashMap with android.util.ArrayMap in DrawableFactory." into ub-launcher3-dorval-polish
am: 005a376c35

Change-Id: Ia86c535eaee402c6265c5a3425356b048ca85dea
2017-06-14 23:24:48 +00:00
Rajeev Kumar ba09b727de 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
am: 81d8a3dd22

Change-Id: I7d778d7f73c5a5cfc51cc12d8bae83eef6ec1695
2017-06-14 23:24:33 +00: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 385690f274 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
am: 9fb9b3bcb1

Change-Id: I4e3fbed6f024ef16a1510956335f990f0c052d52
2017-06-14 23:08:31 +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
Sunny Goyal 9fc3a58486 Extracting search algorithm in an interface to make it easier to change the search behavior
am: f6eb789016

Change-Id: Ie21b685ad713b4145b95322b8dc9abd00297018f
2017-06-14 20:48:52 +00: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
Hyunyoung Song 7475884052 Add LAUNCHER3_SPRING_ICONS feature flag
b/34841763

Change-Id: Icb1ad68f8f51437e44372edf6a284a3935788354
2017-06-14 01:10:27 -07:00
Rajeev Kumar d584a58be0 Merge "Replace use of java.util.HashMap with android.util.ArrayMap in AutoInstallsLayout, DefaultLayoutParser, ImportDataTask classes." into ub-launcher3-dorval-polish
am: 7847d10f38

Change-Id: Ie5e5b7d90e82aa4ff61f802c7d20441888614f87
2017-06-13 17:48:01 +00: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 57a63b9645 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
am: ef66cdbca4

Change-Id: Iab60e68c1ad1a6e38167ed35ba9978a5ecbe4db2
2017-06-13 17:04:59 +00:00