Commit Graph

46 Commits

Author SHA1 Message Date
Romain Guy 8a73c51ee8 New position indicators and icons for Launcher2.
Change-Id: Id444943a3cc2e9db78733614141cbe2be837fdbf
2009-11-09 19:19:59 -08:00
Jeff Sharkey 1e2efc8a6d Start listening again after LauncherProvider clears widgets.
After the LauncherProvider resets the database and wipes
out the host info, the Launcher must tell the AppWidgetHost
to listen again.

Originally 87e688d8... in packages/apps/Launcher.

Fixes http://b/2238470
2009-11-09 10:07:56 -08:00
Joe Onorato e6168662d8 Fix bug 2242465 - Can add shortcuts while the "3d all apps" is open.
The more I think about it, the more I think AllApps should just be a separate
activity.  It's not a drawer anymore and you open it by pressing a button.
Also, it will want to derive from RenderScriptActivity or something, and
have all that stuff dealt with automatically too.  It's to late to make a
change like this now, but if we do choose to do it someday, I think we'll want
to reconsider the menu that's shown.

For now, just close all apps when they add a shortcut or change the wallpaper.
2009-11-08 13:39:30 -05:00
Joe Onorato d753b42d51 Bug 2246631 - Show soft keyboard on launcher dialogs 2009-11-08 13:31:11 -05:00
Romain Guy 18042c82c5 [Launcher2] Delete app widgets when their configuration is cancelled or there's not enough room on Home.
Bugs #2234228 and #2244729.
Approved by mcleron

Change-Id: I15e4850d8c1a821497df5d32e5fb63b3400d1e44
2009-11-06 13:45:44 -08:00
Joe Onorato ad72e1705c Fix launcher2 crash. We weren't initializing the list of folders. Bug 2210545. 2009-11-06 16:25:43 -05:00
Mike Cleron 3a2b3f2be5 If 3 screens are good 5 will be better 2009-11-05 17:17:50 -08:00
Romain Guy 84f296c106 Add android.home.drop even for the live wallpapers.
Change-Id: I44ad9fe573dc3d2e5d091fed01300d44b6be9473
2009-11-04 15:00:44 -08: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 b6341e9ee2 Fix launcher crash 2009-11-02 10:41:48 -05: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 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
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
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
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 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 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
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
Jason Sams fd22dac33e Implement dark background, adjust spacing, remove skia scaling for performance during zoom. 2009-09-20 17:24:16 -07:00
Joe Onorato a9c28f6f97 New trash icon. 2009-09-14 18:39:04 -04:00
Joe Onorato fb0ca67aea checkpoint 3d all apps entrance / exit animations 2009-09-14 17:55:46 -04:00
Joe Onorato d40eec360f Forgot to repo upload --amend. Yay. 2009-09-11 12:41:13 -04:00
Joe Onorato 85a02a8d13 Add the animation for when you enter the all apps view. 2009-09-11 12:14:19 -04:00
Dianne Hackborn 8355ae39ad Add "Configure..." to wallpaper menu for configurable live wallpapers.
Change-Id: I41a2e68192acfed60cce344ac1e0cd886a54f348
2009-09-07 22:57:13 -07:00
Joe Onorato 006b25f88d Always have the AllAppsView visible, but have it draw nothing
when it shouldn't be visible.

This lets us do clean animations and not wait for GL to spool up.
2009-09-03 11:38:43 -07:00
Joe Onorato 5162ea9b1f Add drag and drop from AllAppsView (to the workspace).
Also had to fix AppInfoCache to load the icon as a drawable, which I had broken
when I made AllAppsView use the icons as power of two textures.
2009-09-03 09:39:42 -07:00
Joe Onorato 6665c0f1fe Click on icons. 2009-09-02 15:27:24 -07:00
Joe Onorato c567acb6c3 Add the all apps button. 2009-08-31 14:34:43 -07:00
Joe Onorato 9c1289cb3b Redo the launcher loading code and put the real app icons into rollo. 2009-08-24 14:58:44 -04:00
Joe Onorato 7c312c15e3 Move the all apps view back into the window with the workspace. 2009-08-16 15:03:36 -04:00
Dianne Hackborn 49cdb1b18c A little wallpaper cleanup. 2009-08-13 17:16:28 -07:00
Romain Guy b1b69f53a8 Enable live wallpaper in Launcher2 2009-08-10 15:10:15 -07:00
Dianne Hackborn 6427180237 Update to follow modified wallpaper APIs. 2009-08-08 21:01:32 -07:00
Joe Onorato 9383905560 Move rollo into the all apps view. 2009-08-06 20:34:32 -07:00
Joe Onorato 00acb123c5 Move the drag thing into its own window that goes around on top of everything else. 2009-08-06 12:45:43 -07:00
Dianne Hackborn 107f839cdf Update to use new wallpaper APIs. 2009-08-05 21:32:16 -07:00
Joe Onorato e77c08d15f Fade the workspace when the all apps drawer opens and closes. 2009-08-01 00:01:20 -07:00
Joe Onorato 5979117dc2 Split the wallpaper into its own view (it will be its own surface some day). 2009-07-31 16:24:20 -07:00
Joe Onorato 45d4346889 Factor showAllAppsDialog 2009-07-31 16:24:20 -07:00
Joe Onorato 7404ee4a16 Checkpoint launcher2 - all apps is in a 2nd window.
Lots is still broken.
2009-07-31 16:24:15 -07:00
Joe Onorato a5902524d4 Launcher2 compiles. 2009-07-30 13:37:37 -07:00
Joe Onorato fca7c88f9d Move com/android/launcher -> com/android/launcher2 2009-07-30 10:15:07 -07:00