Commit Graph

14269 Commits

Author SHA1 Message Date
Tony Wickham 60c7239346 Merge "Log an error when loading an icon fails" into ub-launcher3-dorval-polish
am: 59fbea393b

Change-Id: I78a41165348675240ad7970aec6dfd6f69dca6e8
2017-06-28 17:40:41 +00:00
Tony Wickham 59fbea393b Merge "Log an error when loading an icon fails" into ub-launcher3-dorval-polish 2017-06-28 17:37:09 +00:00
Jon Miranda 2668ab58d5 Match items in icon preview with items in Folder using permutations.
am: 69c340a05e

Change-Id: I9efb54b81f891bef76d93aec85994fa121291bef
2017-06-28 17:09:38 +00:00
Jon Miranda 69c340a05e Match items in icon preview with items in Folder using permutations.
Before, with the FolderIconPreviewVerifier, we would
adjust which items are displayed in the FolderIcon.
This caused some issues where the apps in the folder
icon would jump to whatever was in the upper left quadrant.

Now, we always display the 4 first items in the icon by
modifying the XY positions of the items within the Folder.

Bug: 27944225
Bug: 35064148
Change-Id: I46c0fbb064d4da4da155e29963bfb92b14e40f07
2017-06-28 09:52:11 -07:00
Tony 18483fb72b Log an error when loading an icon fails
Bug: 62814533
Change-Id: I8ea61276225e211c578d31a5fd1591c4fb67d1bb
2017-06-27 21:35:54 -07:00
Tony Wickham b258e1ab3d Popup visual changes
am: aa2272f81c

Change-Id: Iea60ed8675d7e71189f0536a85c506f524c97d73
2017-06-28 02:55:47 +00:00
Tony Wickham aa2272f81c Popup visual changes
- Don't remove elevation during animation (b/62905720)
- Other adjustments (b/35766387)
  - Add "gutter" between notification and shortcuts
  - Change shortcuts to always be primary color (e.g. white)
  - Scale down shortcut icons when notifications present
  - Apply icon extracted color to "Notifications" header

Change-Id: Idf791dc76d15d05d246000ad73810916d7cd1750
2017-06-27 19:43:18 -07:00
Tony 22b8b36a2c Use dark nav bar for dark widgets sheet
am: d032d2cea4

Change-Id: I68ea1c07c636c2cf662d2112359b17e89eaf8081
2017-06-27 23:39:34 +00:00
Tony d032d2cea4 Use dark nav bar for dark widgets sheet
Bug: 62907264
Change-Id: I520a5ab7867363a68b5bc041a192d14d242ecaa2
2017-06-27 15:27:41 -07:00
Jon Miranda 72b85a3103 Merge "Grid change polish bugs." into ub-launcher3-dorval-polish
am: 184f018ea1

Change-Id: If4ccbbb74307d594882793c8c7eeb6a17b66f914
2017-06-27 22:20:34 +00:00
TreeHugger Robot 184f018ea1 Merge "Grid change polish bugs." into ub-launcher3-dorval-polish 2017-06-27 22:14:45 +00:00
Jon Miranda fe14cf3532 Merge "Update cache version based on new icon sizes." into ub-launcher3-dorval-polish
am: fe5008c997

Change-Id: Ifd7f5e456a60a86206899a88c0de0183b45515fe
2017-06-27 22:06:30 +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 74ef41fec4 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
am: ba9065cffd

Change-Id: I631e0e1891dc38aa217eb5c1b589ff9c0cbf3221
2017-06-27 20:24:19 +00: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
Jon Miranda b071637e1f Merge "Fix getAppPosition calculation since search divider removed from RV." into ub-launcher3-dorval-polish
am: 8db04610f9

Change-Id: I7b374d1a6a3586456cde5f1dc482f1a34bda2a51
2017-06-27 17:28:39 +00: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
Adam Cohen 7c9b752ca0 Merge "Revert edge glow effect and restore damped overscroll" into ub-launcher3-dorval-polish
am: 89b5b918f0

Change-Id: Ib288b01e72198b7ae1835ec83e8c279a3a061f41
2017-06-27 16:46:36 +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
Jon Miranda 3e04922204 Merge "Add overscroll w/ physics to All Apps." into ub-launcher3-dorval-polish
am: a80b184206

Change-Id: Ice8cd96031c33ec68d6b1a27b5212936b99b733b
2017-06-27 05:53:58 +00: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
Hyunyoung Song 2bdce730e6 Merge "Bitmap resource should not be scaled on lower density devices Bug: 63008339" into ub-launcher3-dorval-polish
am: 71d94efcfb

Change-Id: I8d10acfa8b95599e1f77cd308f67dd162ae2bb73
2017-06-27 00:25:37 +00: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 8a0f7ab68d Merge "Replace use of java.util.HashMap with android.util.ArrayMap in AddWorkspaceItemsTask class Bug: 62466540" into ub-launcher3-dorval-polish
am: d392255539

Change-Id: Ie1b893b0bfda5e73c493c85a86dd5c44cbbae0cc
2017-06-26 23:57:10 +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 607a8ff8d4 Merge "Updating fast scrollbar UI in Landscape" into ub-launcher3-dorval-polish
am: b647302a90

Change-Id: Ia1fdc21126375cb7c95fb57126990e0921ed3083
2017-06-26 22:14:04 +00:00
Jon Miranda a161913775 Merge "Fix Folder text animation bugs." into ub-launcher3-dorval-polish
am: f729eb5291

Change-Id: Ifada9dc9eb4a7fd2c79f0a741d7998e9431a92bf
2017-06-26 22:11:35 +00: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
Mario Bertschler 06c93dd0be Merge "Switching to dark color in color extraction algorithm." into ub-launcher3-dorval-polish
am: bbe504d24d

Change-Id: I8c837f783df8109057ace08bbac5dbc167d864e4
2017-06-26 21:58: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
Tony Wickham eeefd2cf33 Merge "Add dark widgets theme" into ub-launcher3-dorval-polish
am: 7a0ec3f28c

Change-Id: If06b993fd3c4ff96c73def8d9ae3378c622e20cc
2017-06-26 21:56:08 +00: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
Hyunyoung Song 2e42f62264 Merge "Fixing drag outline not getting drawn when the shortcuts popup is shown." into ub-launcher3-dorval-polish
am: 3ed3076550

Change-Id: I6a150c9cf950afc1a5afb9dab774b63cb1887e56
2017-06-26 21:31:43 +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 e6c002adfb Merge "Reorder home settings Bug: 62957388" into ub-launcher3-dorval-polish
am: 32a1e2cd48

Change-Id: I57dfd01b4b1d50d2e71fc66148c5b6daed00b471
2017-06-26 20:51:40 +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 9556b528e6 Animate Folder elevation halfway thru transition.
am: c7aa37d696

Change-Id: Iafc6757fbb9dd85a7cd52f39c8178ab5a741326e
2017-06-26 18:55:31 +00: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