summaryrefslogtreecommitdiffstats
path: root/res/drawable
Commit message (Collapse)AuthorAgeFilesLines
* Remove gap between popup itemsTony2017-05-311-21/+0
| | | | | | | | | | | | | - Unround interior corners - Update colors (shortcuts are gray when next to notifications, notifications always white) - Clean up animation to animate entire popup with simple reveal instead of individual items animating with reveal and icon scale Bug: 35766387 Bug: 36110804 Change-Id: I33685d53e2db3904731676123dc230be4dabb5d4
* Don't set system shortcut text to whiteTony Wickham2017-05-181-1/+1
| | | | | Bug: 38201638 Change-Id: Icacd63810306848ec1fb54e5dcc6021660ac5099
* Creating a custom drawable to customize shadow.Sunny Goyal2017-04-273-2/+53
| | | | | | | | > Fixing DrapTargetBar set to visible (with alpha = 0) in the start causing unnecessary draw Bug: 37616877 Change-Id: Iaaff96099910f504f6e2f81c9376ddacde50ff6a
* Fix build - move system shortcut icon colors to themeTony Wickham2017-04-131-1/+1
| | | | Change-Id: Iae248e5fdd57310adeb898305deee4c0eaee5318
* Merge "Add app info icon with no shadow for popup" into ub-launcher3-dorvalTony Wickham2017-04-121-0/+24
|\ | | | | | | | | | | am: 25e8f6d83e Change-Id: I8ea2798c98033d395e4afbbb5d86957518f33c22
| * Add app info icon with no shadow for popupTony Wickham2017-04-121-0/+24
| | | | | | | | | | | | | | | | - Also changed opacities of the system shortcut icons to match spec (38% black in header, 54% when expanded view is shown) Bug: 35766387 Change-Id: I73881bf1c72c98d78a38d82c632c4954b02eff4e
* | Show recently used instant apps provided by the app discovery service in the ↵Mario Bertschler2017-03-231-43/+0
|\| | | | | | | | | | | | | | | same section as installed apps. am: 853c13d427 Change-Id: I852e85f5b715d7f9ecc903bb0b9020e87c19cd99
| * Show recently used instant apps provided by the app discovery serviceMario Bertschler2017-03-231-43/+0
| | | | | | | | | | | | in the same section as installed apps. Change-Id: I2efd41c69960c4982523c58893aacfc7a5d0bb2e
* | Merge "Add padding to pending widget background." into ub-launcher3-dorvalJonathan Miranda2017-03-201-0/+19
|\| | | | | | | | | | | am: e04aa92de3 Change-Id: Ia93d71c3f7ae43fe6bbaef17a098b2e4d84df5de
| * Add padding to pending widget background.Jon Miranda2017-03-201-0/+19
| | | | | | | | | | Bug: 36450202 Change-Id: I12c754d0ff1ac2f9a63d2e475bff5524fe51cb57
* | Merge "Defining HomeScreenElementTheme for elements which appear on top of ↵Sunny Goyal2017-03-133-3/+3
|\ \ | |/ |/| | | wallpaper" into ub-launcher3-master
| * Defining HomeScreenElementTheme for elements which appear on top ofSunny Goyal2017-02-173-3/+3
| | | | | | | | | | | | | | | | | | wallpaper > Using HomeScreenElementTheme for workspace items > Fixing view inflation where wrong layout inflater was being used Change-Id: I92e278dbfb609ad7af9c2f47351f23f03cf12049
* | Merge "App discovery integration in All Apps search" into ub-launcher3-dorvalMario Bertschler2017-03-042-0/+70
|\ \
| * | App discovery integration in All Apps searchMario Bertschler2017-03-032-0/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is the basis for app discovery integration while searching in all apps. This does NOT include binding to the actual service and retrieving results, but instead provides all the UI to show suggested instant apps and apps from a store with star rating and pricing. Change-Id: I1605b52848491acee4ac1d15c0112e6a768363f6
* | | Change application launcher icons to adaptive iconsHyunyoung Song2017-03-031-0/+18
|/ / | | | | | | | | | | b/35429795 Change-Id: I4fa2fb167040c2470c403a293d1a172c276b2f81
* | Update notification visuals (part 2)Tony Wickham2017-03-021-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Merge deep shortcuts in rounded rectTony Wickham2017-03-012-45/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - DeepShortcutViews are added to ShortcutsItemView, which is in PopupContainerWithArrow - Moved some shortcut-specific logic to ShortcutsItemView (namely, touch/long-click handling for draggin shortcuts) - Moved round-rect clipping to PopupItemView - Removed collapseToIcon() logic, including PillWidthRevealOutlineProvider, which was only used for that purpose. It isn't necessary now that the deep shortcuts have no background themselves. - Replaced focus pill drawable with ripple effect on shortcuts and notification view. Bug: 35766387 Change-Id: I6bc09f1851cfbb806df4bf75a6e435b0f1900c9c
* | Update notification view to match newer specsTony Wickham2017-02-242-24/+1
|/ | | | | | | | | | | - Use smaller radius for notifications round rect background - Remove "Notifications" header, and clip children to round rect path - Flip main notification so that icon shows on the right instead of left; footer is also flipped so animation makes sense - Clean up animations to animate view outline instead of height Bug: 32410600 Change-Id: I6bd1e1f8395b3703f28c3b0056a89e67672368ab
* Simplifying some launcher themesSunny Goyal2017-02-169-54/+10
| | | | | | | > Replacing some colors with theme attributes > Simplifying styles definition by removing unnecessary inheritance and inlining some definitions Change-Id: Ifa167515cae6a7fd3720f1a52ff9ce11abb4495f
* Updating widget tray themeSunny Goyal2017-02-093-44/+2
| | | | | | | | | | Using standard theme attributes rather than custom color codes, so that it plays nice with system theme changes. Bug: 34819119 Bug: 34897402 Bug: 21446746 Change-Id: I265fba3ceae8873650fd09e4704838d313155e83
* Add swipe-to-dismiss notifications in popup menu.Tony Wickham2017-01-252-0/+44
| | | | | | | | | | | | | | - 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
* Using WidgetCell in the Pin Item confirmation prompt for a consistent UISunny Goyal2017-01-201-25/+0
| | | | | | | Also fixing some platform API changes in PinItemRequestCompat Bug: 33584624 Change-Id: I255829f0079f1a3967bf8d6a337da12c890eb7ec
* Adding support for requesting addition of shortcut/widgetSunny Goyal2017-01-181-0/+25
| | | | | | | on the workspace. Bug: 33584624 Change-Id: I664366822fe8088742faff2cce006239ab0771bc
* Fixes a bug where in Android O the all apps search icon appearsMario Bertschler2017-01-171-1/+1
| | | | | | | | | | | | on screen rotation. The fix is by applying a "different" transparent (transparent white instead of transparent black) for the hint color in focus state. The root problem lies in DynamicDrawableSpan and restoring state in EditText if hint color is #000000. Bug: b/34259116 Change-Id: Id3c46b2af4d5cdb18c0510504f2fe66dece7056f
* Removing FeatureFlag.LAUNCHER3_LEGACY_WORKSPACE_DND and corresponding logicSunny Goyal2016-12-152-38/+9
| | | | Change-Id: Ie10c087b4f72ee27be5bf12e2c81be5b7a3a6176
* Removing some bitmap drawables.Sunny Goyal2016-10-182-4/+12
| | | | | | Loading the edge drawables only when legacy DND is enabled Change-Id: I1c66d03146fb7fa7d61a4abf8c2e5a4289a117b9
* Fixed NumberFormatException when trying to display vector drawable.Jon Miranda2016-09-151-1/+1
| | | | | | Found while debugging on Lollipop. Change-Id: Idb098d3a8f7f1fa608fd8a32225cdefa41ba47a7
* Merge "Updating the assets for the all-apps search background." into ↵Sunny Goyal2016-09-084-0/+134
|\ | | | | | | ub-launcher3-calgary-polish
| * Updating the assets for the all-apps search background.Sunny Goyal2016-09-084-0/+134
| | | | | | | | | | Bug: 30309105 Change-Id: I4dd4a97ff49fd3c6dd386f100ca35dfb629044df
* | Add outline to shortcuts when focused.Tony Wickham2016-09-071-0/+25
|/ | | | | Bug: 30563273 Change-Id: Ia54c112dcf91c225588b7388001eb93ee5c03171
* Match updated redlines for shortcuts.Tony2016-07-261-3/+3
| | | | | | | | | - Align shortcut icons with original icon. - Drag handle is lighter and smaller. - Shortcut pills are slightly wider to accommodate long text. Bug: 28980830 Change-Id: I8e9709e3cbdb9df86a805a4b63a696975c61df5a
* Change shortcut background to #FFFFFF, as per spec.Tony Wickham2016-07-201-1/+1
| | | | | Bug: 28980830 Change-Id: Ie05ce97267cdeaebeb48691a948c61961d2a39d2
* Add drag handle to shortcuts.Tony Wickham2016-07-201-0/+26
| | | | | | | | Also use short text if long text is ellipsized. Bug: 30212144 Bug: 28980830 Change-Id: I213766bca0561d284d1da883ca37b0a42d886129
* Update shortcut animations.Tony Wickham2016-07-191-2/+1
| | | | | | | | | | | - Open animation: shortcuts reveal using modified circular reveal (so that it reveals in the pill shape instead of a circle); slight translation away from the original icon; scale icon and text. - Hover animation: scale the shortcut pill and translate others away. Bug: 28980830 Bug: 30127368 Change-Id: I8ed05c7a082f2c2a3f6c663da7259f6cd33e394f
* Adding stateful caret drawablePeter Schiller2016-07-141-26/+0
| | | | Change-Id: Iba30da09f882297f789c405f932fef10617bba89
* Cleaning up scrollbar logic to properly calculate stable extents.Winson2016-07-122-0/+40
| | | | | | | | | - Removing old logic which assumed that views were the same size, especially now we can have variable dividers, etc. - Simplifying old scroll position logic. - Removing unnecessary prediction icon layout (same as normal icon) Bug: 30023608 Change-Id: I39e1126fa586a76a9bdd3ff38cd6e360ac3021e6
* Consolidate all the dividers to provide same look and feelPeter Schiller2016-07-082-52/+0
| | | | | Bug: 30017936 Change-Id: I072cb116dba1df555a63f3f67b730f7f9c3a235a
* Merge "Use colorSecondary for darker bg color." into ub-launcher3-calgaryAndrew Sapperstein2016-07-012-3/+3
|\
| * Use colorSecondary for darker bg color.Andrew Sapperstein2016-06-302-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Used for widget headers and a few other places. In order to support pre-API 25, an app-local version of colorSecondary is created and used throughout the app. A new WidgetContainerTheme sets colorSecondary to a canned value. On API 25+, colorSecondary is set to the platform value. Change-Id: Ie0dd66333052b7346eea5d82d1c88417c6a2cd00 Fixes: 28625102
* | Updating all apps to match specPeter Schiller2016-06-303-9/+45
| | | | | | | | Change-Id: Ie351fdea2e3b05ca911e6533f0c5d00c17e0847c
* | Long-press on an app to reveal its shortcuts.Tony Wickham2016-06-291-0/+22
|/ | | | | | | | | | | | | | | - Add ShortcutsContainerListener to icons on workspace, folders, and all apps. This handles long-press and forwards following touches to the DeepShortcutsContainer that is created. - Drag over shortcut before lifting finger to launch it. - Shortcuts are rendered in pill-shaped DeepShortcutViews, which are inside DeepShortcutContainer on DragLayer. - The shortcut container orients above or below the icon, and left or right-aligns with it. Biases for above + left-align. - Long press a DeepShortcutPill to drag and pin it to the workspace. Bug: 28980830 Change-Id: I08658d13ae51fe53064644e8d8f7b42f150fdd7d
* Update Launcher to use theme colors.Andrew Sapperstein2016-06-201-1/+1
| | | | | | | | | | | | | | | | | | | Instead of using hard-coded variants of colors, use the theme color that corresponds (colorAccent, colorPrimary, etc). Updated: - "Search for more apps" text - App info drop target hover color - PageIndicatorDots - All apps & widget scroll bar & scroll popup colors - All apps section text color - widget picker background color TODO: - widget picker header color BUG: 28625102 Change-Id: I74b543ff71b8caef8cd950c8183ac84c759cb4d5
* Add caret shaped all app pull up handle to page indicator.Hyunyoung Song2016-06-151-0/+26
| | | | | | | | | b/28917826 > PageIndicator is also added in landscape > Touch delegate allows the active touch area to be 36dp Change-Id: If00f45fc88a13cd5a6759d771313439eb58561e3
* Merge "Replacing overview panel icons with vector drawables" into ↵Sunny Goyal2016-06-1310-140/+72
|\ | | | | | | ub-launcher3-calgary
| * Replacing overview panel icons with vector drawablesSunny Goyal2016-06-0310-140/+72
| | | | | | | | Change-Id: I3ca6662a75ba8b07e817a7a5681ede79d305c41a
* | Unifying focus indicator handling for workspace and all-appsSunny Goyal2016-06-081-26/+0
|/ | | | | | | Adding an abstract FocusIndicatorHelper based on FocusIndicatorView which draws the background instead of using a dummy view. Change-Id: Id560195323d2ddad8fcd77ba675cf3f4fd4a94ab
* Removing logic for workspace migration from Launcher2Sunny Goyal2016-05-231-11/+0
| | | | Change-Id: I8a121d74862f665c58406f8d5c7eb1263e7ccff3
* Fix spring-loaded highlight on JB.Tony Wickham2016-03-311-0/+1
| | | | | | | | It was setting the panel to black when highlighting a CellLayout, instead of just adding a white border. Bug: 27135377 Change-Id: I879b12613b0cbfdda2a980065c66ea3ceb960f33
* Fixing black search bar background in search barSunny Goyal2016-03-301-0/+1
| | | | | Bug: 27919354 Change-Id: I3f43d8f39640c2db4b192ea316aebf11189982e3
* Remove scrim on highlighted spring-loaded panel.Tony Wickham2016-03-161-3/+4
| | | | | Bug: 27135377 Change-Id: I470955ed082a45ae7dc5f8fdd1f3decb2b573dbc