Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSurfaceViewSyncValidatorTestCase.java59 private RenderingThread mRenderingThread; field in SurfaceViewSyncValidatorTestCase
71 mRenderingThread = new RenderingThread(holder);
72 mRenderingThread.start();
80 mRenderingThread.setFrameCallback(frameCallback));
88 mRenderingThread.stopRendering();
120 if (mRenderingThread == null || mSyncGroup != null || !mRenderingThread.isReadyToSync()) {
134 mRenderingThread.pauseRendering();
/frameworks/base/tests/SurfaceViewSyncTest/src/com/android/test/
DSurfaceViewSyncActivity.java50 private RenderingThread mRenderingThread; field in SurfaceViewSyncActivity
73 mRenderingThread = new RenderingThread(mSurfaceView.getHolder()); in onCreate()
106 mRenderingThread.startRendering(); in surfaceCreated()
107 mRenderingThread.renderFrame(null, mSurfaceView.getWidth(), mSurfaceView.getHeight()); in surfaceCreated()
114 mRenderingThread.renderFrame(null, width, height); in surfaceChanged()
118 mRenderingThread.renderFrame(frameCallback, width, height)); in surfaceChanged()
122 mRenderingThread.renderFrame(null, width, height); in surfaceChanged()
128 mRenderingThread.stopRendering(); in surfaceDestroyed()