Commit Graph

100 Commits

Author SHA1 Message Date
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
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
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
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
Jason Sams
0aa7166414 Minor physics tweaks to make movement more responsive. checkpoint alt layout. 2009-10-02 18:43:18 -07:00
Joe Onorato
539ed9dfee PASSION ONLY - fix npe 2009-10-02 10:22:23 -07:00
Joe Onorato
bcbeab8fc7 Put the home button back in. 2009-10-01 21:45:43 -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
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
Jason Sams
476339d696 Implement safer test for min click velocity. 2009-09-29 18:14:38 -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
Joe Onorato
360d0353fd Reset rollo to page 0 when it's fully zoomed out. 2009-09-28 17:34:44 -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
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
2df5a576df Use the software renderer for all apps for now. 2009-09-23 14:43:46 -07:00
Jason Sams
bea627791d Don't call data on zero size allocations. 2009-09-21 19:34:13 -07: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
Joe Onorato
2ca51dc5f0 Remove the debugging code that left icons selected longer than they should be. 2009-09-16 11:44:14 -04: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
Joe Onorato
fb0ca67aea checkpoint 3d all apps entrance / exit animations 2009-09-14 17:55:46 -04:00
Joe Onorato
85a02a8d13 Add the animation for when you enter the all apps view. 2009-09-11 12:14:19 -04: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
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
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
Joe Onorato
efabe00e4a The icons are 3d 2009-08-28 09:38:18 -07:00
Jason Sams
b58cbdc62d Update to request a depth buffer. 2009-08-25 11:33:02 -07:00
Joe Onorato
9c1289cb3b Redo the launcher loading code and put the real app icons into rollo. 2009-08-24 14:58:44 -04:00
Joe Onorato
7c312c15e3 Move the all apps view back into the window with the workspace. 2009-08-16 15:03:36 -04:00
Joe Onorato
eb2c02eedb fling better 2009-08-12 21:40:52 -07:00
Joe Onorato
d769a63e6c fling 2009-08-12 11:49:27 -07:00
Joe Onorato
1feb3a8d70 Start rewriting the motion event tracking.
It's just tracking the finger with no fling.
2009-08-08 22:32:00 -07:00
Joe Onorato
43e7bcf0ad start rewriting rollo so it's a little more parameterized. 2009-08-08 18:53:53 -07:00
Joe Onorato
bf15cb44cc clean up rollo / launcher2 2009-08-07 14:33:40 -07:00
Joe Onorato
9383905560 Move rollo into the all apps view. 2009-08-06 20:34:32 -07:00