Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DWaveScopeView.java39 private int mNumFrames = 0; field in WaveScopeView
60 mNumFrames = numFrames; in setPCM16Buff()
72 mNumFrames = numFrames; in setPCMFloatBuff()
90 mPointsBuffer = new float[mNumFrames * 4]; in setupPointBuffer()
92 float xIncr = (float) width / (float) mNumFrames; in setupPointBuffer()
176 drawChannel16(canvas, mPCM16Buffer, mNumFrames, mNumChannels, channel, yOffset); in onDraw()
183 … drawChannelFloat(canvas, mPCMFloatBuffer, mNumFrames, mNumChannels, channel, yOffset); in onDraw()
/cts/tests/tests/view/src/android/view/cts/
DDisplayRefreshRateCtsActivity.java78 private int mNumFrames = 0; field in DisplayRefreshRateCtsActivity.Renderer
95 mNumFrames = 0; in onDrawFrame()
101 mNumFrames++; in onDrawFrame()
104 mResult.notifyResult((float)mNumFrames / elapsed); in onDrawFrame()
/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/
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()
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()
/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/tests/openglperf/src/android/openglperf/cts/
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()
DGlPlanetsActivity.java89 param.mNumFrames = intent.getIntExtra(INTENT_EXTRA_NUM_FRAMES, param.mNumFrames); in onCreate()
DPlanetsRenderingParam.java29 public int mNumFrames = 100; field in PlanetsRenderingParam
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java664 public final int mNumFrames; field in VideoEncoderDecoderTest.RunResult
669 mNumFrames = 0; in RunResult()
675 mNumFrames = numFrames; in RunResult()
681 mNumFrames = numFrames; in RunResult()
777 int framesEncoded = encodingResult.mNumFrames; in doTest()
799 int framesDecoded = decoderResult.mNumFrames; in doTest()