| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
activity is destroyed.
Change-Id: I288d2bd7e305c2cf9bdeec5357997d566d5205b7
|
|
|
|
|
|
|
|
| |
rotating in AppsCustomize.
- Also removing references to old all-apps 2d/3d
Change-Id: Ibe07ad8b4facc5c57b3c82ccf0b55260be61a31b
|
|
|
|
|
|
| |
- Changing long-press on homescreen to bring up wallpaper picker.
Change-Id: I854b1b7dc5a102e95853732d6e9a4fa298144650
|
|
|
|
|
|
| |
- Initial changes adding LRU cache to widget pane to speed up getting widget previews.
Change-Id: If9ed479ba8f2fb321b3ff8c384ac5a9f87d4c689
|
| |
|
|
|
|
| |
Change-Id: Ic105fbeb1289e43469d5975b7d977b2fc7900c0b
|
|
|
|
| |
Change-Id: Ifa1676736033fe617dd0cca965156c38fa452948
|
|
|
|
| |
Change-Id: I8b693d9ea6b4ef58ee1141e8f61b3fede134606b
|
|
|
|
| |
Change-Id: Ib4c0de0080f0b69f873fd88016f23c319a13c6ff
|
|
|
|
| |
Change-Id: I18598493dcf34fc6089fa330a4b66803f658b773
|
|
|
|
|
|
|
|
|
|
| |
We need to save the icon *after* we have loaded all the other information about it.
Also, add a check that if apps on SD aren't possible, don't even bother saving the icon. This saves
~200 ms on each run of the loader.
Bug: 3240615
Change-Id: Idc2329a868ab970b51deec341ffa8a47a344e110
|
|
|
|
| |
Change-Id: I75ae46ad601457ecfc9555aff7f7ff5284440317
|
|
|
| |
Change-Id: I76215a48e76234501b7ce253dedfa449502ab88f
|
|
|
|
|
|
| |
support them.
Change-Id: Id5dfa8436a5bf6eb7bd300ec603911a9d3698de3
|
|
|
|
| |
Known issue: Default activity icon is still showing up as small
|
|
|
|
|
| |
Bug: 3032131
Change-Id: I47659a459044fdace0a3480d216b168c18f2de37
|
|
|
|
| |
Change-Id: I4a7ba51783b27e544e9a21882bc7cd582b3b43e0
|
|
|
|
|
|
| |
same InstallShortcut intent.
Change-Id: I21b57115429ed37d604084ae01308d1d3f33ee7e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to re-re-load it in onResume.
Otherwise we can load widgets and other resources from the wrong Configuration.
This doesn't completely fix the bug, but it makes it much less likely. We tell
the launcher once at the beginning of starting a reload because of SD cards coming
back, and once when we bind.
cherry pick of I99ee6af38bef91e261832bad4dec978a5d4a8b3d
Bug: 3126698
Change-Id: I917bdb3982e3eea4924c6e9a8f3c037fd493f415
|
|\
| |
| |
| | |
Change-Id: I85320de6483e6820fe27b4012bfc323ccafa0e04
|
| |
| |
| |
| |
| | |
Bug: 2983765
Change-Id: I1fdd33ea8ee4fbc79a75ce0450f04d8e18915975
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
gingerbread
Merge commit '02e53429c4ef01bee548e0eaba4aeeee99db35f4'
* commit '02e53429c4ef01bee548e0eaba4aeeee99db35f4':
Don't block the UI when rearranging icons.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The pause is mostly notable when a sync is happening at the same time.
The related function addItemToDatabase() is unchanged by this CL
though as it populates item.id and would need more invasive changes
elsewhere.
Change-Id: I6538445aeb15d9efedf99f262c39f6175f7f1e0e
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
it." into gingerbread
Merge commit '673aefe8b2b27790d704cc15282c8989a132877b'
* commit '673aefe8b2b27790d704cc15282c8989a132877b':
When the SD card comes back, we need to show the apps on it.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The problem was that we were doing startLoader, but once the
apps are loaded, all that does is re-bind everything. Before
a recent change of mine, we were clearing mWorkspaceLoaded and
mAllAppsLoaded. But that's not good either, because it meant
that there needed to be a lock that the main thread and the
worker thread were both acquiring, which was causing ANRs.
Instead, now we schedule two messages - one to add the apps
back into the list, and one to update everything to use
those new icons.
Bug: 3065061
Change-Id: If9d36d4b55a7ba72fcf48a5ed8941bb9466bebe6
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
unmounted." into gingerbread
Merge commit 'd98979b8147065878719cd2adb039317ba3abe0a'
* commit 'd98979b8147065878719cd2adb039317ba3abe0a':
Reload everything when coming back from the SD being unmounted.
|
| |
| |
| |
| |
| |
| |
| |
| | |
We could do this more efficiently by only updating the packages that
have changed, but that would involve a big rewrite.
Bug: 3020854
Change-Id: Ie7e3bee20f45dc5efa93d960902e9dfb79c4a3a5
|
| |
| |
| |
| |
| |
| | |
duplicate View ids
Change-Id: I69d09823d4825dadd7f3e119f9248140256f91b3
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
also:
- Long press on empty space on workspace now brings up customization tray
- Fixed: while dragging, items appeared to be dropping on folders two cells to the right
- Fixed: Disabling drops on folders when the workspace is shrunken
- Fixed: account for scaling of dragged items when checking if they overlap
with shrunken workspace screens
- Making folder icons dimmable to match shortcuts and widgets
- When deciding with shrunken workspace screen we're dragging to, we now use the closest screen rather than the one that has been overlapped the most
- Refactored drag/add mechanism, removing array of occupied cells from CellInfo
- Removed dead code/variables
|
|\|
| |
| |
| |
| |
| |
| | |
Merge commit '73013bf94f49ffbacba2b8300f6a2dd4eeebbd13'
* commit '73013bf94f49ffbacba2b8300f6a2dd4eeebbd13':
Make LauncherModel.deleteItemFromDatabase write to disk async.
|
| |
| |
| |
| |
| |
| | |
Fixes a bunch of StrictMode violations and removes TODOs.
Change-Id: I886bd071d4a8336c228d29c517a8ffc5223c0623
|
| |
| |
| |
| |
| |
| |
| | |
SD card after reboot
Bug: 2941495
Change-Id: Idf1869d33cd5c01abea5b059ca466529cee0ad93
|
| |
| |
| |
| |
| |
| |
| | |
SD card after reboot
Bug: 2941495
Change-Id: Ie8e0e0c62259f8cf933e53b7aa2dc28a835110ae
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adding pages for customization drawer with initial implementation of proposed flow
layout for widgets. Fixes for keeping all apps, and widgets in sync with Launcher
Model, optimizations for reloading all apps pages when invalidating. Adding some
animations for tab transitions and feedback when long pressing to add certain items.
Change-Id: I8d51749f3a91c964bed35681f3a9192200b0d93e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit eliminates the notion of in-place rotations and a bunch of
associated complexities (including the notion of canonical coordinates).
Further, the number of x and y cells per workspace screen is now being stored
in a single location in the XML definition of Workspace. This fixes a couple
bugs where incorrect values were being used. Finally, eliminated the notion of
"shortAxis" and "longAxis" in terms of padding and cell count. These have been
translated to corresponding x and y axis values.
Change-Id: I30cfed66f82d739355b3f01730b28b6c0437989c
|
| | |
|
|/
|
|
|
|
| |
Currently, rotation is disabled as designs are still in flux, but the NxM grid is enabled (8x4).
Change-Id: I0026f88c674719e3d67de6d6d481d2d4cd606362
|
|
|
|
|
|
|
|
|
|
| |
updates into that thread as well.
This gets rid of the ANRs that happened because both threads were
holding mAllAppsListLock. Now mAllAppsList should only be touched
from within the worker thread.
Change-Id: Ifc4ac27e0c0a927ac66c456d097fd3d4ef6c5e1e
|
|
|
|
|
|
|
|
|
|
|
|
| |
set from the ui thread.
This will help the ANR in LauncherModel.onReceive because if
we're under contention, there's a good chance that we haven't loaded
yet. It won't completely fix it, but that will take a large refactoring.
Bug 2672967
Change-Id: I2c97a416767b4bb6aac0252f02e2aa2055ae8a4e
|
|
|
|
|
|
| |
somehow.
Change-Id: I308656a5b1748e8aca254410b049110afaa7affc
|
|
|
|
|
|
|
| |
This always reloads the workspace, because I think it's a less risky change and that only adds
~100ms.
Change-Id: I215b1f741f022e47ce06e78b9cfdd9967a8f1b9d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change reorganizes the increasingly Byzantine loader
thread so that the order of (workspace, allapps) can be
reversed if the user is currently looking at the all apps
view. The perceptual improvement in performance is huge if
you change the Launcher's orientation while All Apps is
visible (which forces a reload/bind of everything); now that
AA doesn't have to wait behind the workspace it
(specifically, its first batch of icons) appears much, much
faster.
Bug: 2722977
Change-Id: I07a9afd5f1cff4019f2640b082872176ba0a887e
|
|
|
|
|
| |
Bug: 2735146
Change-Id: Ie4d03b09cc75bfc176ec91be6f6f4369af5cc2a3
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Should the Launcher's database become corrupted by
mysterious forces (e.g.: third-party launchers; botched
upgrades; smoke monsters) in such a way as to cause two
items to share the same cell, we now ignore loading the
latter.
Prevents a runtime crash (http://b/2655516).
Bug: 2655516
Change-Id: Ia514746f04f0e51b2cd07e9290589a6eab75bdd2
|
|
|
|
|
|
|
|
|
| |
renderscript objects a chance to get deleted, since they aren't
in the java heap.
Bug 2685490
Change-Id: Ifff97b64585ac0f6faed0feb6362f6137682e32d
|
|
|
|
|
|
| |
Bug 2652948
Change-Id: I9d386395278830ead5deda17b8b09e0dcfeff989
|
|
|
|
|
|
| |
Bug #2614636
Change-Id: If9ded9a2e231a429e4d0a21626b486f76fd0a3a6
|
|
|
|
|
|
| |
Callbacks can be null.
Change-Id: I56462a54673b1804a6235d6d882008b453290542
|
|
|
|
| |
Change-Id: I78130d6f237f476bc33a4718ca5ef245fe502857
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Removed another redundant sort
* Correctly set the thread priority to BACKGROUND for the
all apps loading step.
* Moved batch delay to a resource
* Reduced delay between loading batches of apps to 100ms
(we really just want to sleep a tiny bit between batches
to give the UI time to react)
Bug: 2562420
Bug: 2599979 (related)
Change-Id: I1ae72a68c1a47377a9eb62827fe7666bfc50caa5
|