/frameworks/base/core/jni/ |
D | android_graphics_SurfaceTexture.cpp | 54 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/ |
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/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 | 814 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 -> {
|
D | Surface.java | 66 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/ |
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 | 319 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
|
D | OverlayDisplayAdapter.java | 283 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/ |
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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraDeviceBinderTest.java | 322 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/ |
D | SurfaceTexture.java | 94 void onFrameAvailable(SurfaceTexture surfaceTexture); in onFrameAvailable() argument
|
/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 | 726 public native final void setPreviewTexture(SurfaceTexture surfaceTexture) throws IOException; in setPreviewTexture() argument
|