Commit Graph

78507 Commits

Author SHA1 Message Date
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
Jon Miranda df7ad231ec Move inner classes out of FolderIcon.
am: cb73920b23

Change-Id: Ia86985345a70de769e5cbdd08ef0969ecb6eab73
2017-06-26 15:35:17 +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 a1e46e2f63 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
am: 374d170f96

Change-Id: I1206eb35fe9698e7c931cafebfd04c5f718fa207
2017-06-23 23:47:52 +00: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 807a62b4da Merge "Get rid of an unused import from AppsSearchContainerLayout class." into ub-launcher3-dorval-polish
am: cee3d8da28

Change-Id: I6e89431d32dfbaf86fa54391eb3be8ab9f40fbde
2017-06-23 23:33:56 +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
Sunny Goyal f9476a55a8 Merge "Fixing two different implementations for animating text alpha" into ub-launcher3-dorval-polish
am: 48f1135a6d

Change-Id: I3a447c72dd5b249fd86514c54f134ba7584b407a
2017-06-23 19:18:32 +00: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
Jon Miranda e2468d8483 Merge "Landscape grid changes for Workspace/All Apps." into ub-launcher3-dorval-polish
am: 6828cbb751

Change-Id: I3892b4c6d7b0635e7edb7340de0c4f19730c388d
2017-06-23 19:04:01 +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 d3cc914fcd Separating double shadow logic for BubbleTextView in a separate subclass
am: 9314b7c01d

Change-Id: I8074c790267e1c88cabe0bf43f6c67051fb6a7a4
2017-06-23 17:59:43 +00: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 12baf3f1bd 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
am: a9d721df78

Change-Id: I490a56bc8b44a6df0ed478d024d477c3e75d3e07
2017-06-23 02:01:42 +00: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
Jon Miranda b5fb29a7c0 Merge "Move PreviewBackground into its own class file." into ub-launcher3-dorval-polish
am: 8a87856d3a

Change-Id: I16f0551e2f41bbd42eb8babc8f80276bc8f4301a
2017-06-23 01:52:42 +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
Sunny Goyal e55484ecda Merge "Adding support in IconProvider for loading different icons for UI and model use" into ub-launcher3-dorval-polish
am: 9e83ba5a5b

Change-Id: I93add5f3b7bda2139640165f9b749cb5388084e5
2017-06-23 00:31:06 +00: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
Sunny Goyal 6358eb5f47 Merge "Fixing GridMigrationTask tests" into ub-launcher3-dorval-polish
am: b715701554

Change-Id: Ia2417383fa4334fd114a9bc368ea5472293f52f2
2017-06-22 22:52:25 +00:00
Rajeev Kumar fe7a362a31 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
am: 226b26e73e

Change-Id: I240b41ff9e838637f3c3f1a48c64885f102dbf15
2017-06-22 22:48:27 +00: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 5b2b8a4e11 Merge "PopupContainerWithArrow accepting bubbletextview without icon being set." into ub-launcher3-dorval-polish
am: 293fba031e

Change-Id: I5b6dbf89188680b5407adb175cb3cef76b957dd3
2017-06-22 19:40:47 +00:00