summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/AllAppsPagedView.java
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2010-10-02 16:01:03 -0700
committerMichael Jurka <mikejurka@google.com>2010-10-10 15:03:45 -0700
commit3e7c7634531302271270c8cf418abc959d621cbc (patch)
treef042105a58d77405faabe6667fd5f79b3415e3fb /src/com/android/launcher2/AllAppsPagedView.java
parent5eb7fff487bf98cc6696f32274ce8ad2afee7a95 (diff)
downloadandroid_packages_apps_Trebuchet-3e7c7634531302271270c8cf418abc959d621cbc.tar.gz
android_packages_apps_Trebuchet-3e7c7634531302271270c8cf418abc959d621cbc.tar.bz2
android_packages_apps_Trebuchet-3e7c7634531302271270c8cf418abc959d621cbc.zip
updated Workspace thumbnail behavior
- in All Apps mode, fade thumbnails completely - while dragging, have thumbnails re-appear - while dragging, give screen thumbnails that can accept drops a different appearance (green outline instead of blue) Change-Id: I72ddf8a0f1947d35ef11514b7d4eea9ae5eee6e2
Diffstat (limited to 'src/com/android/launcher2/AllAppsPagedView.java')
-rw-r--r--src/com/android/launcher2/AllAppsPagedView.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/launcher2/AllAppsPagedView.java b/src/com/android/launcher2/AllAppsPagedView.java
index b3929597d..cbb46e2fd 100644
--- a/src/com/android/launcher2/AllAppsPagedView.java
+++ b/src/com/android/launcher2/AllAppsPagedView.java
@@ -224,6 +224,7 @@ public class AllAppsPagedView extends PagedView
ApplicationInfo app = (ApplicationInfo) v.getTag();
app = new ApplicationInfo(app);
+ mLauncher.getWorkspace().onDragStartedWithItemSpans(1, 1);
mDragController.startDrag(v, this, app, DragController.DRAG_ACTION_COPY);
return true;
}
@@ -234,6 +235,7 @@ public class AllAppsPagedView extends PagedView
if (target != this) {
endChoiceMode();
}
+ mLauncher.getWorkspace().onDragStopped();
}
@Override