summaryrefslogtreecommitdiffstats
path: root/res/layout
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "Centered all apps search text" into ub-launcher3-calgaryHyunyoung Song2016-07-211-1/+1
|\ \ | |/ |/|
| * Centered all apps search textPeter Schiller2016-07-191-1/+1
| | | | | | | | Change-Id: I21aaec56cd2202cea284880a28d9513435877368
* | Merge "Initial changes to tweak layout." into ub-launcher3-calgaryWinson Chung2016-07-203-11/+4
|\ \
| * | Initial changes to tweak layout.Winson2016-07-203-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adding DeviceProfile callback for when the launcher layout changes due to insets. This is necessary since there are now different layouts depending on which side the navigation bar is on - Consolidating hotseat and other layout into the device profile launcher layout logic - Making the all apps icons match the workspace icon height - Tweaking caret drawable to draw to the bounds specified to simplify layout in each orientation - Fixing minor issue with page indicator shifting in landscape - Centering overview buttons to the workspace page Bug: 30021487 Change-Id: I1866bce00b2948f3edd06168c0f88d81207e3f13
* | | Merge "Fixing accessibility description for apps search box" into ↵Sunny Goyal2016-07-201-0/+1
|\ \ \ | |/ / |/| | | | | ub-launcher3-calgary
| * | Fixing accessibility description for apps search boxSunny Goyal2016-07-151-0/+1
| |/ | | | | | | Change-Id: I9c6c85eeec5e54dd29867c58ead7ce43acdc7cb1
* | Merge "Centered typing in search field" into ub-launcher3-calgaryPeter Schiller2016-07-201-1/+1
|\ \
| * | Centered typing in search fieldPeter Schiller2016-07-191-1/+1
| |/ | | | | | | Change-Id: Iae46722195d0d06ff88da52df4fa48ca7b157512
* / Update shortcut animations.Tony Wickham2016-07-191-2/+10
|/ | | | | | | | | | | - 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
* Merge "Preventing unnecessary layouts on search focus change" into ↵Peter Schiller2016-07-141-11/+14
|\ | | | | | | ub-launcher3-calgary
| * Preventing unnecessary layouts on search focus changeSunny Goyal2016-07-141-11/+14
| | | | | | | | | | | | | | Instead of expanding the edittext, using a separate textview which is shown/hidden as the hint text Change-Id: Ib4cedeaed9291f972be2ee407c06f4944c983e27
* | Adding a view to indicate space blocked by QSB when QSB is hiddenSunny Goyal2016-07-141-0/+20
| | | | | | | | Change-Id: Ifc6b1f2a7312e7919582887ea67bfe900668b70f
* | Merge "Remove hotseat flicker and all apps GPU overdraw" into ↵Hyunyoung Song2016-07-141-2/+0
|\ \ | | | | | | | | | ub-launcher3-calgary
| * | Remove hotseat flicker and all apps GPU overdrawHyunyoung Song2016-07-131-2/+0
| |/ | | | | | | | | | | | | | | | | > Short story: elevation + transparency caused both flicker and overdraw b/29641308 b/29648104 Change-Id: I621ccd888fa4c7e9292336dac1371246115cd3bb
* / Moving the QSB out of the cell layout to the Drag layerSunny Goyal2016-07-131-1/+1
|/ | | | | | | | This allows better edge matching for the QSB. The QSB position is kept synchronized with the page scroll and all-apps transition. But its not visible in spring loaded and overview mode Change-Id: I4e6723607ea966ee672273a9ca67c792fd6b5661
* Cleaning up scrollbar logic to properly calculate stable extents.Winson2016-07-122-18/+16
| | | | | | | | | - 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-084-16/+13
| | | | | Bug: 30017936 Change-Id: I072cb116dba1df555a63f3f67b730f7f9c3a235a
* Set the all apps nav bar to black.Hyunyoung Song2016-07-061-0/+9
| | | | | | b/29998559 Change-Id: Iba66b390f78fdf25b7eaf912012aabaf7df56476
* Merge "Delete all* references to launcher clings." into ub-launcher3-calgaryAndrew Sapperstein2016-07-012-97/+0
|\
| * Delete all* references to launcher clings.Andrew Sapperstein2016-07-012-97/+0
| | | | | | | | | | | | | | | | | | | | | | | | Launcher clings are dead. Delete all the code and resources associated with them. * Did not delete the actual code the marks the cling as dismissed since it's used in db upgrade and backup/restore paths. Figured we probably want to keep that. Change-Id: I28841b4a430187b62b239afeb64bee81a798e259 Fixes: 29461092
* | Merge "Use colorSecondary for darker bg color." into ub-launcher3-calgaryAndrew Sapperstein2016-07-012-2/+2
|\ \
| * | Use colorSecondary for darker bg color.Andrew Sapperstein2016-06-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-301-22/+31
| |/ |/| | | | | Change-Id: Ie351fdea2e3b05ca911e6533f0c5d00c17e0847c
* | Long-press on an app to reveal its shortcuts.Tony Wickham2016-06-292-0/+45
|/ | | | | | | | | | | | | | | - 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-204-4/+5
| | | | | | | | | | | | | | | | | | | 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
* Merge "Replacing overview panel icons with vector drawables" into ↵Sunny Goyal2016-06-132-16/+16
|\ | | | | | | ub-launcher3-calgary
| * Replacing overview panel icons with vector drawablesSunny Goyal2016-06-032-16/+16
| | | | | | | | Change-Id: I3ca6662a75ba8b07e817a7a5681ede79d305c41a
* | Merge "Updating the app search buton text" into ub-launcher3-calgarySunny Goyal2016-06-081-0/+1
|\ \
| * | Updating the app search buton textSunny Goyal2016-06-071-0/+1
| | | | | | | | | | | | | | | Bug: 28774501 Change-Id: I268a2d98f70d160c91ebd8fc796f3626ae67c159
* | | Unifying focus indicator handling for workspace and all-appsSunny Goyal2016-06-084-42/+14
|/ / | | | | | | | | | | | | Adding an abstract FocusIndicatorHelper based on FocusIndicatorView which draws the background instead of using a dummy view. Change-Id: Id560195323d2ddad8fcd77ba675cf3f4fd4a94ab
* | Removing the SearchDropTarget bar as it no longer contains the QSBSunny Goyal2016-06-066-203/+142
| | | | | | | | | | | | | | | | | | | | | | | | > Renaming it to simply DropTargetBar > Moving AppInfo to the top bar as well > The workspace pages will extend to the top edge (minus some padding). Since the QSB is no longer displayed on top of every page, there is no reason to reserve the space. > In spring-loaded mode, the workspace cell layout will scale enough to make room for the drop target bar at the top Change-Id: I2baf607310335dd576c9d9fcbb75ab708f47ac03
* | Fixing memory leak in QSB widgetSunny Goyal2016-06-031-1/+8
| | | | | | | | | | | | | | | | | | | | | | > Instead of recreating the whole fragment, only recreating the views when reinflating > Binding the fragment in xml instead of in code This prevents duplicate fragment binding Bug: 29120662 Change-Id: I25b942f64d68f25e1358f15d8a919daeebdcff9c
* | Moving the QSB to the workspace grid.Sunny Goyal2016-05-272-0/+77
|/ | | | | | | | | | | | The QSB will only be resent on the first screen of the workspace covering the full width of the first row. If will not be movable. The first screen of the workspace will not be movable. The searchDropTargetBar no longer contains the QSB (it can be renamed in aseparate cl). Refactoring all QSB related logic by moving it to a custom view inflated only using xml. Change-Id: Icb4fd6eb855df1af15f685961c38351bf4fd4f4a
* Merge "Adding a loading view for widgets list" into ub-launcher3-calgarySunny Goyal2016-05-261-0/+6
|\
| * Adding a loading view for widgets listSunny Goyal2016-05-191-0/+6
| | | | | | | | | | Bug: 28427096 Change-Id: Icdc5ceed0caa1fafc97452142e4b71aa3026ddf9
* | Removing some usused resourcesSunny Goyal2016-05-182-107/+0
|/ | | | Change-Id: Ib11db872270931f956ba7093e472c866a1b0e794
* Updating the folder page indicator to be more like theSunny Goyal2016-05-184-68/+10
| | | | | | | | | framework page indicator (used in quick settings) The active page is indicated with the accent color. During scroll the active indicator expands to 2 dots corresponding to the visible pages. Change-Id: Iaf57836b642cf87e5eed98048ecca7dd8e7643a4
* Add PageIndicator interface and custom PageIndicatorLine view.Tony Wickham2016-05-172-4/+4
| | | | | | | | | | | | | - The current PageIndicator has been renamed to PageIndicatorDots and PageIndicatorMarker has been renamed to PageIndicatorDot. - PageIndicatorDots and PageIndicatorLine implement PageIndicator. - PageIndicatorLine uses scroll progress and number of pages to draw a line of the correct size and position. - All of these page indicator files are now in a pageindicators package. Bug: 27227498 Change-Id: I9230d2e0600ce583989bd31d0b0e252b148d15c2
* Yet another RecyclerView child that needs match_parentAdam Cohen2016-03-292-2/+2
| | | | | | issue 27705077 Change-Id: I16bdefe37351c26897a57d314a58718cb837543d
* Fix alignment issue with suggested apps in all appsAdam Cohen2016-03-281-1/+1
| | | | | | | | -> New RecyclerView handles wrap_content differently -> Add mock set of suggested apps to the LauncherExtension issue: 27581978 Change-Id: Id080e212e0425515fa66e821d116b95284bb3526
* Defining separate layouts for horizontal and vertical drop target barsSunny Goyal2016-03-244-24/+130
| | | | | | | instead of chaning the layouts in DeviceProfile Bug: 27721989 Change-Id: I9a22c21e643f4fd0058c9be5e9d705aaf7649204
* Removing dependency on LauncherCallbacks for getting the search boundsSunny Goyal2016-03-172-0/+4
| | | | | | | | | | | > Instead of handling insets in BaseContainerView, directly applying them to margins, as that scpace can't be used for scroll handling > Appliying the top and bottom padding in xml > The left & right padding is defied in xml which is reused for scroll handling Bug: 27108154 Change-Id: Ia32e6d5e8fd1bfafb1d77d1244ce2268e4da9df9
* Fix issue with all apps icons not being alignedAdam Cohen2016-03-141-1/+1
| | | | | | | | | | | -> The new versions of LayoutManagers in the latest support lib has begun to respect certain layout params (where before they were ignoreed). match_parent is now treated as "match column", which is what we want here. issue 27581978 Change-Id: If1efed15b5a93c873ff141e3c658922819c143fb
* Switch all folder preview rendering to be programmatic (ie. no assets)Adam Cohen2016-03-031-7/+0
| | | | | | | | | | | | | | | -> Refactored the preview background rendering to be much more self-contained. This cleans up a lot of code in the CellLayout, and keeps the logic in the right place. -> We switch to software rendering for performance and compatibility reasons. -> Removed all assets. -> FolderIcon accept animation includes animation of the clipped region. -> 1:1 hand-off of drawing of the FolderIcon background between the FolderIcon and the CellLayout. Unfortunately, CellLayout rendering is still required to work around clipping issues (due to use of software layer). We also need this to support folder creation feedback. Change-Id: Ib8f7fa6359dfedff8145f38dd50ba03849ca0d51
* Cleaning up the overlay interfaceSunny Goyal2016-02-232-59/+0
| | | | | | | Removing some unnecessary and unused methods Bug: 25993953 Change-Id: I4d715cdee04eb7b0ebef673d885a4258c521ff1f
* Revert "Reverting refactoring of Folder and FolderIcon to avoid dependencies ↵Sunny Goyal2016-02-233-6/+6
| | | | | | | | breakage" This reverts commit fc956e5a2a818c06ed3424e15b0aa20a3f604658. Change-Id: Ib3b5156b8fc3cad35c4634d61d5390c848ce1f93
* resolve merge conflicts of a6194d3d92 to ub-launcher3-calgarySunny Goyal2016-02-191-5/+12
|\ | | | | | | Change-Id: I29b3c3bb2c070e34c78c62b8f9086e6f3c8bd277
| * Wrapping thw widgetList inside a layout, so that it has the same view ↵Sunny Goyal2016-02-191-5/+12
| | | | | | | | | | | | structure as allApps Change-Id: I28b035beb1c7e13101ec20ff671d3cad5f757c0e
* | Reverting refactoring of Folder and FolderIcon to avoid dependencies breakageSunny Goyal2016-02-173-6/+6
| | | | | | | | Change-Id: Ifd0d717d70aff4c83c9eb5cba397d04500b2c869
* | First pass at new FolderIcon visual treatmentAdam Cohen2016-02-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | -> 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