diff options
author | Joe Onorato <joeo@android.com> | 2009-11-10 15:06:42 -0800 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2009-11-10 19:56:02 -0800 |
commit | 3a8820bdbad90642cf5cda4b00a8c92ecb699159 (patch) | |
tree | aedf0fe5f2e6064dd79101df02c862a4cc4f46a9 /res/raw | |
parent | 2ca0ae7d7c4d5f6b24a1b3d987813cad9ee4197f (diff) | |
download | android_packages_apps_Trebuchet-3a8820bdbad90642cf5cda4b00a8c92ecb699159.tar.gz android_packages_apps_Trebuchet-3a8820bdbad90642cf5cda4b00a8c92ecb699159.tar.bz2 android_packages_apps_Trebuchet-3a8820bdbad90642cf5cda4b00a8c92ecb699159.zip |
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.
Diffstat (limited to 'res/raw')
-rw-r--r-- | res/raw/rollo3.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/res/raw/rollo3.c b/res/raw/rollo3.c index cbcdb22ea..b2b6cf197 100644 --- a/res/raw/rollo3.c +++ b/res/raw/rollo3.c @@ -126,6 +126,12 @@ void moveTo() { // debugF("======= moveTo", state->targetPos); } +void setZoom() { + g_Zoom = state->zoomTarget; + g_DrawLastFrame = 1; + updateReadback(); +} + void fling() { g_LastTouchDown = 0; g_PosVelocity = -state->flingVelocity * 4; |