Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/ui/
DModeTransitionView.java122 float shadeHeight; in updateShade() local
127 shadeHeight = getScrollDistance(); in updateShade()
131 shadeHeight = getScrollDistance() * (-1); in updateShade()
135 if (shadeHeight < mHeight / 2 || mHeight == 0) { in updateShade()
138 int alpha = ((int) shadeHeight - mHeight / 2) * ALPHA_FULLY_OPAQUE in updateShade()