Home
last modified time | relevance | path

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

/cts/tests/framework/base/activitymanager/app/src/android/server/am/
DVirtualDisplayActivity.java61 final SurfaceView surfaceView; field in VirtualDisplayActivity.VirtualDisplayRequest
64 VirtualDisplayRequest(SurfaceView surfaceView, Bundle extras) { in VirtualDisplayRequest() argument
65 this.surfaceView = surfaceView; in VirtualDisplayRequest()
73 final SurfaceView surfaceView; field in VirtualDisplayActivity.VirtualDisplayEntry
77 VirtualDisplayEntry(VirtualDisplay display, SurfaceView surfaceView, int density, in VirtualDisplayEntry() argument
80 this.surfaceView = surfaceView; in VirtualDisplayEntry()
132 final SurfaceView surfaceView = new SurfaceView(this); in createVirtualDisplay() local
133 surfaceView.setLayoutParams(new ViewGroup.LayoutParams( in createVirtualDisplay()
135 surfaceView.getHolder().addCallback(this); in createVirtualDisplay()
136 mPendingDisplayRequests.put(surfaceView.getHolder().getSurface(), in createVirtualDisplay()
[all …]
/cts/tests/tests/view/src/android/view/cts/
DSurfaceViewSyncTest.java104 SurfaceView surfaceView = new SurfaceView(context);
107 surfaceView.setWillNotDraw(false);
109 return surfaceView;
113 SurfaceView surfaceView = new SurfaceView(context);
116 surfaceView.setWillNotDraw(false);
118 surfaceView.getHolder().setFixedSize(640, 480);
119 surfaceView.getHolder().addCallback(new SurfaceHolder.Callback() {
133 return surfaceView;
137 SurfaceView surfaceView = new SurfaceView(context);
140 surfaceView.setWillNotDraw(false);
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanPreTransformCtsActivity.java43 SurfaceView surfaceView = (SurfaceView) findViewById(R.id.surfaceview); in onCreate() local
44 mSurface = surfaceView.getHolder().getSurface(); in onCreate()
/cts/tests/openglperf2/src/android/opengl2/cts/primitive/
DGLPrimitiveActivity.java65 SurfaceView surfaceView = new SurfaceView(this); in onCreate() local
66 surfaceView.getHolder().addCallback(new SurfaceHolder.Callback() { in onCreate()
79 setContentView(surfaceView); in onCreate()
/cts/tests/openglperf2/src/android/opengl2/cts/reference/
DGLGameActivity.java60 SurfaceView surfaceView = new SurfaceView(this); in onCreate() local
61 surfaceView.getHolder().addCallback(new SurfaceHolder.Callback() { in onCreate()
74 setContentView(surfaceView); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Fragments/
DComplexMovementFragment.java77 GLSurfaceView surfaceView = new GLSurfaceView(getActivity()); in onActivityCreated() local
78 surfaceView.setEGLContextClientVersion(2); in onActivityCreated()
80 surfaceView.setRenderer(mRenderer); in onActivityCreated()
82 mLLCameraLayout.addView(surfaceView); in onActivityCreated()
DRobustnessFragment.java79 GLSurfaceView surfaceView = new GLSurfaceView(getActivity()); in onActivityCreated() local
80 surfaceView.setEGLContextClientVersion(2); in onActivityCreated()
82 surfaceView.setRenderer(mRenderer); in onActivityCreated()
84 mLLCameraLayout.addView(surfaceView); in onActivityCreated()
DAccuracyFragment.java89 GLSurfaceView surfaceView = new GLSurfaceView(getActivity()); in onActivityCreated() local
90 surfaceView.setEGLContextClientVersion(2); in onActivityCreated()
92 surfaceView.setRenderer(mRenderer); in onActivityCreated()
94 mLLCameraLayout.addView(surfaceView); in onActivityCreated()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java830 private SurfaceView surfaceView; field in SurfaceViewFactory
837 surfaceView = null; in release()
852 surfaceView = new SurfaceView(context); in createView()
853 surfaceHolder = surfaceView.getHolder(); in createView()
855 return surfaceView; in createView()
884 return new SurfaceViewSnapshot(surfaceView, VIEW_WIDTH, VIEW_HEIGHT); in getVideoViewSnapshot()
1368 private final SurfaceView surfaceView; field in SurfaceViewSnapshot
1375 public SurfaceViewSnapshot(SurfaceView surfaceView, int width, int height) { in SurfaceViewSnapshot() argument
1376 this.surfaceView = surfaceView; in SurfaceViewSnapshot()
1391 while ((copyResult = copyHelper.request(surfaceView, bitmap)) != PixelCopy.SUCCESS in run()