| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Bug: 31813976
Change-Id: I05d7520daee28a310ff122deaf265951e454d21e
|
|
|
|
|
|
|
| |
(Light status bar = dark icons)
Bug: 29452834
Change-Id: I9f61a05d80158827761c8b62ab40fc50971e27a6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ida298760bb66b5894dab94ff4ccaa788c8604661
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Change-Id: I5f902a3977677e7848932a6a60992a62f1638e39
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Change-Id: Iba30da09f882297f789c405f932fef10617bba89
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
Bug: 30017936
Change-Id: I072cb116dba1df555a63f3f67b730f7f9c3a235a
|
|
|
|
|
| |
Bug: 30017936
Change-Id: I2f68711762872bc100b41b2b4768d33e2c0cd902
|
|
|
|
| |
Change-Id: Ie351fdea2e3b05ca911e6533f0c5d00c17e0847c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
b/28917826
> PageIndicator is also added in landscape
> Touch delegate allows the active touch area to be 36dp
Change-Id: If00f45fc88a13cd5a6759d771313439eb58561e3
|
|\
| |
| |
| | |
ub-launcher3-calgary
|
| |
| |
| |
| | |
Change-Id: I3ca6662a75ba8b07e817a7a5681ede79d305c41a
|
|/
|
|
|
|
|
|
|
|
|
|
| |
> 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
|
|
|
|
| |
Change-Id: Ib11db872270931f956ba7093e472c866a1b0e794
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I16a0d8fb7c5023045d0a6b9e8089e0ab6a476d6d
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
> 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
|
|
|
|
|
| |
Bug: 27135377
Change-Id: I470955ed082a45ae7dc5f8fdd1f3decb2b573dbc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-> 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
|
|\
| |
| |
| | |
Change-Id: I14ff2d67de4ba97628bdf651602724f9f4989173
|
| |
| |
| |
| | |
Change-Id: I78577124cd3c05d52669c3e52b0294d6eb1d194d
|
|\|
| |
| |
| | |
Change-Id: I66230c15e5eaeef316d4e2f14b85c6ff1b6e977d
|
| |
| |
| |
| |
| |
| | |
Also fixed a broken test.
Change-Id: I1c270e69617528ea30f0e26a2101673e9b9fa63c
|
| |
| |
| |
| |
| |
| |
| |
| | |
- Added side hints back
- Only scale down icons if spring-loaded
- Only show App Info drop target if spring-loaded
Change-Id: I4b0dddccbe0e80b7ceb6b7266fc527f757744148
|
|\|
| |
| |
| | |
Change-Id: Ibeb2499ac278e4094a2922501cfffad2489e58ed
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
|\|
| |
| |
| | |
Change-Id: I6bfc3d3b731a414060d86d4f1dfc5480c279edc9
|
| |\
| | |
| | |
| | | |
ub-launcher3-burnaby
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\| |
| | |
| | |
| | | |
Change-Id: Ib04f80eeebf551fc026925830fc4739d1c620513
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
> 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
|
| |
| |
| |
| | |
Change-Id: I6aa8a2d7eb4599ed2351c54fe0885839b5ba4521
|
|\|
| |
| |
| |
| |
| |
| | |
ub-launcher3-burnaby
* commit '0947f5c26804bc74b8f1242d856c1f703544c3de':
Adding graphic for all apps empty search screen.
|
| |
| |
| |
| | |
Change-Id: I976a327a5984790c458b0f36d33c0b1ac16ec59c
|
|\ \
| |/
|/|
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
> 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
|
|/
|
|
|
| |
Bug: 20035978
Change-Id: I56a865262cd07e6af11b4374a7e6354710116dcd
|
|
|
|
|
| |
Bug: 23183034
Change-Id: I2b3f6f765a51edf75e666186650bbd3cf7b66a7a
|