Home
last modified time | relevance | path

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

12

/frameworks/base/core/jni/
Dandroid_graphics_SurfaceTexture.cpp51 jfieldID surfaceTexture; member
83 const sp<SurfaceTexture>& surfaceTexture) in SurfaceTexture_setSurfaceTexture() argument
86 (SurfaceTexture*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_setSurfaceTexture()
87 if (surfaceTexture.get()) { in SurfaceTexture_setSurfaceTexture()
88 surfaceTexture->incStrong((void*)SurfaceTexture_setSurfaceTexture); in SurfaceTexture_setSurfaceTexture()
93 env->SetLongField(thiz, fields.surfaceTexture, (jlong)surfaceTexture.get()); in SurfaceTexture_setSurfaceTexture()
126 return (SurfaceTexture*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_getSurfaceTexture()
226 fields.surfaceTexture = env->GetFieldID(clazz, in SurfaceTexture_classInit()
228 if (fields.surfaceTexture == NULL) { in SurfaceTexture_classInit()
270 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/av/services/camera/virtualcamera/tests/
DEglUtilTest.cc97 EglSurfaceTexture surfaceTexture(kWidth, kHeight); in TEST_F() local
98 surfaceTexture.updateTexture(); in TEST_F()
99 sp<GraphicBuffer> buffer = surfaceTexture.getCurrentBuffer(); in TEST_F()
/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.java484 (surfaceTexture, frameRate, compatibility, strategy) -> { in getTextureLayer() argument
842 public void setSurfaceTexture(@NonNull SurfaceTexture surfaceTexture) { in setSurfaceTexture() argument
843 if (surfaceTexture == null) { in setSurfaceTexture()
846 if (surfaceTexture == mSurface) { in setSurfaceTexture()
850 if (surfaceTexture.isReleased()) { in setSurfaceTexture()
858 mSurface = surfaceTexture; in setSurfaceTexture()
923 surfaceTexture -> {
DSurface.java68 private static native long nativeCreateFromSurfaceTexture(SurfaceTexture surfaceTexture) in nativeCreateFromSurfaceTexture() argument
370 public Surface(SurfaceTexture surfaceTexture) { in Surface() argument
371 if (surfaceTexture == null) { in Surface()
374 mIsSingleBuffered = surfaceTexture.isSingleBuffered(); in Surface()
376 mName = surfaceTexture.toString(); in Surface()
377 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.java322 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture,
324 mListener.onWindowCreated(surfaceTexture,
330 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) {
336 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture,
341 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) {
395 public void onWindowCreated(SurfaceTexture surfaceTexture, in onWindowCreated() argument
DOverlayDisplayAdapter.java287 OverlayFlags flags, int state, SurfaceTexture surfaceTexture, int number) { in OverlayDisplayDevice() argument
295 mSurfaceTexture = surfaceTexture; in OverlayDisplayDevice()
467 public void onWindowCreated(SurfaceTexture surfaceTexture, float refreshRate, in onWindowCreated() argument
473 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/graphics/java/android/graphics/
DSurfaceTexture.java103 void onFrameAvailable(SurfaceTexture surfaceTexture); in onFrameAvailable() argument
115 void onSetFrameRate(SurfaceTexture surfaceTexture, in onSetFrameRate() argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java323 SurfaceTexture surfaceTexture = new SurfaceTexture(/* ignored */0); in testCreateStreamTwo() local
324 surfaceTexture.setDefaultBufferSize(640, 480); in testCreateStreamTwo()
325 Surface surface2 = new Surface(surfaceTexture); in testCreateStreamTwo()
/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.java783 public native final void setPreviewTexture(SurfaceTexture surfaceTexture) throws IOException; in setPreviewTexture() argument

12