Home
last modified time | relevance | path

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

12

/frameworks/base/core/jni/android/graphics/
DSurfaceTexture.cpp45 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/
DGLEnvironment.java110 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/
DTextureView.java716 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) {
DSurface.java40 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/
DActivityView.java245 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/
DOverlayDisplayWindow.java315 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
DOverlayDisplayAdapter.java241 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/
DGLHelper.h55 sp<GLConsumer>* surfaceTexture, EGLSurface* surface,
72 sp<GLConsumer>* surfaceTexture, EGLSurface* surface);
/frameworks/base/core/jni/
Dandroid_view_HardwareLayer.cpp72 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, surface)); in android_view_HardwareLayer_setSurfaceTexture() local
73 layer->setSurfaceTexture(surfaceTexture, !isAlreadyAttached); in android_view_HardwareLayer_setSurfaceTexture()
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp382 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/
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/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/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java689 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
DRequestThreadManager.java262 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java280 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/
DSurfaceTexture.java84 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.java249 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
DCameraSource.java342 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
DMediaSource.java559 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
/frameworks/rs/driver/
DrsdAllocation.h59 android::GLConsumer *surfaceTexture; member

12