Commit Graph

9800 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Joe Onorato
ff3862d415 Don't exit all apps when we launch apps. 2009-10-07 10:35:51 -07:00
Joe Onorato
742966ba0e Launcher2 - Fix 2171232 Homescreen stopped responding after pressing home in wallpaper selector. 2009-10-07 10:26:17 -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
2e5c432a0a Launcher2: fix 2162230 - Can't add app shortcuts from 3D All Apps 2009-10-06 12:34:42 -07:00
Android (Google) Code Review
91cecf40c5 Merge change I4db52312 into eclair
* changes:
  Don't do swipes to open all apps anymore.
2009-10-06 14:19:45 -04: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
Daniel Sandler
9a60d5484f Pull over new icons from Launcher to Launcher2.
NB: Removed obsolete ic_launcher_gallery.png; wallpaper
should now use ic_launcher_wallpaper.png.

Change-Id: I3d74a6ae7d948b48cc902e28a361a1993f4273d2
2009-10-06 12:57:42 -04:00
Android (Google) Code Review
45713fcf19 Merge change I0aa71664 into eclair
* changes:
  Minor physics tweaks to make movement more responsive.  checkpoint alt layout.
2009-10-02 21:44:20 -04:00
Jason Sams
0aa7166414 Minor physics tweaks to make movement more responsive. checkpoint alt layout. 2009-10-02 18:43:18 -07:00
Romain Guy
fcb9e7144e Prevent Home from crashing because of wrongly generated ids.
Change-Id: I51afba418291e8c909d1b2b0396e7c0c55b23631
2009-10-02 16:06:52 -07:00
Joe Onorato
539ed9dfee PASSION ONLY - fix npe 2009-10-02 10:22:23 -07:00
Joe Onorato
08b5dfe0b9 Reduce the bias towards scrolling a little bit.
I was missing some zooms now.
2009-10-01 21:47:56 -07:00
Joe Onorato
bcbeab8fc7 Put the home button back in. 2009-10-01 21:45:43 -07:00
Joe Onorato
fccc8dfc8a Center the text in the textures. 2009-10-01 14:30:16 -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
Joe Onorato
2bc6b7c2b8 Fix the bug where you can grab the workspace while all apps is animating.
You can still grab it, but now once all apps is up, it returns to where it belongs.
2009-10-01 14:08:30 -07:00