Commit Graph

100 Commits

Author SHA1 Message Date
Jason Sams
23dcb7babf Remove dead code. 2010-02-04 17:00:27 -08:00
Jason Sams
7651248dd1 Support rotation of the all apps screen. 2010-02-04 16:38:48 -08:00
Jason Sams
66ed54e13b Clean up vertex program with easy to manage uniform constants. 2010-02-04 12:43:26 -08:00
Joe Onorato
b83155406b Possibly fix 2415260 - IllegalStateException: Calling RS with no Context active 2010-02-03 20:39:25 -08:00
Joe Onorato
e9a3f3d85b Fix 2379378 Trackball up on all apps home icon doesn't highlight the correct icon 2010-02-01 18:36:43 -05:00
Jason Sams
1a94ee3a8b Fix selection highligh in all apps. Selection highlight now follows the curve and uses a smaller bitmap. 2010-01-20 13:34:30 -08:00
Jason Sams
6ec11bc3a8 Change text labels from RGBA to ALPHA8. Reduces memory usage and may increase performance. 2010-01-19 17:56:52 -08:00
Jason Sams
b4ecab24db Update launcher2 with vertex shader and single draw method for icons. 2010-01-19 16:43:26 -08:00
Joe Onorato
6374c51a89 Fix bug 2337808 - zoom state gets out of sync when the surface disappears 2010-01-11 11:15:08 -05:00
Jason Sams
d15f3ef981 cleanup RS scripts leftover from previous design and rename final script. 2010-01-06 14:58:06 -08:00
Jason Sams
72f1d3100c Update to new RS texture API. 2009-12-17 16:58:25 -08:00
Jason Sams
510ee04942 Remove WAR for handling uploads when no surface was present. 2009-12-15 14:23:37 -08:00
Joe Onorato
3ecbd81f99 Still trying to fix 2320348 - Launcher2 crashed: AIOOBE at com.android.launcher2.AllAppsView$RolloRS.removeApp 2009-12-11 13:38:54 -08:00
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