summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | am cc67f476: Improve launcher loading performance by only doing re-binds.Joe Onorato2010-06-083-94/+82
|\| |
| * | Improve launcher loading performance by only doing re-binds.Joe Onorato2010-06-083-94/+82
| | | | | | | | | | | | | | | | | | | | | This always reloads the workspace, because I think it's a less risky change and that only adds ~100ms. Change-Id: I215b1f741f022e47ce06e78b9cfdd9967a8f1b9d
* | | am 843e860e: Load All Apps before the workspace if All Apps is showing.Daniel Sandler2010-06-082-61/+111
|\| |
| * | Load All Apps before the workspace if All Apps is showing.Daniel Sandler2010-06-072-61/+111
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | am 81a92481: Fix drawing glitches in 2DAA.Daniel Sandler2010-06-041-1/+0
|\|
| * Fix drawing glitches in 2DAA.Daniel Sandler2010-06-031-1/+0
| | | | | | | | | | Bug: 2739938 Change-Id: Ifeacc3ea7995b3fa90165943bc45d701a6234098
* | am 6662645a: Merge "Make 2D All Apps work better in landscape and on hdpi." ↵Daniel Sandler2010-06-031-1/+12
|\| | | | | | | into froyo
| * Merge "Make 2D All Apps work better in landscape and on hdpi." into froyoDaniel Sandler2010-06-031-1/+12
| |\
| | * Make 2D All Apps work better in landscape and on hdpi.Daniel Sandler2010-06-031-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Correct the density (or, rather, remove the density) of the icons in the cache to ensure they're drawn px-for-px. * Create a new landscape layout for 2DAA that aligns things properly (viz: Home icon at right, padding tuned, 6 columns). * Performance improvement: Make the app grid, icons, and home icon all opaque (by setting a black background) and move the home icon so it doesn't overlap the grid. Change-Id: I961323e9e39cb122cdc694853706e7fcdd10142f
* | | am 596c0e6d: Don\'t perform collision checks for items in folders.Daniel Sandler2010-06-021-0/+4
|\| |
| * | Don't perform collision checks for items in folders.Daniel Sandler2010-06-021-0/+4
| |/ | | | | | | | | Bug: 2735146 Change-Id: Ie4d03b09cc75bfc176ec91be6f6f4369af5cc2a3
* | Remove RS_Kind info from element setupJason Sams2010-06-012-8/+8
| | | | | | | | Change-Id: Ia851229b6e107d4c19bd20c6acfef4f8fae280d1
* | am 8802e960: Defend against overlapping items in the workspace.Daniel Sandler2010-05-273-2/+64
|\|
| * Defend against overlapping items in the workspace.Daniel Sandler2010-05-263-2/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | am 3e297b57: Merge "Mask bitmap creation errors while dragging shortcuts." ↵Daniel Sandler2010-05-251-0/+9
|\| | | | | | | into froyo
| * Merge "Mask bitmap creation errors while dragging shortcuts." into froyoDaniel Sandler2010-05-251-0/+9
| |\
| | * Mask bitmap creation errors while dragging shortcuts.Daniel Sandler2010-05-251-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | If we're unable to create a bitmap for the drag, e.g. due to memory pressure, give up. Bug: 2650809 Change-Id: I5d7360dbb1bd736a629451467e93cccdfc255b67
* | | am cdc49731: Merge "Ignore requests to add items to non-existant screens." ↵Daniel Sandler2010-05-251-1/+4
|\| | | | | | | | | | | into froyo
| * | Merge "Ignore requests to add items to non-existant screens." into froyoDaniel Sandler2010-05-251-1/+4
| |\ \
| | * | Ignore requests to add items to non-existant screens.Daniel Sandler2010-05-251-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should avoid crashes when using Launcher2 alongside third-party launchers that add additional workspaces. Bug: 2709532 Change-Id: I7775b43e582346ba686524e357a2b262e9fc4dcd
* | | | am 2e2656cc: Merge "Disable hotseat buttons if AllApps is visible." into froyoDaniel Sandler2010-05-241-1/+2
|\| | |
| * | | Merge "Disable hotseat buttons if AllApps is visible." into froyoDaniel Sandler2010-05-241-1/+2
| |\| |
| | * | Disable hotseat buttons if AllApps is visible.Daniel Sandler2010-05-241-1/+2
| | |/ | | | | | | | | | | | | Bug: 2707845 Change-Id: Ic4039f9737b3218a45bb3e8456c47927edd3fe3d
* | | Update names and move clear to script.Jason Sams2010-05-191-17/+0
| | | | | | | | | | | | Change-Id: I17af3cd027248f52ce6516f81968c6b3d976a09d
* | | am f3d5ea92: Have LauncherModel poke the gc after it\'s done, to give the ↵Joe Onorato2010-05-181-0/+8
|\| | | | | | | | | | | renderscript objects a chance to get deleted, since they aren\'t in the java heap.
| * | Have LauncherModel poke the gc after it's done, to give theJoe Onorato2010-05-181-0/+8
| |/ | | | | | | | | | | | | | | | | renderscript objects a chance to get deleted, since they aren't in the java heap. Bug 2685490 Change-Id: Ifff97b64585ac0f6faed0feb6362f6137682e32d
* | Launcher2 cleanup.Jason Sams2010-05-142-4/+3
| | | | | | | | | | | | Will remove dead script functions once reflection is working. Change-Id: Ieffcf55047b5e241a8cffb1852619d04e1a00d53
* | Update Launcher2 to work with LLVM.Jason Sams2010-05-113-206/+374
| | | | | | | | Change-Id: I992b812ec58d182e5df7ddad3ab8e7d9e7b88551
* | am e1cc6c37: Fix 2617318 - NPE in Launcher2.Daniel Sandler2010-05-071-1/+1
|\|
| * Fix 2617318 - NPE in Launcher2.Daniel Sandler2010-05-071-1/+1
| | | | | | | | | | | | | | Applies the fix in change Id91712fa to widgets. Bug: 2617318 Change-Id: I1e1dac6238a26497eacc23b161df171ae40bb588
* | am 68b4182d: Merge "Bug 2639807 - Add smarter smoothing to home screen touch ↵Adam Powell2010-05-051-38/+39
|\| | | | | | | scrolling." into froyo
| * Merge "Bug 2639807 - Add smarter smoothing to home screen touch scrolling." ↵Adam Powell2010-05-041-38/+39
| |\ | | | | | | | | | into froyo
| | * Bug 2639807 - Add smarter smoothing to home screen touch scrolling.Adam Powell2010-05-041-38/+39
| | | | | | | | | | | | Change-Id: I242e11f5aec218ae2b8f80ef3babcb2836c173db
* | | am fad1fb5e: Tweak locking in launcher so mLock isn\'t held while the slow ↵Joe Onorato2010-05-052-14/+19
|\| | | | | | | | | | | stuff happens.
| * | Tweak locking in launcher so mLock isn't held while the slow stuff happens.Joe Onorato2010-05-042-14/+19
| |/ | | | | | | | | | | Bug 2652948 Change-Id: I9d386395278830ead5deda17b8b09e0dcfeff989
* | am fefa0ce2: Fix bug 2646531 - regression in home screen bitmap cachingAdam Powell2010-05-032-2/+5
|\|
| * Fix bug 2646531 - regression in home screen bitmap cachingAdam Powell2010-05-032-2/+5
| | | | | | | | | | | | | | | | Looks like the code path for buildDrawingCache(false) has some bugs. This reverts to the old code path and tries to manage the creation of those caches a bit better. Change-Id: Ic468e9db396c51f723454dc3832e0cd1c0c82004
* | am 1896a6ec: Merge "Filter input events and smooth out touch scrolling. Bug ↵Adam Powell2010-04-292-12/+36
|\| | | | | | | 2639807" into froyo
| * Filter input events and smooth out touch scrolling. Bug 2639807Adam Powell2010-04-292-12/+36
| | | | | | | | Change-Id: I71a18497862a30db5ff0f52f566fb86eae213ea3
* | am 19b0600e: Merge "Avoid ANR in Home by avoiding a sycnhronized call on the ↵Romain Guy2010-04-281-1/+1
|\| | | | | | | UI thread. Bug #2614636" into froyo
| * Merge "Avoid ANR in Home by avoiding a sycnhronized call on the UI thread. ↵Romain Guy2010-04-281-1/+1
| |\ | | | | | | | | | Bug #2614636" into froyo
| | * Avoid ANR in Home by avoiding a sycnhronized call on the UI thread.Romain Guy2010-04-281-1/+1
| | | | | | | | | | | | | | | | | | Bug #2614636 Change-Id: If9ded9a2e231a429e4d0a21626b486f76fd0a3a6
* | | am 0554b749: Merge "Hotseats: better strategy for finding the default ↵Daniel Sandler2010-04-281-28/+142
|\| | | | | | | | | | | browser." into froyo
| * | Merge "Hotseats: better strategy for finding the default browser." into froyoDaniel Sandler2010-04-281-28/+142
| |\ \
| | * | Hotseats: better strategy for finding the default browser.Daniel Sandler2010-04-281-28/+142
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To do this, we invoke resolveActivity to see what activity would result from viewing an arbitrary (but valid) URL. If there's just one installed, or there are multiple and the user has chosen a default handler for http:, we take that component and launch it with CATEGORY_HOME (so as not to upset the URL in the frontmost window/tab/what-have-you). We also use this information to extract the localized name of the app, which is then installed into the hotseat as the contentDescription (for accessibility). If there's no default and multiple options are availble, we'll get the activity chooser instead. In this case, we just fire off that chooser and let the user pick an app (possibly setting a default along the way). Because the default may change, we reload all this hotseat information every time one of the hotseats is tapped. Another side-effect of this approach is that until there exists a default browser, the original URL will be sent to the activity the user chooses from the ResolveActivity. So we need a sensible default URL here; one can be found in R.string.default_browser_url (similar to Browser's R.string.homepage_base). This change also moves the hotseat intents and icons into arrays.xml for easier configuration. Change-Id: I06268df8b59e0f41f1f8b0e47f823db4c44ec761
* | | am d40613a6: Address bug 2631580 - Tweak home screen scrolling behavior.Adam Powell2010-04-271-31/+51
|\| |
| * | Address bug 2631580 - Tweak home screen scrolling behavior.Adam Powell2010-04-261-31/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | Duration of motion is now influenced by fling velocity. Constants have been tuned and tweaked. Fix a couple of drawing optimizations in Launcher2 Workspace. Change-Id: Iaa674d10a28554884d9cc98134b2d1253b5e3e70
* | | am 2762dd85: Fix bug 2629457 - Scale home screen settle animation based on ↵Adam Powell2010-04-261-3/+27
|\| | | | | | | | | | | distance.
| * | Fix bug 2629457 - Scale home screen settle animation based on distance.Adam Powell2010-04-261-3/+27
| |/ | | | | | | | | | | | | | | | | This fixes the issue where using the long-press-on-dots feature to jump to a specific home screen overshoots by a large distance. It also speeds up the resulting animation such that jumping from screen 1 to 5 doesn't take as long. Change-Id: If41086b17df875be5514776e3af24292587d05a7
* | am e547b623: Merge "New Launcher feature: "hotseat" icons." into froyoDaniel Sandler2010-04-232-20/+79
|\|