Searched refs:totalShift (Results 1 – 2 of 2) sorted by relevance
126 float totalShift = endVerticalShift - startVerticalShift; in initCurrentAnimation() local128 final StateAnimationConfig config = totalShift == 0 ? new StateAnimationConfig() in initCurrentAnimation()148 totalShift = LayoutUtils.getShelfTrackingDistance(mLauncher, in initCurrentAnimation()156 if (totalShift == 0) { in initCurrentAnimation()157 totalShift = Math.signum(mFromState.ordinal - mToState.ordinal) in initCurrentAnimation()160 return 1 / totalShift; in initCurrentAnimation()
187 float totalShift = endVerticalShift - startVerticalShift; in initCurrentAnimation() local188 return 1 / totalShift; in initCurrentAnimation()