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
55 const sp<GLConsumer>& surfaceTexture) in SurfaceTexture_setSurfaceTexture() argument
58 (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_setSurfaceTexture()
59 if (surfaceTexture.get()) { in SurfaceTexture_setSurfaceTexture()
60 surfaceTexture->incStrong((void*)SurfaceTexture_setSurfaceTexture); in SurfaceTexture_setSurfaceTexture()
65 env->SetLongField(thiz, fields.surfaceTexture, (jlong)surfaceTexture.get()); in SurfaceTexture_setSurfaceTexture()
98 return (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_getSurfaceTexture()
106 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz)); in android_SurfaceTexture_getNativeWindow() local
108 sp<Surface> surfaceTextureClient(surfaceTexture != NULL ? new Surface(producer) : NULL); in android_SurfaceTexture_getNativeWindow()
204 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/app/
DActivityView.java232 final SurfaceTexture surfaceTexture = mTextureView.getSurfaceTexture(); in attachToSurfaceWhenReady() local
233 if (surfaceTexture == null || mSurface != null) { in attachToSurfaceWhenReady()
238 mSurface = new Surface(surfaceTexture); in attachToSurfaceWhenReady()
279 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, in onSurfaceTextureAvailable() argument
292 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int width, in onSurfaceTextureSizeChanged() argument
301 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { in onSurfaceTextureDestroyed() argument
318 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { in onSurfaceTextureUpdated() argument
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java303 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture,
305 mListener.onWindowCreated(surfaceTexture, mDefaultDisplayInfo.refreshRate,
310 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) {
316 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture,
321 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) {
375 public void onWindowCreated(SurfaceTexture surfaceTexture, in onWindowCreated() argument
DOverlayDisplayAdapter.java209 SurfaceTexture surfaceTexture, int number) { in OverlayDisplayDevice() argument
219 mSurfaceTexture = surfaceTexture; in OverlayDisplayDevice()
311 public void onWindowCreated(SurfaceTexture surfaceTexture, float refreshRate, in onWindowCreated() argument
317 mDensityDpi, mSecure, state, surfaceTexture, mNumber); in onWindowCreated()
/frameworks/base/core/java/android/view/
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()
DTextureView.java718 public void setSurfaceTexture(SurfaceTexture surfaceTexture) { in setSurfaceTexture() argument
719 if (surfaceTexture == null) { in setSurfaceTexture()
725 mSurface = surfaceTexture; in setSurfaceTexture()
755 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
/frameworks/native/cmds/flatland/
DGLHelper.h55 sp<GLConsumer>* surfaceTexture, EGLSurface* surface,
72 sp<GLConsumer>* surfaceTexture, EGLSurface* surface);
/frameworks/base/core/jni/
Dandroid_view_HardwareLayer.cpp74 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, surface)); in android_view_HardwareLayer_setSurfaceTexture() local
75 layer->setSurfaceTexture(surfaceTexture, !isAlreadyAttached); in android_view_HardwareLayer_setSurfaceTexture()
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp383 static sp<ANativeWindow> getNativeWindowFromTexture(JNIEnv* env, jobject surfaceTexture) { in getNativeWindowFromTexture() argument
385 if (surfaceTexture) { in getNativeWindowFromTexture()
386 anw = android_SurfaceTexture_getNativeWindow(env, surfaceTexture); in getNativeWindowFromTexture()
497 jobject surfaceTexture, jintArray dimens) { in LegacyCameraDevice_nativeDetectTextureDimens() argument
500 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.java636 static Size getTextureSize(SurfaceTexture surfaceTexture) in getTextureSize() argument
638 checkNotNull(surfaceTexture); in getTextureSize()
641 LegacyExceptionUtils.throwOnError(nativeDetectTextureDimens(surfaceTexture, in getTextureSize()
673 private static native int nativeDetectTextureDimens(SurfaceTexture surfaceTexture, in nativeDetectTextureDimens() argument
DRequestThreadManager.java256 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java268 SurfaceTexture surfaceTexture = new SurfaceTexture(/* ignored */0); in testCreateStreamTwo() local
269 surfaceTexture.setDefaultBufferSize(640, 480); in testCreateStreamTwo()
270 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.h58 android::GLConsumer *surfaceTexture; member

12