/frameworks/base/core/jni/ |
D | android_graphics_SurfaceTexture.cpp | 51 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/ |
D | IllustrationVideoView.java | 187 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/ |
D | EglUtilTest.cc | 97 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/ |
D | GLEnvironment.java | 114 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/ |
D | TextureView.java | 484 (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 -> {
|
D | Surface.java | 68 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/ |
D | surface_texture.cpp | 44 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/ |
D | GLHelper.h | 54 sp<GLConsumer>* surfaceTexture, EGLSurface* surface, 71 sp<GLConsumer>* surfaceTexture, EGLSurface* surface);
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 322 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
|
D | OverlayDisplayAdapter.java | 287 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/ |
D | android_graphics_TextureLayer.cpp | 56 ASurfaceTexture* surfaceTexture = ASurfaceTexture_fromSurfaceTexture(env, surface); in TextureLayer_setSurfaceTexture() local 57 layer->setSurfaceTexture(AutoTextureRelease(surfaceTexture, &ASurfaceTexture_release)); in TextureLayer_setSurfaceTexture()
|
/frameworks/av/media/libmedia/ |
D | IRemoteDisplayClient.cpp | 79 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/ |
D | RenderTarget.java | 137 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()
|
D | CameraStreamer.java | 324 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in onRegisterClient() 471 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/ |
D | IllustrationVideoViewTest.java | 49 @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/ |
D | AndroidCamera2AgentImpl.java | 712 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()
|
D | CameraAgent.java | 494 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()
|
D | AndroidCameraAgentImpl.java | 299 private void setPreviewTexture(Object surfaceTexture) { in setPreviewTexture() argument 301 mCamera.setPreviewTexture((SurfaceTexture) surfaceTexture); in setPreviewTexture()
|
/frameworks/base/graphics/java/android/graphics/ |
D | SurfaceTexture.java | 103 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/ |
D | CameraDeviceBinderTest.java | 323 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/ |
D | GpuVideoTrackDecoder.java | 77 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in GpuVideoTrackDecoder()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
D | SurfaceTextureSource.java | 248 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
D | CameraSource.java | 342 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
D | MediaSource.java | 559 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 783 public native final void setPreviewTexture(SurfaceTexture surfaceTexture) throws IOException; in setPreviewTexture() argument
|