Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DDisplayRefreshRateCtsActivity.java80 private int mNumFrames = 0; field in DisplayRefreshRateCtsActivity.Renderer
97 mNumFrames = 0; in onDrawFrame()
103 mNumFrames++; in onDrawFrame()
106 mResult.notifyResult((float)mNumFrames / elapsed); in onDrawFrame()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DWaveScopeView.java43 private int mNumFrames = 0; field in WaveScopeView
112 mNumFrames = numFrames; in setPCMFloatBuff()
140 if (mPointsBuffer == null || (mNumFrames * 4) > mPointsBuffer.length) { in setupPointBuffer()
141 mPointsBuffer = new float[mNumFrames * 4]; in setupPointBuffer()
143 float xIncr = (float) width / (float) mNumFrames; in setupPointBuffer()
266 canvas.drawText("" + mNumFrames + " frames", 0, height, mPaint); in onDraw()
273 … drawChannelFloat(canvas, mPCMFloatBuffer, mNumFrames, mNumChannels, channel, yOffset); in onDraw()
/cts/tests/openglperf2/src/android/opengl2/cts/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/tests/openglperf2/src/android/opengl2/cts/reference/
DGLReferenceActivity.java28 private int mNumFrames; field in GLReferenceActivity
41 mNumFrames = intent.getIntExtra(GLActivityIntentKeys.INTENT_EXTRA_NUM_FRAMES, 0); in onCreate()
46 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()
125 mUpdateTimes = new double[mNumFrames]; in run()
127 mRenderTimes = new double[mNumFrames]; in run()
130 mNumFrames, in run()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DPlanetsRenderingParam.java29 public int mNumFrames = 100; field in PlanetsRenderingParam
DGlPlanetsActivity.java89 param.mNumFrames = intent.getIntExtra(INTENT_EXTRA_NUM_FRAMES, param.mNumFrames); in onCreate()
DPlanetsRenderer.java114 if (mParam.mNumFrames > 0) { in PlanetsRenderer()
115 mFrameInterval = new int[mParam.mNumFrames]; in PlanetsRenderer()
237 if (mFrameCount < mParam.mNumFrames) { in onEglSwapBuffers()
241 if ((mFrameCount == mParam.mNumFrames) && (mParam.mNumFrames > 0)) { in onEglSwapBuffers()
243 float fps = ((float) mParam.mNumFrames) / ((float) timePassed) * 1000.0f; in onEglSwapBuffers()
/cts/tests/tests/opengl/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()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java362 public final int mNumFrames; field in VideoEncoderDecoderTest.RunResult
367 mNumFrames = 0; in RunResult()
373 mNumFrames = numFrames; in RunResult()
379 mNumFrames = numFrames; in RunResult()
472 int framesEncoded = encodingResult.mNumFrames; in doTest()
497 int framesDecoded = decoderResult.mNumFrames; in doTest()