| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Change-Id: I7e5b3162f2b3768caff7ff79fd75567a793a1f45
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|\
| |
| |
| | |
ub-launcher3-burnaby
|
| |
| |
| |
| | |
Change-Id: Ia7bee39752ad0c0b58e74df4507caaf7a3cd8c29
|
|\ \
| |/
|/|
| | |
ub-launcher3-burnaby
|
| |
| |
| |
| |
| |
| |
| |
| | |
> The preloaded widget was being set in a different instance of
PendingAddWidgetInfo and was never getting used for animation.
bug: 20699153
Change-Id: Iaec13640e49c66993b4695e4a52dc3a3a2133fb2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
b/21133230
> Synchronized block was creating a bottleneck for the AsyncTasks.
> Remove calls that doesn't need to be synchronized outside synchronized block.
> Also removed setAlpha call as after the bottleneck was removed,
Inefficient alpha view usage alert started popping up in traceview.
Due to less jankness, removing the fadein animation doesn't have any
visible effect.
Link to lock congestion visualization:
https://x20web.corp.google.com/~hyunyoungs/no_crawl/traceview/traceview_lockcontention.html
Result: gfx-avg-jank delta = "-1"
Change-Id: If12817df0730f346cdba7e2f38f232eb9a4336c0
|
|\ \
| | |
| | |
| | | |
ub-launcher3-burnaby
|
| | |
| | |
| | |
| | |
| | |
| | | |
b/21375339
Change-Id: I8362b3ca94b7c4e75932d42cd09a989e0e3919c0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
> Using a single bitmap icon size
> Picking up appropriate density for satisfy the required icon size
> Fixing some icon size assumptions during icon animations
Bug: 19514688
Change-Id: Ia7a1d0d2c03a9d39ccc241fa4ae3eb8a0f374585
|
|\ \ \
| |_|/
|/| |
| | | |
press" into ub-launcher3-burnaby
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This updates almost(*) all locations that use a long press listener to
also set a custom touch listener that recognizes the stylus button press
action.
The stylus button press action is: when a stylus touches a view while the
primary stylus button is pressed which may occur on a DOWN or MOVE event.
*The location this is *not* enabled for is: Longpress to enter "overview"
mode -- this isn't really a selection or drag n drop action; it is also
easy to accidentally do this while using the stylus gesture to drag n drop
items which is not an ideal interaction. Also not set for the "cling" that
demonstrates this.
Bug: 20430722
Change-Id: I9343f143261a7b4fada9afca28b8a11a60dbecca
|
|/
|
|
|
|
| |
> Make package-private and @Thunk all private methods and constructors accessed from inner classes.
Change-Id: Ie5913860a0c33e48e9bf68f9b5b1699f64c2f174
|
|
|
|
|
|
|
|
|
|
| |
- This change has no effect on actual functionality but to make it easier
for widget tray to inherit the goodness of the 1) fast scroller
functionality 2) unify the scroll look and feel with the all apps view
b/21375339
Change-Id: Ib859b1c3352c0b69f16549ded8f20eb82cf58ba8
|
|
|
|
|
|
|
|
|
| |
> Adding empty page synchronously, instead of waiting for a frame
> Changing launcher state from widgets screen in the same frame, similar to all apps
> Removing DragEnforcer, and moving that logic in side the workspace, disabled by a flag
> Using first page to get page bounds in drag layer, as last page may not have been measured
Change-Id: I172ba4e5ce44648ac55402d49994542c6e10f101
|
|
|
|
|
|
|
| |
- Renaming resources, dimens, etc to be more consistent
- Removing old AppsCustomize resources and other unused code
Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-> Pulling out the parts of device profile which can (and need to be)
initialized and accessed without access to an Activity context,
ie. the invariant bits.
-> The invariant bits are stored in InvariantDeviceProfile which is
initialized statically from LauncherAppState.
-> The DeviceProfile contains the Activity context-dependent bits,
and we will create one of these for each Activity instance, and
this instance is accessed through the Launcher activity.
-> It's possible that we can continue to refactor this such that
all appropriate dimensions can be computed without an Activity
context (by only specifying orientation). This would be an
extension of this CL and allow us to know exactly how launcher
will look in both orientations from any context.
Sets the stage for some improvements around b/19514688
Change-Id: Ia7daccf14d8ca2b9cb340b8780b684769e9f1892
|
|
|
|
|
|
|
|
|
|
|
| |
- Decoupled widget model from widget view, and placed the
creation to LauncherModel.
- As a result packagemanager operation, iconcache retrieval is all done inside
LauncherModel on background thread
b/21311085
b/21325319
Change-Id: I294698527db58b89f3da558090a367530c058776
|
|
|
|
| |
Change-Id: I7fe423b9526805a2e84887e0437ebdc96203c263
|
|
|
|
| |
Change-Id: I5a4dfa339db7862ac3db4cc379469ac8d9f6fae5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- selected locale names are shown before latin
- case independent sorting
- main app > enterprise app
Future possible refactoring:
- Move all the *ItemInfo data structures to model package
- Rename the comparator based on NOT what data structure it supports
but what functionality it supports (locale? case independent?
main app > enterprise app?)
b/21271658
b/20339403
Change-Id: I8a776467392e21d5014e85cd3f51931a3ef89724
|
|
|
|
|
|
|
|
|
| |
> Using a custom view for preview, instead of extensing image view
> Preventing relayout when applying preview
> Removing unnecessary method calls
Bug: 21133230
Change-Id: Iab12fa1e5c871ee43a9fb0e6b6af897fecfb345f
|
|
|
|
|
| |
Bug 21133230
Change-Id: Ib5be0766d1ea56976195e33526d7595a16672eef
|
|
|
| |
b/21133230
|
|\
| |
| |
| | |
RTL) location" into ub-launcher3-burnaby
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
location
Also:
- clean up of some code
- remove requestLayout() method call that is not needed.
b/20338602
Change-Id: I65e0e1ac40da2e3fa85af4d3aca54bed3f200a99
|
| |
| |
| |
| |
| |
| |
| |
| | |
> Fixing some RTL errors by specifying both marginStart and marginLeft
> Moving all layout direction checks to Utilities
> Explicitely adding @TargetApi before every method
Change-Id: Ibe9c52b93b5a6adeadb27ace2b312770fd732ea0
|
|/
|
|
|
|
|
|
| |
- previous height value was 0 before, now set it to proper height.
However, getExtraLayoutSpace still worked because the super method set
extra space (1 screen worth) only when ScrollState is non idle.
Change-Id: Ifbaa6a105fe392735e106996d1f08276e678ebcb
|
|
|
|
| |
Change-Id: Ifdd04923563a0ef57bd281d1b55b8af0e4cc59f0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|\
| |
| |
| | |
ub-launcher3-burnaby
|
| |
| |
| |
| |
| |
| | |
> Loading highres icons on the worker thread.
Change-Id: I5b68a86820aa4c132c156339e497354cf57f0fca
|
|/
|
|
|
|
|
|
|
| |
- Disabling section headers in all apps on tablet layouts
- Fixing issue with predictions not showing on rotation
- Fixing issue with over-aggressive dismissing of keyboard & filtered app state
- Fixing issue where the container bounds were running straight up to the nav bar
Change-Id: I5a5a56afa75b50be96af4894bf785ffbb1b15fb3
|
|\
| |
| |
| | |
devices" into ub-launcher3-burnaby
|
| |
| |
| |
| |
| |
| |
| | |
b/20338324
b/20763871
Change-Id: I69114cb6dfec95c473313a440a6db76a052e5601
|
|/
|
|
|
|
| |
Bug: 20953160
Change-Id: I1610df5e445a4139522226f68fa6439926bc70c6
|
|
|
|
|
|
| |
Bug: 20763871
Change-Id: I8c2f45cfb10964e4be7e9c07c89dd336585c9989
|
|
|
|
| |
Change-Id: I50c3dfaecd79a87340ed4eeaa3195a26311062e0
|
|
|
|
|
|
|
|
|
|
|
| |
- Adds sticky section headers
- Removing AppsListAdapter
- Adding search bar field
- Subtitle filtering
Bug: 20222023
Change-Id: I1eaef701b5d68f475615f09d86561eacc91c937f
|
|
|
|
|
|
| |
-> Stop depending on new RecyclerView methods
Change-Id: Ib2c58b24e2b796e6e7b3cd5e4bb927dc3f11faf2
|
|
|
|
|
|
| |
b/20698514
Change-Id: Ic075f0016d5e00bbdec193bbcd2e311da1957388
|
|
|
|
|
|
|
|
|
| |
b/20339302
Introduced a constant that we can use to tweak how much extra screen
space worth of widgets are preloaded.
Change-Id: I47f0fec134b4e268140482694a1903cf902731c6
|
|
|
|
| |
Change-Id: Ibce31b52f5ffc4a03bdd48c575521c774f17a353
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Concurrency issue: unused bitmap was not properly synchronized
which caused concurrency issue. Hence, leading current widget tray
implementation to not use it. (a.k.a. cancel(false)).
Issue fixed and now using the unused bitmap pool.
2) Caching improvement: LoadedBitmap cache was a legacy support system
for the old widget tray implementation. On our latest implementation,
cache and recycled view is completely being managed by the recycler view.
Hence removed.
Change-Id: I843e6a286b676f283172f2c1ef5cbeed0a9fb17f
|
|
|
|
|
|
|
|
|
| |
- Fixing an issue where widget preview is not loaded do to faulty
canceling of loading async task when view is detached from the window.
b/20338334
Change-Id: I1e3bd6b6cdafda8d1e0a7a0e87c8089100c341a7
|
|
|
|
|
|
|
|
|
|
|
| |
- show instruction toast on clicking the widget
- Add animation when widget drops on the workspace.
Added WidgetHostViewLoader to handle short press and assign widget
host view to enable animation
b/19897708
Change-Id: Iec36d72cb21bf09343d0beeb31a09bf8b0cb5e0d
|
|
|
|
|
|
|
|
|
|
|
| |
- set fixed image view width
- fade in when widget bitmap populates
- widget dimension is next to the widget name text.
- elevation of the widgets content and the reveal view is the same
b/19897708
Change-Id: Ia656144412e7d63a491ce67ff15fb58c05d9a9d9
|
|
|
|
|
|
|
|
|
|
| |
Due to not clearing the PackageItemInfos list when uninstall happened,
uninstalled PackageItemInfo lingered around when there wasn't associated
Widgets to it. Hence causing null pointer exception.
b/20216900
Change-Id: I5601cf618079044d24ffc3ee835c1468fa2e9371
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
UI
- Fixing the issue of widget row not rendering
- Moved the resetting of previous bitmap to the start of onBind
instead of the onDetachedWindow.
Performance
- WidgetModel do not have to keep packageName list around.
Will com in immediate follow up CLs
- use lowRes widgets bitmap before fully loading the fullRes one.
- application icons are fully loaded in background thread.
b/19897708
Change-Id: I5b3b43a5c543a5135c395f90df32e66d57dc86e0
|