Searched refs:mFrameRates (Results 1 – 1 of 1) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | ViewFrameRateActivity.java | 40 private final int[] mFrameRates = new int[] { 120, 90, 80, 60, 48, 30, 24, 15, 12, 8, 4, 2, 1 }; field in ViewFrameRateActivity 41 private final long[] mFrameRateCutoffs = new long[mFrameRates.length - 1]; 49 long low = 1_000_000_000L / mFrameRates[i]; in ViewFrameRateActivity() 50 long high = 1_000_000_000L / mFrameRates[i + 1]; in ViewFrameRateActivity() 173 : Math.min(mFrameRates.length - 1, ~searchIndex); in onCreate() 174 int newRenderRate = mFrameRates[frameRateIndex]; in onCreate()
|