/cts/tests/camera/src/android/hardware/cts/ |
D | CameraCtsActivity.java | 27 private SurfaceView mSurfaceView; field in CameraCtsActivity 36 mSurfaceView = (SurfaceView)findViewById(R.id.surface_view); in onCreate() 37 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); in onCreate() 40 mSurfaceView.setLayoutParams(lp); in onCreate() 41 mSurfaceView.getHolder().setFixedSize(LAYOUT_WIDTH, LAYOUT_HEIGHT); in onCreate() 42 mSurfaceView.getHolder().setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in onCreate() 46 return mSurfaceView; in getSurfaceView()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | MediaRecorderCameraActivity.java | 46 private SurfaceView mSurfaceView; field in MediaRecorderCameraActivity 75 mSurfaceView = (SurfaceView)this.findViewById(R.id.surface_view); in onResume() 76 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); in onResume() 79 mSurfaceView.setLayoutParams(lp); in onResume() 81 SurfaceHolder holder = mSurfaceView.getHolder(); in onResume() 127 mMediaRecorder.setPreviewDisplay(mSurfaceView.getHolder().getSurface()); in surfaceChanged()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | Camera2MultiViewCtsActivity.java | 32 private SurfaceView[] mSurfaceView = new SurfaceView[2]; field in Camera2MultiViewCtsActivity 43 mSurfaceView[0] = (SurfaceView) findViewById(R.id.surface_view_1); in onCreate() 44 mSurfaceView[1] = (SurfaceView) findViewById(R.id.surface_view_2); in onCreate() 62 return mSurfaceView[index]; in getSurfaceView()
|
D | Camera2SurfaceViewCtsActivity.java | 33 private SurfaceView mSurfaceView; field in Camera2SurfaceViewCtsActivity 46 mSurfaceView = (SurfaceView) findViewById(R.id.surface_view); in onCreate() 47 mSurfaceView.getHolder().addCallback(this); in onCreate() 51 return mSurfaceView; in getSurfaceView()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | MediaFrameworkTest.java | 34 private static SurfaceView mSurfaceView; field in MediaFrameworkTest 39 return mSurfaceView; in getSurfaceView() 47 mSurfaceView = (SurfaceView)findViewById(R.id.surface_view); in onCreate() 48 mSurfaceView.getHolder().addCallback(this); in onCreate()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | SurfaceViewTests.java | 130 private SurfaceView mSurfaceView; field in SurfaceViewTests.SurfaceViewHelper 142 int copyResult = copy.request(mSurfaceView, srcRect, dest); in takeScreenshot() 150 mSurfaceView = new SurfaceView(view.getContext()); in initializeView() 151 mSurfaceView.getHolder().addCallback(this); in initializeView() 152 root.addView(mSurfaceView, new FrameLayout.LayoutParams( in initializeView() 164 mSurfaceView.post(() -> { in surfaceChanged()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
D | PlayVideoActivity.java | 66 private SurfaceView mSurfaceView; field in PlayVideoActivity 81 mSurfaceView = (SurfaceView) findViewById(R.id.surface); in onCreate() 83 mHolder = mSurfaceView.getHolder(); in onCreate() 193 LayoutParams lp = mSurfaceView.getLayoutParams(); 202 mSurfaceView.setLayoutParams(lp);
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | SurfaceViewSurfaceValidatorTest.java | 74 SurfaceView mSurfaceView; field in SurfaceViewSurfaceValidatorTest.SurfaceFiller 77 mSurfaceView = new SurfaceView(c); in SurfaceFiller() 78 mSurfaceView.getHolder().addCallback(this); in SurfaceFiller() 127 parent.addView(sc.mSurfaceView, in start()
|
D | SurfaceViewCtsActivity.java | 30 private MockSurfaceView mSurfaceView; field in SurfaceViewCtsActivity 37 mSurfaceView = new MockSurfaceView(this); in onCreate() 38 setContentView(mSurfaceView); in onCreate() 42 return mSurfaceView; in getSurfaceView()
|
D | WindowTest.java | 99 private SurfaceView mSurfaceView; field in WindowTest 643 mActivityRule.runOnUiThread(() -> mSurfaceView = new SurfaceView(mActivity)); in testSetLocalFocus() 647 mSurfaceView.getHolder().addCallback(new SurfaceHolder.Callback() { in testSetLocalFocus() 664 mActivityRule.runOnUiThread(() -> mWindow.setContentView(mSurfaceView)); in testSetLocalFocus()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | SurfaceControlTestCase.java | 45 SurfaceView mSurfaceView; field in SurfaceControlTestCase.ParentSurfaceHolder 52 mPsc.addChildren(mSurfaceView.getSurfaceControl()); in surfaceCreated() 87 psh.mSurfaceView = (SurfaceView) view; in start()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | DetermineFovActivity.java | 55 private SurfaceView mSurfaceView; field in DetermineFovActivity 80 mSurfaceView = (SurfaceView) findViewById(R.id.camera_fov_photo_surface); in onCreate() 81 mSurfaceHolder = mSurfaceView.getHolder(); in onCreate() 183 SurfaceHolder holder = mSurfaceView.getHolder(); in drawContents()
|