Home
last modified time | relevance | path

Searched refs:mScrollTrend (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/ui/
DModeTransitionView.java86 private float mScrollTrend; field in ModeTransitionView
99 mScrollTrend = 0f; in ModeTransitionView()
108 mScrollTrend = 0.3f * mScrollTrend + 0.7f * distanceY; in ModeTransitionView()
313 if (mScrollTrend >= 0 && mAnimationType == PULL_UP_SHADE) { in snap()
316 } else if (mScrollTrend <= 0 && mAnimationType == PULL_DOWN_SHADE) { in snap()
319 } else if (mScrollTrend < 0 && mAnimationType == PULL_UP_SHADE) { in snap()
322 } else if (mScrollTrend > 0 && mAnimationType == PULL_DOWN_SHADE) { in snap()