summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Ported Launcher2 to use the new Build system."Shih-wei Liao2010-07-194-350/+393
|\
| * Ported Launcher2 to use the new Build system.Shih-wei Liao2010-07-194-350/+393
| | | | | | | | Change-Id: Ie24bb6520f9f6dfc24dde2b7810ec322bc7b3a1a
* | Merge "Fix null pointer when dragging outside of workspace."Patrick Dubroy2010-07-161-6/+7
|\ \
| * | Fix null pointer when dragging outside of workspace.Patrick Dubroy2010-07-161-6/+7
| |/
* / Generate a default preview for widgets that don't have a previewImage.Patrick Dubroy2010-07-165-47/+106
|/ | | | Change-Id: I3a3c24543c925a50ab34fd3cbf7947544a5ac5c0
* fix 2841060: Folders appear to accept drag-and-drop of widgetsPatrick Dubroy2010-07-141-1/+3
| | | | Change-Id: I6e408c25d52c8b3a5f64149326df901fce1ce597
* Fix bug with estimate drop cell offsetPatrick Dubroy2010-07-141-1/+1
| | | | Change-Id: I9b8370a858dab7d656bbfb1897e469ef4f2aec06
* Fix bug with drag visualization and UserFolders.Patrick Dubroy2010-07-137-3/+107
| | | | | | | | | When dragging an app shortcut, it was possible that we'd show a red rectangle around a cell occupied by a UserFolder. This shouldn't be possible -- as soon as that cell becomes the target drop cell, the folder should start handling the drag and drop events. Change-Id: I1b7a8b1aa9aeb7e2f1bd51ce8d947c06455e988f
* When dragging items on the home screen, visualize where they will drop.Patrick Dubroy2010-07-126-58/+249
| | | | | | | Draw a rectangle around the area where an item will land if it is dropped. If the area is vacant, the rectangle is green; otherwise, it is red. Change-Id: I859b52514566fa55f8c7a04493b8088d12baa476
* Fixing runtime error on non-xlarge devicesMichael Jurka2010-07-091-23/+42
| | | | | Previous commit made Launcher a subclass of TabActivity, but there is no TabHost in non-xlarge layouts; Launcher now subclasses from Activity and no longer assumes that there must be a TabHost Change-Id: I496496a602e43768d79113c7090435119cb4e5e5
* Improving home screen customizationMichael Jurka2010-07-0912-83/+360
| | | | | | | | | | - Created a drawer with tabs for widgets, folders, shortcuts, wallpapers (wallpapers are currently not implemented) - Tapping outside the drawer dismisses it - Moved the all apps icon to the upper right of the screen - Adding a toast that says "No more space on screen" when dragging a widget to a full screen - Fixed bug where you could stack two equal-sized widgets on top of each other on the homescreen (exposed by the new ability to drag widgets onto the home screen) Change-Id: I03b65ce54a85d24328c94e0c06e249571de449ee
* Switching allapps to use Mesh instead of SimpleMesh.Alex Sakhartchouk2010-07-012-8/+8
| | | | Change-Id: I678525439341d54e6841df3df2d7ab0c67c0b266
* Allow for NxM layout and in-place rotation of items on homescreen.Winson Chung2010-06-3022-417/+903
| | | | | | Currently, rotation is disabled as designs are still in flux, but the NxM grid is enabled (8x4). Change-Id: I0026f88c674719e3d67de6d6d481d2d4cd606362
* In the WidgetChooser, show the widget preview (if available) rather than the ↵Patrick Dubroy2010-06-291-2/+15
| | | | | | icon Change-Id: I4d4ef7f31027e198b2f215f3e2d91da41e6ae99e
* First cut at new home screen customization for xlarge displays.Michael Jurka2010-06-286-111/+344
| | | | | | | | - Add new layout for xlarge, removing hotseat, next/prev page, etc. - Add a "+" button in top right which switches to customization mode - Add a widget chooser which slides up from bottom of screen - Initial support for dragging widgets onto home screen Change-Id: I14e2e013ccceff4066fcb7c4492b4f6bef6595e7
* am 68925c53: Merge "Make the loader thread a Looper and move the package ↵Joe Onorato2010-06-232-801/+788
|\ | | | | | | | | | | | | | | | | manager updates into that thread as well." into gingerbread Merge commit '68925c535932b7cbb8aafb4f981f23ef2887a1c4' * commit '68925c535932b7cbb8aafb4f981f23ef2887a1c4': Make the loader thread a Looper and move the package manager
| * Make the loader thread a Looper and move the package managerJoe Onorato2010-06-182-801/+788
| | | | | | | | | | | | | | | | | | | | 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
* | Code cleanup possible with new reflected classes.Jason Sams2010-06-183-159/+85
| | | | | | | | Change-Id: If9e79383722c0df997526717c52ded4921b6663e
* | slang with java_package_name pragma now works on allapps.rs. Add Null ↵Shih-wei Liao2010-06-151-2/+0
| | | | | | | | | | | | Pointer Checking. Add gSelectIconTexture.p checking. Change-Id: I8aa04e15352a71bad0d6f6ca62ebde4085cbce03
* | Update AppApps to use reflected files.Jason Sams2010-06-154-235/+348
| | | | | | | | | | | | | | Previous files were hand written placeholders. This also fixed the physics bug where movement was right. Change-Id: I98838084d60f0eaf22f7fbd148a80b2f73f9a14c
* | am ab66ed2e: Merge "This variable can be checked outside the lock because ↵Joe Onorato2010-06-111-6/+6
|\| | | | | | | | | | | | | | | | | it\'s only set from the ui thread." into froyo Merge commit 'ab66ed2e067cbd1bc415b6cf66f3b5191b166461' * commit 'ab66ed2e067cbd1bc415b6cf66f3b5191b166461': This variable can be checked outside the lock because it's only
| * Merge "This variable can be checked outside the lock because it's only set ↵Joe Onorato2010-06-111-6/+6
| |\ | | | | | | | | | from the ui thread." into froyo
| | * This variable can be checked outside the lock because it's onlyJoe Onorato2010-06-111-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am d0afc87d: Fix crash in getCurrentWorkspaceScreen.Joe Onorato2010-06-111-1/+5
|\| | | | | | | | | | | | | | | | | | | | Merge commit 'd0afc87d9639a228b247cfbc2cf19d16132137b3' * commit 'd0afc87d9639a228b247cfbc2cf19d16132137b3': Fix crash in getCurrentWorkspaceScreen.
| * | Fix crash in getCurrentWorkspaceScreen.Joe Onorato2010-06-111-1/+5
| |/ | | | | | | | | | | Bug 2761789 Change-Id: I9f005c876ca20f774e6d8046e34451a7fecbe805
* | remove extra set of transulcent on pixel format.Jason Sams2010-06-101-1/+0
| | | | | | | | Change-Id: I2b6a16d8070a045e56e90fd073f63473b600ea90
* | am 774b3279: Fix the folder bug. The change that had previously fixed this ↵Joe Onorato2010-06-081-0/+4
|\| | | | | | | got reverted somehow.
| * Fix the folder bug. The change that had previously fixed this got reverted ↵Joe Onorato2010-06-081-0/+4
| | | | | | | | | | | | somehow. Change-Id: I308656a5b1748e8aca254410b049110afaa7affc
* | am 36354e4e: Merge "Improve workspace\'s scrolling performance." into froyoRomain Guy2010-06-081-0/+16
|\|
| * Merge "Improve workspace's scrolling performance." into froyoRomain Guy2010-06-081-0/+16
| |\
| | * Improve workspace's scrolling performance.Romain Guy2010-06-071-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | This is achieved by moving the 3D All Apps surface out of the screen when it is not needed anymore. This saves us compositing costs that slow down the drawing of the workspace. Change-Id: I06ce1f77449fe1864517f4161913bc162c8e6b46
* | | 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
| |\ \