Home
last modified time | relevance | path

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

/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/primitive/
DGLPrimitiveActivity.java41 private int mNumFrames; field in GLPrimitiveActivity
54 mNumFrames = intent.getIntExtra(GLActivityIntentKeys.INTENT_EXTRA_NUM_FRAMES, 0); in onCreate()
61 Log.i(TAG, "Num Frames: " + mNumFrames); in onCreate()
142 success = startBenchmark(workload, mNumFrames, times); in run()
148 mFpsValues[i] = mNumFrames * 1000.0f / (times[1] - times[0]); in run()
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/reference/
DGLReferenceActivity.java29 private int mNumFrames; field in GLReferenceActivity
42 mNumFrames = intent.getIntExtra(GLActivityIntentKeys.INTENT_EXTRA_NUM_FRAMES, 0); in onCreate()
47 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_NUM_FRAMES, mNumFrames); in onCreate()
DGLGameActivity.java43 private int mNumFrames; field in GLGameActivity
57 mNumFrames = intent.getIntExtra(GLActivityIntentKeys.INTENT_EXTRA_NUM_FRAMES, 1000); in onCreate()
124 mUpdateTimes = new double[mNumFrames]; in run()
126 mRenderTimes = new double[mNumFrames]; in run()
129 mNumFrames, in run()
/cts/tests/tests/view/src/android/view/cts/
DDisplayRefreshRateTest.java101 private int mNumFrames = 0; field in DisplayRefreshRateTest.Renderer
118 mNumFrames = 0; in onDrawFrame()
124 mNumFrames++; in onDrawFrame()
127 mResult.notifyResult((float)mNumFrames / elapsed); in onDrawFrame()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DPlanetsRenderingParam.java29 public int mNumFrames = 100; field in PlanetsRenderingParam
DGlPlanetsActivity.java82 param.mNumFrames = intent.getIntExtra(INTENT_EXTRA_NUM_FRAMES, param.mNumFrames); in onCreate()
DPlanetsRenderer.java112 if (mParam.mNumFrames > 0) { in PlanetsRenderer()
113 mFrameInterval = new int[mParam.mNumFrames]; in PlanetsRenderer()
234 if (mFrameCount < mParam.mNumFrames) { in onEglSwapBuffers()
238 if ((mFrameCount == mParam.mNumFrames) && (mParam.mNumFrames > 0)) { in onEglSwapBuffers()
240 float fps = ((float) mParam.mNumFrames) / ((float) timePassed) * 1000.0f; in onEglSwapBuffers()
/cts/tests/tests/graphics/src/android/opengl/cts/
DEglConfigGLSurfaceView.java78 private int mNumFrames; field in EglConfigGLSurfaceView.Renderer
106 if (++mNumFrames == 10) { in onDrawFrame()
135 private int mNumFrames; field in EglConfigGLSurfaceView.Renderer20
232 if (++mNumFrames == 10) { in onDrawFrame()