/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | GamePerformanceActivity.java | 32 private CustomSurfaceView mSurfaceView = null; field in GamePerformanceActivity 38 if (mSurfaceView != null) { in attachSurfaceView() 49 mSurfaceView = new CustomSurfaceView(GamePerformanceActivity.this); in attachSurfaceView() 50 mRootLayout.addView(mSurfaceView); in attachSurfaceView() 55 mSurfaceView.waitForSurfaceReady(); in attachSurfaceView() 68 if (mSurfaceView != null) { in attachOpenGLView() 69 mRootLayout.removeView(mSurfaceView); in attachOpenGLView() 70 mSurfaceView = null; in attachOpenGLView() 104 if (mSurfaceView != null) { in resetFrameTimes() 105 mSurfaceView.resetFrameTimes(); in resetFrameTimes() [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MovingSurfaceViewActivity.java | 33 SurfaceView mSurfaceView; field in MovingSurfaceViewActivity 48 mSurfaceView.setScaleX(mScaled ? 1.6f : 1f); in MySurfaceView() 49 mSurfaceView.setScaleY(mScaled ? 0.8f : 1f); in MySurfaceView() 85 mSurfaceView = new MySurfaceView(this); in onCreate() 86 mSurfaceView.getHolder().addCallback(this); in onCreate() 91 content.addView(mSurfaceView, new FrameLayout.LayoutParams( in onCreate() 93 mAnimator = ObjectAnimator.ofFloat(mSurfaceView, "myTranslationY", in onCreate()
|
D | GetBitmapSurfaceViewActivity.java | 39 private SurfaceView mSurfaceView; field in GetBitmapSurfaceViewActivity 47 mSurfaceView = new SurfaceView(this); in onCreate() 48 mSurfaceView.getHolder().addCallback(this); in onCreate() 54 mSurfaceView.getWidth(), mSurfaceView.getHeight(), in onCreate() 56 PixelCopy.request(mSurfaceView, b, in onCreate() 71 }, mSurfaceView.getHandler()); in onCreate() 74 content.addView(mSurfaceView, new FrameLayout.LayoutParams(500, 400, Gravity.CENTER)); in onCreate()
|
D | HardwareCanvasSurfaceViewActivity.java | 40 private SurfaceView mSurfaceView; field in HardwareCanvasSurfaceViewActivity 49 mSurfaceView = new SurfaceView(this); in onCreate() 50 mSurfaceView.getHolder().addCallback(this); in onCreate() 56 mSurfaceView.getWidth(), mSurfaceView.getHeight(), in onCreate() 58 PixelCopy.request(mSurfaceView, b, in onCreate() 73 }, mSurfaceView.getHandler()); in onCreate() 80 layout.addView(mSurfaceView, LinearLayout.LayoutParams.MATCH_PARENT, in onCreate()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/ |
D | SurfaceRenderFilter.java | 50 private FilterSurfaceView mSurfaceView; field in SurfaceRenderFilter 85 if (mSurfaceView == null) { in setupPorts() 120 MutableFrameFormat screenFormat = ImageFormat.create(mSurfaceView.getWidth(), in prepare() 121 mSurfaceView.getHeight(), in prepare() 133 mSurfaceView.unbind(); in open() 134 mSurfaceView.bindToListener(this, context.getGLEnvironment()); in open() 148 GLEnvironment glEnv = mSurfaceView.getGLEnv(); in process() 178 glEnv.activateSurfaceWithId(mSurfaceView.getSurfaceId()); in process() 198 mSurfaceView.unbind(); in close()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | SurfaceAndTextureViews.java | 42 SimpleSurfaceView mSurfaceView; field in SurfaceAndTextureViews 59 mSurfaceView = new SimpleSurfaceView(this); in onCreate() 60 mSurfaceView.setId(1); in onCreate() 61 mSurfaceView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE)); in onCreate() 62 container.addView(mSurfaceView); in onCreate() 82 … mSurfaceView.setLayoutParams(new LayoutParams(SMALL_SIZE * 2, SMALL_SIZE)); in onCreate() 85 mSurfaceView.mColor = SimpleSurfaceView.LARGE_COLOR; in onCreate() 89 mSurfaceView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE)); in onCreate() 92 mSurfaceView.mColor = SimpleSurfaceView.SMALL_COLOR; in onCreate()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvView.java | 85 private SurfaceView mSurfaceView; field in TvView 234 if (mSurfaceView != null) { in setZOrderMediaOverlay() 237 mSurfaceView.setZOrderOnTop(false); in setZOrderMediaOverlay() 238 mSurfaceView.setZOrderMediaOverlay(isMediaOverlay); in setZOrderMediaOverlay() 263 if (mSurfaceView != null) { in setZOrderOnTop() 264 mSurfaceView.setZOrderMediaOverlay(false); in setZOrderOnTop() 265 mSurfaceView.setZOrderOnTop(onTop); in setZOrderOnTop() 710 mSurfaceView.layout(mSurfaceViewLeft, mSurfaceViewTop, mSurfaceViewRight, in onLayout() 713 mSurfaceView.layout(0, 0, right - left, bottom - top); in onLayout() 719 mSurfaceView.measure(widthMeasureSpec, heightMeasureSpec); in onMeasure() [all …]
|
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
D | CameraTooActivity.java | 72 SurfaceView mSurfaceView; field in CameraTooActivity 137 mSurfaceView = (SurfaceView) layout.findViewById(R.id.mainSurfaceView); in onResume() 138 mSurfaceView.getHolder().addCallback(mSurfaceHolderCallback); in onResume() 139 setContentView(mSurfaceView); in onResume() 153 mSurfaceView.getHolder().setFixedSize(/*width*/0, /*height*/0); in onPause() 262 mSurfaceView.getWidth() + 'x' + mSurfaceView.getHeight()); 268 SurfaceHolder surfaceHolder = mSurfaceView.getHolder(); 316 mSurfaceView.getHolder().getSurface(), mCaptureBuffer.getSurface()); 347 SurfaceHolder holder = mSurfaceView.getHolder();
|
/frameworks/base/core/java/android/app/ |
D | ActivityView.java | 74 private final SurfaceView mSurfaceView; field in ActivityView 122 mSurfaceView = new SurfaceView(context); in ActivityView() 124 mSurfaceView.getHolder().addCallback(mSurfaceCallback); in ActivityView() 125 addView(mSurfaceView); in ActivityView() 199 mSurfaceView.setCornerRadius(cornerRadius); in setCornerRadius() 346 mSurfaceView.layout(0 /* left */, 0 /* top */, r - l /* right */, b - t /* bottom */); in onLayout() 418 mSurfaceView.getSurfaceControl()).apply(); in surfaceCreated() 449 mSurfaceView.setVisibility(visibility); in onVisibilityChanged() 493 final int width = mSurfaceView.getWidth(); in initVirtualDisplay() 494 final int height = mSurfaceView.getHeight(); in initVirtualDisplay() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | Camera2SurfaceViewActivity.java | 36 private SurfaceView mSurfaceView; field in Camera2SurfaceViewActivity 46 mSurfaceView = findViewById(R.id.surface_view); in onCreate() 47 mSurfaceView.getHolder().addCallback(this); in onCreate() 54 return mSurfaceView; in getSurfaceView()
|
D | MediaFrameworkTest.java | 55 public static SurfaceView mSurfaceView; field in MediaFrameworkTest 79 mSurfaceView = (SurfaceView)findViewById(R.id.surface_view); in onCreate() 81 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); in onCreate() 82 mSurfaceHolder = mSurfaceView.getHolder(); in onCreate()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
D | DemoPresentation.java | 43 private GLSurfaceView mSurfaceView; field in DemoPresentation 66 mSurfaceView = (GLSurfaceView)findViewById(R.id.surface_view); in onCreate() 67 mSurfaceView.setRenderer(mRenderer); in onCreate()
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
D | DisplaySinkService.java | 41 private SurfaceView mSurfaceView; field in DisplaySinkService 62 if (mSurfaceView != surfaceView) { in setSurfaceView() 63 final SurfaceView oldSurfaceView = mSurfaceView; in setSurfaceView() 64 mSurfaceView = surfaceView; in setSurfaceView()
|
D | SinkActivity.java | 71 private SurfaceView mSurfaceView; field in SinkActivity 104 mSurfaceView = findViewById(R.id.surfaceView); in onCreate() 105 mSurfaceView.setOnTouchListener(new View.OnTouchListener() { in onCreate() 294 mSurfaceView.getWidth(), mSurfaceView.getHeight()); in registerHid() 410 mDisplaySinkService.setSurfaceView(mSurfaceView); in startServices() 427 mDisplaySinkService.setSurfaceView(mSurfaceView); in onAttachedToWindow()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/ |
D | CameraFunctionalTest.java | 121 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraExposureCompensation() 157 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraFlashModes() 188 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraFocusModes() 219 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraWhiteBalance()
|
D | CameraPairwiseTest.java | 383 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in genericPairwiseTestCase()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | CameraTest.java | 196 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in checkTakePicture() 212 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in checkPreviewCallback()
|
D | CodecTest.java | 281 mMediaPlayer.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in videoHeight() 317 mMediaPlayer.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in videoWidth() 345 mp.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in videoSeekTo() 738 mMediaPlayer.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in prepareAsyncCallback() 867 mMediaPlayer.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in playMediaSamples()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | CameraStressTest.java | 136 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressCameraSceneModes() 180 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressCameraZoom()
|
D | MediaRecorderStressTest.java | 203 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in recordVideoAndPlayback() 252 mp.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in recordVideoAndPlayback() 302 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressTimeLapse()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
D | MediaRecorderTest.java | 100 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in recordVideo() 132 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in validateGetSurface() 331 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in recordVideoWithPara() 392 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in invalidRecordSetting() 417 mediaPlayer.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in getOutputVideoProperty()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
D | MediaPlayerPerformance.java | 190 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in stressCameraPreview() 209 mp.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in mediaStressPlayback() 244 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in stressVideoRecord()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CameraStreamer.java | 481 private SurfaceView mSurfaceView; field in CameraStreamer.CamFrameHandlerGB 716 if (mSurfaceView == null) { in getPreviewDisplay() 717 mSurfaceView = mRunner.getContext().getDummySurfaceView(); in getPreviewDisplay() 719 return mSurfaceView; in getPreviewDisplay()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 2627 Landroid/app/ActivityView;->mSurfaceView:Landroid/view/SurfaceView; 44963 Landroid/media/tv/TvView;->mSurfaceView:Landroid/view/SurfaceView;
|