| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On long pressing, the confirmation activity starts a system
drag-n-drop and focuses the launcher activity. We then drive
the launcher drag controller using the system drag event
Caveats:
> We use a transparent preview for system drag and drop and use
a view inside launcher for actual preview. This gives us better
control over various animations.
> The parameters for drag operation are passed to the Launcher
activity using the intent. Since onNewIntent and onDragEvent
come at different times and are not associated, a random uuid
is used as mime-type to match the drag event with intent params
> If the workspace is locked (eg, loader is running) the drag
operation is simply dropped. Will be imporved in follow up cls
Bug: 33584624
Change-Id: I0bb5b25b690f86b6af31a14e11beb669fcb3a281
|
|
|
|
|
|
|
| |
> Added two dummy widget providers: with config and without config
> Added tests for verify widget config flow
Change-Id: I4577f085abe8f8b82047b644c71cc9065358153a
|
|
|
|
|
|
|
|
| |
This will allow us to override the implementation and provide custom
logic for widget addition.
Bug: 33584624
Change-Id: I310bf39e301c7e1c8de4f62456594535e2fe5bbc
|
|\
| |
| |
| | |
UI Also fixing some platform API changes in PinItemRequestCompat" into ub-launcher3-master
|
| |
| |
| |
| |
| |
| |
| | |
Also fixing some platform API changes in PinItemRequestCompat
Bug: 33584624
Change-Id: I255829f0079f1a3967bf8d6a337da12c890eb7ec
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Take left inset into account.
- If there is no way to orient the shortcuts next to the icon,
instead center it in the drag layer and don't draw the arrow.
- If possible, place the shortcuts to the left or right of the
icon when centered vertically. If for whatever reason that
isn't possible, center the shortcuts horizontally as well.
Bug: 33421656
Change-Id: I838b30ea487e0f7c64637db1cb8991ca3ee16bf9
|
|\ \
| |/
|/|
| | |
into ub-launcher3-master
|
| |
| |
| |
| |
| |
| |
| |
| | |
> Config activities can now return PinItemRequest which can be used to pin
deep shortcuts
Bug: 33584624
Change-Id: Ic0df436bd79e069615b9d60d24eb7594b824b2da
|
|/
|
|
|
|
|
|
|
| |
Instead drawing badge in the view directly.
This will allow us to reuse the same preview when we do not want to draw
badges. This also simplified badging of shortcut config activities.
Change-Id: I9c07c33bf9c2b8ef81a00026b1d42587868c906f
|
|
|
|
|
|
|
| |
on the workspace.
Bug: 33584624
Change-Id: I664366822fe8088742faff2cce006239ab0771bc
|
|\
| |
| |
| | |
be created on the UI thread" into ub-launcher3-master
|
| |
| |
| |
| |
| |
| | |
can be created on the UI thread
Change-Id: If84e52041eb4ab20807f5cfd4b7f31d7b5f381ed
|
|\ \
| |/
|/|
| | |
ub-launcher3-master
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Added BadgeInfo to contain data to be shown in a badge
(currently just notification count).
- Added BadgeRenderer in DeviceProfile to contain things
relevant to drawing the badge, such as size and Paint's.
- Added IconPalette to compute colors for the badge based
on a dominant color (will also be used for notifications)
- FastBitmapDrawable uses these classes to draw the badge.
Bug: 32410600
Change-Id: I6595a4879943357590f7d20c22594691a573ecaf
|
|\ \
| | |
| | |
| | | |
ub-launcher3-master
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
> Moving the restore property to LoaderCursor
Bug: 34123089
Change-Id: I1f992ef086d65e0b3cf18d3b2cf37a4f254c97d2
|
|\ \ \
| | | |
| | | |
| | | | |
ub-launcher3-master
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 34203314
Change-Id: If2c149f353109350e45e581a654956bec78bce96
|
|\ \ \ \
| |_|/ /
|/| | |
| | | | |
ub-launcher3-master
|
| |/ /
| | |
| | |
| | |
| | | |
Bug: 34123342
Change-Id: Ibb80c6e442beea34c612fb4ce5246260714820e2
|
|\ \ \
| | | |
| | | |
| | | | |
ub-launcher3-master
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
> Instead of checking promiseIntent != null, using isPromise() for consistency
> Fixing bug where clicking a pending icon does not launch anything
> Fixing bug where draging an icon on Info target, permanently hides the icon
Change-Id: Ic8f6b56042dba42d5ed9aedb0f5947186e1a4208
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 32063838
Change-Id: Id0d15c4fff54b9429dbe5f9ee7ef26fd9cf8703d
|
| | |
| | |
| | |
| | |
| | | |
Bug: 32745285
Change-Id: I00f13794d5dc0a2b1fe03ec74de36018f22eb386
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
> This ensures that LauncherAppState is only accessed in the presence of
a valid context
Bug: 33032833
Change-Id: I955e5cb022f8bd6374681ae6c0720a2666d5b750
|
|\ \ \
| | | |
| | | |
| | | | |
into ub-launcher3-master
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
In some reorder cases, the icons would stop in a transient position.
Change-Id: I9d358e74ab403989929dee87542d3dde78c2f229
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
> Moving any icon cache access to background thread
> Updating Apps list to avoid loading icons for ignored apps
Bug: 21325319
Change-Id: Id72755100f1176ccfcc99249c5e02873cc249a13
|
|\ \
| | |
| | |
| | | |
easier overriding using derivative projects" into ub-launcher3-master
|
| | |
| | |
| | |
| | |
| | |
| | | |
easier overriding using derivative projects
Change-Id: I7265d888876ea0928391f76ec1bcb7d928c0f27a
|
|\ \ \
| | | |
| | | |
| | | | |
ub-launcher3-master
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 34112546
Change-Id: I8a43ed1646056aa1957ac3d6ea82018691df6386
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 34199268
Change-Id: I7223d1d408e7b48f9c63c9801c2805aaf7363038
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
only over the hotseat." into ub-launcher3-master
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
not only over the hotseat.
The tricky part handling with scrollable widgets is solved by
setting requestDisallowInterceptTouchEvent from within the
widget view host (and resetting it upon performing long click).
Change-Id: I8b60e7ea2c1e8ae830b4737e94ed2d796265fa24
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
> Also enabling fileLog when the device is debug build (even when
launcher is not dogfood build)
Bug: 30735662
Change-Id: Ieab2c962d57f6f7f972f8111070d4ecbef06b3e7
|
|\ \ \
| |/ /
|/| |
| | | |
ub-launcher3-master
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When a widget resizes in multi-window mode (ie. user is dragging
the resize frame), the frame is misaligned until the user lets go.
This is because the translation value to center fit the resized
widget is not taken into consideration.
Bug: 32176631
Change-Id: I6f9ee7be12d3266f021796576c771f86f6120246
|
|\ \ \
| | | |
| | | |
| | | | |
ub-launcher3-master
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This logic was dependent on key-value based backup. Since we are
using full-backup, the appropriate flags are never set.
Bug: 18764649
Change-Id: I95a93eee63ac9c82acfb66abfdd1a5407974df46
|
|/ / /
| | |
| | |
| | |
| | | |
Bug: 21325319
Change-Id: I0886eec5a3f36f5e1ac18020c54891a56bdb5ed2
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This enables to touch anywhere in the scrollbar to directly scroll to that particular point
without the need of exactly touching the thumb to start fastscrolling.
This feature is currently behind a feature flag LAUNCHER3_DIRECT_SCROLL and enabled by default.
Change-Id: I5b86c6acb71ff0c88476343657da221c7bdc59c3
|
|\ \ \
| | | |
| | | |
| | | | |
into ub-launcher3-master
|
| | |/
| |/|
| | |
| | |
| | | |
Bug: 33693546
Change-Id: If212a196648fbb2c725ca4800a157ec24f278ca8
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Providing a way to access icon cache without LauncherAcitivtiyInfo.
This allows fetching LauncherActivityInfo only when required, thus
avoiding system RPC when the icon is already in cache.
Change-Id: I92918c7a0d0d0796e5f7b70d4ecb6787c52c6600
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
In applyDeltaAndBound, we add the current IntRange values
+ delta param to the outbound IntRange -- but then we only
bind based on the current IntRange values, so the out IntRange
values can end be out of bounds.
Change-Id: Ibbaae8c2c2734107d1fd7ce8a59a4c66d83068ad
|