Adam Powell
327a9a3a30
Limit workspace flings to one screen at a time.
...
This prevents users from scrolling left slightly, flinging right,
and scrolling by two screens as a result (and vice versa).
Change-Id: I04c60438c022b24defcd8e4cbedf1c6b07c24423
2010-04-02 10:41:38 -07:00
Joe Onorato
64e6be78dc
Refactor the app updates so that it doesn't rely on the package name.
...
This will be needed for the upcoming change to update the icons with the
grayed out when the SD card goes away.
2010-03-10 13:42:32 -08:00
Adam Powell
c36f2455ab
Cancel long press within normal touch slop, before paging touch slop.
...
Change-Id: I1b4d02db306bc0a7c3f39e2174a7239239ce4422
2010-03-10 11:08:17 -08:00
Adam Powell
3499d4aac4
Smoother scrolling/paging, multiple pointer support
...
Change-Id: I09eef7b0b4d85ab073307f2fb5eb2521aef82af4
2010-03-10 10:16:21 -08:00
Romain Guy
edcce099c9
Fix the build!
2010-03-04 13:03:17 -08:00
Joe Onorato
e48e7c1a62
Don't crash when adding a shortcut.
...
Steps to reproduce: Menu > Add > Shortcut > Application > [any app]
E/AndroidRuntime( 1734): Caused by: java.lang.ClassCastException: com.android.launcher2.ShortcutInfo
E/AndroidRuntime( 1734): at com.android.launcher2.Workspace.onDropExternal(Workspace.java:963)
E/AndroidRuntime( 1734): at
com.android.launcher2.Workspace.addApplicationShortcut(Workspace.java:903)
E/AndroidRuntime( 1734): at
com.android.launcher2.Launcher.completeAddApplication(Launcher.java:669)
E/AndroidRuntime( 1734): at com.android.launcher2.Launcher.onActivityResult(Launcher.java:371)
E/AndroidRuntime( 1734): at android.app.Activity.dispatchActivityResult(Activity.java:3877)
E/AndroidRuntime( 1734): at android.app.ActivityThread.deliverResults(ActivityThread.java:3340)
2010-02-19 13:10:40 -08:00
Joe Onorato
956091ba78
fix 2453680 - acore NPE on startup: setWallpaperPosition
2010-02-19 12:50:06 -08:00
Romain Guy
ed2390e709
Correctly recenter the wallpaper when going back to default screen.
2010-02-18 00:22:58 +01:00
Joe Onorato
59d5245b0f
Fix 2446779 Launcher2 crash - while adding short cut to home from all apps drawer
2010-02-16 15:55:38 -05:00
Joe Onorato
0589f0f66c
Split ApplicationInfo into ApplicationInfo which is used for AllAppsView and ShortcutInfo which is
...
used for the workspace.
Consolidate the three icon resampling functions into one.
Ensure that the icons stored in LauncherProvider are the right size, so we don't have to resample
them each time we load them.
2010-02-12 12:18:40 -05:00
Romain Guy
483543f31c
Update the position markers when going back to Home.
2010-01-28 14:06:31 -08:00
Romain Guy
06762ab54d
Convert the tap and drop live wallpaper commands coordinates to screen space.
2010-01-25 16:51:08 -08:00
Romain Guy
629de3ef73
Remove widgets when the corresponding apk is uninstalled.
...
Bug #2298872
2010-01-13 12:20:59 -08:00
Romain Guy
5c16f3ecd6
Remove LiveFolders when corresponding package is uninstalled.
...
Bug #2298872
2010-01-12 17:24:58 -08:00
Joe Onorato
c45b168629
Fix 2325492 - No icons in launcher after pressing home from within an app
...
It looks like the evil hack in 14f122bf84 to make the workspace
not animate didn't completely work. The key to reproducing this bug is to make sure the
activity is destroyed and to have last gone to an app from a screen other than the center
screen, because that causes it to get reloaded from the icicle, which makes the timing
more amenable to missing the animation, because the view isn't attached yet.
2010-01-11 18:48:40 -05:00
Bjorn Bringert
7984c9496b
Get rid of the built-in search widget in Launcher2
...
Uses the widget from packages/apps/QuickSearchBox instead.
Change-Id: I85d64defe155c0cad97fafef6a3db62c6cab504a
2009-12-09 21:48:38 +00:00
Joe Onorato
546917a5ad
am a276fc59: Fix 2306862 - Launcher2 crashed: in libs/rs. Uploading texture without a context.
...
Merge commit 'a276fc59f535a2fb05701e8f49bb7adf4cefb3b2' into eclair-mr2
* commit 'a276fc59f535a2fb05701e8f49bb7adf4cefb3b2':
Fix 2306862 - Launcher2 crashed: in libs/rs. Uploading texture without a context.
2009-12-08 17:19:08 -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
Romain Guy
f8e6a80acd
Let the user click the dots during a scroll on Home.
...
This allows faster scroll across Home. Also remove dead code.
2009-12-07 18:01:15 -08:00
Joe Onorato
14f122bf84
Fix bug 2271894 - Odd animation when press home button from app that wasn't in center home screen
...
Now:
- When you're on the workspace and you press home, it animates back to the middle
- When you're in all apps and you press home, all apps animates out and the workspace
doesn't animate to the middle (it just jumps there)
- When you're in an app and you press home, it doesn't animate to the middle
- When you're in an app and you press back, it still goes to the page you were on.
Don't look at the evil hack to make it move without animating.
2009-11-19 14:06:36 -08:00
Joe Onorato
0d44e9482b
Fix bug 2261637 - Workspace previews home screens on long pressing
...
at the bottom of app drawer
This includes some contortions to get it not to perform the vibrate
haptic feedback then.
(By the way, it appears that we're vibrating on the add context menu
long press, so also do it when when we show the previews.
2009-11-16 18:20:51 -08:00
Joe Onorato
464c055a7a
Bug 2244530 - Disable the attempt at not flickering. It's interfering with the frame rate while rollo animates in.
2009-11-12 18:19:47 -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
Romain Guy
e47f55c30b
Improve desktop scrolling from the previews switcher.
...
Change-Id: Iee05120b4363c07294f665f45f561e9d9361ccaa
2009-11-11 19:21:22 -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
Marco Nelissen
c07c79b10b
Update Launcher2 to the new wallpaper API
2009-11-09 19:35:07 -08:00
Romain Guy
8a73c51ee8
New position indicators and icons for Launcher2.
...
Change-Id: Id444943a3cc2e9db78733614141cbe2be837fdbf
2009-11-09 19:19:59 -08: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
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
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
Romain Guy
207e40ee66
Prevent crash when dropping an icon.
...
Change-Id: Ia7313db2437a094c11286edeeaae7b3121a873eb
2009-09-29 16:19:19 -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
Joe Onorato
33ed7b2f5a
Fix some crashes in launcher2.
...
http://b/issue?id=2142064
2009-09-23 18:20:54 -07:00
Joe Onorato
678862186a
Get drag and drop working again.
2009-09-14 19:05:05 -04: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
Romain Guy
52d9cb3260
Fix a drag and drop issue: if a drop happened too quickly it could go to the wrong screen.
...
Change-Id: I00c73e81e754766cdc47a6286e2b969fcf10aa7c
2009-09-11 17:30:44 -07: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
Joe Onorato
6665c0f1fe
Click on icons.
2009-09-02 15:27:24 -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
3ccdf2f576
Add Grass live wallpaper to Launcher2. It's ALIVE!
2009-08-11 17:14:07 -07:00
Romain Guy
798300c4c0
Centers the wallpaper by default
2009-08-11 14:43:29 -07:00
Dianne Hackborn
8f573952b8
Update to scroll the wallpaper.
2009-08-10 23:21:09 -07:00
Romain Guy
b1b69f53a8
Enable live wallpaper in Launcher2
2009-08-10 15:10:15 -07:00