Home
last modified time | relevance | path

Searched refs:getHolder (Results 1 – 25 of 44) 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/GamePerformance/src/android/gameperformance/
DCustomSurfaceView.java64 getHolder().addCallback(this); in CustomSurfaceView()
65 getHolder().setFormat(PixelFormat.OPAQUE); in CustomSurfaceView()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DCustomSurfaceView.java93 getHolder().addCallback(this); in CustomSurfaceView()
98 getHolder().setFormat(pixelFormat); in setMode()
/frameworks/base/graphics/java/android/view/
DPixelCopy.java107 request(source.getHolder().getSurface(), dest, listener, listenerThread); in request()
132 request(source.getHolder().getSurface(), srcRect, in request()
/frameworks/base/media/java/android/media/session/
DMediaSessionLegacyHelper.java204 SessionHolder holder = getHolder(pi, true); in addRccListener()
230 SessionHolder holder = getHolder(pi, false); in removeRccListener()
248 SessionHolder holder = getHolder(pi, true); in addMediaButtonListener()
274 SessionHolder holder = getHolder(pi, false); in removeMediaButtonListener()
322 private SessionHolder getHolder(PendingIntent pi, boolean createIfMissing) { in getHolder() method in MediaSessionLegacyHelper
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCameraTest.java196 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in checkTakePicture()
212 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in checkPreviewCallback()
DCodecTest.java281 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/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.java136 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressCameraSceneModes()
180 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/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/native/opengl/tools/glgen/stubs/egl/
DeglCreateWindowSurface.java28 sur = surfaceView.getHolder().getSurface(); in eglCreateWindowSurface()
/frameworks/base/rs/java/android/renderscript/
DRSSurfaceView.java69 SurfaceHolder holder = getHolder(); in init()
/frameworks/layoutlib/bridge/src/android/view/
DSurfaceView.java66 public SurfaceHolder getHolder() { in getHolder() method in SurfaceView
/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/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/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DCameraView.java87 getHolder().addCallback(callback); in CameraView()
147 getHolder().setFixedSize(outputSize.getWidth(), outputSize.getHeight()); in resume()
/frameworks/rs/tests/java_api/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()
/frameworks/base/core/java/android/widget/
DVideoView.java171 getHolder().addCallback(mSHCallback); in VideoView()
172 getHolder().setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in VideoView()
472 getHolder().setFixedSize(mVideoWidth, mVideoHeight);
513 getHolder().setFixedSize(mVideoWidth, mVideoHeight);
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DNativeMedia.java82 mSurfaceHolder1 = mSurfaceView1.getHolder(); in onCreate()
104 mSurfaceHolder2 = mSurfaceView2.getHolder(); in onCreate()

12