summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherTransitionable.java
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2015-07-23 17:08:47 -0700
committerHyunyoung Song <hyunyoungs@google.com>2015-07-23 17:08:47 -0700
commit680c92febe88260b74f101838a9734b8e10a704c (patch)
treee3294c3b2b32cd3532fa9b239326b1aaaa79fc40 /src/com/android/launcher3/LauncherTransitionable.java
parent494d2237b8d7b892902604c18098127e77372509 (diff)
parent13ef17a37e683b8ad5800e9f542b411180fbec2f (diff)
downloadandroid_packages_apps_Trebuchet-680c92febe88260b74f101838a9734b8e10a704c.tar.gz
android_packages_apps_Trebuchet-680c92febe88260b74f101838a9734b8e10a704c.tar.bz2
android_packages_apps_Trebuchet-680c92febe88260b74f101838a9734b8e10a704c.zip
resolved conflicts for merge of 13ef17a3 to cw-e-dev
b/22609402 Change-Id: I3753db1f922923a6b462fa75a5c0d826e0413f95
Diffstat (limited to 'src/com/android/launcher3/LauncherTransitionable.java')
-rw-r--r--src/com/android/launcher3/LauncherTransitionable.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/com/android/launcher3/LauncherTransitionable.java b/src/com/android/launcher3/LauncherTransitionable.java
new file mode 100644
index 000000000..49af6928a
--- /dev/null
+++ b/src/com/android/launcher3/LauncherTransitionable.java
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2015 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.launcher3;
+
+/**
+ * An interface to get callbacks during a launcher transition.
+ */
+public interface LauncherTransitionable {
+ void onLauncherTransitionPrepare(Launcher l, boolean animated, boolean toWorkspace);
+ void onLauncherTransitionStart(Launcher l, boolean animated, boolean toWorkspace);
+ void onLauncherTransitionStep(Launcher l, float t);
+ void onLauncherTransitionEnd(Launcher l, boolean animated, boolean toWorkspace);
+}