Commit Graph

57 Commits

Author SHA1 Message Date
Joe Onorato 24b6fd854f Fix 2257802 - Screen unresponsive when you get a call while moving the shortcuts or widgets on home screen 2009-11-12 13:49:09 -08:00
Romain Guy e47f55c30b Improve desktop scrolling from the previews switcher.
Change-Id: Iee05120b4363c07294f665f45f561e9d9361ccaa
2009-11-11 19:21:22 -08:00
Romain Guy 9d31e9fa3d Shows all screens in the previews.
Change-Id: Ib8b19492ccb07a135ba95ab75ae03f034275c572
2009-11-11 18:56:51 -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
Joe Onorato 2ca0ae7d7c Fix bug 2250432 - all apps should dismiss when you power off or phone locks
Also cherry-picks this from launcher 1

Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off

Close things out in various ways.  This should be done for Launcher2 as well.

Change-Id: Id4f1c78e35180b437144c54ddcbf10069cc09071

Conflicts:

	AndroidManifest.xml
	src/com/android/launcher2/Launcher.java
2009-11-10 19:56:01 -08:00
Romain Guy ff0c2e26ec Add the ability to dismiss previews when touching outside of the popup.u
Change-Id: Ieca2267f3cadd88315a50f0cede97b6c42cab39c
2009-11-10 12:09:59 -08:00
Romain Guy e6b8e2fa73 Better previews.
Change-Id: I400c6b45fae2f74722985f766dc17c0892550403
2009-11-10 11:56:55 -08:00
Romain Guy a6abce8464 Improve previews display and allow to jump directly to any screen.
Change-Id: I87e7a6a53f286ab7a04657e1598a947f9302e2a1
2009-11-10 02:54:41 -08:00
Romain Guy 1a304a1198 Better preview visuals.
Smaller thumbnail (removed unnecessary padding), more opaque background.
Uses a white background because the dark background interferes with the
new dark widgets.

Change-Id: I7654741d845609200569fce34b6cde891d2b5d29
2009-11-10 00:02:32 -08:00
Romain Guy 1fbc1c8431 Add previews on long press on the indicators.
Change-Id: I6349d55345255caacc1381e83459544f8b8e085c
2009-11-09 20:45:03 -08:00
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