summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/TweenCallback.java
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2009-08-01 00:01:20 -0700
committerJoe Onorato <joeo@android.com>2009-08-01 00:01:20 -0700
commite77c08d15f23c403293dbb40c6a36967de822c89 (patch)
tree0e89947ebd345e4d3934aa8686686cecf3b13aa3 /src/com/android/launcher2/TweenCallback.java
parent5979117dc26fe8939e7af3116401b4ea93a0adb2 (diff)
downloadandroid_packages_apps_Trebuchet-e77c08d15f23c403293dbb40c6a36967de822c89.tar.gz
android_packages_apps_Trebuchet-e77c08d15f23c403293dbb40c6a36967de822c89.tar.bz2
android_packages_apps_Trebuchet-e77c08d15f23c403293dbb40c6a36967de822c89.zip
Fade the workspace when the all apps drawer opens and closes.
Diffstat (limited to 'src/com/android/launcher2/TweenCallback.java')
-rw-r--r--src/com/android/launcher2/TweenCallback.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/com/android/launcher2/TweenCallback.java b/src/com/android/launcher2/TweenCallback.java
new file mode 100644
index 000000000..380a21774
--- /dev/null
+++ b/src/com/android/launcher2/TweenCallback.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2009 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.launcher2;
+
+interface TweenCallback {
+ void onTweenValueChanged(float value, float oldValue);
+ void onTweenStarted();
+ void onTweenFinished();
+}
+