Home
last modified time | relevance | path

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

123

/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/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleTaskView.java59 getHolder().addCallback(this); in BubbleTaskView()
152 getHolder().removeCallback(this); in performRelease()
/frameworks/base/core/java/android/widget/inline/
DInlineContentView.java256 mSurfaceView.getHolder().setFormat(PixelFormat.TRANSPARENT); in InlineContentView()
315 mSurfaceView.getHolder().removeCallback(mSurfaceCallback); in setSurfaceControlCallback()
319 mSurfaceView.getHolder().addCallback(mSurfaceCallback); in setSurfaceControlCallback()
/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/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.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/packages/SystemUI/src/com/android/keyguard/
DAdminSecondaryLockScreenController.java228 getHolder().addCallback(mSurfaceHolderCallback); in onAttachedToWindow()
234 getHolder().removeCallback(mSurfaceHolderCallback); in onDetachedFromWindow()
/frameworks/native/opengl/tools/glgen/stubs/egl/
DeglCreateWindowSurface.java28 sur = surfaceView.getHolder().getSurface(); in eglCreateWindowSurface()
/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/tests/TaskOrganizerTest/src/com/android/test/taskembed/
DTaskView.java38 getHolder().addCallback(this); in TaskView()
/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/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/tests/SurfaceControlViewHostTest/src/com/android/test/viewembed/
DSurfaceControlViewHostTest.java48 mView.getHolder().addCallback(this); in onCreate()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewActivity.java47 mSurfaceView.getHolder().addCallback(this); 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/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMovingSurfaceViewActivity.java86 mSurfaceView.getHolder().addCallback(this); in onCreate()
/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()

123