Commit Graph

55 Commits

Author SHA1 Message Date
Adam Cohen a6612cd45f Adjusting wallpaper picker to match spec
Change-Id: I004f15119648b9435bd73a400bd0193962e9569f
2011-01-05 14:27:29 -08:00
Adam Lesinski 2a898a0ac5 Update Wallpaper picker and fix bug
-Fixed b/3271838
-On a phone, Fragment would not remember its
previous state and crash on rotation
Change-Id: Ida923fba0c7f4622b090e2838fd932328ad68c63
2010-12-13 14:51:15 -08:00
Adam Lesinski cd5d807f53 Updating the Static Wallpaper picker for Tablet
- Updated WallpaperChooser to use FragmentDialogs
- Backwards compatible with old WallpaperChooser
  UI on non XLarge screens
- There is a known bug with AlertDialogs (b/3225529)
  that prevents an AlertDialog to expand to fit its
  content. The squishing of the GridView is caused
  by that bug.

Change-Id: I49381aab4aa24362e8c92da284797fce0e63823c
2010-11-24 13:37:03 -08:00
Adam Powell aff3e6e56d am 4dd45be8: am df99daa3: Fix bug 3126193 - over-scroll glow extends beyond folder bounds
* commit '4dd45be8afa39c88781364933e819e8734732d17':
  Fix bug 3126193 - over-scroll glow extends beyond folder bounds
2010-11-08 19:25:09 -08:00
Adam Powell df99daa3bc Fix bug 3126193 - over-scroll glow extends beyond folder bounds
Fixed a layout problem in Launcher2 where lists and grids did not have
proper containers.

Change-Id: I683e42362345a9c9d18d957e84bb8522675fdfc6
2010-11-08 17:02:48 -08:00
Michael Jurka 54f7ac30f2 Made some temporary aesthetic improvements
- 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
2010-08-02 13:56:46 -07:00
Michael Jurka dee0589388 Home screen now shrinks while customizing
- added a shrink/fade animation on home screen when going into customization mode
- made items in the customization drawer larger

Change-Id: Iddbaf14aa5b1504fe94966971a1ab95c00f24331
2010-07-27 15:53:04 -07:00
Michael Jurka 0e26059548 Improving home screen customization
- 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
2010-07-09 11:56:45 -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 86b40541a8 Make 2D All Apps work better in landscape and on hdpi.
* 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
2010-06-03 10:35:44 -07:00
Daniel Sandler 73a0554de1 Fix trackball focus weirdness in AllApps2D.
Also vertically align AllApps2D's home icon with Workspace's
grid icon.

Change-Id: I81a8759ed33afd08336482484f1b9bdb9a36718e
2010-03-11 09:00:51 -05:00
Daniel Sandler 46e47d03b3 Change the way 2D/3D AllApps are selected.
all_apps.xml is now a trampoline that loads the correct layout file.

Also take this opportunity to make 2D the default.

Change-Id: Iba2500da1bf4f505f1a5c2f6f32ed6e72ec34c5f
2010-03-04 16:16:20 -05: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
Romain Guy 8f19cdd62f Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:11:52 -08: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
Mike Cleron c23c549af8 Fix bug 2122011: Force a dimension for live folder icons 2009-11-10 21:12:52 -08:00
Mike Cleron 2bbe9af65e Update the search widget to be vertically centered within it's footprint. 2009-11-04 12:25:55 -08:00
Romain Guy a45f664227 Remove live wallpaper picker from Launcher2.
Change-Id: I2c48f3624128276c3460939960168163d3c74c08
2009-10-16 15:46:55 -07:00
Daniel Sandler 86daa3fb87 Live wallpaper improvements.
Now draws something a little nicer if the live wallpaper
doesn't have a preview.

Also: move Launcher2 back into "shared" so it has permission
to set the wallpaper.
2009-09-28 16:03:50 -04:00
Daniel Sandler 8f141b49ea Live wallpaper picker using a Gallery of thumbnails.
Note: live wallpapers without thumbnails are shown with some thrilling debug
information instead.  TODO: add thumbnails for other LWs (and create a more
appealing placeholder for any future LW without a thumbnail).
2009-09-22 21:01:44 -04:00
Joe Onorato 9244230763 Fix id collision in Home. 2009-09-21 15:37:59 -04:00
Dianne Hackborn 83a5d38cb6 Add configuration button to live wallpaper picker.
This collects the info needed to show and launch live wallpaper
configuration activities.  Also filters out wallpapers that don't
contain the wallpaper meta-data.

Change-Id: I8b3fb17cc436396bd714e43131997c135b5e1b7c
2009-09-15 18:59:55 -07:00
Daniel Sandler 86aea35113 First crack at a Gallery-based live wallpaper picker.
No thumbnails yet, but I hope the placeholder graphics are compelling enough to convince you to BUY NOW!
2009-09-11 15:59:22 -04:00
Dianne Hackborn 02e638e6bf Implement previews in the wallpaper picker.
Note that the UI is ugly ugly ugly, but previews are actually working.
2009-08-20 19:33:42 -07:00
Romain Guy 41669fc9c6 Add live wallpapers picker to Launcher2. This is temporary.
This change requires changing the signature and shared user id of Launcher2, we
will have to revert this once we move the wallpapers picker back to Settings.
2009-08-13 12:53:24 -07:00
Joe Onorato 7404ee4a16 Checkpoint launcher2 - all apps is in a 2nd window.
Lots is still broken.
2009-07-31 16:24:15 -07:00
Joe Onorato a5902524d4 Launcher2 compiles. 2009-07-30 13:37:37 -07:00
Mike LeBeau 31bbf9cbff Stop trying to play tricks with the focusability of the search widget's
TextView, as we weren't always doing it right, and it doesn't seem to
help or hurt the frequency of the home screen sliding up when the
widget is selected (that seems to be separate, see http://b/1819752).
2009-07-28 14:19:06 -07:00
Romain Guy 94dabf1be4 Remove gestures from Home. 2009-07-21 10:55:43 -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
Romain Guy 68634c1c32 Fixes OutOfMemoryError on Home. 2009-07-15 15:19:44 -07:00
Mike LeBeau aafeef310f Fix the search widget taking characters into it rather than forwarding
them to the search dialog. By setting editable=false and inputType=none,
the TextView can still take focus, but key input is forwarded to the
launcher which knows what to do.
2009-07-02 18:23:15 -07:00
Romain Guy 1ce1a24cba Fixes #1937447. Home was not saving the appropriate state when losing focus. 2009-06-23 17:34:54 -07:00
Romain Guy 6fefcf1f83 Change recognition matchin in Home to immediate mode.
Instead of waiting for Xms after a finger up event to start the recognition process,
do it right away on a finger up event. This provides immediate feedback.
2009-06-11 13:07:43 -07:00
Romain Guy aad5ef44c6 Fix issues with how the gestures pad was hidden when leaving Home. 2009-06-10 02:48:37 -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
Romain Guy 15ea33d38b Fixes #1798818. Enable the appropriate cache color hint for folders to speed up the scrolling. 2009-04-30 15:11:58 -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 3fca10b8cd AI 143792: am: CL 143746 Fix search widget assets to not overlap in landscape mode.
Done by using small button framework assets, but with manual padding adjustments to bring back to original button size.
  Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143792
2009-03-31 14:59:08 -07:00
Dianne Hackborn 083b210af9 AI 143214: am: CL 143009 More work on issue #1739507 (kila-user build is too big): remove some unused application resources I found.
Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143214
2009-03-27 18:26:13 -07:00
Jeffrey Sharkey 340be220fb Automated import from //branches/donutburger/...@142721,142721 2009-03-25 17:07:33 -07:00
Jeffrey Sharkey c7fdae1763 Automated import from //branches/donutburger/...@141651,141651 2009-03-24 20:41:22 -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 98baae654d auto import from //branches/cupcake/...@131421 2009-02-13 12:57:53 -08:00