Commit Graph

65 Commits

Author SHA1 Message Date
Michael Jurka 38b4f7c5ea holo look for pressed/focused workspace icons
Change-Id: Ia964c868afd200be3828e4397659391f857599e6
2010-12-15 21:18:17 -08:00
Justin Ho f69a1493b7 Reconciling assets from designer tree and moving assets out of drawable/ and into the appropriate resolution folders
Change-Id: Ib3ddd01a9b1e2c2f1cfa00bba7372308bc9edf6d
2010-12-08 17:08:00 -08:00
Winson Chung c4ebd81971 Removing unnecessary workaround for padding on workspace icons.
Change-Id: I2ae6324e18db7b010c8d2ef5140e004da2f2b9f0
2010-12-02 11:08:11 -08:00
Winson Chung 656d11c882 Adding background protection to icons and apps button.
Change-Id: I650f9135c0ce5bc2a6f7c5f878d470d6a85e9f7e
2010-12-01 21:55:26 -08:00
Winson Chung 49767aefe5 Adding background protection for tab labels in AllApps/Customize and modified padding to match mockups.
Change-Id: I7f3b37d892fdf5a702a66d68e1bbdf333068d7ec
2010-11-30 10:51:44 -08:00
Winson Chung b4b7fa7c03 Proper fix for missing resource in other devices.
Change-Id: Ie164e42a4c5efce763160dae86b8fe3a9da51fd9
2010-11-18 14:39:11 -08:00
Winson Chung 6c807958bc Moving resource up to fix crash on load.
Change-Id: I364a8dcd5089563bbb6410c86f4f702784b02543
2010-11-18 14:12:22 -08:00
Patrick Dubroy 0207c52247 Draw glow along screen edge when dragging in portrait. 2010-11-03 22:12:53 -07:00
Patrick Dubroy de7658b5e0 Show crosshairs when dragging items around the workspace. 2010-09-29 11:14:28 -07:00
Winson Chung e3193b93ad Initital changes for new customization drawer/widget tab design.
Change-Id: I160c8777fe2657ab303acfa20934f2e90f9e953e
2010-09-15 14:45:11 -07:00
Winson Chung 80baf5a6b3 Adding paging for the widget/shortcut/folder customization area and fixing bugs.
Adding pages for customization drawer with initial implementation of proposed flow
layout for widgets.  Fixes for keeping all apps, and widgets in sync with Launcher
Model, optimizations for reloading all apps pages when invalidating.  Adding some
animations for tab transitions and feedback when long pressing to add certain items.

Change-Id: I8d51749f3a91c964bed35681f3a9192200b0d93e
2010-08-16 15:51:43 -07:00
Michael Jurka 2c3af5ffb2 refreshed apps/configure button, added search button
- 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
2010-08-03 14:10:37 -07:00
Jim Shuma 48e4b2acef Revert "Move pngs from drawable to drawable-mdpi in project packages/apps/Launcher2/"
This reverts commit 921efb310a.
2010-08-03 09:05:44 -07:00
Gilles Debunne 921efb310a Move pngs from drawable to drawable-mdpi in project packages/apps/Launcher2/
Change-Id: I2eeac742b5279705938c91dee597bea9e983ba50
2010-08-02 15:12:10 -07:00
Patrick Dubroy 8f86ddcb90 Generate a default preview for widgets that don't have a previewImage.
Change-Id: I3a3c24543c925a50ab34fd3cbf7947544a5ac5c0
2010-07-16 14:46:07 -07:00
Patrick Dubroy 6569f2c80e When dragging items on the home screen, visualize where they will drop.
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
2010-07-12 17:29:35 -07:00
Michael Jurka af44209bfa First cut at new home screen customization for xlarge displays.
- 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
2010-06-28 10:49:34 -07:00
Daniel Sandler c9b1877f9a New Launcher feature: "hotseat" icons.
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
2010-04-23 12:37:23 -04:00
Daniel Sandler 388f679aa4 Introduce 2D All Apps and other support for sapphire-class devices.
AllAppsView is now the 2D, GridView-based version (very
similar to classic Launcher); AllApps3D is the
RenderScript/Rollo implementation.

TODO:
 - some mdpi assets are not in fact mdpi
 - related to above: static wallpapers not working yet
 - add dynamic selection of 2D/3D AA; currently you must
   choose one at build time by picking the appropriate class
   in all_apps.xml (see separate CL for sapphire overlay
   that does this)

Change-Id: I253d98404ea8a329a4049d2e48edd2e5129fa6ba
2010-03-03 14:38:45 -05:00
Bjorn Bringert 7984c9496b Get rid of the built-in search widget in Launcher2
Uses the widget from packages/apps/QuickSearchBox instead.

Change-Id: I85d64defe155c0cad97fafef6a3db62c6cab504a
2009-12-09 21:48:38 +00:00
Romain Guy 9d31e9fa3d Shows all screens in the previews.
Change-Id: Ib8b19492ccb07a135ba95ab75ae03f034275c572
2009-11-11 18:56:51 -08:00
Romain Guy 8a73c51ee8 New position indicators and icons for Launcher2.
Change-Id: Id444943a3cc2e9db78733614141cbe2be837fdbf
2009-11-09 19:19:59 -08:00
Joe Onorato d63458b34c Add pressed states for the all apps button and the home button.
We'll need another asset for the selected state, when we do that.
This also updates the all apps icon to be a grid.
2009-10-15 21:19:09 -07:00
Joe Onorato 5779e2a708 Launcher2 - remove unused resources and make it not crash in landscape.
Landscape still doesn't look good.
2009-10-06 13:19:30 -07:00
Joe Onorato c91f928a8a High-resolution (hdpi) artwork from TAT for Launcher. 2009-09-21 15:17:13 -04:00
Mike LeBeau eb486df097 Replace app icon used in shortcuts selector menu with the new default app icon. 2009-09-21 15:11:49 -04:00
Joe Onorato a9c28f6f97 New trash icon. 2009-09-14 18:39:04 -04:00
Romain Guy 74621ebb5e New hdpi wallpapers.
Change-Id: I18ec902c32feaefd68bec176d9250e6bf535dc48
2009-09-10 21:53:17 -07:00
Daniel Sandler 0f3f48ee96 High-dpi version of "Google" search widget text.
Originally committed to Launcher as follows:

    Correct size for "Google" in search widget.

    Fixes http://b/issue?id=2100799 .

    Used official logo from creativelab.corp, specifically
    https://creativelab.corp.google.com/brandsite/logo-files/Glogo_flat_black.eps

    ...at 27% opacity, matching the original mdpi version.  Updated the mdpi
    version using the same source artwork so they're consistent.
2009-09-04 11:11:16 -04:00
Dianne Hackborn 622b120044 Stubs are no longer needed! 2009-08-13 13:58:13 -07:00
Joe Onorato fde104bfe9 no texture for the all apps grid. 2009-07-31 16:24:19 -07:00
Android (Google) Code Review d7013ca7ab Merge change 8193 into donut
* changes:
  Add one more pixel of padding to the top of the Google logo used in the search widget.
2009-07-22 09:01:20 -07:00
Mike LeBeau 20eecebd25 Add one more pixel of padding to the top of the Google logo used in the search widget. 2009-07-22 09:00:41 -07:00
Android (Google) Code Review efb38794c8 Merge change 8034 into donut
* changes:
  Remove gestures from Home.
2009-07-21 10:56:06 -07:00
Romain Guy 94dabf1be4 Remove gestures from Home. 2009-07-21 10:55:43 -07:00
Mike LeBeau 18fdcb6de7 Display a Google logo in the search widget if Google is the chosen web
search provider. Listen for broadcasts of that setting changing to
correctly update the widget as appropriate.
2009-07-20 19:20:58 -07:00
Romain Guy e59717b647 Remove unused asset. 2009-07-17 14:59:27 -07:00
Romain Guy 6b3f51d373 More new gestures UI. Adds a back button at the bottom of the settings activity. 2009-07-16 17:46:19 -07:00
Romain Guy 1dd3a077a2 New gestures UI. 2009-07-16 16:06:48 -07:00
Android (Google) Code Review c5df5b61b8 Merge change 7061 into donut
* changes:
  Put in new version of search floater background image to put one pixel of padding and one less pixel of margin at the top.
2009-07-13 20:46:52 -07:00
Mike LeBeau d717ca2d91 Put in new version of search floater background image to put one pixel of padding
and one less pixel of margin at the top.
2009-07-13 20:46:10 -07:00
Romain Guy 83fb0c1c42 Remove unused resources from Home. 2009-07-09 14:57:27 -07:00
Romain Guy 73b979d8c1 Add gestures to Home.
Press the Home key while in Home to enable the gestures pad.
2009-06-10 02:21:15 -07:00
Ramanan Rajeswaran 82fb8aab77 am c4c1f32: AI 148592: Fix wallpaperchooser from previewing the default_
Merge commit 'c4c1f32159cf125f60c6057e5099aa3e0dc439cf' into donut

* commit 'c4c1f32159cf125f60c6057e5099aa3e0dc439cf':
  AI 148592: Fix wallpaperchooser from previewing the default_wallpaper to wallpaper_lake. This issue is exposed
2009-05-08 13:17:39 -07:00
Ramanan Rajeswaran c4c1f32159 AI 148592: Fix wallpaperchooser from previewing the default_wallpaper to wallpaper_lake. This issue is exposed
when we override the default wallpaper.
  BUG=1836838

Automated import of CL 148592
2009-05-08 13:15:08 -07:00
Ramanan Rajeswaran d86847ee01 am fc1a6d1: AI 148132: Add two wallpapers for tmobile and set the defaul
Merge commit 'fc1a6d11747992ec1cdcc6c71899576c5bf8085f' into donut

* commit 'fc1a6d11747992ec1cdcc6c71899576c5bf8085f':
  AI 148132: Add two wallpapers for tmobile and set the default wallpaper to tmobile
2009-04-30 17:28:22 -07:00
Ramanan Rajeswaran fc1a6d1174 AI 148132: Add two wallpapers for tmobile and set the default wallpaper to tmobile
turtle
  BUG=1808772

Automated import of CL 148132
2009-04-30 17:25:21 -07:00
Karl Rosaen 138a04170d AI 147564: Merge back from search branch to donut. Notes:
- all public apis and framework changes have been reviewed by relevant folks in our branch (e.g romainguy)
  - all new public apis are @hidden; they will still get reviewed by api council once we're in git
  - other than that, it's mostly GlobalSearch and search dialog stuff, a new apps provider, and some tweaks
  to the contacts provider that was reviewed by jham

Automated import of CL 147564
2009-04-23 19:00:21 -07:00
Jeffrey Sharkey 7bd74a410b AI 143908: am: CL 143907 Make search widget drop-down wider.
Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143908
2009-03-31 18:25:03 -07:00
Jeffrey Sharkey 1796c48dd7 AI 143907: Make search widget drop-down wider.
BUG=1749373

Automated import of CL 143907
2009-03-31 18:24:45 -07:00