Commit Graph

420 Commits

Author SHA1 Message Date
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
Joe Onorato
968b2a2473 Add home button asset. 2009-09-29 12:51:11 -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
26646340d8 Rollo tweaks.
- Turn off the "zoom" log message.
- Make it stop rendering.  Add a workaround to not always flipping the last page by drawing one
  extra frame.
2009-09-23 15:20:25 -07:00
Android (Google) Code Review
a997a51515 Merge change 26676 into eclair
* changes:
  Use the software renderer for all apps for now.
2009-09-23 17:45:00 -04:00
Joe Onorato
2df5a576df Use the software renderer for all apps for now. 2009-09-23 14:43:46 -07:00
Joe Onorato
7b7a2cdb33 Launcher2 is now home. 2009-09-23 08:35:07 -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
44c9b646b7 Add high dpi wallpapers. 2009-09-21 15:32:43 -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
Joe Onorato
c91f928a8a High-resolution (hdpi) artwork from TAT for Launcher. 2009-09-21 15:17:13 -04:00
Eric Fischer
e461dc6ffe Armor string format tokens with translation placeholders.
Change-Id: Ibe4d4fea7caff285f67382cc17f2f9261cf1f92c
2009-09-21 15:15:46 -04:00
Eric Fischer
a65e61bdae Import revised translations. DO NOT MERGE 2009-09-21 15:13:20 -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
Eric Fischer
2dbeb0a91b Import revised translations. DO NOT MERGE 2009-09-21 15:12:39 -04:00
Romain Guy
d94533d04a Fix possible NPE in Launcher. 2009-09-21 15:12:31 -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
Eric Fischer
0514e0abf5 Import revised translations. DO NOT MERGE 2009-09-21 15:08:17 -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