Home
last modified time | relevance | path

Searched refs:surfaceTexture (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/jni/
Dandroid_graphics_SurfaceTexture.cpp54 jfieldID surfaceTexture; member
85 const sp<SurfaceTexture>& surfaceTexture) in SurfaceTexture_setSurfaceTexture() argument
88 (SurfaceTexture*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_setSurfaceTexture()
89 if (surfaceTexture.get()) { in SurfaceTexture_setSurfaceTexture()
90 surfaceTexture->incStrong((void*)SurfaceTexture_setSurfaceTexture); in SurfaceTexture_setSurfaceTexture()
95 env->SetLongField(thiz, fields.surfaceTexture, (jlong)surfaceTexture.get()); in SurfaceTexture_setSurfaceTexture()
128 return (SurfaceTexture*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_getSurfaceTexture()
208 fields.surfaceTexture = env->GetFieldID(clazz, in SurfaceTexture_classInit()
210 if (fields.surfaceTexture == NULL) { in SurfaceTexture_classInit()
245 sp<SurfaceTexture> surfaceTexture; in SurfaceTexture_init() local
[all …]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIllustrationVideoView.java187 SurfaceTexture surfaceTexture = getSurfaceTexture(); in createSurface() local
188 if (surfaceTexture != null) { in createSurface()
190 surface = new Surface(surfaceTexture); in createSurface()
250 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, int height) { in onSurfaceTextureAvailable() argument
257 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int width, int height) {} in onSurfaceTextureSizeChanged() argument
260 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { in onSurfaceTextureDestroyed() argument
266 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) {} in onSurfaceTextureUpdated() argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DGLEnvironment.java114 public int registerSurfaceTexture(SurfaceTexture surfaceTexture, int width, int height) { in registerSurfaceTexture() argument
115 Surface surface = new Surface(surfaceTexture); in registerSurfaceTexture()
119 throw new RuntimeException("Error registering surfaceTexture " + surfaceTexture + "!"); in registerSurfaceTexture()
/frameworks/base/core/java/android/view/
DTextureView.java814 public void setSurfaceTexture(@NonNull SurfaceTexture surfaceTexture) { in setSurfaceTexture() argument
815 if (surfaceTexture == null) { in setSurfaceTexture()
818 if (surfaceTexture == mSurface) { in setSurfaceTexture()
822 if (surfaceTexture.isReleased()) { in setSurfaceTexture()
830 mSurface = surfaceTexture; in setSurfaceTexture()
870 surfaceTexture -> {
DSurface.java66 private static native long nativeCreateFromSurfaceTexture(SurfaceTexture surfaceTexture) in nativeCreateFromSurfaceTexture() argument
287 public Surface(SurfaceTexture surfaceTexture) { in Surface() argument
288 if (surfaceTexture == null) { in Surface()
291 mIsSingleBuffered = surfaceTexture.isSingleBuffered(); in Surface()
293 mName = surfaceTexture.toString(); in Surface()
294 setNativeObjectLocked(nativeCreateFromSurfaceTexture(surfaceTexture)); in Surface()
/frameworks/native/libs/nativedisplay/surfacetexture/
Dsurface_texture.cpp44 jfieldID surfaceTexture; member
55 fields.surfaceTexture = env->GetFieldID(clazz, in SurfaceTexture_classInit()
57 if (fields.surfaceTexture == NULL) { in SurfaceTexture_classInit()
96 return (SurfaceTexture*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_getSurfaceTexture()
/frameworks/native/cmds/flatland/
DGLHelper.h54 sp<GLConsumer>* surfaceTexture, EGLSurface* surface,
71 sp<GLConsumer>* surfaceTexture, EGLSurface* surface);
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java319 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture,
321 mListener.onWindowCreated(surfaceTexture,
327 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) {
333 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture,
338 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) {
392 public void onWindowCreated(SurfaceTexture surfaceTexture, in onWindowCreated() argument
DOverlayDisplayAdapter.java283 OverlayFlags flags, int state, SurfaceTexture surfaceTexture, int number) { in OverlayDisplayDevice() argument
291 mSurfaceTexture = surfaceTexture; in OverlayDisplayDevice()
460 public void onWindowCreated(SurfaceTexture surfaceTexture, float refreshRate, in onWindowCreated() argument
466 mFlags, state, surfaceTexture, mNumber) { in onWindowCreated()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_TextureLayer.cpp56 ASurfaceTexture* surfaceTexture = ASurfaceTexture_fromSurfaceTexture(env, surface); in TextureLayer_setSurfaceTexture() local
57 layer->setSurfaceTexture(AutoTextureRelease(surfaceTexture, &ASurfaceTexture_release)); in TextureLayer_setSurfaceTexture()
/frameworks/av/media/libmedia/
DIRemoteDisplayClient.cpp79 sp<IGraphicBufferProducer> surfaceTexture( in onTransact() local
85 onDisplayConnected(surfaceTexture, width, height, flags, session); in onTransact()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java137 public RenderTarget forSurfaceTexture(SurfaceTexture surfaceTexture) { in forSurfaceTexture() argument
141 eglSurf = mSurfaceSources.get(surfaceTexture); in forSurfaceTexture()
143 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surfaceTexture, null); in forSurfaceTexture()
144 mSurfaceSources.put(surfaceTexture, eglSurf); in forSurfaceTexture()
150 result.setSurfaceSource(surfaceTexture); in forSurfaceTexture()
DCameraStreamer.java324 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in onRegisterClient()
471 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DIllustrationVideoViewTest.java49 @Mock private SurfaceTexture surfaceTexture; field in IllustrationVideoViewTest
98 view.onSurfaceTextureDestroyed(surfaceTexture); in testSurfaceReleasedWhenTextureDestroyed()
221 view.onSurfaceTextureAvailable(surfaceTexture, 500, 500); in createDefaultView()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2AgentImpl.java712 private void setPreviewTexture(SurfaceTexture surfaceTexture) { in setPreviewTexture() argument
723 if (surfaceTexture == mPreviewTexture) { in setPreviewTexture()
732 mPreviewTexture = surfaceTexture; in setPreviewTexture()
733 surfaceTexture.setDefaultBufferSize(mPreviewSize.width(), mPreviewSize.height()); in setPreviewTexture()
738 mPreviewSurface = new Surface(surfaceTexture); in setPreviewTexture()
1029 public void setPreviewTexture(SurfaceTexture surfaceTexture) { in setPreviewTexture() argument
1033 super.setPreviewTexture(surfaceTexture); in setPreviewTexture()
1039 public void setPreviewTextureSync(SurfaceTexture surfaceTexture) { in setPreviewTextureSync() argument
1043 super.setPreviewTexture(surfaceTexture); in setPreviewTextureSync()
DCameraAgent.java494 public void setPreviewTexture(final SurfaceTexture surfaceTexture) { in setPreviewTexture() argument
500 … .obtainMessage(CameraActions.SET_PREVIEW_TEXTURE_ASYNC, surfaceTexture) in setPreviewTexture()
522 public void setPreviewTextureSync(final SurfaceTexture surfaceTexture) { in setPreviewTextureSync() argument
533 … .obtainMessage(CameraActions.SET_PREVIEW_TEXTURE_ASYNC, surfaceTexture) in setPreviewTextureSync()
DAndroidCameraAgentImpl.java299 private void setPreviewTexture(Object surfaceTexture) { in setPreviewTexture() argument
301 mCamera.setPreviewTexture((SurfaceTexture) surfaceTexture); in setPreviewTexture()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java322 SurfaceTexture surfaceTexture = new SurfaceTexture(/* ignored */0); in testCreateStreamTwo() local
323 surfaceTexture.setDefaultBufferSize(640, 480); in testCreateStreamTwo()
324 Surface surface2 = new Surface(surfaceTexture); in testCreateStreamTwo()
/frameworks/base/graphics/java/android/graphics/
DSurfaceTexture.java94 void onFrameAvailable(SurfaceTexture surfaceTexture); in onFrameAvailable() argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DGpuVideoTrackDecoder.java77 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in GpuVideoTrackDecoder()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DSurfaceTextureSource.java248 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
DCameraSource.java342 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
DMediaSource.java559 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
/frameworks/base/core/java/android/hardware/
DCamera.java726 public native final void setPreviewTexture(SurfaceTexture surfaceTexture) throws IOException; in setPreviewTexture() argument