de967a2355752c2653ed14a1d57a7a8c8c2eef57 |
|
17-Apr-2018 |
Sunny Goyal <sunnygoyal@google.com> |
Disabling alpha layer on some views Change-Id: Ide1d5951ea80080f8fea8f32a76487b646b4f958 (cherry picked from commit 2020b20cd908d64863474ae53de64e6554fd85c9)
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
61e084601e331a77ff5c164e405681a14a4c00f4 |
|
03-Mar-2018 |
Sunny Goyal <sunnygoyal@google.com> |
Adding implementation of InstantAppResolver for quickstep > Badging instant apps properly in recents > Routing drawable creation using Drawable factory Bug: 31282621 Change-Id: Ice1cdd3e9b821bebdebebbdc5cba4a907ffc21f8
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
726bee7d5da64e0cdca991c03c79a6c4ec41c694 |
|
05-Mar-2018 |
Sunny Goyal <sunnygoyal@google.com> |
Removing click-feedback shadow generation logic in BubbleTextView Instead of animating the shadow, animating the icon scale. This avoids unnecessary bitmap creating at app-launch and also plays nice with the app-launch transition Change-Id: I1d3d24bc7212a6d659855ff1002a45388e269e52
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
338d15d2328d47ad9095bfc3710365e0e13d1859 |
|
23-Feb-2018 |
Sunny Goyal <sunnygoyal@google.com> |
Normalizing icons in recents view Change-Id: I1d95c1abf158044ca5666473f976b49f7997ca27
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
179249d804e103625cd95c4265db83ab9828ad5a |
|
20-Dec-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Dominant color is part of icon cache > Calculating extracted color during icon generation and storing it in model and DB > Removing unused logic avoid various types of badge rendering > Icons are badged with extracted colors, while folder is badged with theme color Bug: 35428783 Change-Id: I93e30c52fbded7515c3ae1778422e84672eafb56
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
828b11e5a934af781f620620dd20d312defa49b8 |
|
22-Jun-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Setting the callback for previewItems to folderIcon. This allows the 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
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
2814112998042ccb5bda9501a5ae474f2b2832c6 |
|
22-Jun-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Properly desaturating the dragview if the icon is disabled Change-Id: Ic53078750fab013ed07999c6e9a6bf5d9b4c2554
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
7092db02410562026da17a7b38f48025cc847de2 |
|
07-Jun-2017 |
Tony Wickham <twickham@google.com> |
Add support for color extracted notification dots 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
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
1237df0a7cb89570b90b30fa30a3c76417ce3b64 |
|
24-Feb-2017 |
Tony Wickham <twickham@google.com> |
Update icon badges to match spec - Size defined as percentage of app icon size - Width changes when there are 2 or 3 digits (round rect) - Offset slightly away from the app icon - Had to move drawing to BubbleTextView instead of FastBitmapDrawable - Hide badge when dragging and while popup is open - Tweaks for some color/text parameters Bug: 35744066 Change-Id: Ibb15ca634abaa0729aea637c904c4c6889a58c7c
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
ce44516dd869dff1d6a744e26625a662d9567a10 |
|
10-Apr-2017 |
Tony Wickham <twickham@google.com> |
Update popup to match redlines - Update specs in dimens.xml and colors.xml - Move notification count to top right, and keep "Notifications" in left - Also removed NotificationHeaderView and instead use FrameLayout - Limit to 2 shortcuts instead of 3 if there are notifications - Use SP instead of DP for text (b/35869307) Bug: 35766387 Change-Id: I892640933ad6351946af3df6c805b98bb4e7cb50
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
9407d4ab57a0c3500647f1f5f9a9a44b51d222b4 |
|
25-Feb-2017 |
Tony Wickham <twickham@google.com> |
Update notification visuals (part 2) - Background is now white, and color beneath and divider color updated accordingly (not from color extraction) - Removed overflow text ("+6") and added it to a header ("6 Notifications"). Use "..." instead if there is an overflow. - Even spaced out icons in notification footer between the far right icon and the ellipsis - Remove code to change arrow tint, since it is always white now. This also fixes the issue where it was drawn as a rect. Bug: 35766387 Change-Id: I03bfda4ff029f23dd8b3dd1b72f534ea0e2c0816
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
2a76e3fbc654481eb05ac3187896884ad1497b9f |
|
16-Feb-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Removing custom state definition from FastBitmapDrawable > For Fast scrolling, using state list animator defined in xml > For Pressed state, using onState change method in a drawable Change-Id: Ia608690f593938cf0f77e00afcc2a3076e48d8f4
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
1e61849bc729858f3fd0c0a1f31b15ef06cffdc3 |
|
02-Feb-2017 |
Tony Wickham <twickham@google.com> |
Animate badges when they are added or removed - Scale the badge and text or icon up or down, respectively. - Only animate if the badge is visible, and don't animate when applying shortcut or app info. - Animate folder badge out when folder enters accepting state. Bug: 34838365 Bug: 32410600 Change-Id: Ie60cb1fc54fe60d72734d833040545d27660d645
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
96ac68a481ce5b794b5227e09ace7c30d6dd5e7b |
|
03-Feb-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Updating the PreloadIconDrawable > The drawable gets the path from MaskIconDrawable path, instead of using a circle > The progress changes are animated as well Bug: 34831873 Change-Id: I4e7f0b610f4fd94de8e0cfcf8b179b775cf0b4d8
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
9438ed414fdabadb4cd09da184867b1c44b91095 |
|
20-Jan-2017 |
Tony Wickham <twickham@google.com> |
Add swipe-to-dismiss notifications in popup menu. - Next secondary icon animates up to replace dismissed main notification - Add padding around main notification so it always aligns with the straight edges of the view (not the rounded corners); looks more dismissable - Notification view collapses as notifications are dismissed - To mimic system notification behavior, we copy SwipeHelper, FlingAnimationUtils, and Interpolators. We also apply elevation to notifications and reveal a darker color beneath when dismissing. Bug: 32410600 Change-Id: I9fbf10e73bb4996f17ef061c856efb013967d972
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
010d2550184179785e4467ff1ffb4f4f4e850ec2 |
|
20-Jan-2017 |
Tony Wickham <twickham@google.com> |
Add NotificationListener to launcher. - NotificationListener extends NotificationListenerService, and is added to the manifest. - Added PopupDataProvider, which contains logic for storing and interacting with data that goes into the long-press popup menu (shortcuts and notifications). A follow-up CL will rename DeepShortcutsContainer to a generic PopupContainerWithArrow. - If Launcher has notification access, NotificationListener will get callbacks when notifications are posted and removed; upon receiving these callbacks, NotificationListener passes them to PopupDataProvider via a NotificationsChangedListener interface. - Upon receiving the changed notifications, PopupDataProvider maps them to the corresponding package/user and tells launcher to update relevant icons on the workspace and all apps. This is guarded by FeatureFlags.BADGE_ICONS. Bug: 32410600 Change-Id: I59aeb31a7f92399c9c4b831ab551e51e13f44f5c
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
9a8d11f930ced4c2706db150b7bbbb21330bd68d |
|
11-Jan-2017 |
Tony Wickham <twickham@google.com> |
FastBitmapDrawable can draw an icon badge (notification count) - Added BadgeInfo to contain data to be shown in a badge (currently just notification count). - Added BadgeRenderer in DeviceProfile to contain things relevant to drawing the badge, such as size and Paint's. - Added IconPalette to compute colors for the badge based on a dominant color (will also be used for notifications) - FastBitmapDrawable uses these classes to draw the badge. Bug: 32410600 Change-Id: I6595a4879943357590f7d20c22594691a573ecaf
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
55cb70bf70d6defe84fe44e0d942998adefbb71c |
|
12-Nov-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Adding an overridable DrawableFactory to allow creating custom icon drawables > Adding ItemInfo as a parameter for creating drawable Change-Id: I793acb0381d2b8df4db0a08317dddf1464788ebc
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
1c581c6d61ad51df26390027725521289bd9ce4a |
|
24-Nov-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Bug fix: QSB sometimes gets stuck to transparent. At some places, we were calling removeAllListeners before calling cancel on an animation. AnimationListeners are also used to track states, and removing listeners before canceling will prevent onAnimationEnd to be called, thus preventing state cleanup. PinchAnimationManager was causing ZeroAlphaAnimatorListener to be removing from Qsb alpha animation, making the MultiStateAlphaController think there is a zeroAlpha animation running. > Removing all instances of removeAllListeners > Updating various affected listeners to handle onAnimatinoCancel > Fixing WorkspaceStateTransitionAnimation, which was animation QSB alpha on page scroll index Bug: 31910152 Change-Id: Ie7f31b67d4c502badcdd41f7b04867d1f35f5d27
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
6b910a235db74b1965c5f5bb16c7fe44b1dc4cdd |
|
08-Nov-2016 |
Tony Wickham <twickham@google.com> |
Keep disabled FastBitmapDrawables disabled while fast scrolling. Previously, they were animating to be colored because they were set to have a FAST_SCROLL_UNLHIGHLIGHTED state. Now they retain their disabled color when changing fast scroll states. Specfically, we remove the DISABLED state and instead make it a property of the FastBitmapDrawable. Bug: 32642959 Change-Id: I6cb2da134a550c267eebfc756eff8c91a33f028c
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
119e8982ab6a0cf00e31e8744f27b72ba8bf7b20 |
|
05-Feb-2016 |
Adam Cohen <adamcohen@google.com> |
First pass at new FolderIcon visual treatment -> Modeled as a set of items around a circle -> Modulate the radius and icon size as number of items grow -> Clip the icons by a circular clip aligned to the background drawable Remaining issues -> Probably want to move to a programmaticly drawn circle + shadow -> Anti-aliasing of the clipped region will need more attention -> Need to animate all items in the preview as it changes (this wasn't required before) Change-Id: I678ec605f6c8a34e9d7e4aec4e9583e36a9ef394
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
c08c59de07a359cdac3ffad9f861afa3ba61daee |
|
28-Oct-2015 |
Winson <winsonc@google.com> |
Disabling the desaturation of fast scroll items. Change-Id: I7e90e3b35dc6473ba5e2319abcea5c0c76cbd708
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
c088049113c261331b5685e64050d14a31cd72df |
|
21-Aug-2015 |
Winson <winsonc@google.com> |
Highlighting sectioned apps on fast-scroll. - This CL fixes an old assumption we had about the height of rows in AllApps, and ensures that we account for the difference in height between the predictive icons and the normal icons. - In addition, we refactor FastBitmapDrawable to have multiple states, which it manages in drawing itself, including the press state and fast scroll focus states. And we also refactor some of the fast scroll logic in the all apps recycler view out to its own class. Change-Id: I1988159b2767df733bbbfc7dc601859cde6c9943
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
3f471440a8b6b71d4c15501a96befd3b715c9e8f |
|
09-Apr-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
WidgetTray revamp work - RecyclerView is rendering - Animation is connected - Drag and drop is now handled - UI tweaking: background, margins, more to come. - Flicker and preview not loading issue: fixed height for the horizontal scroll view. - Shortcuts are added - Widget Preview loading should support shortPress for drop - UI tweaks left: overlay of arrow when there are more items to scroll - icons are added in the section header - Sorting of widget sections and widget horizontal list - Adding all the padding constants to dimen.xml file - RecyclerView should only support one view type For items to be addressed in follow up patches OR CLs, TODO is added to the comment. b/19897708 Change-Id: Ibfc4da1696a23d20bada93db46e126706eb13cdc
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
c424f2290e96cea419f95c5ccb730a4946824c1b |
|
05-Sep-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Fixing Intrinsic dimensions of FastBitmapDrawable > This was changed initially to allow overriding icon size in case of PreloadIconDrawable. But the implementation of PreloadIconDrawable has changed since then and this hack is no longer required. issue: 15545872 Change-Id: I192056179837f05c5be9e24c3e1251cf7e2a7c8c
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
508da15509224b46fcccabbe78f3e92fe69a67d8 |
|
14-Aug-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Updating the icon click feedback > Using BubbleTextView everywhere, removed PagedIconView > There is a brightness feedback on touch and shadow feedback on click, until app launches issue: 16878374 Change-Id: I3dc1149a123c8a75feca6210948398bf2187f1f2
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
95abbb330ce9bbaf23594245f0f8a795c8118038 |
|
04-Aug-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Updating the virtual preloader UX. > No click feedback when in preloader mode > No preloader UI when drawn in drag layer > The preloader consists of a background 9 patch image and a circular progress is drawn in the content region of the background. > The preloader is drawn in a slightly larget area than the actual bounds to make the circular progress more prominent compared to the icon. issue: 15835307 Change-Id: Ifec3d93ecf1fac994d1128b517da3797247e7ed6
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
c5c60ad3592f53549c9ffaa58e9a87b0480080e8 |
|
14-Jul-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Merging Motorola's patch to disable apps when is safe mode. issue: 16044192 Change-Id: I10069dcdf459ecc71361271e883eabb743d77822
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
268f1c563f4179ee2fb6c87b662679451e23a7c8 |
|
18-Nov-2013 |
Winson Chung <winsonc@google.com> |
Initialize FastBitmapDrawable bounds with default bitmap dimensions. Change-Id: Ida9603e35b242a581b9401c6440875cd511725a1
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
eeb5bbc9409978cc2ae52d48380399fcde3d9f85 |
|
14-Nov-2013 |
Winson Chung <winsonc@google.com> |
Use the icon bounds for all calculations. - Fixes a drag and drop issue when the dynamic grid scales icons down, due to the drawable bounds not being equal to their bitmap sizes. Change-Id: If7c68b51131de7bac3195a2619e22340f7789432
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
6e1c0d34bb31cacc24c57c89ab01deaa8985814f |
|
26-Oct-2013 |
Winson Chung <winsonc@google.com> |
Initial changes to support smaller landscape layouts. Change-Id: If0abe2b82eb08bae4f1ce65b805362d548acb876
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|
325dc23624160689e59fbac708cf6f222b20d025 |
|
06-Jun-2013 |
Daniel Sandler <dsandler@android.com> |
Launcher2 is now Launcher3. Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
/packages/apps/Launcher3/src/com/android/launcher3/FastBitmapDrawable.java
|