Home
last modified time | relevance | path

Searched refs:surfaceView (Results 1 – 4 of 4) sorted by relevance

/cts/tests/openglperf2/src/android/opengl2/cts/primitive/
DGLPrimitiveActivity.java64 SurfaceView surfaceView = new SurfaceView(this); in onCreate() local
65 surfaceView.getHolder().addCallback(new SurfaceHolder.Callback() { in onCreate()
78 setContentView(surfaceView); in onCreate()
/cts/tests/openglperf2/src/android/opengl2/cts/reference/
DGLGameActivity.java59 SurfaceView surfaceView = new SurfaceView(this); in onCreate() local
60 surfaceView.getHolder().addCallback(new SurfaceHolder.Callback() { in onCreate()
73 setContentView(surfaceView); in onCreate()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java628 private SurfaceView surfaceView; field in SurfaceViewFactory
638 surfaceView = null; in release()
650 surfaceView = new SurfaceView(context); in createView()
651 surfaceHolder = surfaceView.getHolder(); in createView()
653 return surfaceView; in createView()
676 surfaceViewSnapshot = new SurfaceViewSnapshot(surfaceView, VIEW_WIDTH, VIEW_HEIGHT); in getVideoViewSnapshot()
1131 public SurfaceViewSnapshot(final SurfaceView surfaceView, final int width, final int height) { in SurfaceViewSnapshot() argument
1141 copyResult = copyHelper.request(surfaceView, bitmap); in SurfaceViewSnapshot()
/cts/tests/tests/view/src/android/view/cts/
DWindowTest.java76 private SurfaceView surfaceView; field in WindowTest
666 surfaceView = new SurfaceView(mContext); in testSetLocalFocus()
672 surfaceView.getHolder().addCallback(new SurfaceHolder.Callback() { in testSetLocalFocus()
691 mWindow.setContentView(surfaceView); in testSetLocalFocus()