Commit Graph

87 Commits

Author SHA1 Message Date
Joe Onorato 8cf34293dc Launcher2 - This might fix the missing app problem and the crash in removeApp.
This marks the apps list as dirty by default.  Usually, because of how long
it takes the loader thread to run, the apps list comes in after the surface
has been initialized.  However, if the surface isn't around yet when setApps
is called, then setApps won't set mRollo.mAppsDirty because mRollo is null.
The extra null check is necessary for the normal case when mAllAppsList isn't
ready yet when the surface comes in.
2009-12-11 10:59:51 -08:00
Joe Onorato 8eea3914a0 fix 2315821 and 2315729 - problems caused because the apps list could become
unsynchronized with the list of icons.
2009-12-09 13:01:06 -08:00
Joe Onorato af5b4cb277 Fix 2305903 Scrolling trackball upwards at the top of the app menu selects app at the bottom left 2009-12-08 17:51:22 -08:00
Joe Onorato a276fc59f5 Fix 2306862 - Launcher2 crashed: in libs/rs. Uploading texture without a context.
turns off some logging and fixes latent bugs that this uncovered where we were
accessing renderscript while there was no context.
2009-12-08 17:02:02 -08:00
Joe Onorato bf173f11d2 Fix 2304151 - crash while installing apps
It was happening if you had previously uninstalled an app.
2009-12-08 13:29:38 -08:00
Joe Onorato b0c27f254a Bug 2290800 - Use a collator to sort the app labels.
SHAME ON ME for using String.compareTo().
2009-12-01 16:20:30 -08:00
Joe Onorato be38609f87 Add a lot of logging that can be seen by doing adb shell setprop launcher2.dumpstate 1 and presssing volume down 2009-11-17 18:04:52 -08:00
Joe Onorato 478730f3c1 fix 2261526 - Trackball doesn't work in 3D all-apps if you opened it using trackball 2009-11-16 18:54:43 -08:00
Jason Sams 5612e4321e Fix duplicated text when returning home from an app that hid the status bar and launcher2 was killed. 2009-11-16 14:18:07 -08:00
Jason Sams e26d9fc287 Update AllApps to defered surface attachment for RS. 2009-11-12 15:09:21 -08:00
Joe Onorato 68ba5ca5d7 Keep banging on the launcher locks up bug. This moves the
delayed zoom stuff into one place, so it should be out of
sync less.
2009-11-12 14:23:43 -08:00
Joe Onorato cb75f366cc Fix bug 2258128 - homescreen on Passion unresponsive while still not leaking the contexts. 2009-11-12 13:28:09 -08:00
Joe Onorato fab744014a Fix bug 2249797 - Launcher2 leaking textures on locale change 2009-11-11 16:05:23 -08:00
Joe Onorato 52a653f3ff Fix 2241848 - 3D apps folder does not send accessibility events
It's now sending them.  The beeping and vibrating accessibility things
work, but we only have prebuilts for the speech one and it's not saying
anything and I can't debug it, so this will have to do.
2009-11-11 14:52:11 -08:00
Joe Onorato a30ce8e6b2 Bug 2231692 - Turn off launcher2 logging. 2009-11-11 09:24:37 -08:00
Joe Onorato 3a8820bdba Fix bug 2250457 - Open folder on home screen changes changes the behaviour of the home button
Now, home always goes to the center worksapce screen and back from an
app goes to all apps if it was open.

Getting that animations smooth took a little bit of work.
2009-11-10 19:56:02 -08:00
Mike Cleron b64b67a012 Fix http://b/issue?id=2203681
There is a race between the view system
dispatching focus and mRollo being intialized. Now
if AllApps is supposed to gain focus before mRollo
is ready we remember that state and gain focus 
later.
2009-11-08 15:39:29 -08:00
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