Commit Graph

16456 Commits

Author SHA1 Message Date
TreeHugger Robot 990b319bf7 Merge "Rafactoring shadow generator logic to allow customizing various parameters" into ub-launcher3-dorval-polish 2017-06-20 22:33:27 +00:00
Sunny Goyal 027fba3527 Refactoring PinItemDragListener into a base class to allow diffenret implementations
of multi-window drag and drop

Bug: 62702235
Change-Id: Ie87e0f7d131575bac1cb1099b0a70b230560be9a
2017-06-20 13:48:38 -07:00
Sunny Goyal e463c8f191 Rafactoring shadow generator logic to allow customizing various parameters
Change-Id: I38f8ac4352cb9e23d377832ffe2f4923a4df7a70
2017-06-20 13:37:05 -07:00
TreeHugger Robot 50b4ae3c72 Merge "Fixing various system UI flags not getting updated properly on theme changes." into ub-launcher3-dorval-polish 2017-06-20 20:04:15 +00:00
TreeHugger Robot 7518fa2d40 Merge "Show and update preload icons when they are in a FolderIcon preview." into ub-launcher3-dorval-polish 2017-06-20 18:13:52 +00:00
Jon Miranda 2ef1ab4017 Show and update preload icons when they are in a FolderIcon preview.
Bug: 62626549
Change-Id: Ie0ad06d0239dccb8d8388381ffe845c4bbc079d6
2017-06-20 11:05:34 -07:00
Sunny Goyal 8392c823a9 Fixing various system UI flags not getting updated properly on theme changes.
SystemUiController manages various system UI flags in priorty order and merges
all the states before applying the syste flags.
Fixing WallpaperColors when it was not handing wallpaper change properly in
some cases

Change-Id: I915442818e7888c97c81f63c8ea9f3c13053eb2c
2017-06-20 10:55:27 -07:00
Jon Miranda f9e8626fd0 Fix shadow problems with Folder animation.
The shadow from the top of the Folder is visible through
the transparent part of the 'preview' background. When we
remove the elevation as part of the animation, the shadow
jumps into visibility when the animation is done.

To solve this, we remove the elevation during the Folder animation and
 * Animate the elevation at the end of the Folder opening animation.
 * Animate the shadow of the FolderIcon bg in once the Folder is closed.

Bug: 62787582
Bug: 35064148
Change-Id: Id5d8fcbfa4f74882531334f12488560da2496faf
2017-06-20 09:24:17 -07:00
TreeHugger Robot 7e2e2aa80b Merge "Fixing dark tint for ShadowDrawable. Updating the dark theme for empty all-apps search drawable." into ub-launcher3-dorval-polish 2017-06-20 16:11:18 +00:00
Sunny Goyal 5931ca0415 Fixing dark tint for ShadowDrawable.
Updating the dark theme for empty all-apps search drawable.

Change-Id: Ieb2018924da337bdd97eaf3adf2d32c3e3bebc73
2017-06-20 09:03:30 -07:00
Tony Wickham 5a1ca5756e Adjust some sizes in popup
- Increase main notification height and pad text/icon bottom
- Reduce shortcuts height when there are notifications to 48dp
  - When the last notification is dismissed, animate back to 56dp

Bug: 35766387
Change-Id: I84f843c042137fdf93fa720802eb2f19337197b4
2017-06-19 18:42:46 -07:00
Tony Wickham 034d74da19 Merge "Show more shortcuts when last notification is dimissed" into ub-launcher3-dorval-polish 2017-06-20 01:36:55 +00:00
TreeHugger Robot bacc582817 Merge "Portrait grid changes for Workspace/All Apps." into ub-launcher3-dorval-polish 2017-06-20 00:23:33 +00:00
Jon Miranda 0966072c91 Portrait grid changes for Workspace/All Apps.
Bug: 37015359
Change-Id: Ifbdd0e71c36e532b189e02283e3eeb562ebe2654
2017-06-19 17:02:45 -07:00
TreeHugger Robot 60c26d1424 Merge "Fade folder icon text when opening/closing." into ub-launcher3-dorval-polish 2017-06-19 23:34:24 +00:00
TreeHugger Robot 092e856498 Merge "Applying API changes on WallpaperColors." into ub-launcher3-dorval-polish 2017-06-19 22:48:03 +00:00
Mario Bertschler 636e081ab7 Applying API changes on WallpaperColors.
Bug: 62719001
Change-Id: Iabe2e446bd05c41ec910ed2ad534d623285e7e63
2017-06-19 14:47:57 -07:00
TreeHugger Robot 9927d3f7a9 Merge "Add spring effect to adaptive icon foreground layer b/34841763" into ub-launcher3-dorval-polish 2017-06-19 21:47:06 +00:00
Hyunyoung Song 4a5fd100d7 Add spring effect to adaptive icon foreground layer
b/34841763

Note:
- Tweaked values with motion designer
- icon normalization fix is in
- anti aliasing issue is fixed
- currently only supported on app icons and not on shortcuts

Change-Id: If0e2bd8d49de19c9a81bb0f88b140f170b929934
2017-06-19 14:22:15 -07:00
Tony Wickham 663bb990f0 Merge "Disable haptic feedback on items in Folders." into ub-launcher3-dorval-polish 2017-06-19 21:00:45 +00:00
Tony Wickham bd80c1e0ab Merge "Spread out overview buttons in landscape" into ub-launcher3-dorval-polish 2017-06-19 21:00:25 +00:00
Jon Miranda 1991450cb0 Fix bug where TalkBack reads both folder name and hint.
am: 7d18dd8f07

Change-Id: Iedf8f4f8c4f9063372afb57ca1cf7462a15d7223
2017-06-19 20:26:20 +00:00
Jon Miranda 7d18dd8f07 Fix bug where TalkBack reads both folder name and hint.
In O, TalkBack reads both content description and the hint.
We clear the hint when the Folder is named so that TalkBack
only reads the Folder name.

Bug: 62557038
Change-Id: I222fef2e1ce4a0bc222f0ca7bfb2f24281907188
2017-06-19 18:08:52 +00:00
Jon Miranda e4a252a16b Fade folder icon text when opening/closing.
Bug: 62065293
Bug: 35064148
Change-Id: I9c54c6d222216fa079c76a069f0ec8dd966d5bfb
2017-06-18 17:47:11 -07:00
Tony 47a8922161 Spread out overview buttons in landscape
Bug: 62574356
Change-Id: I7a959604bc57f8526ea827857da47d719746aba7
2017-06-16 18:33:31 -07:00
Tony Wickham 6691a6b75c Merge "Fade original icon's text in as popup closes" into ub-launcher3-dorval-polish 2017-06-17 01:31:10 +00:00
Tony 234ca84a50 Disable haptic feedback on items in Folders.
This is already done for Workspace items, as haptics
are controlled by Launcher/DragController.

Bug: 62510384
Change-Id: Iacc534249094ccda841a150708d780017f3cccb0
2017-06-16 17:50:29 -07:00
Tony 8f402808e4 Fade original icon's text in as popup closes
Bug: 62444131
Change-Id: If8f91d8455a5952d252f9cdd1b211afb5ee035c7
2017-06-16 17:24:54 -07:00
TreeHugger Robot a2341af20f Merge "Updating the fast scroll bar UI" into ub-launcher3-dorval-polish 2017-06-16 22:08:25 +00:00
Sunny Goyal 1a8f6fb736 Updating the fast scroll bar UI
Bug: 37015359
Change-Id: Iec0748f04ebe9a3eef13ff759da3cab6ff28c3a1
2017-06-16 14:57:34 -07:00
Rajeev Kumar 301af8ebff Merge "1. Avoid object allocations during draw/layout operations (preallocate and reuse instead). 2. Prevent NPE in dereferencing mDragInfo. 3. Get rid of unused variable assignments." into ub-launcher3-dorval-polish 2017-06-16 21:14:27 +00:00
Sunny Goyal 59c29b61a4 Merge "Removing long press support from page-indicator" into ub-launcher3-dorval-polish 2017-06-16 20:49:40 +00:00
Rajeev Kumar 11c7bc678b 1. Avoid object allocations during draw/layout operations (preallocate
and reuse instead).
2. Prevent NPE in dereferencing mDragInfo.
3. Get rid of unused variable assignments.

Change-Id: Ie74169795462d4dbdb61f84495ed1ec6ab2b0709
2017-06-16 13:20:58 -07:00
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
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
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
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 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 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 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