summaryrefslogtreecommitdiffstats
path: root/res
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fixed mdpi hotseat background artwork.Daniel Sandler2010-04-233-0/+0
| | | | | Bug: 2559083 Change-Id: I969b13227b12a62484c9a91cb671128a3f3c2398
* Merge "Add widgets to default home screens." into froyoDaniel Sandler2010-04-231-0/+16
|\
| * Add widgets to default home screens.Daniel Sandler2010-04-231-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | 0: (nothing) 1: News & Weather =>2: Search; Protips 3: Music 4: (nothing) Will add Market widget to screen 2 (center) when available. Bug: 2559083 Change-Id: Id025bfbb1514959906d7d42601c3358ef870aebe
* | New Launcher feature: "hotseat" icons.Daniel Sandler2010-04-2343-31/+198
|/ | | | | | | | | | | | | | | | | | | | The hotseats are permanent slots on either side of the AllApps button. Their functions are: LEFT/BOTTOM: Phone Launched via the hardcoded class name com.android.contacts/.ContactsLaunchActivity. RIGHT/TOP: Browser Launched by querying to see which application is the default for URLs, then starting that activity directly. In the future, it would be ideal to allow an application with permission to access LauncherProvider to customize these (icons, contentDescriptions, and Intents). Bug: 2559083 Change-Id: I56f6e745f8574aa17e28feaa9d2118fb4a715cd4
* Move batch size to a resource.Daniel Sandler2010-04-191-1/+2
| | | | | | | | This way we can figure out how many apps to send to the grid at a time even if the grid hasn't been instantiated yet. Bug: 2599979 Change-Id: I7960fe1adae6976555334422335f3a4b28d0675e
* More Launcher performance improvements.Daniel Sandler2010-04-161-0/+1
| | | | | | | | | | | | | | * 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
* Remove all icons and most widgets from default homescreens.Daniel Sandler2010-04-081-73/+8
| | | | | Bug: 2559083 Change-Id: Id77fe641520c36eaee10f10c04d7df04b7637184
* Merge "Slow down 2D All Apps fadeout." into froyoDaniel Sandler2010-04-061-1/+1
|\
| * Slow down 2D All Apps fadeout.Daniel Sandler2010-04-021-1/+1
| | | | | | | | Change-Id: Ifd8564bca26265540589a48ea281e8ce9fa1001e
* | Last minute hack to deliver touch events to widget in landscape mode.Romain Guy2010-04-052-2/+10
|/ | | | | | | | | | | | Bug #2562729 In landscape, the left and right dots buttons are 93dip wide; this makes them overlap with widgets at the bottom of the screen. The dots do not need to be that wide but we chose this size to make it easier to tap them in portrait. To avoid issues in landscape, this change introduces a new type of ImageView that can ignore touch events in a certain zone. This was easier and cheaper than re-cutting 36+ assets. Change-Id: Id261fba41a43dede943e72060e39e87658e4b0df
* fix 2554422 - Landscape workspace dots have stretched aspect ratioJoe Onorato2010-03-292-0/+4
| | | | Change-Id: I9f0ef8370bbf3e73f86dabf006372fc243f302b9
* Fix 2524488 Not able to launch app in the last line of app launcher in ↵Joe Onorato2010-03-181-2/+8
| | | | | | landscape mode Change-Id: Iffe3e95a10e49f1dadcab2f4f177e79c0140699e
* Import revised translationsKenny Root2010-03-1720-260/+340
| | | | Change-Id: I1b4b8c830701a1aa08a31a78fdff92216bf2ef5f