| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
- Currently the system shortcuts are just widgets and app info
- As shortcuts, they live in ShortcutsItemView
- They are populated either as icons only (if there are deep
shortcuts) or as icons + text
- Widgets are disabled until binding them is complete (we request for
them to be bound on long-press now). We should revisit this.
Bug: 34940468
Change-Id: Ia51d002c3b3ede87658bdab57abfc3eeca1ed242
|
|
|
|
|
|
|
|
|
|
| |
Using standard theme attributes rather than custom color codes, so
that it plays nice with system theme changes.
Bug: 34819119
Bug: 34897402
Bug: 21446746
Change-Id: I265fba3ceae8873650fd09e4704838d313155e83
|
|
|
|
|
|
|
| |
Also fixing some platform API changes in PinItemRequestCompat
Bug: 33584624
Change-Id: I255829f0079f1a3967bf8d6a337da12c890eb7ec
|
|
|
|
|
|
|
|
| |
> This ensures that LauncherAppState is only accessed in the presence of
a valid context
Bug: 33032833
Change-Id: I955e5cb022f8bd6374681ae6c0720a2666d5b750
|
|
|
|
|
| |
Bug: 32745285
Change-Id: I62971908e3e4402941fab627bbdfd47be64473a3
|
|
|
|
|
|
|
|
|
|
|
|
| |
Indexer depends on the locale and should be created when ever the config
changes. Moving the widget indexing to the adapter (similar to allApps)
which gets created whenever the activity is recreated.
This fixes the bug where widgets indexing breaks if locale changes while launcher
process is alive
Also fixing the bug in widget model cloning where the HashMap was not cloning
the underlying ArrayList
Change-Id: I7dbe6290e73299c4c07aa7fa564077a2649e1a4c
|
|
|
|
|
|
|
| |
This was an exploration for an alternative UI in all apps, where we
show section headers before every section. This was never released.
Change-Id: I2d36f1d078cc9a6f3ba6f0ec9655412182c9b016
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
bind/recycle
Change-Id: Ifad34f419b1b4f2bf97cc4ff533277867598a719
|
|
|
|
|
|
|
| |
In PackageItemInfo,, using the user of the first item in the sub-list
Bug: 27585511
Change-Id: I8243f0e5c831af65661ae815489e53e9fcade837
|
|
|
|
| |
Change-Id: I634302051886baee6b6424f69bc95db860b4823e
|
|\
| |
| |
| |
| |
| |
| | |
am: d31dcbcc7c
* commit 'd31dcbcc7c7901959c65c4e635e59274a1d4c334':
Manual revert due to conflict:
|
| |
| |
| |
| |
| |
| |
| |
| | |
Revert "Load label in bg thread to prevent ANR b/27238970"
This reverts commit b62fd0957607ae54c7bca7ce64eed288a11f0f2f.
Change-Id: Ia751e3414fb24a18bb8bb9ca09dcd93d0e4249f6
|
|\|
| |
| |
| |
| |
| |
| | |
am: e1bd986d77
* commit 'e1bd986d77afc9426e320b7cce53993086f9d8ba':
Disabling som attributes so that dependencies can use compat libraries
|
| |
| |
| |
| |
| | |
Bug: 27101533
Change-Id: I18de77cffbbb234f25fb85dfe0334ed7fe113a74
|
| |
| |
| |
| |
| |
| |
| | |
b/27238970
Change-Id: Ic5d77df7d5276cee07861d59427a94fb19691d9c
(cherry picked from commit 72a9953cf463e0e7a8d24903f1692828ffe5b017)
|
| |
| |
| |
| |
| |
| | |
b/27238970
Change-Id: Ic5d77df7d5276cee07861d59427a94fb19691d9c
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
> 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
|
|\|
| |
| |
| | |
Change-Id: Ia3e845a2e336c846cceefdc2d1e8c6786753f1b1
|
| |
| |
| |
| |
| |
| |
| |
| | |
> Renaming Lmp to Lollipop
> Lollipop_MR1 instead of directly using 22
> Using M APIs directly instead of reflection
Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
|
|/
|
|
| |
Change-Id: I160feaee81b262be02446885fae643c0be71b7af
|
|
|
|
|
|
| |
b/22518383
Change-Id: I1a683c49be93af150f7873390b723cee0d4ac5df
|
|
|
|
|
|
| |
b/22483452
Change-Id: I9d1cd8b71f4b6a4f75af420e9f54b73e9ae7527c
|
|
|
|
| |
Change-Id: I7e5b3162f2b3768caff7ff79fd75567a793a1f45
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-> 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: I5a4dfa339db7862ac3db4cc379469ac8d9f6fae5
|
|
|
|
|
|
|
|
|
| |
> 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
|
|
|
|
| |
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
|
|
|
|
|
|
| |
> Loading highres icons on the worker thread.
Change-Id: I5b68a86820aa4c132c156339e497354cf57f0fca
|
|
|
|
|
|
|
| |
b/20338324
b/20763871
Change-Id: I69114cb6dfec95c473313a440a6db76a052e5601
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
- Long application title should be ellipsized
- Disable the drawable when the view is no longer attached to the window
- Save the PackageItemInfo to the WidgetModel once full res icon bitmap is loaded
b/19897708
Change-Id: I96f260f9d165b206905a127fcee9879556c3d0c4
|
|
- RecyclerView is rendering
- Animation is connected
- Drag and drop is now handled
- UI tweaking: background, margins, more to come.
- Flicker and preview not loading issue:
fixed height for the horizontal scroll view.
- Shortcuts are added
- Widget Preview loading should support shortPress for drop
- UI tweaks left: overlay of arrow when there are more items to scroll
- icons are added in the section header
- Sorting of widget sections and widget horizontal list
- Adding all the padding constants to dimen.xml file
- RecyclerView should only support one view type
For items to be addressed in follow up patches OR CLs,
TODO is added to the comment.
b/19897708
Change-Id: Ibfc4da1696a23d20bada93db46e126706eb13cdc
|