summaryrefslogtreecommitdiffstats
path: root/res/values/dimens.xml
Commit message (Collapse)AuthorAgeFilesLines
* Updating the folder cell dimensions to be closer to a squareSunny Goyal2016-10-071-2/+3
| | | | | Bug: 31813976 Change-Id: I05d7520daee28a310ff122deaf265951e454d21e
* Enable light status bar when top of wallpaper is light.Tony Wickham2016-09-281-0/+4
| | | | | | | (Light status bar = dark icons) Bug: 29452834 Change-Id: I9f61a05d80158827761c8b62ab40fc50971e27a6
* Refactor shortcuts drag and drop.Tony Wickham2016-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Instead of creating our own drag view within the container, and handling logic to determine when to start a real drag, we start the drag immediately and just defer onDragStart(). - To determine when the deferred drag should start, we add a DeferDragCondition to DragOptions. The default DeferDragCondition never defers a drag, but is overridden for apps with shortcuts to defer until the icon is dragged a given distance. - Because the drag is handled in DragController, including checking when to start the deferred drag, DeepShortcutsContainer no longer needs to handle touch events and ShortcutsContainerListener has been removed. This change has several immediate benefits: - The code is much cleaner, because it allows touch handling to be done by the DragController through the normal drag flow, without recreating logic in ShortcutsContainerListener/DeepShortcutContainer. - The janky second haptic feedback has been removed (now it vibrates when you long press, like everywhere else, but not again when the shortcuts close after dragging a distance). - Drops are animated, instead of just popping the icon back into place. Bug: 30769920 Bug: 30465972 Bug: 31533078 Change-Id: I679b412b72fbf6c3895d76963311eb5010c8e8db
* Updating the paddings in folder cellSunny Goyal2016-09-161-0/+6
| | | | | | | | | > Updating overall padding for the cell and adding drawable padding > Ensuring that the folder cell is always rendered properly based on available vertical space Bug: 30605958 Change-Id: I8ceb9fea5a25052b0d7461f52edca0e6a33fa085
* Change all apps caret target bounding boxHyunyoung Song2016-09-071-3/+2
| | | | | | | | | | | | | | b/30400751 1) This also fixes the issue of apps drawer sliding up when page is swiped horizontally immediately above the hotseat area. 2) Disclaimer: this should be cp'ed to calgary. Hence, I tried to keep the diff small. Ideally, CaretDrawable animation handling should move to AllAppsHandleImageView via refactoring in follow up CL. Change-Id: I4d808ee2eeca53b40c0b4e4e0e364fef056e26c3
* Ignore clicks on shortcuts' drag handles.Tony Wickham2016-08-151-1/+1
| | | | | | | | | | | | When touching down within the drag handle's bounds, we remove the onClickListener temporarily (restored when touching down outside of the drag handle's bounds). Long clicks still start the drag. Also increased drag threshold from 12dp to 16dp. Bug: 30816665 Change-Id: I0b33dc34bf95c0532376f2f7cf50865fa50093de
* Reduce distance to start deferred drag from shortcuts to 12dp.Tony Wickham2016-08-041-3/+2
| | | | Change-Id: Ida298760bb66b5894dab94ff4ccaa788c8604661
* Match updated redlines for shortcuts.Tony2016-07-261-1/+10
| | | | | | | | | - 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
* Add arrow view to deep shortcuts container.Tony2016-07-261-1/+3
| | | | | | | | | - We create a trangular path, which we use as the view's outline (for the shadow) and as its PathShape background. - We scale up the arrow as the container opens. Bug: 28980830 Change-Id: I71e566552f063dfdb69067bb7e3cee659988f934
* Matching hotseat to spec.Winson2016-07-201-1/+1
| | | | | | | | | - Fixing regression in hottest folder background getting clipped - Ensuring that the padding is correctly applied in vertical bar layout to match workspace Bug: 30021487 Change-Id: I09bce21829867f4bd4e50646e565959421e4984c
* Caret background protectionPeter Schiller2016-07-201-0/+1
| | | | Change-Id: I5f902a3977677e7848932a6a60992a62f1638e39
* Initial changes to tweak layout.Winson2016-07-201-14/+16
| | | | | | | | | | | | | | | - 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
* Update shortcut animations.Tony Wickham2016-07-191-1/+5
| | | | | | | | | | | - 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-2/+4
| | | | Change-Id: Iba30da09f882297f789c405f932fef10617bba89
* Cleaning up scrollbar logic to properly calculate stable extents.Winson2016-07-121-1/+0
| | | | | | | | | - 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-081-12/+4
| | | | | Bug: 30017936 Change-Id: I072cb116dba1df555a63f3f67b730f7f9c3a235a
* Updating alignment of search inputPeter Schiller2016-07-071-0/+1
| | | | | Bug: 30017936 Change-Id: I2f68711762872bc100b41b2b4768d33e2c0cd902
* Updating all apps to match specPeter Schiller2016-06-301-1/+3
| | | | Change-Id: Ie351fdea2e3b05ca911e6533f0c5d00c17e0847c
* Long-press on an app to reveal its shortcuts.Tony Wickham2016-06-291-0/+10
| | | | | | | | | | | | | | | - 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
* All apps pull up workHyunyoung Song2016-06-211-0/+1
| | | | | | | | | | | | | | | | b/28917826 b/29469966 b/29542376 - Move state transition to when the finger is lifted and not when the view settles. - Refactor the vertical pull detector to use bit operation to define which direction scroll to allow. - Fixed many issues regarding screen rotation - Fixes issue where slowly sliding the all apps goes into overview mode - Fixes issue where quick slide up leads to animation starting from middle Change-Id: I2384a0fcc5550e17359a044ef506bcc66507da5f
* Add caret shaped all app pull up handle to page indicator.Hyunyoung Song2016-06-151-1/+3
| | | | | | | | | 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-131-8/+0
|\ | | | | | | ub-launcher3-calgary
| * Replacing overview panel icons with vector drawablesSunny Goyal2016-06-031-8/+0
| | | | | | | | Change-Id: I3ca6662a75ba8b07e817a7a5681ede79d305c41a
* | Removing the SearchDropTarget bar as it no longer contains the QSBSunny Goyal2016-06-061-13/+10
|/ | | | | | | | | | | | > 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
* Removing some usused resourcesSunny Goyal2016-05-181-4/+0
| | | | Change-Id: Ib11db872270931f956ba7093e472c866a1b0e794
* Updating the folder page indicator to be more like theSunny Goyal2016-05-181-0/+1
| | | | | | | | | 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
* Adding an upper bound to all-apps width on larger devicesSunny Goyal2016-04-041-0/+1
| | | | Change-Id: I16a0d8fb7c5023045d0a6b9e8089e0ab6a476d6d
* Add distance threshold for dragged items before accepted by targets.Tony Wickham2016-03-291-0/+3
| | | | | | | | | With the new spring-loaded workspace, items are often very close to button drop targets (e.g. App Info) at the start of a drag. This threshold makes it less likely to accidentally drop on a target. Bug: 24099531 Change-Id: I4912ceeb0b63958816177c7bde073e825176d987
* Removing dependency on LauncherCallbacks for getting the search boundsSunny Goyal2016-03-171-0/+3
| | | | | | | | | | | > 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
* Remove scrim on highlighted spring-loaded panel.Tony Wickham2016-03-161-0/+2
| | | | | Bug: 27135377 Change-Id: I470955ed082a45ae7dc5f8fdd1f3decb2b573dbc
* First pass at new FolderIcon visual treatmentAdam Cohen2016-02-171-2/+2
| | | | | | | | | | | | | | -> 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
* resolve merge conflicts of 3826bab27e to ub-launcher3-calgary.Sunny Goyal2016-02-101-1/+14
|\ | | | | | | Change-Id: I14ff2d67de4ba97628bdf651602724f9f4989173
| * Merging search bar with all appsSunny Goyal2016-02-081-2/+15
| | | | | | | | Change-Id: I78577124cd3c05d52669c3e52b0294d6eb1d194d
* | resolve merge conflicts of b9759d399b to ub-launcher3-calgary.Tony Wickham2016-02-011-3/+6
|\| | | | | | | Change-Id: I66230c15e5eaeef316d4e2f14b85c6ff1b6e977d
| * Add extra space for the search bar.Tony Wickham2016-02-011-3/+6
| | | | | | | | | | | | Also fixed a broken test. Change-Id: I1c270e69617528ea30f0e26a2101673e9b9fa63c
* | Added config_springLoadWorkspace to enable/disable spring-loaded workspace.Tony Wickham2015-12-041-0/+4
| | | | | | | | | | | | | | | | - Added side hints back - Only scale down icons if spring-loaded - Only show App Info drop target if spring-loaded Change-Id: I4b0dddccbe0e80b7ceb6b7266fc527f757744148
* | resolve merge conflicts of a3c74d10a7 to ub-launcher3-master.Tony Wickham2015-10-301-5/+9
|\| | | | | | | Change-Id: Ibeb2499ac278e4094a2922501cfffad2489e58ed
| * Setting correct height for search bar widget options bundle.Tony Wickham2015-10-291-5/+9
| | | | | | | | | | | | | | | | | | | | - Seperate search bar height from its top and bottom paddings - Report this height plus 8dps top and bottom for the widget options - Use a separate bottom padding to adjust spacing between QSB and the workspace - Add tests to verify the height of the search bar in both normal and tall modes (ran on Nexus 6, 7, and 10) Change-Id: Ia7557785d1b38194eee869d0460456e8f33447d5
* | resolved conflicts for fa3c369c to ub-launcher3-masterTony Wickham2015-10-091-0/+3
|\| | | | | | | Change-Id: I6bfc3d3b731a414060d86d4f1dfc5480c279edc9
| * Merge "Added launcher callback to specify search bar height." into ↵Tony Wickham2015-10-091-0/+3
| |\ | | | | | | | | | ub-launcher3-burnaby
| | * Added launcher callback to specify search bar height.Tony Wickham2015-10-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | The search bar can now be be normal or tall. When it is set to tall, the hotseat and page indicators move down so that the workspace isn't compressed quite as much. Change-Id: Id92a946eab3a93524999f92efd847a501a95f002
* | | resolved conflicts for d70a4b7b to ub-launcher3-masterTony Wickham2015-10-081-0/+1
|\| | | | | | | | | | | Change-Id: Ib04f80eeebf551fc026925830fc4739d1c620513
| * | Grid adjustments, specifically for Ryu.Tony Wickham2015-10-081-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | > Less than 14% of the screen is used for left/right workspace padding. (To be clear, this means 7% for the left and 7% for the right.) > Hotseat icons are the same size as workspace icons. > Far left and right hotseat edges line up with workspace edges. > All Apps button is scaled down 8dp. Bug: 24003478 Change-Id: Idb057ab0f6ba29e7fd93feac7573ca2e07c7e839
* | Removing some unused resourcesSunny Goyal2015-10-051-12/+0
| | | | | | | | Change-Id: I6aa8a2d7eb4599ed2351c54fe0885839b5ba4521
* | am 0947f5c2: Merge "Adding graphic for all apps empty search screen." into ↵Winson Chung2015-08-281-0/+4
|\| | | | | | | | | | | | | ub-launcher3-burnaby * commit '0947f5c26804bc74b8f1242d856c1f703544c3de': Adding graphic for all apps empty search screen.
| * Adding graphic for all apps empty search screen.Winson2015-08-281-0/+4
| | | | | | | | Change-Id: I976a327a5984790c458b0f36d33c0b1ac16ec59c
* | Merge "General code refactoring > Removing utility method for ↵Sunny Goyal2015-08-201-0/+3
|\ \ | |/ |/| | | isAttachedToWindow > Moving logic to calculate cell size from workspace to DeviceProfile > Replacing some constants with xml resource variables > Saving the item info using content values for better compatibility with other methods" into ub-launcher3-master
| * General code refactoringSunny Goyal2015-08-201-0/+3
| | | | | | | | | | | | | | | | | | > Removing utility method for isAttachedToWindow > Moving logic to calculate cell size from workspace to DeviceProfile > Replacing some constants with xml resource variables > Saving the item info using content values for better compatibility with other methods Change-Id: Idd612633d97a6241cb31148df9466031374bd5a0
* | Updating the scrollbar to make the fastscroller more visible.Winson2015-08-201-3/+3
|/ | | | | Bug: 20035978 Change-Id: I56a865262cd07e6af11b4374a7e6354710116dcd
* Updating the UI for the pending widget viewSunny Goyal2015-08-171-0/+4
| | | | | Bug: 23183034 Change-Id: I2b3f6f765a51edf75e666186650bbd3cf7b66a7a