/frameworks/base/core/jni/android/graphics/ |
D | SurfaceTexture.cpp | 45 jfieldID surfaceTexture; member 61 const sp<GLConsumer>& surfaceTexture) in SurfaceTexture_setSurfaceTexture() argument 64 (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_setSurfaceTexture() 65 if (surfaceTexture.get()) { in SurfaceTexture_setSurfaceTexture() 66 surfaceTexture->incStrong((void*)SurfaceTexture_setSurfaceTexture); in SurfaceTexture_setSurfaceTexture() 71 env->SetLongField(thiz, fields.surfaceTexture, (jlong)surfaceTexture.get()); in SurfaceTexture_setSurfaceTexture() 104 return (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_getSurfaceTexture() 112 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz)); in android_SurfaceTexture_getNativeWindow() local 114 sp<Surface> surfaceTextureClient(surfaceTexture != NULL ? new Surface(producer) : NULL); in android_SurfaceTexture_getNativeWindow() 210 fields.surfaceTexture = env->GetFieldID(clazz, in SurfaceTexture_classInit() [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | GLEnvironment.java | 110 public int registerSurfaceTexture(SurfaceTexture surfaceTexture, int width, int height) { in registerSurfaceTexture() argument 111 Surface surface = new Surface(surfaceTexture); in registerSurfaceTexture() 115 throw new RuntimeException("Error registering surfaceTexture " + surfaceTexture + "!"); in registerSurfaceTexture()
|
/frameworks/base/core/java/android/view/ |
D | TextureView.java | 716 public void setSurfaceTexture(SurfaceTexture surfaceTexture) { in setSurfaceTexture() argument 717 if (surfaceTexture == null) { in setSurfaceTexture() 720 if (surfaceTexture == mSurface) { in setSurfaceTexture() 724 if (surfaceTexture.isReleased()) { in setSurfaceTexture() 731 mSurface = surfaceTexture; in setSurfaceTexture() 771 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
D | Surface.java | 40 private static native long nativeCreateFromSurfaceTexture(SurfaceTexture surfaceTexture) in nativeCreateFromSurfaceTexture() argument 138 public Surface(SurfaceTexture surfaceTexture) { in Surface() argument 139 if (surfaceTexture == null) { in Surface() 144 mName = surfaceTexture.toString(); in Surface() 145 setNativeObjectLocked(nativeCreateFromSurfaceTexture(surfaceTexture)); in Surface()
|
/frameworks/base/core/java/android/app/ |
D | ActivityView.java | 245 final SurfaceTexture surfaceTexture = mTextureView.getSurfaceTexture(); in attachToSurfaceWhenReady() local 246 if (surfaceTexture == null || mSurface != null) { in attachToSurfaceWhenReady() 251 mSurface = new Surface(surfaceTexture); in attachToSurfaceWhenReady() 300 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, in onSurfaceTextureAvailable() argument 316 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int width, in onSurfaceTextureSizeChanged() argument 325 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { in onSurfaceTextureDestroyed() argument 345 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { in onSurfaceTextureUpdated() argument
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 315 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, 317 mListener.onWindowCreated(surfaceTexture, 323 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { 329 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, 334 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { 388 public void onWindowCreated(SurfaceTexture surfaceTexture, in onWindowCreated() argument
|
D | OverlayDisplayAdapter.java | 241 SurfaceTexture surfaceTexture, int number) { in OverlayDisplayDevice() argument 248 mSurfaceTexture = surfaceTexture; in OverlayDisplayDevice() 398 public void onWindowCreated(SurfaceTexture surfaceTexture, float refreshRate, in onWindowCreated() argument 404 mSecure, state, surfaceTexture, mNumber) { in onWindowCreated()
|
/frameworks/native/cmds/flatland/ |
D | GLHelper.h | 55 sp<GLConsumer>* surfaceTexture, EGLSurface* surface, 72 sp<GLConsumer>* surfaceTexture, EGLSurface* surface);
|
/frameworks/base/core/jni/ |
D | android_view_HardwareLayer.cpp | 72 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, surface)); in android_view_HardwareLayer_setSurfaceTexture() local 73 layer->setSurfaceTexture(surfaceTexture, !isAlreadyAttached); in android_view_HardwareLayer_setSurfaceTexture()
|
D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 382 static sp<ANativeWindow> getNativeWindowFromTexture(JNIEnv* env, jobject surfaceTexture) { in getNativeWindowFromTexture() argument 384 if (surfaceTexture) { in getNativeWindowFromTexture() 385 anw = android_SurfaceTexture_getNativeWindow(env, surfaceTexture); in getNativeWindowFromTexture() 513 jobject surfaceTexture, jintArray dimens) { in LegacyCameraDevice_nativeDetectTextureDimens() argument 516 if ((anw = getNativeWindowFromTexture(env, surfaceTexture)) == NULL) { in LegacyCameraDevice_nativeDetectTextureDimens()
|
/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/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/core/java/android/hardware/camera2/legacy/ |
D | LegacyCameraDevice.java | 689 static Size getTextureSize(SurfaceTexture surfaceTexture) in getTextureSize() argument 691 checkNotNull(surfaceTexture); in getTextureSize() 694 LegacyExceptionUtils.throwOnError(nativeDetectTextureDimens(surfaceTexture, in getTextureSize() 735 private static native int nativeDetectTextureDimens(SurfaceTexture surfaceTexture, in nativeDetectTextureDimens() argument
|
D | RequestThreadManager.java | 262 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraDeviceBinderTest.java | 280 SurfaceTexture surfaceTexture = new SurfaceTexture(/* ignored */0); in testCreateStreamTwo() local 281 surfaceTexture.setDefaultBufferSize(640, 480); in testCreateStreamTwo() 282 Surface surface2 = new Surface(surfaceTexture); in testCreateStreamTwo()
|
/frameworks/base/graphics/java/android/graphics/ |
D | SurfaceTexture.java | 84 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 | 249 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
D | CameraSource.java | 342 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
D | MediaSource.java | 559 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
/frameworks/rs/driver/ |
D | rsdAllocation.h | 59 android::GLConsumer *surfaceTexture; member
|