summaryrefslogtreecommitdiffstats
path: root/res
Commit message (Collapse)AuthorAgeFilesLines
* Cleaning up grid size specification in LauncherAdam Cohen2010-08-047-36/+30
| | | | | | | | | | | | 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
* refreshed apps/configure button, added search buttonMichael Jurka2010-08-0311-15/+83
| | | | | | | | - 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-022-4/+28
|/ | | | | | | | - 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
* Tapping on mini-screen in All Apps view now goes back to home screenMichael Jurka2010-07-301-0/+1
| | | | | - 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)
* Make tabs in all apps actually filter the list of apps.Patrick Dubroy2010-07-291-0/+6
|
* Improved support for workspace screen thumbnailsMichael Jurka2010-07-281-0/+3
| | | | | | | - 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
* Home screen now shrinks while customizingMichael Jurka2010-07-273-2/+6
| | | | | | | - added a shrink/fade animation on home screen when going into customization mode - made items in the customization drawer larger Change-Id: Iddbaf14aa5b1504fe94966971a1ab95c00f24331
* Switched to tabbed version of AllApps2D on xlarge screens.Patrick Dubroy2010-07-266-37/+162
| | | | | | | | - 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
* Merge "Ported Launcher2 to use the new Build system."Shih-wei Liao2010-07-192-392/+0
|\
| * Ported Launcher2 to use the new Build system.Shih-wei Liao2010-07-192-392/+0
| | | | | | | | Change-Id: Ie24bb6520f9f6dfc24dde2b7810ec322bc7b3a1a
* | Generate a default preview for widgets that don't have a previewImage.Patrick Dubroy2010-07-161-0/+0
|/ | | | Change-Id: I3a3c24543c925a50ab34fd3cbf7947544a5ac5c0
* When dragging items on the home screen, visualize where they will drop.Patrick Dubroy2010-07-122-0/+0
| | | | | | | 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)
* Improving home screen customizationMichael Jurka2010-07-095-49/+106
| | | | | | | | | | - 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-3/+3
| | | | Change-Id: I678525439341d54e6841df3df2d7ab0c67c0b266
* Allow for NxM layout and in-place rotation of items on homescreen.Winson Chung2010-06-305-2/+88
| | | | | | Currently, rotation is disabled as designs are still in flux, but the NxM grid is enabled (8x4). Change-Id: I0026f88c674719e3d67de6d6d481d2d4cd606362
* First cut at new home screen customization for xlarge displays.Michael Jurka2010-06-284-0/+137
| | | | | | | | - 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
* Merge "Code cleanup possible with new reflected classes."Jason Sams2010-06-212-44/+27
|\
| * Code cleanup possible with new reflected classes.Jason Sams2010-06-182-44/+27
| | | | | | | | Change-Id: If9e79383722c0df997526717c52ded4921b6663e
* | am 8a3ef2ed: Import revised translationsKenny Root2010-06-211-7/+7
|\ \ | |/ |/| | | | | | | | | Merge commit '8a3ef2ed6c2cc89ae96384358fa5fcba58b50ac0' * commit '8a3ef2ed6c2cc89ae96384358fa5fcba58b50ac0': Import revised translations
| * Import revised translationsKenny Root2010-06-201-7/+7
| | | | | | | | Change-Id: I8b250fac67c854a118fd481466e2e28f773e2229
* | Update AppApps to use reflected files.Jason Sams2010-06-152-3/+3
| | | | | | | | | | | | | | Previous files were hand written placeholders. This also fixed the physics bug where movement was right. Change-Id: I98838084d60f0eaf22f7fbd148a80b2f73f9a14c
* | Merge "Add pragma on java package name, for reflection purpose."Shih-wei Liao2010-06-141-0/+2
|\ \
| * | Add pragma on java package name, for reflection purpose.Shih-wei Liao2010-06-141-0/+2
| | | | | | | | | | | | Change-Id: I30a3cc2177b320a76d093cd018216ae936e81150
* | | am a9bda02f: Import revised translationsKenny Root2010-06-092-6/+6
|\ \ \ | |/ / |/| / | |/
| * Import revised translationsKenny Root2010-06-092-6/+6
| | | | | | | | Change-Id: I1c61fee7e093d6f1dc9bb1f178ebec89378e2754
* | am 6662645a: Merge "Make 2D All Apps work better in landscape and on hdpi." ↵Daniel Sandler2010-06-033-2/+69
|\| | | | | | | into froyo
| * Make 2D All Apps work better in landscape and on hdpi.Daniel Sandler2010-06-033-2/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Update names and move clear to script.Jason Sams2010-05-192-64/+45
| | | | | | | | Change-Id: I17af3cd027248f52ce6516f81968c6b3d976a09d
* | Merge "Fix regression in master. The attempt to remove the last frame hack ↵Jason Sams2010-05-182-1/+5
|\ \ | | | | | | | | | in all apps caused home to sometimes render black upon returning from an application."
| * | Fix regression in master. The attempt to remove the last frame hack inJason Sams2010-05-182-1/+5
| | | | | | | | | | | | | | | | | | all apps caused home to sometimes render black upon returning from an application. Change-Id: I4444d7a6e62548f5a996c12b7e11aa46876d44e4
* | | am d0b7a8cf: Import revised translationsKenny Root2010-05-171-1/+1
|\ \ \ | |/ / |/| / | |/
| * Import revised translationsKenny Root2010-05-171-1/+1
| | | | | | | | Change-Id: I627268e91946716036c1a37b22db48326ce7007d
* | Launcher2 cleanup.Jason Sams2010-05-142-127/+28
| | | | | | | | | | | | Will remove dead script functions once reflection is working. Change-Id: Ieffcf55047b5e241a8cffb1852619d04e1a00d53
* | Update Launcher2 to work with LLVM.Jason Sams2010-05-112-118/+212
|/ | | | Change-Id: I992b812ec58d182e5df7ddad3ab8e7d9e7b88551
* Update default homescreen layout to latest design.Ficus Kirkpatrick2010-05-031-9/+9
| | | | Change-Id: I3e5699a22103af1fa9c7ec476f4401a53771e5a0
* Import revised translationsKenny Root2010-04-293-7/+7
| | | | Change-Id: I46c56ec11d883a3df1bf43944ea66240a5ea3962
* Merge "Add Market widget to default workspace." into froyoFicus Kirkpatrick2010-04-281-1/+10
|\
| * Add Market widget to default workspace.Ficus Kirkpatrick2010-04-281-1/+10
| | | | | | | | | | Bug: 2606783 Change-Id: I8ea5e3564a21b98aadb8789e24276507c7ef46b7
* | Increase hot rectangle of trash can.Daniel Sandler2010-04-283-4/+12
| | | | | | | | | | | | | | | | | | The drop region is now 70dip^2. This means it invisibly overlaps nearby icons ever so slightly---not enough to prevent icons being properly dropped on the workspace. Bug: 2623734 Change-Id: I945160ef6bdfc0a4ac3cf9db57d440bad424dfc4
* | Merge "Updated hotseat artwork." into froyoDaniel Sandler2010-04-2823-4/+5
|\ \
| * | Updated hotseat artwork.Daniel Sandler2010-04-2823-4/+5
| | | | | | | | | | | | | | | | | | | | | Also closes the gap below the buttons (not visibly, but the hit rect now reaches the bottom of the screen). Bug: 2630273 Change-Id: I8e8de6b63f91b2fcf87c3af856003cc36dd6c096
* | | Merge "Hotseats: better strategy for finding the default browser." into froyoDaniel Sandler2010-04-282-0/+17
|\ \ \ | |_|/ |/| |
| * | Hotseats: better strategy for finding the default browser.Daniel Sandler2010-04-282-0/+17
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* / Import revised translationsKenny Root2010-04-276-9/+9
|/ | | | Change-Id: Ia9b370372f0ea1ae5271030d946db621161f30a2