Commit Graph

16456 Commits

Author SHA1 Message Date
Joe Onorato 08b5dfe0b9 Reduce the bias towards scrolling a little bit.
I was missing some zooms now.
2009-10-01 21:47:56 -07:00
Joe Onorato bcbeab8fc7 Put the home button back in. 2009-10-01 21:45:43 -07:00
Joe Onorato fccc8dfc8a Center the text in the textures. 2009-10-01 14:30:16 -07:00
Joe Onorato c5acd42314 Be even more aggressive about faking the readback zoom state. 2009-10-01 14:21:24 -07:00
Joe Onorato f7b0e01880 Fix the "missing touch events" problem.
- Bias the slop regions so that it's more likely to think that you're scrolling
  than zooming.
- If it could be a scroll or a zoom, pick the scroll.
2009-10-01 14:09:15 -07:00
Joe Onorato 2bc6b7c2b8 Fix the bug where you can grab the workspace while all apps is animating.
You can still grab it, but now once all apps is up, it returns to where it belongs.
2009-10-01 14:08:30 -07:00
Dianne Hackborn e52a1b5909 Follow changed API.
Change-Id: If4e9190b1dec55f75b5b9283563ef47573053c32
2009-09-30 23:21:05 -07:00
Jason Sams 28870b75a7 Minor tweaks to look. Billboarded icons and 1:1 text. 2009-09-30 17:40:11 -07:00
Android (Google) Code Review 4f3bdc2e66 Merge change I476339d6 into eclair
* changes:
  Implement safer test for min click velocity.
2009-09-29 21:23:20 -04:00
Jason Sams 476339d696 Implement safer test for min click velocity. 2009-09-29 18:14:38 -07:00
Android (Google) Code Review 6c0bb93d7f Merge change Ia7313db2 into eclair
* changes:
  Prevent crash when dropping an icon.
2009-09-29 19:19:40 -04:00
Romain Guy 207e40ee66 Prevent crash when dropping an icon.
Change-Id: Ia7313db2437a094c11286edeeaae7b3121a873eb
2009-09-29 16:19:19 -07:00
Jason Sams cd689e14c7 Minor cleanup and fix for the cannot launch apps bug if the screen is still creeping. 2009-09-29 15:39:17 -07:00
Android (Google) Code Review dd4a83ed79 Merge change I86daa3fb into eclair
* changes:
  Live wallpaper improvements.
2009-09-29 16:25:39 -04:00
Romain Guy 89911d2450 Fix icons resizing.
Change-Id: I006191e27af19a95992050eb352a0489abbe6c58
2009-09-28 18:48:49 -07:00
Joe Onorato 360d0353fd Reset rollo to page 0 when it's fully zoomed out. 2009-09-28 17:34:44 -04: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
Jason Sams 0a8dc2cd98 Fix use of zero sized allocation. Add check to make sure the read object has not become null while waiting for the message to arrive. 2009-09-27 17:51:44 -07:00
Jason Sams 05de32aec2 Turn on HW rendering for AllApps. 2009-09-27 14:01:40 -07:00
Joe Onorato 8e099e208e Don't do readback. This is a hack until we figure out a better way to really find out what's going
on.
2009-09-25 17:30:47 -07:00
Joe Onorato 56848b0cc5 Fix the hit testing so the regions line up with the icons. 2009-09-25 13:59:59 -07:00
Joe Onorato e048e8a8ef Now that touch events can go off the edge of the screen, clamp
them to the screen size for hit testing purposes while dragging.
2009-09-25 10:39:17 -07:00
Joe Onorato 7bb1749c69 work around and fix bugs
- Make rollo always draw.  This works around the bug somewhere that makes
  it show gray when all apps shold be closed
- Simplify the SwipeController now that we're not zooming the workspace.
- Make the readback data sane by splitting it to a different allocation.
  Now there is one allocation for each direction of data flow.
- Make AllAppsView.isVisible return the correct value.
2009-09-25 09:17:07 -07:00
Joe Onorato 6467f30eb6 delete these unused files 2009-09-24 12:19:49 -07:00
Joe Onorato 33ed7b2f5a Fix some crashes in launcher2.
http://b/issue?id=2142064
2009-09-23 18:20:54 -07:00
Joe Onorato 2df5a576df Use the software renderer for all apps for now. 2009-09-23 14:43:46 -07: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 533e272835 Don't crash in onDestroy. Not all ApplicationInfos have their icons loaded. 2009-09-22 17:31:51 -07:00
Jason Sams bea627791d Don't call data on zero size allocations. 2009-09-21 19:34:13 -07:00
Joe Onorato 9244230763 Fix id collision in Home. 2009-09-21 15:37:59 -04:00
Joe Onorato 88b8f31af9 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-21 15:30:15 -04:00
Joe Onorato 79e56263db Fix the way Home computes the cell span of widgets.
This was causing problem on some WVGA devices.

Change-Id: Ic02c0c70fabad7e9c4a7425d6a98cceb7803538f
2009-09-21 15:23:04 -04:00
Anonymous Coward 8c96ab5f34 Remove the ability for the Google logo to hide itself based on the chosen
web search provider, as Google will be the only provider.
2009-09-21 15:13:00 -04:00
Romain Guy d94533d04a Fix possible NPE in Launcher. 2009-09-21 15:12:31 -04:00
Jason Sams fd22dac33e Implement dark background, adjust spacing, remove skia scaling for performance during zoom. 2009-09-20 17:24:16 -07:00
Jason Sams 86c87ed0a8 Implement new physics model for scroll. 2009-09-18 13:55:55 -07:00
Romain Guy e82140fe20 Avoid potention OOME when choosing a wallpaper in Home.
Change-Id: I0b9ffc69fa710a65fa370efa2020601f7a14e9d7
2009-09-16 16:54:21 -07:00
Joe Onorato 2ca51dc5f0 Remove the debugging code that left icons selected longer than they should be. 2009-09-16 11:44:14 -04:00
Joe Onorato 9392a75d04 Add support for the text burn in all apps, but leave it turned off.
It doesn't look good right now, without the proper blending.
2009-09-16 11:43:01 -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
Jason Sams 78aebd8601 Use rs support for object loading. 2009-09-15 13:13:50 -07:00
Joe Onorato 1291a8c236 Add a glow selection to the icons. I'm not sure if I like it. 2009-09-15 15:08:36 -04:00
Dianne Hackborn b8898d5f8d Put app alls surface on top.
Change-Id: I21df2b38f9483ab61a51cd5a54f227b5759f4e5c
2009-09-14 22:30:18 -07:00
Android (Google) Code Review db372d355a Merge change 24743 into eclair
* changes:
  First crack at a Gallery-based live wallpaper picker.
2009-09-14 21:07:16 -04:00
Joe Onorato 678862186a Get drag and drop working again. 2009-09-14 19:05:05 -04:00
Joe Onorato a9c28f6f97 New trash icon. 2009-09-14 18:39:04 -04:00
Romain Guy 4e55c77846 Properly destroy background loader in onDestroy().
Change-Id: I6069262f9ebb46d01f15ca64332ce600db2f899c
2009-09-14 15:26:18 -07:00
Android (Google) Code Review 432e495b23 Merge change 24929 into eclair
* changes:
  Port wallpaper chooser change from Launcher to Launcher2.
2009-09-14 18:18:45 -04:00
Romain Guy 8c724f568c Port wallpaper chooser change from Launcher to Launcher2.
Change-Id: I8af4dd737ab0533ed0994d81440c06b54d7118d9
2009-09-14 15:18:12 -07:00
Joe Onorato fb0ca67aea checkpoint 3d all apps entrance / exit animations 2009-09-14 17:55:46 -04:00