Home
last modified time | relevance | path

Searched refs:getHolder (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterSurfaceView.java44 getHolder().addCallback(this); in FilterSurfaceView()
49 getHolder().addCallback(this); in FilterSurfaceView()
78 mListener.surfaceCreated(getHolder()); in bindToListener()
82 mListener.surfaceChanged(getHolder(), mFormat, mWidth, mHeight); in bindToListener()
145 mSurfaceId = mGLEnv.registerSurface(getHolder().getSurface()); in registerSurface()
147 throw new RuntimeException("Could not register Surface: " + getHolder().getSurface() + in registerSurface()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraFunctionalTest.java121 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()
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java138 mSurfaceView.getHolder().addCallback(mSurfaceHolderCallback); in onResume()
153 mSurfaceView.getHolder().setFixedSize(/*width*/0, /*height*/0); in onPause()
268 SurfaceHolder surfaceHolder = mSurfaceView.getHolder();
316 mSurfaceView.getHolder().getSurface(), mCaptureBuffer.getSurface());
347 SurfaceHolder holder = mSurfaceView.getHolder();
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DCustomSurfaceView.java93 getHolder().addCallback(this); in CustomSurfaceView()
98 getHolder().setFormat(pixelFormat); in setMode()
/frameworks/base/media/java/android/media/session/
DMediaSessionLegacyHelper.java245 SessionHolder holder = getHolder(pi, true); in addRccListener()
271 SessionHolder holder = getHolder(pi, false); in removeRccListener()
289 SessionHolder holder = getHolder(pi, true); in addMediaButtonListener()
315 SessionHolder holder = getHolder(pi, false); in removeMediaButtonListener()
363 private SessionHolder getHolder(PendingIntent pi, boolean createIfMissing) { in getHolder() method in MediaSessionLegacyHelper
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCameraTest.java197 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in checkTakePicture()
213 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in checkPreviewCallback()
DCodecTest.java274 mMediaPlayer.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in videoHeight()
310 mMediaPlayer.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in videoWidth()
338 mp.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in videoSeekTo()
731 mMediaPlayer.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in prepareAsyncCallback()
823 mMediaPlayer.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in playMediaSamples()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java100 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/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DDisplaySinkService.java70 final SurfaceHolder holder = oldSurfaceView.getHolder(); in setSurfaceView()
81 final SurfaceHolder holder = surfaceView.getHolder(); in setSurfaceView()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCameraStressTest.java134 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressCameraSceneModes()
178 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressCameraZoom()
DMediaRecorderStressTest.java203 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in recordVideoAndPlayback()
252 mp.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in recordVideoAndPlayback()
302 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressTimeLapse()
/frameworks/native/opengl/tools/glgen/stubs/egl/
DeglCreateWindowSurface.java28 sur = surfaceView.getHolder().getSurface(); in eglCreateWindowSurface()
/frameworks/base/rs/java/android/renderscript/
DRSSurfaceView.java66 SurfaceHolder holder = getHolder(); in init()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DSurfaceView.java52 public SurfaceHolder getHolder() { in getHolder() method in SurfaceView
/frameworks/base/graphics/java/android/view/
DPixelCopy.java104 request(source.getHolder().getSurface(), dest, listener, listenerThread); in request()
/frameworks/base/core/java/android/widget/
DVideoView.java215 getHolder().addCallback(mSHCallback); in initVideoView()
216 getHolder().setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in initVideoView()
408 getHolder().setFixedSize(mVideoWidth, mVideoHeight);
448 getHolder().setFixedSize(mVideoWidth, mVideoHeight);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java190 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in stressCameraPreview()
209 mp.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in mediaStressPlayback()
244 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in stressVideoRecord()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewActivity.java47 mSurfaceView.getHolder().addCallback(this); in onCreate()
DMediaFrameworkTest.java82 mSurfaceHolder = mSurfaceView.getHolder(); in onCreate()
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
DCameraView.java87 getHolder().addCallback(callback); in CameraView()
148 getHolder().setFixedSize(outputSize.getWidth(), outputSize.getHeight()); in resume()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMovingSurfaceViewActivity.java86 mSurfaceView.getHolder().addCallback(this); in onCreate()
DGetBitmapSurfaceViewActivity.java48 mSurfaceView.getHolder().addCallback(this); in onCreate()
DHardwareCanvasSurfaceViewActivity.java50 mSurfaceView.getHolder().addCallback(this); in onCreate()
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DNativeMedia.java82 mSurfaceHolder1 = mSurfaceView1.getHolder(); in onCreate()
104 mSurfaceHolder2 = mSurfaceView2.getHolder(); in onCreate()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DSurfaceHolderTarget.java71 SurfaceHolder holder = ((SurfaceView)view).getHolder(); in onBindToView()

12