Commit Graph

12092 Commits

Author SHA1 Message Date
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
Android (Google) Code Review
e498ab9986 Merge change 24807 into eclair
* changes:
  Fix a drag and drop issue: if a drop happened too quickly it could go to the wrong screen.
2009-09-11 20:31:23 -04:00
Romain Guy
52d9cb3260 Fix a drag and drop issue: if a drop happened too quickly it could go to the wrong screen.
Change-Id: I00c73e81e754766cdc47a6286e2b969fcf10aa7c
2009-09-11 17:30:44 -07:00
Marco Nelissen
3c8b90d9eb Fix crash when reinstalling live wallpapers. 2009-09-11 14:49:50 -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
Joe Onorato
d40eec360f Forgot to repo upload --amend. Yay. 2009-09-11 12:41:13 -04:00
Joe Onorato
85a02a8d13 Add the animation for when you enter the all apps view. 2009-09-11 12:14:19 -04:00
Dianne Hackborn
8355ae39ad Add "Configure..." to wallpaper menu for configurable live wallpapers.
Change-Id: I41a2e68192acfed60cce344ac1e0cd886a54f348
2009-09-07 22:57:13 -07:00
Joe Onorato
e3406a2de3 better drag beha vior 2009-09-03 14:36:25 -07:00
Joe Onorato
006b25f88d Always have the AllAppsView visible, but have it draw nothing
when it shouldn't be visible.

This lets us do clean animations and not wait for GL to spool up.
2009-09-03 11:38:43 -07:00
Android (Google) Code Review
fc75f0f532 Merge change 23820 into eclair
* changes:
  Add drag and drop from AllAppsView (to the workspace).
2009-09-03 09:41:18 -07:00
Joe Onorato
5162ea9b1f Add drag and drop from AllAppsView (to the workspace).
Also had to fix AppInfoCache to load the icon as a drawable, which I had broken
when I made AllAppsView use the icons as power of two textures.
2009-09-03 09:39:42 -07:00
Romain Guy
8eb509596b Add the ability to replace all wallpapers with overlay resources.
Change-Id: I516c0972c04dc7e07801a2e3c297e1d0f0f96f9a
2009-09-02 15:57:21 -07:00
Joe Onorato
6665c0f1fe Click on icons. 2009-09-02 15:27:24 -07:00
Joe Onorato
c567acb6c3 Add the all apps button. 2009-08-31 14:34:43 -07:00