summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/PinchAnimationManager.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2016-07-14 15:30:24 -0700
committerSunny Goyal <sunnygoyal@google.com>2016-07-14 15:30:39 -0700
commit857bfcf3247ef765e16ce595c10e4c1fa5c2a69b (patch)
tree11f7a1b19d0b26fd34e3bd452cf29cacc769b2bb /src/com/android/launcher3/PinchAnimationManager.java
parentff9155674d423fcca84442c1f0817adc16f5544b (diff)
downloadandroid_packages_apps_Trebuchet-857bfcf3247ef765e16ce595c10e4c1fa5c2a69b.tar.gz
android_packages_apps_Trebuchet-857bfcf3247ef765e16ce595c10e4c1fa5c2a69b.tar.bz2
android_packages_apps_Trebuchet-857bfcf3247ef765e16ce595c10e4c1fa5c2a69b.zip
Fixing some comments
Change-Id: I9e6eaaf9ee145e2f37dfb97a3259509a72cd73af
Diffstat (limited to 'src/com/android/launcher3/PinchAnimationManager.java')
-rw-r--r--src/com/android/launcher3/PinchAnimationManager.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/launcher3/PinchAnimationManager.java b/src/com/android/launcher3/PinchAnimationManager.java
index 38079454d..baeb77c82 100644
--- a/src/com/android/launcher3/PinchAnimationManager.java
+++ b/src/com/android/launcher3/PinchAnimationManager.java
@@ -149,11 +149,11 @@ public class PinchAnimationManager {
if (startState == OVERVIEW) {
animateOverviewPanelButtons(goingTowards == OVERVIEW);
} else if (startState == NORMAL) {
- animateHotseatAndPageIndicator(goingTowards == NORMAL);
+ animateHotseatAndQsb(goingTowards == NORMAL);
}
} else if (threshold == PinchThresholdManager.THRESHOLD_TWO) {
if (startState == OVERVIEW) {
- animateHotseatAndPageIndicator(goingTowards == NORMAL);
+ animateHotseatAndQsb(goingTowards == NORMAL);
animateScrim(goingTowards == OVERVIEW);
} else if (startState == NORMAL) {
animateOverviewPanelButtons(goingTowards == OVERVIEW);
@@ -188,7 +188,7 @@ public class PinchAnimationManager {
}
}
- private void animateHotseatAndPageIndicator(boolean show) {
+ private void animateHotseatAndQsb(boolean show) {
startAnimator(INDEX_HOTSEAT,
mWorkspace.createHotseatAlphaAnimator(show ? 1 : 0), THRESHOLD_ANIM_DURATION);
startAnimator(INDEX_QSB, mWorkspace.mQsbAlphaController.animateAlphaAtIndex(