Commit Graph

233 Commits

Author SHA1 Message Date
Mike Cleron a0618e4102 Fix 2198937: Home becomes unresponsive after picking wallpaper
THe problem was that the code was relying on mWaitingForResult being
cleared in onActivityResult. This was not being called because the
wallpaper choosing activity was not being invoked with a result code.

We may want to rethink blocking touch events when isWorkspaceLocked().
There may be other places where we can get stuck like this.
2009-10-22 13:55:21 -07:00
Mike Cleron 7d5d746863 Start at adding trackball support to 3D all apps
Known problems: you can outrun the selection by moving the
trackball quickly. Focus can get confused.
2009-10-20 14:18:18 -07:00
Mike Cleron b6082fa019 Fix trackball selection on the desktop (not all apps, yet)
AllApps view is always visible (in the View sense), which was causing it
to take focus when it should not have. Changed Launcher to manually
turn on/off the focusability of AllApps as it appears/disappears.
2009-10-19 17:14:25 -07:00
Jason Sams c1c521edf4 Add support for MoveTo. 2009-10-19 14:45:45 -07:00
Jason Sams 37e7c2b6e4 Remove the competitors to the one true AppApps3D. 2009-10-19 12:55:43 -07:00
Romain Guy a45f664227 Remove live wallpaper picker from Launcher2.
Change-Id: I2c48f3624128276c3460939960168163d3c74c08
2009-10-16 15:46:55 -07:00
Joe Onorato 1d708e7262 Deselect the home icon whenever we zoom, in case we were tracking it. 2009-10-15 21:29:21 -07: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 1d8e7bbe09 Fix the bug where the icons stop showing up.
I think what's happening here is that when there is a configuration
change, we were restarting the launcher process because the driver
would hang.  But now that that's fixed, we need to poke the model
to reload the icons.  We were missing the bind apps call.
2009-10-15 19:49:43 -07:00
Joe Onorato 68ffd10dfc Passion - Maybe this will fix bug 2183130 - NPE in AllAppsView.onTouchEvent.
Looking at the code as it was on ERD11, this was mVelocity being null.
That shouldn't be possible if events are ordered correctly.  This
change makes AllAppsView a little more rigorous about which value
mTouchTracking has.  Hopefully, we can mask any underlying problems
sufficiently.  Events aren't supposed to be going out of order.
2009-10-15 17:59:43 -07:00
Joe Onorato 82ca550047 Passion - Fix bug 2178628 - Make all apps selection work better. 2009-10-15 17:22:29 -07:00
Jason Sams 41b61c824c Implement workaround for GL driver which is slow to render the first frame with new state. This change will render a transparent frame when receiving new state to warm the driver. 2009-10-15 15:40:54 -07:00
Jason Sams b52dfa066d Change allApps to new view. Tweak rollo3 phyisics. 2009-10-14 20:16:14 -07:00
Jason Sams d8152b9994 Add support for vert movement. Very hackish atm. 2009-10-14 18:19:34 -07:00
Joe Onorato 34b0249943 passion - fix 2176920 - all apps cleared after deleting folder 2009-10-14 11:13:48 -07:00
Joe Onorato ff3862d415 Don't exit all apps when we launch apps. 2009-10-07 10:35:51 -07:00
Joe Onorato 742966ba0e Launcher2 - Fix 2171232 Homescreen stopped responding after pressing home in wallpaper selector. 2009-10-07 10:26:17 -07:00
Joe Onorato a8138d5fa1 Launcher2 - make 3d all apps deal with new apps and deleted apps. 2009-10-06 19:28:53 -07:00
Jason Sams 12c14a8559 Use push from script. Remove old readback and instant animation code. 2009-10-06 14:33:15 -07:00
Joe Onorato 2e5c432a0a Launcher2: fix 2162230 - Can't add app shortcuts from 3D All Apps 2009-10-06 12:34:42 -07:00
Android (Google) Code Review 91cecf40c5 Merge change I4db52312 into eclair
* changes:
  Don't do swipes to open all apps anymore.
2009-10-06 14:19:45 -04:00
Joe Onorato 4db52312c1 Don't do swipes to open all apps anymore.
http://b/issue?id=2169884
http://b/issue?id=2160569
2009-10-06 11:17:43 -07:00
Daniel Sandler 9a60d5484f Pull over new icons from Launcher to Launcher2.
NB: Removed obsolete ic_launcher_gallery.png; wallpaper
should now use ic_launcher_wallpaper.png.

Change-Id: I3d74a6ae7d948b48cc902e28a361a1993f4273d2
2009-10-06 12:57:42 -04:00
Android (Google) Code Review 45713fcf19 Merge change I0aa71664 into eclair
* changes:
  Minor physics tweaks to make movement more responsive.  checkpoint alt layout.
2009-10-02 21:44:20 -04:00
Jason Sams 0aa7166414 Minor physics tweaks to make movement more responsive. checkpoint alt layout. 2009-10-02 18:43:18 -07:00
Romain Guy fcb9e7144e Prevent Home from crashing because of wrongly generated ids.
Change-Id: I51afba418291e8c909d1b2b0396e7c0c55b23631
2009-10-02 16:06:52 -07:00
Joe Onorato 539ed9dfee PASSION ONLY - fix npe 2009-10-02 10:22:23 -07:00
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