Commit Graph

13925 Commits

Author SHA1 Message Date
Rajeev Kumar 1d8d945020 Fix the logging tag to be 23 characters it was 24 characters.
Change-Id: I8ec490b34cf60b1fbeff43b732562627eb581d93
2017-06-27 17:20:34 -07:00
Tony d032d2cea4 Use dark nav bar for dark widgets sheet
Bug: 62907264
Change-Id: I520a5ab7867363a68b5bc041a192d14d242ecaa2
2017-06-27 15:27:41 -07:00
TreeHugger Robot 184f018ea1 Merge "Grid change polish bugs." into ub-launcher3-dorval-polish 2017-06-27 22:14:45 +00:00
TreeHugger Robot fe5008c997 Merge "Update cache version based on new icon sizes." into ub-launcher3-dorval-polish 2017-06-27 21:59:14 +00:00
Jon Miranda 6cdc16cf84 Update cache version based on new icon sizes.
Change-Id: Ia82edd366cba19efbec0c1764484c51a976c5aa1
2017-06-27 14:04:01 -07:00
Rajeev Kumar ba9065cffd Some cleanups in IconCache class:
1. Make an instance variable final
2. Replace explicit type argument with <>
3. Get rid of an unnecessary return statement

Change-Id: Ifd0017e973c33a40d398fceb65125464f877ff56
2017-06-27 12:44:56 -07:00
TreeHugger Robot 8db04610f9 Merge "Fix getAppPosition calculation since search divider removed from RV." into ub-launcher3-dorval-polish 2017-06-27 17:22:05 +00:00
TreeHugger Robot 89b5b918f0 Merge "Revert edge glow effect and restore damped overscroll" into ub-launcher3-dorval-polish 2017-06-27 16:38:49 +00:00
Adam Cohen 8d769d6620 Revert edge glow effect and restore damped overscroll
Bug 62628421

Change-Id: Iab6ac567e98e63ade34de8817c3ae1f58c25ba19
2017-06-27 09:29:34 -07:00
Jon Miranda e309c6dc24 Fix getAppPosition calculation since search divider removed from RV.
The app position calculations were off by 1 since the search divider
used to be the first item in the RecyclerView.

Bug: 38349031
Change-Id: I8c161b940ec8015aab85b0aab94718e6fee8fcbd
2017-06-27 08:37:14 -07:00
TreeHugger Robot a80b184206 Merge "Add overscroll w/ physics to All Apps." into ub-launcher3-dorval-polish 2017-06-27 05:51:23 +00:00
Jon Miranda ad3194ec81 Add overscroll w/ physics to All Apps.
Bug: 62628421
Bug: 38349031

Change-Id: If3ba6dfbbd3a4b1c87e69df0066f801f963752aa
2017-06-26 22:45:53 -07:00
TreeHugger Robot 71d94efcfb Merge "Bitmap resource should not be scaled on lower density devices Bug: 63008339" into ub-launcher3-dorval-polish 2017-06-27 00:19:33 +00:00
Rajeev Kumar d392255539 Merge "Replace use of java.util.HashMap with android.util.ArrayMap in AddWorkspaceItemsTask class Bug: 62466540" into ub-launcher3-dorval-polish 2017-06-26 23:53:09 +00:00
Hyunyoung Song 53f5f172a3 Bitmap resource should not be scaled on lower density devices
Bug: 63008339

Change-Id: I51163169adbc279c3229b3abef167702f75d0f1b
2017-06-26 16:04:37 -07:00
Sunny Goyal b647302a90 Merge "Updating fast scrollbar UI in Landscape" into ub-launcher3-dorval-polish 2017-06-26 22:11:27 +00:00
TreeHugger Robot f729eb5291 Merge "Fix Folder text animation bugs." into ub-launcher3-dorval-polish 2017-06-26 22:01:08 +00:00
Sunny Goyal 89d5c5a31b Updating fast scrollbar UI in Landscape
Creating a separate view for FastScrollBar and moving all the relavant logic in
the view.
For protrait, the touch handling is delegated by the recycler view just like before.
For landscape, the dcrollbar does not overlay with recyclerView and handles the touch
itself

Bug: 37015359
Change-Id: Ie1981326457ba739bdf0ac8063db1065f395f133
2017-06-26 14:56:36 -07:00
Mario Bertschler bbe504d24d Merge "Switching to dark color in color extraction algorithm." into ub-launcher3-dorval-polish 2017-06-26 21:47:20 +00:00
Tony Wickham 7a0ec3f28c Merge "Add dark widgets theme" into ub-launcher3-dorval-polish 2017-06-26 21:34:59 +00:00
TreeHugger Robot 3ed3076550 Merge "Fixing drag outline not getting drawn when the shortcuts popup is shown." into ub-launcher3-dorval-polish 2017-06-26 21:14:13 +00:00
Hyunyoung Song 32a1e2cd48 Merge "Reorder home settings Bug: 62957388" into ub-launcher3-dorval-polish 2017-06-26 20:41:38 +00:00
Hyunyoung Song 2c1814378c Reorder home settings
Bug: 62957388

Change-Id: I8fdc6448033d3c7f49396e506ef7f1fee45a7914
2017-06-26 12:17:25 -07:00
Jon Miranda 1d9cc32475 Fix Folder text animation bugs.
* The Folder text was not getting reset back to visible on close.
* DoubleShadowBubbleTextView now draws the shadow using the
  alpha of the current text.

Bug: 62967568
Bug: 35064148
Change-Id: Iea3e5275b6878fc362150e99a225ff700b946f44
2017-06-26 11:43:58 -07:00
Jon Miranda c7aa37d696 Animate Folder elevation halfway thru transition.
The current implementation had the Folder elevation animate in
after the Folder transition was done completing. To make it appear
more smooth, we animate the Folder elevation halfway thru the
transition.

We will keep the separate FolderIcon shadow fade-in animation on
the closing transition otherwise the shadow will be apparent in the
"preview."

Bug: 62787582
Bug: 35064148
Change-Id: Ifd3d84214b0600b6651005c8e65d90b0d8ade422
2017-06-26 11:31:33 -07:00
Hyunyoung Song 1322f9cb9a Fixing drag outline not getting drawn when the shortcuts popup is shown.
Shortucts popup uses predrag listener to manage the transient state of
the icon. Fixing the order of PredragListener, such that predragEnd gets
called before dragStart. This allows the transient state to be cleared
before any other state changes are done by onDragStart.

Bug: 62544416
Change-Id: I77c9a1aa17a15fe6f9f342af7a7fe3092a9d026b
2017-06-26 11:25:01 -07:00
Mario Bertschler 313fc8aa1f Switching to dark color in color extraction algorithm.
Bug: 62903659
Change-Id: Ibd65cb75ee6d74bde20e35d570a505ec8f4b4617
2017-06-26 11:10:18 -07:00
Tony Wickham 093c3ac7c3 Add dark widgets theme
Bug: 62907264
Change-Id: I9831e071eab9a746d1aacab7d023371cc4a631ef
2017-06-26 17:50:29 +00:00
Jon Miranda cb73920b23 Move inner classes out of FolderIcon.
The goal is to eventually move all of the PreviewBackground and
Preview Item drawing out of the FolderIcon class.

Bug: 36022592

Change-Id: Ie0552bb4ca8a7e232c1c454a23558940e9394a14
2017-06-25 21:29:35 -07:00
Jon Miranda 72b5fd186e Grid change polish bugs.
- Folder icons were too small in landscape.
- Folders can now be 16dp away from the edge
  (used to be 64dp which resulted in super small folders)
- Decrease page spacing back to 8dp
- Decrease PreviewBackground accept scale factor since
  hotseat is now generally smaller.

Bug: 37014334
Bug: 37015359
Change-Id: Icbb53d34136bfdb93796d48f7379da6b9e214345
2017-06-25 18:15:29 -07:00
Rajeev Kumar 374d170f96 Merge "Few cleanups in Launcher.java: 1. Fix static member accessed via instance reference 2. Get rid of explicit type arguments 3. Make few instance variables final 4. Get rid of redundant 'public' modifier for interface methods 5. Get rid of an unnecessary return statement" into ub-launcher3-dorval-polish 2017-06-23 23:40:15 +00:00
Rajeev Kumar cee3d8da28 Merge "Get rid of an unused import from AppsSearchContainerLayout class." into ub-launcher3-dorval-polish 2017-06-23 23:28:29 +00:00
Rajeev Kumar 43c0f58b08 Few cleanups in Launcher.java:
1. Fix static member accessed via instance reference
2. Get rid of explicit type arguments
3. Make few instance variables final
4. Get rid of redundant 'public' modifier for interface methods
5. Get rid of an unnecessary return statement

Change-Id: I3beec5ca14e61ed5cdd26b38c1273679c801acc2
2017-06-23 15:34:55 -07:00
Rajeev Kumar 151c0550dc Get rid of an unused import from AppsSearchContainerLayout class.
Change-Id: Ia6d321ee3405dd82542a102489c1dba94f470bb0
2017-06-23 15:14:45 -07:00
TreeHugger Robot 48f1135a6d Merge "Fixing two different implementations for animating text alpha" into ub-launcher3-dorval-polish 2017-06-23 19:10:41 +00:00
TreeHugger Robot 6828cbb751 Merge "Landscape grid changes for Workspace/All Apps." into ub-launcher3-dorval-polish 2017-06-23 18:59:12 +00:00
Jon Miranda b28c4fcf35 Landscape grid changes for Workspace/All Apps.
This is the just first CL to get eyes on the changes.
Next CL will update the All Apps to be full width.

Bug: 37015359
Change-Id: I2d7ec6851fdc13b8fa654e7e2be3152330243ccc
2017-06-23 11:47:48 -07:00
Sunny Goyal 4e5a878bc4 Fixing two different implementations for animating text alpha
The animator in BubbleTextView maintains an internal state which was getting
invalidated by the FolderAnimator.

Change-Id: I53885fe8f1773ca62fe59f1712056f02ff9a749f
2017-06-23 11:02:02 -07:00
Sunny Goyal 9314b7c01d Separating double shadow logic for BubbleTextView in a separate subclass
This allows better customization and reuse of the double shadow logic and simplified
various attribute management

Change-Id: I5e277d8399756385452d8bb8c0a0107234a76d34
2017-06-23 10:37:25 -07:00
Rajeev Kumar a9d721df78 Merge "1. Replace use of java.util.HashSet with android.util.ArraySet in NotificationListener. 2. Make few instance variable final. 3. Fix an unchecked cast." into ub-launcher3-dorval-polish 2017-06-23 01:53:44 +00:00
TreeHugger Robot 8a87856d3a Merge "Move PreviewBackground into its own class file." into ub-launcher3-dorval-polish 2017-06-23 01:45:02 +00:00
Rajeev Kumar 541e13c265 1. Replace use of java.util.HashSet with android.util.ArraySet in
NotificationListener.
2. Make few instance variable final.
3. Fix an unchecked cast.

Bug: 62466540
Change-Id: I62352c9c9b38f5eaadbbb39c13dfe1411048109d
2017-06-22 18:43:25 -07:00
Jon Miranda a0233f72be Move PreviewBackground into its own class file.
This is done in preparation for new PreviewBackground animation
where we will be animating in the first page preview items when
closing the Folder from a non-first page.

Bug: 36022592
Bug: 35064148
Change-Id: Id4d54da16ddfa852ca639a2dc8d328307d4d443a
2017-06-22 18:34:45 -07:00
TreeHugger Robot 9e83ba5a5b Merge "Adding support in IconProvider for loading different icons for UI and model use" into ub-launcher3-dorval-polish 2017-06-23 00:21:02 +00:00
Sunny Goyal 1da138903b Adding support in IconProvider for loading different icons for UI and model use
Bug: 62900800
Change-Id: I86e2d77efc7e5fc85b59cf18e634546d098d138f
2017-06-22 17:13:46 -07:00
TreeHugger Robot b715701554 Merge "Fixing GridMigrationTask tests" into ub-launcher3-dorval-polish 2017-06-22 22:45:33 +00:00
Rajeev Kumar 226b26e73e Merge "1. Replace use of java.util.HashMap with android.util.ArrayMap in SwipeHelper class 2. Make few instance variables final Bug: 62466540" into ub-launcher3-dorval-polish 2017-06-22 22:40:53 +00:00
Sunny Goyal 01088543c9 Fixing GridMigrationTask tests
Bug: 62907570
Change-Id: Id165e70930025ccf13a1a105acbdc0fb59ee7e32
2017-06-22 15:26:05 -07:00
Rajeev Kumar 1e10535c16 1. Replace use of java.util.HashMap with android.util.ArrayMap in
SwipeHelper class
2. Make few instance variables final
Bug: 62466540

Change-Id: I6cef170c770f4da8574205ef4f4f43edbfdbbc58
2017-06-22 13:17:31 -07:00
Mario Bertschler 293fba031e Merge "PopupContainerWithArrow accepting bubbletextview without icon being set." into ub-launcher3-dorval-polish 2017-06-22 19:34:59 +00:00