Commit Graph

244 Commits

Author SHA1 Message Date
Michael Jurka 8e88cb8478 Move wallpaper picker code to a separate directory
Change-Id: Id79d11ed08085c4fe356739498a8b77952e30392
2013-12-10 18:28:50 +01:00
Winson Chung f7e11e9080 Fixing RTL issues with Clings. (Bug 11008488)
Change-Id: I78f891eabab53d6ded18f7c843504219d71e2883
2013-10-10 17:18:53 -07:00
Adam Cohen ed0c999ac3 Adding pressed state to overview mode buttons (issue 10926631)
Change-Id: I9d670d4770e56921310d34dc08657a6e753ec5ee
2013-09-26 16:28:48 -07:00
Winson Chung af40f205d7 Initial changes to restore clings.
Change-Id: Ie23e6e9f39679e8d35955a4a7db804d03f8b4d3f
2013-09-20 17:22:05 -07:00
Michael Jurka 5664de2524 Update assets for pressed/focused/selected states
Also, add shadow below/above wallpaper strip

Bug: 10722070

Change-Id: I37c445bab90e103f414c95b62e101a73d060661f
2013-09-18 15:16:00 +02:00
Winson Chung 468a155600 Adding xxhdpi resource directories.
Change-Id: Iccbdcbfc98187fd3a862774c4b11105d5f5b6d24
2013-09-13 14:39:55 -07:00
Michael Jurka d6dc6043ad Adding ability to delete previously saved wallpapers
- Also preserving temporarily picked wallpapers on
rotation

Change-Id: I35361e2a5619cd986bd8b66268ce9e94b9a0027e
2013-09-12 20:49:17 +02:00
Michael Jurka c8f83f46b6 Oops, fix build breakage caused by missing files.
Also, remove preview images for wallpaper pickers.
2013-08-21 13:50:43 +02:00
Daniel Sandler 6241609bd6 Remove built-in wallpaper picker.
Note that we don't yet have a solution for the user's
initial wallpaper. Bother!

Bug: 9626042
Change-Id: I07ab09a3d10434e444dc27051034d387e692e469
2013-08-21 13:36:18 +02:00
Daniel Sandler 325dc23624 Launcher2 is now Launcher3.
Changes include
  - moving from com.android.launcher{,2} to
    com.android.launcher3
  - removing wallpapers
  - new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
2013-06-05 23:30:20 -04:00
Michael Jurka 6cfafb96c3 Fix a lot of easy lint issues
Change-Id: I80b43dae137cbbb912ec0fcc4e401de16a9b44a1
2012-02-24 12:53:08 -08:00
Winson Chung e96e5cb768 Fixing a few landscape issues.
- Fixing issue where widgets/icon names from side pages show in landscape (Bug 5665226)
- Fixing issue where the workspace was rendering over the hotseat in landscape (Bug 5665226)
- Fixing regression where the market button had no press feedback

Change-Id: Idcd890fdddab2d463195c9b3000fe7a0ab357200
2011-11-28 16:24:54 -08:00
Winson Chung 3f4e142380 Minor fixes to Launcher
- Tweaking the AllApps tab padding
- Fixing issue where the cling punch out might be in the wrong location
- Removing unused dragging code related to drop/scroll area overlap
- Tweaking padding so that picking up an icon on the top row does not automatically hover over delete (Bug 5636264)
- Fixing issue where multiple bgs in AllApps tab bar line makes it look blurry (Bug 5523822)

Change-Id: I707397c231188a9feee8c0856374e0483cf37296
2011-11-18 10:13:04 -08:00
Adam Cohen ebea84d1c9 Unifying overscroll btw phone and tablet
-> Using separate assets for removing and uninstalling

Change-Id: I183967c3ca482531ae28f71cd9053b673c6a8d03
2011-11-11 11:38:53 -08:00
Michael Jurka bdf78559f2 Fix stuttering animation when you press home
Bug # 5533287

also removing some dead code/assets

Change-Id: I05e0a67d5b9003c76e1589a9dc54b7d17b755acf
2011-10-31 14:56:07 -07:00
Winson Chung 90576b5f09 Fixing some small issues.
- Adding All Apps pressed state (5375824)
- Ensuring the drop targets are single line (5375563)
- Adding some checks in kb focus logic to appease some frantic monkeys (4508638)
- Removing some unused assets

Change-Id: I46702ee25c638849c716f0d8428f68c2b06c1c2e
2011-09-27 18:46:06 -07:00
Winson Chung 7d7541e7b4 Updating Clings. (5057945, 5056643)
Change-Id: Ifb2d37e92495aeddf9d4b3277eb8d2a846f4aa99
2011-09-18 18:38:11 -07:00
Winson Chung c3665faf45 DO NOT MERGE: Fixing regression where scroll position would be offset when rotated.
- Fixes the scrolling issue only in conjunction with framework measure fix
- Updating the wallpaper gallery item background

Change-Id: I156de59a3eadfdaa61018c0a74ad0614d76cde6d
2011-09-15 13:38:54 -07:00
Winson Chung d90466bc77 Fixing build.
Change-Id: Ib76ed00be3b81231b782f83a3dd13c6dc40d6439
2011-09-14 12:13:37 -07:00
Winson Chung 82f5553a13 Cling ALL the things! (Workspace and AllApps)
Change-Id: Iee6b38dbb4f0b2fb85f854d70fd86db1e7b1d8f7
2011-08-22 21:26:06 -07:00
Winson Chung f5f8cefb21 Launcher cleanup and fixes.
- Removing unused hotseat assets
- Adding xhdpi assets from designer repo
- Decoupling dock divider and scroll bar to fix landscape divider issue
- Fixing issue where dock portals were being clipped

Change-Id: If3894a9a265e0272111e852857f9cfbf994ec050
2011-07-25 12:06:43 -07:00
Michael Jurka 2688c9a059 Removing unused resources 2011-07-20 16:35:06 -07:00
Winson Chung 967289b6d5 Adding new assets.
Change-Id: I20c8ceae997290781923caf195f6f87e283b1b7f
2011-07-01 12:33:32 -07:00
Winson Chung 74608b5dfc Removing the old dot.dot.dot page indicators at the bottom.
Change-Id: Ia501329223c5e80634b1f9e3f13ceac378217491
2011-06-23 13:23:38 -07:00
Amith Yamasani 6be594922f A fullscreen wallpaper chooser for all screen sizes.
The wallpaper preview covers the whole screen,
with background protection for the gallery items and button.

Change-Id: Ice31c4fea6503d1a59b59d6fbffb5e4a28eb2143
2011-06-22 11:29:38 -07:00
Daniel Sandler 4e1cd23a51 Rocket Launcher!
This is an Android Dream, which is kind of like an
interactive screensaver implemented as an Activity.

The Rocket Launcher uses the Launcher's own icon cache to
show the user's installed apps in hyperspace. Tap the screen
to slow down to impulse power.  Then, tap an icon to launch.

(depends on I4559a95 for android.dreams in support lib)

Change-Id: Ie6ce34ec1c863667faeada4f39b225f3946e8633
2011-05-26 16:02:09 -04:00
Winson Chung 785d2eb2b8 Initial changes to merged AllApps/Customize pane in the Phone UI.
Change-Id: Ifa1676736033fe617dd0cca965156c38fa452948
2011-04-22 12:53:59 -07:00
Adam Cohen f1c000ff34 New wallpaper picker assets
Change-Id: I046ca375308ab504073fa37c44e8c40b6bbbfdd7
2011-01-25 17:46:34 -08:00
Adam Cohen 4c3733f143 Adding wallpaper picker preview
Change-Id: Ib3a10bb02b249f71265fe04b3829465a77fb4a9f
2011-01-18 20:37:35 -08:00
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
Romain Guy 9b141a29ba Automated import from //branches/donutburger/...@140648,140648 2009-03-24 18:08:41 -07:00
The Android Open Source Project a6425bdead auto import from //branches/cupcake_rel/...@141571 2009-03-19 23:08:56 -07:00
The Android Open Source Project f96811cdf5 auto import from //branches/cupcake_rel/...@140373 2009-03-18 17:39:48 -07:00
The Android Open Source Project 7376faefbb auto import from //branches/cupcake/...@137873 2009-03-11 12:11:58 -07:00
The Android Open Source Project 31dd503c6a auto import from //depot/cupcake/@135843 2009-03-03 19:32:27 -08:00
The Android Open Source Project 3189679370 auto import from //depot/cupcake/@135843 2009-03-03 18:28:51 -08:00
The Android Open Source Project 38a75b2d89 auto import from //depot/cupcake/@132589 2009-03-03 14:04:32 -08:00
The Android Open Source Project b28e1b7d95 auto import from //depot/cupcake/@137055 2009-03-02 22:54:41 -08:00
The Android Open Source Project 233a0136ea auto import from //branches/cupcake/...@132276 2009-02-19 10:57:35 -08:00
The Android Open Source Project 98baae654d auto import from //branches/cupcake/...@131421 2009-02-13 12:57:53 -08:00
The Android Open Source Project 15a8880cb1 auto import from //branches/cupcake/...@130745 2009-02-10 15:44:05 -08:00
The Android Open Source Project 62b49bb3f5 auto import from //branches/cupcake/...@127101 2009-01-20 14:04:00 -08:00
The Android Open Source Project 0e320b21ad auto import from //branches/cupcake/...@125939 2009-01-09 17:51:25 -08:00
The Android Open Source Project d097a1880f Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:58 -08:00
The Android Open Source Project c8f00b61c6 Initial Contribution 2008-10-21 07:00:00 -07:00