Home
last modified time | relevance | path

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

/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DElementLayoutActivity.java42 private static float mIndicatorState; field in ElementLayoutActivity
56 mIndicatorState = 0.0f; in onCreate()
144 int color = (int)((float)colorB * (1.0f - mIndicatorState) + in onPreDraw()
145 (float)colorI * mIndicatorState); in onPreDraw()
153 mIndicatorState += (3 / 60.0f); // around 3 times per second in onPreDraw()
154 mIndicatorState = mIndicatorState - (int)mIndicatorState; in onPreDraw()