Home
last modified time | relevance | path

Searched refs:getHolder (Results 1 – 25 of 71) 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.java122 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraExposureCompensation()
158 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraFlashModes()
189 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraFocusModes()
220 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraWhiteBalance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileAdapterDelegate.java53 private TileAdapter.Holder getHolder(View view) { in getHolder() method in TileAdapterDelegate
60 TileAdapter.Holder holder = getHolder(host); in onInitializeAccessibilityNodeInfo()
81 TileAdapter.Holder holder = getHolder(host); in performAccessibilityAction()
/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/apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/
DSurfaceFlingerTestActivity.java69 SurfaceHolder holder = getHolder(); in TestSurfaceView()
89 SurfaceHolder holder = getHolder(); in getChildSurfaceControlHelper()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DScrollingStretchSurfaceViewActivity.java43 mVerticalSurfaceView.getHolder().addCallback(this); in onCreate()
46 mHorizontalSurfaceView.getHolder().addCallback(this); in onCreate()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DCustomSurfaceView.java64 getHolder().addCallback(this); in CustomSurfaceView()
65 getHolder().setFormat(PixelFormat.OPAQUE); in CustomSurfaceView()
/frameworks/base/core/java/android/widget/inline/
DInlineContentView.java257 mSurfaceView.getHolder().setFormat(PixelFormat.TRANSPARENT); in InlineContentView()
316 mSurfaceView.getHolder().removeCallback(mSurfaceCallback); in setSurfaceControlCallback()
320 mSurfaceView.getHolder().addCallback(mSurfaceCallback); in setSurfaceControlCallback()
/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.java207 SessionHolder holder = getHolder(pi, true); in addRccListener()
233 SessionHolder holder = getHolder(pi, false); in removeRccListener()
251 SessionHolder holder = getHolder(pi, true); in addMediaButtonListener()
277 SessionHolder holder = getHolder(pi, false); in removeMediaButtonListener()
325 private SessionHolder getHolder(PendingIntent pi, boolean createIfMissing) { in getHolder() method in MediaSessionLegacyHelper
/frameworks/base/graphics/java/android/view/
DPixelCopy.java111 request(source.getHolder().getSurface(), dest, listener, listenerThread); in request()
136 request(source.getHolder().getSurface(), srcRect, in request()
453 return ofSurface(source.getHolder().getSurface()); in ofSurface()
/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.java272 mMediaPlayer.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in videoHeight()
308 mMediaPlayer.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in videoWidth()
336 mp.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in videoSeekTo()
731 mMediaPlayer.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in prepareAsyncCallback()
860 mMediaPlayer.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in playMediaSamples()
/frameworks/base/tests/SurfaceViewSyncTest/src/com/android/test/
DSurfaceViewSyncActivity.java62 mSurfaceView.getHolder().addCallback(this); in onCreate()
73 mRenderingThread = new RenderingThread(mSurfaceView.getHolder()); in onCreate()
/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.java204 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in recordVideoAndPlayback()
253 mp.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in recordVideoAndPlayback()
303 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressTimeLapse()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java95 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in recordVideo()
127 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in validateGetSurface()
326 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in recordVideoWithPara()
387 mSurfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in invalidRecordSetting()
412 mediaPlayer.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); in getOutputVideoProperty()
/frameworks/base/tests/SurfaceControlViewHostTest/src/com/android/test/viewembed/
DSurfaceInputTestActivity.java102 mLocalSurfaceView.getHolder().addCallback(mLocalSurfaceViewCallback); in onCreate()
105 mRemoteSurfaceView.getHolder().addCallback(mRemoteSurfaceViewHolder); in onCreate()
DSurfaceControlViewHostTest.java47 mView.getHolder().addCallback(this); in onCreate()
/frameworks/base/rs/java/android/renderscript/
DRSSurfaceView.java70 SurfaceHolder holder = getHolder(); in init()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DGameActivity.java43 mSurfaceHolder = mSurfaceView.getHolder(); in onCreate()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
DTaskView.java89 getHolder().addCallback(this); in TaskView()
231 getHolder().removeCallback(this); in release()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewActivity.java47 mSurfaceView.getHolder().addCallback(this); in onCreate()

123