Home
last modified time | relevance | path

Searched refs:surfaceHolder (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraFunctionalTest.java122 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraExposureCompensation() local
142 mCameraTestHelper.startCameraPreview(surfaceHolder); in testFunctionalCameraExposureCompensation()
158 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraFlashModes() local
173 mCameraTestHelper.startCameraPreview(surfaceHolder); in testFunctionalCameraFlashModes()
189 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraFocusModes() local
204 mCameraTestHelper.startCameraPreview(surfaceHolder); in testFunctionalCameraFocusModes()
220 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraWhiteBalance() local
235 mCameraTestHelper.startCameraPreview(surfaceHolder); in testFunctionalCameraWhiteBalance()
DCameraPairwiseTest.java384 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in genericPairwiseTestCase() local
488 mCameraTestHelper.startCameraPreview(surfaceHolder); in genericPairwiseTestCase()
/frameworks/libs/systemui/toruslib/torus-framework-canvas/src/main/java/com/google/android/torus/canvas/engine/
DCanvasWallpaperEngine.kt274 val surfaceHolder = getCurrentSurfaceHolder() in renderToCanvas() constant
275 if (!surfaceHolder.surface.isValid) return false in renderToCanvas()
280 surfaceHolder.lockHardwareCanvas() in renderToCanvas()
282 surfaceHolder.lockCanvas() in renderToCanvas()
291 surfaceHolder.unlockCanvasAndPost(canvas) in renderToCanvas()
/frameworks/libs/systemui/toruslib/torus-core/src/main/java/com/google/android/torus/core/wallpaper/
DLiveWallpaper.kt135 abstract fun getWallpaperEngine(context: Context, surfaceHolder: SurfaceHolder): TorusEngine in getWallpaperEngine()
207 fun getEngineSurfaceHolder(): SurfaceHolder? = this.wallpaperServiceEngine?.surfaceHolder in getEngineSurfaceHolder()
239 override fun onCreate(surfaceHolder: SurfaceHolder) { in onCreate()
240 super.onCreate(surfaceHolder) in onCreate()
242 surfaceHolder.setFormat(PixelFormat.RGBA_8888) in onCreate()
254 wallpaperEngine = getWallpaperEngine(context, surfaceHolder) in onCreate()
/frameworks/native/libs/bufferqueueconverter/
DBufferQueueConverter.cpp38 void destroySurfaceHolder(SurfaceHolder* surfaceHolder) { in destroySurfaceHolder() argument
39 delete surfaceHolder; in destroySurfaceHolder()
/frameworks/libs/systemui/weathereffects/src/com/google/android/wallpaper/weathereffects/
DWeatherWallpaperService.kt38 override fun getWallpaperEngine(context: Context, surfaceHolder: SurfaceHolder): TorusEngine { in getWallpaperEngine()
39 val engine = WeatherEngine(surfaceHolder, context) in getWallpaperEngine()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCameraStressTest.java136 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressCameraSceneModes() local
157 mCameraTestHelper.startCameraPreview(surfaceHolder); in testStressCameraSceneModes()
180 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testStressCameraZoom() local
202 mCameraTestHelper.startCameraPreview(surfaceHolder); in testStressCameraZoom()
DMediaRecorderStressTest.java204 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in recordVideoAndPlayback() local
242 mRecorder.setPreviewDisplay(surfaceHolder.getSurface()); in recordVideoAndPlayback()
/frameworks/hardware/interfaces/automotive/display/aidl/vts/functional/
DVtsHalCarDisplayTargetTest.cpp102 android::SurfaceHolderUniquePtr surfaceHolder = getSurfaceFromHGBP(gfxBufferProducer); in TEST_P() local
103 ASSERT_NE(surfaceHolder, nullptr); in TEST_P()
106 ANativeWindow* nativeWindow = getNativeWindow(surfaceHolder.get()); in TEST_P()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java118 public RenderTarget forSurfaceHolder(SurfaceHolder surfaceHolder) { in forSurfaceHolder() argument
122 eglSurf = mSurfaceSources.get(surfaceHolder); in forSurfaceHolder()
124 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surfaceHolder, null); in forSurfaceHolder()
125 mSurfaceSources.put(surfaceHolder, eglSurf); in forSurfaceHolder()
132 result.setSurfaceSource(surfaceHolder); in forSurfaceHolder()
/frameworks/native/libs/bufferqueueconverter/include/bufferqueueconverter/
DBufferQueueConverter.h54 ANativeWindow* getNativeWindow(SurfaceHolder* surfaceHolder);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestHelper.java160 public void startCameraPreview(SurfaceHolder surfaceHolder) throws Exception { in startCameraPreview() argument
162 mCamera.setPreviewDisplay(surfaceHolder); in startCameraPreview()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java92 public void onCreate(SurfaceHolder surfaceHolder) { in onCreate() argument
93 super.onCreate(surfaceHolder); in onCreate()
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DNativeMedia.java355 SurfaceHolderVideoSink(SurfaceHolder surfaceHolder) { in SurfaceHolderVideoSink() argument
356 mSurfaceHolder = surfaceHolder; in SurfaceHolderVideoSink()
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java268 SurfaceHolder surfaceHolder = mSurfaceView.getHolder();
269 surfaceHolder.setFixedSize(optimalSize.getWidth(),
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallpapers/
DImageWallpaper.java186 public void onCreate(SurfaceHolder surfaceHolder) { in onCreate() argument
192 mSurfaceHolder = surfaceHolder; in onCreate()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraAgent.java547 public void setPreviewDisplay(final SurfaceHolder surfaceHolder) { in setPreviewDisplay() argument
553 … .obtainMessage(CameraActions.SET_PREVIEW_DISPLAY_ASYNC, surfaceHolder) in setPreviewDisplay()
/frameworks/base/core/java/android/widget/
DMagnifier.java648 final SurfaceHolder surfaceHolder = ((SurfaceView) mView).getHolder(); in obtainSurfaces() local
649 final Surface surfaceViewSurface = surfaceHolder.getSurface(); in obtainSurfaces()
652 final Rect surfaceFrame = surfaceHolder.getSurfaceFrame(); in obtainSurfaces()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleStackView.java980 public void surfaceChanged(SurfaceHolder surfaceHolder, int i, int i1, int i2) {} in BubbleStackView()
983 public void surfaceCreated(SurfaceHolder surfaceHolder) { in BubbleStackView()
988 public void surfaceDestroyed(SurfaceHolder surfaceHolder) { in BubbleStackView()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java750 public void onCreate(SurfaceHolder surfaceHolder) { in onCreate() argument
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...