Commit Graph

70 Commits

Author SHA1 Message Date
Joe Onorato eb8325a9e2 Bug 2239823 - Can't focus "home" icon in 3d all apps 2009-11-08 13:20:30 -05:00
Joe Onorato c61cff9299 Make the selection indicator and the focus indicator in 3d all apps different colors. Bug 2239818. 2009-11-08 12:06:04 -05:00
Joe Onorato 2d80476997 The apps might not have finished loading by the time we're doing this. Fixes bug 2241755. 2009-11-05 16:03:12 -05:00
Joe Onorato 0ace11a2b0 Add logging to launcher2 to help diagnose 2239265 since QA keeps reassigning it to me without
providing more detailed steps to reproduce.
2009-11-05 16:03:12 -05:00
Jason Sams 20df7c7d72 Fix white square bug when new apps are added while home is not active. 2009-11-05 12:30:24 -08:00
Jason Sams 90396672ba Don't release the GL context when all-apps looses its surface. 2009-11-03 13:59:34 -08:00
Mike Cleron 4a5c1e1ec9 Fix 2209039 and 2220106
Improve trackball handling and menu interaction
2009-11-03 10:17:05 -08:00
Joe Onorato a13f574e3a Fix 2205899 - unable to access last row using trackball scroll if last row is having less than
4 icons.
2009-11-02 17:15:19 -05:00
Joe Onorato 080d9b614e Adjust logging of launcher2 launch times, and make all apps loading wait a little longer,
even though usually it happens later anyway.

For bug 2226555.
2009-11-02 12:01:11 -05:00
Joe Onorato cb9f798894 Fix 2199124 - Sometimes app icons don't go away when deleting the app.
The app list isn't sorted by component name, it's sorted by title, so we can't
binary search on the component name.  Duh.

Linear search is fine here.
2009-10-31 16:33:17 -04:00
Jason Sams c85147968f Wrap text with the curve instead of the fade. Mipmap distant text and icons. Fix two physics bugs. Snapping at end of list was inconsistant between flings and moves. Fix phyiscs boundary condition during low speed movement back to center. 2009-10-29 14:27:29 -07:00
Joe Onorato 664457dbfd Fix 2200739 - Crash when you click on an empty icon slot in 3d all apps 2009-10-28 16:30:34 -04:00
Joe Onorato b39e51aee4 Fix 2201778 - Key click on all apps
Do it by hand, because the default on click handling doesn't do what we want.
2009-10-28 15:47:49 -04:00
Joe Onorato 859b3a7453 fix bug 2200625 - NPE at com.android.launcher2.AllAppsView.onTouchEvent(AllAppsView.java:259) on Passion
There's no need to do selection if we're not visible.
2009-10-28 15:17:01 -04:00
Jason Sams 8113479607 Fix leak when receiving multiple surface changed messages, typically when exiting a landscape app. 2009-10-27 15:38:42 -07:00
Jason Sams 2e19c05891 Return friction table, tweak values for line rather than pages. 2009-10-20 18:19:55 -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
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