Fixing some comments

Change-Id: I9e6eaaf9ee145e2f37dfb97a3259509a72cd73af
This commit is contained in:
Sunny Goyal
2016-07-14 15:30:24 -07:00
parent ff9155674d
commit 857bfcf324
2 changed files with 8 additions and 4 deletions

View File

@@ -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(