summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/graphics
Commit message (Collapse)AuthorAgeFilesLines
* Adding ability to set a custom blur mask filter and alphas in shadowMario Bertschler2017-07-201-5/+10
| | | | | | | generator. Bug: 63151770 Change-Id: I7d79b700b64ccb949816b7bf31d98cc76fa443ba
* Enable to recreate icon with shadow without resizing it.Mario Bertschler2017-07-101-1/+7
| | | | Change-Id: I808eec78ff221adee72d0395e87c89150693f206
* Use last saved icon if pinned shortcut is unpublishedTony Wickham2017-06-291-3/+19
| | | | | Bug: 62814533 Change-Id: I683bd6abdf17defc55c0f17d8688951d4841c066
* Fixing drag outline not getting drawn when the shortcuts popup is shown.Hyunyoung Song2017-06-261-8/+7
| | | | | | | | | | 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
* Merge "Do not apply legacy treatment on shortcuts Bug: 62617041" into ↵TreeHugger Robot2017-06-221-2/+1
|\ | | | | | | ub-launcher3-dorval-polish
| * Do not apply legacy treatment on shortcutsHyunyoung Song2017-06-221-2/+1
| | | | | | | | | | | | Bug: 62617041 Change-Id: I56a04536fe1bcba9912c5da3ce5a9c9b75bc3506
* | Setting the callback for previewItems to folderIcon. This allows the ↵Sunny Goyal2017-06-221-1/+1
| | | | | | | | | | | | | | | | | | | | FolderIcon to get updated without going through the child'draw pass. Also simplifying the draw code for the FolderIcon to remove any cycling invalidate calls Bug: 62900800 Change-Id: I17009a5347a1c3c35426313ac759e0240ce6a395
* | Enabling spring effect during drag-n-drop on deep shortcutsSunny Goyal2017-06-211-1/+4
| | | | | | | | Change-Id: Iac128e850c41c0946d28e1ee8824ce8a62b4c395
* | Merge "Rafactoring shadow generator logic to allow customizing various ↵TreeHugger Robot2017-06-201-40/+54
|\ \ | | | | | | | | | parameters" into ub-launcher3-dorval-polish
| * | Rafactoring shadow generator logic to allow customizing various parametersSunny Goyal2017-06-201-40/+54
| | | | | | | | | | | | Change-Id: I38f8ac4352cb9e23d377832ffe2f4923a4df7a70
* | | Refactoring PinItemDragListener into a base class to allow diffenret ↵Sunny Goyal2017-06-201-2/+3
|/ / | | | | | | | | | | | | | | | | implementations of multi-window drag and drop Bug: 62702235 Change-Id: Ie87e0f7d131575bac1cb1099b0a70b230560be9a
* / Fixing dark tint for ShadowDrawable.Sunny Goyal2017-06-201-25/+24
|/ | | | | | Updating the dark theme for empty all-apps search drawable. Change-Id: Ieb2018924da337bdd97eaf3adf2d32c3e3bebc73
* Updating the fast scroll bar UISunny Goyal2017-06-161-0/+89
| | | | | Bug: 37015359 Change-Id: Iec0748f04ebe9a3eef13ff759da3cab6ff28c3a1
* Merge "Making bitmap of PreloaderIconDrawable smaller so it fits inside the ↵TreeHugger Robot2017-06-151-1/+1
|\ | | | | | | progress circle." into ub-launcher3-dorval-polish
| * Making bitmap of PreloaderIconDrawable smaller so it fits insideMario Bertschler2017-06-141-1/+1
| | | | | | | | | | | | | | the progress circle. Bug: 62270605 Change-Id: Idd3c145303531dbfbe9bd69af68b5c02baf21a93
* | Merge "Fix for clipped promise icon." into ub-launcher3-dorval-polishTreeHugger Robot2017-06-151-4/+4
|\ \
| * | Fix for clipped promise icon.Mario Bertschler2017-06-151-4/+4
| |/ | | | | | | | | Bug: 62544596 Change-Id: Iadbd8b27244b6d2ff3f9f0167f90b2a260687bc3
* | Merge "Replace use of java.util.HashMap with android.util.ArrayMap in ↵Rajeev Kumar2017-06-141-4/+2
|\ \ | |/ |/| | | DrawableFactory." into ub-launcher3-dorval-polish
| * Replace use of java.util.HashMap with android.util.ArrayMapRajeev Kumar2017-06-091-4/+2
| | | | | | | | | | | | | | | | in DrawableFactory. Change-Id: I4ab7f908c3e8768762942ca83f576197dfea66d6 Bug: 62466540 (cherry picked from commit 2d75266c75e8dbbabaf9e0db96c49b1005a10db2)
* | Making some constants accessibleSunny Goyal2017-06-091-1/+1
|/ | | | Change-Id: Id5caff8defe8ccc4a79e1c99b0040abb1750b3e1
* Fixing Drawable not getting tinted properly if the color is always transparentSunny Goyal2017-06-091-0/+1
| | | | | Bug: 62457537 Change-Id: I04b8804162b7338f62d3fdabb87dd31ad507ebaa
* resolve merge conflicts of 7092db024 to ub-launcher3-dorval-polishTony Wickham2017-06-081-9/+44
|\ | | | | | | | | Test: I solemnly swear I tested this conflict resolution.x Change-Id: I0f9ed3d42fcb04299c3c23d06629f855614c0538
| * Add support for color extracted notification dotsTony Wickham2017-06-081-9/+44
| | | | | | | | | | | | | | | | | | | | | | Changing the badge_color in colors.xml to transparent will cause them to be color extracted. When an extracted color is used in the IconPalette, we desaturate the background. Otherwise we respect the exact color specified in colors.xml. Change-Id: Ie82d0c5335fa5f24d4cc47766e4c1719c4916f8b
* | Adding a utility method for getting device prefsSunny Goyal2017-06-081-9/+5
| | | | | | | | Change-Id: I1e3c7df0a3f4e847b40d722d44890e441cc73509
* | Adding tint support for shadow drawable.Sunny Goyal2017-06-071-0/+33
| | | | | | | | | | Bug: 37616877 Change-Id: I2ce8d82143238422bccabfa5191ef95e936a713d
* | Generalize findContrastColor() to work for dark backgroundsTony Wickham2017-06-061-17/+14
| | | | | | | | | | | | | | Previously it assumed the background was lighter than the foreground. Bug: 62380473 Change-Id: Icd53750a2f9181890c8b9c62721d07946e115e99
* | Merge "Prevent clipping on the top and left side on AdaptiveIconDrawables ↵Hyunyoung Song2017-06-062-3/+4
|\| | | | | | | | | | | | | | | b/62372639" into ub-launcher3-dorval am: 88082394eb Change-Id: I7148678d490c55e9a10e672cba839ef8aef9d00a
| * Merge "Prevent clipping on the top and left side on AdaptiveIconDrawables ↵TreeHugger Robot2017-06-062-3/+4
| |\ | | | | | | | | | b/62372639" into ub-launcher3-dorval
| | * Prevent clipping on the top and left side on AdaptiveIconDrawablesHyunyoung Song2017-06-062-3/+4
| | | | | | | | | | | | | | | | | | b/62372639 Change-Id: I0b2c0daecba2904f3e89f7b0b558d9b10f5dcbf6
* | | Theming on Scrim- and GradientViewMario Bertschler2017-05-252-35/+48
| | | | | | | | | | | | Change-Id: I3070b54485a9476ffb71e325cdd45c2bd7ef5c9a
* | | Defining a dark theme for launcherSunny Goyal2017-05-242-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | > Removing the code for LIGHT_STATUS_BAR as that will be controlled by the theme > Updating icon cache to always use transparent background for low-res, as the theme can change the bg color Change-Id: Iab64ec29cab629ee515af22ec15b95d3f40a9df5
* | | Allapps motion changes for landscapeMario Bertschler2017-05-242-4/+12
| | | | | | | | | | | | | | | | | | Scrim and Gradient alpha starting from 0 Change-Id: If200539f3915ff32885712cff868d74d014c340f
* | | Revert "Allapps motion changes for landscape"Mario Bertschler2017-05-241-45/+4
| | | | | | | | | | | | | | | | | | This reverts commit d15dccf10eec367e38b8723c409909a29307057a. Change-Id: I04c06d419bc636929259bc5f4fdce982d97ef33f
* | | Allapps motion changes for landscapeMario Bertschler2017-05-241-4/+45
| | | | | | | | | | | | | | | Bug: 38230696 Change-Id: I82e36c240c934ff6b86b55e0a0f07391fd11ec82
* | | resolve merge conflicts of 02aced978 to ub-launcher3-dorval-polishTony Wickham2017-05-191-5/+1
|\| | | | | | | | | | | | | | Test: I solemnly swear I tested this conflict resolution. Change-Id: Ib44ce0130b9eb01c354f18326d7d3a1eeb2c5eb8
| * | Use a single color for all icon badges.Tony Wickham2017-05-161-5/+1
| |/ | | | | | | | | Bug: 38346375 Change-Id: I26b7ad3dcfea6a18e169d656e19605c9794eadd3
* | Adding an option to change the shadow sizeSunny Goyal2017-05-171-12/+3
| | | | | | | | Change-Id: I8ec810c5cf06852771247af5f1d717f41079c4f5
* | Design adjustments for transition from workspace toMario Bertschler2017-05-162-49/+60
| | | | | | | | | | | | All apps. Change-Id: I0aeb8da7f0eebdf677ca7bda06fb538f08a6ee51
* | Guard aginast O for checking AdaptiveIconDrawable b/37952598Hyunyoung Song2017-05-031-1/+1
|\| | | | | | | | | | | am: 8f4a3963b0 Change-Id: I88f5ff89d7cb5f021f857295db89520100d044ae
| * Guard aginast O for checking AdaptiveIconDrawableHyunyoung Song2017-05-031-1/+1
| | | | | | | | | | | | b/37952598 Change-Id: Ief11aa61d804f9ca44ce9199002a6e763b3bf3e9
* | Merge "Refactoring some shadow generator logic into common methods" into ↵TreeHugger Robot2017-05-031-24/+26
|\ \ | | | | | | | | | ub-launcher3-dorval-polish
| * | Refactoring some shadow generator logic into common methodsSunny Goyal2017-05-021-24/+26
| | | | | | | | | | | | Change-Id: I25fc3248be5148fb1c14944eb4ddeec5bd4125b2
* | | All Apps transition with gradient and scrim.Mario Bertschler2017-05-032-0/+243
|/ / | | | | | | | | | | | | The transition is behind a feature flag and turned off by default. Change-Id: I155840ba82b5a573d874376797db5f739a52d706
* | Merge "Creating a custom drawable to customize shadow." into ↵TreeHugger Robot2017-05-021-0/+191
|\ \ | | | | | | | | | ub-launcher3-dorval-polish
| * | Creating a custom drawable to customize shadow.Sunny Goyal2017-04-271-0/+191
| | | | | | | | | | | | | | | | | | | | | | | | > Fixing DrapTargetBar set to visible (with alpha = 0) in the start causing unnecessary draw Bug: 37616877 Change-Id: Iaaff96099910f504f6e2f81c9376ddacde50ff6a
* | | Merge "When creating bitmap, do not apply width/height ratio if ↵Hyunyoung Song2017-04-282-13/+24
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | AdaptiveIconDrawable b/37670867" into ub-launcher3-dorval am: b4c2f07cd3 Change-Id: If56ed7ea3476c62348c1912cf94a3c9690c25d4b
| * | Merge "When creating bitmap, do not apply width/height ratio if ↵TreeHugger Robot2017-04-282-13/+24
| |\ \ | | | | | | | | | | | | AdaptiveIconDrawable b/37670867" into ub-launcher3-dorval
| | * | When creating bitmap, do not apply width/height ratio if AdaptiveIconDrawableHyunyoung Song2017-04-272-13/+24
| | | | | | | | | | | | | | | | | | | | | | | | b/37670867 Change-Id: I60884c52e7eb4b2d6f0ae2a5dc8e7c730f1f2454
* | | | Re-enable badges, with all dotsTony Wickham2017-04-272-5/+3
|\| | | | | | | | | | | | | | | | | | | | | | | am: f77a6f7fd7 Change-Id: I139ea47c73ee01a2777132f63b1d8add687579b0
| * | | Re-enable badges, with all dotsTony Wickham2017-04-272-5/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Also updated folder badge (dot) color to light gray, added notification header back (with same number as before, where each notification counts as >= 1), and increased shadow opacity for the dots. Change-Id: I53a3e0d94f23f482b55b3c10a922939ebb381314