Commit Graph

497 Commits

Author SHA1 Message Date
Mike Cleron 2bbe9af65e Update the search widget to be vertically centered within it's footprint. 2009-11-04 12:25:55 -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 a4c0cb9655 Tweak the shape/size of the all apps selection glow.
Bug 2231227
2009-11-02 10:45:15 -05:00
Joe Onorato b6341e9ee2 Fix launcher crash 2009-11-02 10:41:48 -05:00
Joe Onorato 6f613d2999 Fix bugs 2218563 and 2176751 - Not properly loading icons, and sometimes marking them as cached when
they're not.
2009-10-31 19:50:30 -04:00
Joe Onorato 3c2f7e105d fix 2206016 - Passion: Deleted Icons are added again after deleting folder on home screen 2009-10-31 19:17:31 -04:00
Joe Onorato 381a2a6f28 remove unused code. 2009-10-31 18:34:20 -04:00
Joe Onorato 41a12d225a When closing a folder, make sure to remove it from the list of drop targets.
This fixes the following bugs: 2222908 2208857
2009-10-31 18:30:00 -04:00
Joe Onorato f99f8c1ad2 Fix 2223769 - Uninstalling a widget (via adb uninstall) crashed launcher2 and com.cooliris.media
If we haven't even initialized yet, don't respond to app list changes.

I think this will fix that bug.  It's possible that there's some other race in there somehow.
2009-10-31 17:27:36 -04: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
Android (Google) Code Review a1b02556d0 Merge change I3134655d into eclair
* changes:
  More capabilities for default home configuration
2009-10-30 20:00:04 -04:00
Mike Cleron b87bd16c8e More capabilities for default home configuration
Added support for adding appwidgets beyond clock and search to the
intital configuration. Also pulled in a previous change in Launcher that
allowed http shortcuts. New syntax looks like this in
default_workspace.xml:

     <appwidget
        launcher:packageName="com.android.settings"
        launcher:className="com.android.settings.widget.SettingsAppWidgetProvider"
        launcher:screen="0"
        launcher:x="0"
        launcher:y="2"
        launcher:spanX="4"
        launcher:spanY="1" />

    <shortcut
        launcher:packageName="com.android.settings"
        launcher:icon="@drawable/ic_launcher_appwidget"
        launcher:title="@string/group_folder"
        launcher:uri="http://www.nytimes.com"
        launcher:screen="2"
        launcher:x="2"
        launcher:y="2" />
2009-10-30 16:36:56 -07:00
Android (Google) Code Review 80dcf33341 Merge change Ia4f871c1 into eclair
* changes:
  use table maskfilter for glow
2009-10-30 17:03:34 -04:00
Mike Reed cdd117935f use table maskfilter for glow
http://b/issue?id=2210685
2009-10-30 08:13:24 -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
Eric Fischer 4d7b6c949a Import revised translations. DO NOT MERGE 2009-10-28 21:19:01 -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
Mike Cleron f8bbd34d7d Make home send tap commands to live wallpaper.
(This only applies to taps on empty spaces)
2009-10-23 16:15:16 -07:00
Android (Google) Code Review a07724f705 Merge change Ia0618e41 into eclair
* changes:
  Fix 2198937: Home becomes unresponsive after picking wallpaper
2009-10-22 18:32:12 -04:00
Android (Google) Code Review 2875a3cc9e Merge change I0ae41e06 into eclair
* changes:
  Import revised translations.  DO NOT MERGE
2009-10-22 18:07:15 -04:00
Android (Google) Code Review ed10d65582 Merge change Ia98fd30d into eclair
* changes:
  Restore missing string that was still referenced from code.
2009-10-22 17:04:13 -04:00
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
Eric Fischer 0ae41e06d6 Import revised translations. DO NOT MERGE
Approver: jerryw
2009-10-21 12:00:47 -07:00
Eric Fischer a98fd30d86 Restore missing string that was still referenced from code.
Approver: jerryw
2009-10-21 11:36:31 -07:00
Jason Sams 2e19c05891 Return friction table, tweak values for line rather than pages. 2009-10-20 18:19:55 -07:00
Jason Sams 96b49d860c Move the home button down slightly. 2009-10-20 14:29:00 -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
Android (Google) Code Review f70fbe70b5 Merge change I461073bb into eclair
* changes:
  Fix exit animation of top icon when present.
2009-10-20 15:07:18 -04:00
Jason Sams 461073bbdd Fix exit animation of top icon when present. 2009-10-20 12:06:28 -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
Android (Google) Code Review 645c8f4d03 Merge change I09c6fc08 into eclair
* changes:
  Change the entry / exit animation.
2009-10-16 20:24:45 -04:00
Jason Sams 09c6fc0819 Change the entry / exit animation. 2009-10-16 17:23:23 -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 742d7fc1c2 Show the orange selection thing. 2009-10-15 19:48:16 -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