summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* telling proguard not to strip three onClick handlersMichael Jurka2010-08-041-0/+3
| | | | | that are only used by reflection (they are referenced in layout-xlarge/launcher.xml)
* Cleaning up grid size specification in LauncherAdam Cohen2010-08-0413-500/+113
| | | | | | | | | | | | 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
* fixed crash on phonesMichael Jurka2010-08-031-0/+1
| | | (didn't initialize a variable properly)
* refreshed apps/configure button, added search buttonMichael Jurka2010-08-0313-27/+121
| | | | | | | | - configure button now has a pressed state (as do the other two) - also added a cast to getX() from float->int because of changes in the view property code Change-Id: I57dc6e44838f4f4354f8977a3b542e93384b3d7d
* Merge "packages/apps/Launcher2 : added scaled hdpi version of assets that ↵Gilles Debunne2010-08-035-0/+0
|\ | | | | | | were moved to drawable-mdpi"
| * packages/apps/Launcher2 : added scaled hdpi version of assets that were ↵Gilles Debunne2010-08-035-0/+0
| | | | | | | | | | | | moved to drawable-mdpi Change-Id: I7225720c742dda03ce714d507f14ca4df8413990
* | Revert "Move pngs from drawable to drawable-mdpi in project ↵Jim Shuma2010-08-035-0/+0
| | | | | | | | | | | | packages/apps/Launcher2/" This reverts commit 921efb310af08579d5a97de7f5e350b78677c6d0.
* | Merge "Move pngs from drawable to drawable-mdpi in project ↵Gilles Debunne2010-08-025-0/+0
|\ \ | |/ | | | | packages/apps/Launcher2/"
| * Move pngs from drawable to drawable-mdpi in project packages/apps/Launcher2/Gilles Debunne2010-08-025-0/+0
| | | | | | | | Change-Id: I2eeac742b5279705938c91dee597bea9e983ba50
* | Made some temporary aesthetic improvementsMichael Jurka2010-08-025-37/+45
| | | | | | | | | | | | | | | | - icons in the customization drawer are now much more tightly spaced, and no longer use the default gallery styling - wrapped some >100 char lines - removed "Applications" from the shortcuts customization drawer
* | Fixing bugs related to starting in All Apps modeMichael Jurka2010-07-312-19/+49
|/ | | | | | | | | | | | - fixed bug where Workspace.shrinkToBottom() was not always called in showAllApps - added logic to defer call to Workspace.shrinkToBottom() after first layout call (necessary because shrinkToBottom relies on getWidth() working properly) - added ability to Workspace.shrinkToBottom() without animation Change-Id: I966141a60b6b014cf97e83b4d45725b41b16e55d
* Tapping on mini-screen in All Apps view now goes back to home screenMichael Jurka2010-07-303-4/+10
| | | | | - had to disable touch event swallowing in workspace in X-Large mode to get this to work - also changed default screen in XLarge mode to 2 (the middle one)
* fixed bugs with layout in LauncherMichael Jurka2010-07-301-40/+54
| | | | - fix bug where calling unshrink on initialization was setting all the screens' x coordinate to 0 - fix bug where mScrollX was not synched to the proper value for the mCurrentScreen it was on
* Make tabs in all apps actually filter the list of apps.Patrick Dubroy2010-07-296-26/+115
|
* Merge "Improved support for workspace screen thumbnails"Michael Jurka2010-07-283-15/+51
|\
| * Improved support for workspace screen thumbnailsMichael Jurka2010-07-283-15/+51
| | | | | | | | | | | | | | - Shrinking workspace view in All Apps - Added vertical margin for workspace screen thumnbnails - Fixed bugs in a few of the Launcher state transitions (e.g. customization to all apps) Change-Id: I9ad1c8861585d78fdb2e3bc986a614526b3cfe5f
* | Merge "Cleanup setToClient calls."Jason Sams2010-07-281-7/+2
|\ \ | |/ |/|
| * Cleanup setToClient calls.Jason Sams2010-07-281-7/+2
| | | | | | | | Change-Id: Ie2898f44d623f34e1243d62417d4884e8ca649c1
* | Home screen now shrinks while customizingMichael Jurka2010-07-276-48/+277
| | | | | | | | | | | | | | - added a shrink/fade animation on home screen when going into customization mode - made items in the customization drawer larger Change-Id: Iddbaf14aa5b1504fe94966971a1ab95c00f24331
* | isOpaque is not appropriate for AllAppsTabbed; replace with isAnimating().Patrick Dubroy2010-07-265-13/+12
| |
* | am 2d86dfec: Fix launcher updating when all of an app\'s activities disappear.Dianne Hackborn2010-07-261-15/+13
|\ \ | | | | | | | | | | | | | | | | | | Merge commit '2d86dfec5797bfd4fba78562032c14bd9b6cfa7a' * commit '2d86dfec5797bfd4fba78562032c14bd9b6cfa7a': Fix launcher updating when all of an app's activities disappear.
| * | Fix launcher updating when all of an app's activities disappear.Dianne Hackborn2010-07-241-15/+13
| | | | | | | | | | | | | | | | | | Also uses a more efficient way to get all activities for a package. Change-Id: Ic360082f0a728cf1b388af18b22122bfce866149
* | | fix 2869807: Crash on boot on trygon-userdebugPatrick Dubroy2010-07-261-2/+9
| | | | | | | | | | | | Change-Id: I59f0d653e498a69bd240232b8bb89884aa0c324d
* | | Switched to tabbed version of AllApps2D on xlarge screens.Patrick Dubroy2010-07-269-85/+373
| |/ |/| | | | | | | | | | | | | - add a temporary new zoom animation for all apps - modify AllApps2D to allow it to be transparent - other changes to dismiss the customization drawer when appropriate Change-Id: I5660ab77f256ded299c1721c589983a1b30d56a4
* | Slang made the rs_types.rsh and rs_math.rsh the default include files. ↵Shih-wei Liao2010-07-211-2/+0
| | | | | | | | | | | | Delete them in allapps.rs. Change-Id: I99f477bb779eac244315baeaef028947d85625d4
* | Fix the simulator build.Shih-wei Liao2010-07-201-0/+4
| | | | | | | | Change-Id: I7b9530320538871ede62cb361466bf397f8fdbbc
* | Merge "Ported Launcher2 to use the new Build system."Shih-wei Liao2010-07-206-354/+5
|\ \
| * | Ported Launcher2 to use the new Build system.Shih-wei Liao2010-07-196-354/+5
| | | | | | | | | | | | 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-166-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-147-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-138-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
* | Fixed height of all apps icon in some configurations (running N1 with DPI ↵Michael Jurka2010-07-121-0/+1
| | | | | | | | set to 120)
* | Fixing runtime error on non-xlarge devicesMichael Jurka2010-07-101-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-0917-132/+466
| | | | | | | | | | | | | | | | | | | | - 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-014-11/+11
| | | | | | | | Change-Id: I678525439341d54e6841df3df2d7ab0c67c0b266
* | Allow for NxM layout and in-place rotation of items on homescreen.Winson Chung2010-06-3028-419/+992
| | | | | | | | | | | | Currently, rotation is disabled as designs are still in flux, but the NxM grid is enabled (8x4). Change-Id: I0026f88c674719e3d67de6d6d481d2d4cd606362
* | am 004f9d77: set up fast-forward from froyo-release to gingerbreadThe Android Open Source Project2010-06-290-0/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '004f9d772ce44a95111e38e9a447074b090b37f9' * commit '004f9d772ce44a95111e38e9a447074b090b37f9': Filter input events and smooth out touch scrolling. Bug 2639807 Fix proguard flags. Sort apps in AllApps3D.setApps(). Launcher2 performance: Don't sort apps in LauncherModel. resolve conflicts Bug 2509023 - NPE on upgrade to froyo Unbind root script around load activities to prevent commands from being delayed due to swap buffers. Fix 2507267 - stack overflow when adding shortcut
| * set up fast-forward from froyo-release to gingerbreadThe Android Open Source Project2010-06-290-0/+0
| |\ | | | | | | | | | Change-Id: Ib51715745e382bdc0cb3130afed110a6307b7059
| | * Merge branch 'froyo' into froyo-releaseThe Android Automerger2010-06-112-7/+11
| | |\
| | * \ Merge branch 'froyo' into froyo-releaseThe Android Automerger2010-06-102-6/+6
| | |\ \
| | * \ \ Merge branch 'froyo' into froyo-releaseThe Android Automerger2010-06-091-0/+4
| | |\ \ \
| | * \ \ \ Merge branch 'froyo' into froyo-releaseThe Android Automerger2010-06-084-94/+98
| | |\ \ \ \
| | * \ \ \ \ Merge branch 'froyo' into froyo-releaseThe Android Automerger2010-06-083-62/+111
| | |\ \ \ \ \
| | * \ \ \ \ \ Merge branch 'froyo' into froyo-releaseThe Android Automerger2010-06-035-3/+85
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ Merge branch 'froyo' into froyo-releaseThe Android Automerger2010-05-273-2/+64
| | |\ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ Merge branch 'froyo' into froyo-releaseThe Android Automerger2010-05-263-2/+15
| | |\ \ \ \ \ \ \ \