summaryrefslogtreecommitdiffstats
path: root/res/drawable
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Merge "Change widget host view background when giving focus to child." into ↵Tony Wickham2016-02-101-0/+28
|\ | | | | | | | | | | | | | | | | ub-launcher3-burnaby-polish am: 4df1653331 * commit '4df165333131483e1d6b6c156d345a4aeef9806c': Change widget host view background when giving focus to child.
| * Merge "Change widget host view background when giving focus to child." into ↵Tony Wickham2016-02-101-0/+28
| |\ | | | | | | | | | ub-launcher3-burnaby-polish
| | * Change widget host view background when giving focus to child.Tony Wickham2016-02-101-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, the FocusIndicatorView stayed on the widget host unless the widget had its own focus change listener, which caused a couple of problems, namely (1) it was hard to know where the focus was from a user's standpoint, and (2) the focus indicator could get stuck on the screen if you entered a widget and then long-pressed workspace. Now, the focus indicator goes away and instead the widget is framed with a white border to indicate that the focus is inside it. The frame goes away when pressing ESC or when touching the screen. Bug: 26744224 Change-Id: I14025576fd7a9f901b4d969b878af0bebad79a70
* | | resolve merge conflicts of 3826bab27e to ub-launcher3-calgary.Sunny Goyal2016-02-101-4/+22
|\| | | | | | | | | | | Change-Id: I14ff2d67de4ba97628bdf651602724f9f4989173
| * | Merging search bar with all appsSunny Goyal2016-02-081-4/+22
| |/ | | | | | | Change-Id: I78577124cd3c05d52669c3e52b0294d6eb1d194d
* | Tweak spring-loaded workspace.Tony Wickham2016-02-082-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | - No page indicators in spring-loaded mode - Don’t move workspace up as high - Scale workspace at 90% instead of 80% on phones - Increase speed of workspace -> spring-loaded -> workspace - Widgets were being scaled down twice when dragging from widget picker - Don't scale up icons when dragging (scaling other stuff down is enough) - Make scrim less dark and panels more transparent - Thin white border around page instead of highlight when hovering Change-Id: I963e91c20d4c0340480d165e0f3b8064783c0cb2
* | Updating overview buttons click feedbackSunny Goyal2015-08-243-0/+57
|/ | | | | | | | > Using xml bitmap for changing alpha, instead of a new bitmap > using state list animator, which changes the alpha of the whole view, and not just the icon Change-Id: I2dda9bfba390a24a83b162c3cf4bcb9a0865f4c2
* Adding market search.Winson Chung2015-08-062-0/+41
| | | | Change-Id: Id41615653cd4fa76213add4595418ad0cc6e7852
* Using RGB_565 for low-res iconsSunny Goyal2015-07-011-1/+1
| | | | | | | | | > Using a non-transparent image with flat background for low-res icons > Changing the scale factor from 8 to 5 > The overall size change is 1/50 instead of 1/64 Bug: 22204941 Change-Id: I6cda4b4b3450c23a7bb8218ebd2de2b09af9c414
* Refactoring fast scroller.Winson Chung2015-06-232-22/+1
| | | | | | | | | | | | | - Fixing issue with fast scroller not fitting name width. - Refactoring fast scrolling/scroll bar code out of base recycler view - Adding animations to fast scroller to match design - Smooth scrolling when jumping between app rows - Fixing issue with fast scroller jumping when you first pick it up - Fixing issue with wrong background paddings being used Bug: 21874346 Bug: 22031923 Change-Id: I9f011b1f375751f437604b900e95a2942d3f4601
* Refactoring all apps search to support external search bar.Winson Chung2015-06-151-7/+4
| | | | | | | | | | | | | | | | | | | | | - Adding support for an external search bar that can be used to search a container view. This adds a new interface AllAppsSearchController which manages the external search bar. Each controller will have its own search implementation which means that we no longer need a common AppSearchManager interface. - Removing elevation controller as we no longer have a builtin search bar in all apps - Refactoring container view insets so that they behave the same in all containers. - Refactoring apps view to ensure that we only update the number of columns with the available width - Cleaning up LauncherCallbacks interface Bug: 20127840 Bug: 21494973 Change-Id: I710b8e18196961d77d8a29f0c345531d480936fe
* Moving all apps code into sub package.Winson Chung2015-05-224-26/+3
| | | | | | | - Renaming resources, dimens, etc to be more consistent - Removing old AppsCustomize resources and other unused code Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a
* Animating workspace active background changeSunny Goyal2015-05-211-0/+26
| | | | | | > Removing workspace_overscroll_drawable_padding which is always 0 Change-Id: I89900738371458a6eb7cbfee215d98b267d6a0b0
* Using color filter when animating the drop target instead to TransitionDrawableSunny Goyal2015-05-213-72/+0
| | | | | | | > No more flickering when crossfading between two bitmaps in small duration > Allows us to control the color directly without depending on the assets Change-Id: Ie7ed8bb94baf560e9b939cca624ed1bad457732c
* Reodering some drawablesSunny Goyal2015-05-146-5/+42
| | | | | | | | | | | > quantum_panel_shape is xml rectangle with no margin > quantum_panel_bitmap is 9-patch drawable with inbuild shadow and margin > quantum_panel uses xml-shape for lollipop and 9-patch image for lower devices. It includes margin. For shadow, use elevation on lollipop > All drawables have _dark variant > Using #f5f5f5 for panel background, instead of #ffffff Change-Id: Ia7c6cea6d514ee3774fcf5fef6139650bdd53208
* Unbreak the build. Remove extra xml version definition.Hyunyoung Song2015-05-121-1/+0
| | | | Change-Id: I42f1c21143bef6181828d1135deaaf153acbf984
* Fixing several layout issues.Hyunyoung Song2015-05-121-0/+20
| | | | | | | | | | | | | | - N7/N9 indented area should not block scroll view - separator at the end of the widget cell should not show up on the last item. Not covered in this CL: - Guarantee that last item is showing only 20~40%. Right now, the hand picked constant works for N5,6,7,9 b/20338324 b/20763871 Change-Id: I274ab95c6c3e2fc8be8ceafb2e8172c0174a41a5
* Updating drop target assetsSunny Goyal2015-04-283-6/+6
| | | | Change-Id: I33f7dc30b10a617ae4784f067491ab01b27b7733
* Initial changes to support a fixed all-apps layout.Winson Chung2015-04-095-33/+15
| | | | | | | | | | - Dynamically update padding and background depending on fixed bounds and searchbar - Fixes issue with drag layer bg getting clobbered when rotating launcher - Tapping outside the bounds of all apps should close all apps - Fixing typo causing widgets to not show in sw720dp devices Bug: 20127840 Change-Id: I29c3f905bdee940f938ffe054f58434887073092
* Making the scrollbar scrubbable.Winson Chung2015-03-241-1/+1
| | | | | | | | - This change in behavior will remove the ability to scrub anywhere in the gutter to start fast-scrolling, but requires the user to touch near the scroll bar to start fast-scrolling. - Also fixes issue with wonky scrollbar due to the fake section breaks Change-Id: I34b08ac46ea93f7f4cad7ccde1048a388ee6a55d
* Tweaking the apps list fast scroller.Winson Chung2015-03-166-9/+75
| | | | | | | - Making the view span the full width so that you can grab the scroller on the edge of the screen. - Offsetting the fast-scoll popup so that you can see it as you scrub. Change-Id: If1b1934bbeac0660d829cfc29c9e588df927c5e5
* Adding app grid layout with fastscroller.Winson Chung2015-03-123-0/+68
| | | | | | - Adding filtering and using alphabetic index for app grouping. Change-Id: I745b644fa8f90f5ff24a8642ac377ef1c65d8aff
* Initial changes to break out AllApps into its own view.Winson Chung2015-03-101-0/+21
| | | | | | | | - Moves launcher state-transition code into its own class - Moves all-apps related code into a separate view/set of classes - Implements a basic list view for all apps Change-Id: I68f174aa9e1bf82c4e46ce9549c78a8dc4623f46
* Removing all traces of Market button and TabIndicatorSunny Goyal2014-10-171-33/+0
| | | Change-Id: I9dc10d990321697723560986834ebeef3e0f1c0d
* Updating clings, removing ununsed clingsSunny Goyal2014-08-254-58/+11
| | | | | | issue: 16127412 Change-Id: I1d18515765100ff10d33439b3ac39ebfc5da35c7
* Updating the UI for focused state of an icon/folder.Sunny Goyal2014-08-181-3/+10
| | | | | | issue: 16352129 Change-Id: If2e154dba06a0648f933f9aea38898642db9fd85