/aosp12/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | SurfaceUtils.java | 57 public static boolean isSurfaceForPreview(Surface surface) { in isSurfaceForPreview() 78 public static boolean isSurfaceForHwVideoEncoder(Surface surface) { in isSurfaceForHwVideoEncoder() 98 public static long getSurfaceId(Surface surface) { in getSurfaceId() 113 public static long getSurfaceUsage(Surface surface) { in getSurfaceUsage() 130 public static Size getSurfaceSize(Surface surface) { in getSurfaceSize() 148 public static int getSurfaceFormat(Surface surface) { in getSurfaceFormat() 171 public static int detectSurfaceFormat(Surface surface) { in detectSurfaceFormat() 187 public static int getSurfaceDataspace(Surface surface) { in getSurfaceDataspace() 220 private static void checkHighSpeedSurfaceFormat(Surface surface) { in checkHighSpeedSurfaceFormat() 296 private static native int nativeDetectSurfaceType(Surface surface); in nativeDetectSurfaceType() [all …]
|
/aosp14/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | SurfaceUtils.java | 57 public static boolean isSurfaceForPreview(Surface surface) { in isSurfaceForPreview() 78 public static boolean isSurfaceForHwVideoEncoder(Surface surface) { in isSurfaceForHwVideoEncoder() 98 public static long getSurfaceId(Surface surface) { in getSurfaceId() 113 public static long getSurfaceUsage(Surface surface) { in getSurfaceUsage() 130 public static Size getSurfaceSize(Surface surface) { in getSurfaceSize() 148 public static int getSurfaceFormat(Surface surface) { in getSurfaceFormat() 171 public static int detectSurfaceFormat(Surface surface) { in detectSurfaceFormat() 187 public static int getSurfaceDataspace(Surface surface) { in getSurfaceDataspace() 220 private static void checkHighSpeedSurfaceFormat(Surface surface) { in checkHighSpeedSurfaceFormat() 296 private static native int nativeDetectSurfaceType(Surface surface); in nativeDetectSurfaceType() [all …]
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_utils_SurfaceUtils.cpp | 53 static sp<ANativeWindow> getNativeWindow(JNIEnv* env, jobject surface) { in getNativeWindow() 71 static sp<Surface> getSurface(JNIEnv* env, jobject surface) { in getSurface() 92 static jint SurfaceUtils_nativeDetectSurfaceType(JNIEnv* env, jobject thiz, jobject surface) { in SurfaceUtils_nativeDetectSurfaceType() 110 static jint SurfaceUtils_nativeDetectSurfaceDataspace(JNIEnv* env, jobject thiz, jobject surface) { in SurfaceUtils_nativeDetectSurfaceDataspace() 128 static jint SurfaceUtils_nativeDetectSurfaceDimens(JNIEnv* env, jobject thiz, jobject surface, in SurfaceUtils_nativeDetectSurfaceDimens() 166 jobject surface) { in SurfaceUtils_nativeDetectSurfaceUsageFlags() 186 static jlong SurfaceUtils_nativeGetSurfaceId(JNIEnv* env, jobject thiz, jobject surface) { in SurfaceUtils_nativeGetSurfaceId()
|
H A D | android_view_Surface.cpp | 135 sp<Surface> surface(new Surface(bufferProducer, true)); in android_view_Surface_createFromIGraphicBufferProducer() local 156 sp<Surface> surface(new Surface(producer, true)); in nativeCreateFromSurfaceTexture() local 276 sp<Surface> surface(ctrl->createSurface()); in nativeCreateFromSurfaceControl() local 296 sp<Surface> surface(ctrl->getSurface()); in nativeGetFromSurfaceControl() local 385 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeGetWidth() local 393 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeGetHeight() local 401 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeGetNextFrameNumber() local 406 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeSetScalingMode() local 411 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeForceScopedDisconnect() local 417 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeAttachAndQueueBufferWithColorSpace() local [all …]
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_utils_SurfaceUtils.cpp | 53 static sp<ANativeWindow> getNativeWindow(JNIEnv* env, jobject surface) { in getNativeWindow() 71 static sp<Surface> getSurface(JNIEnv* env, jobject surface) { in getSurface() 92 static jint SurfaceUtils_nativeDetectSurfaceType(JNIEnv* env, jobject thiz, jobject surface) { in SurfaceUtils_nativeDetectSurfaceType() 110 static jint SurfaceUtils_nativeDetectSurfaceDataspace(JNIEnv* env, jobject thiz, jobject surface) { in SurfaceUtils_nativeDetectSurfaceDataspace() 128 static jint SurfaceUtils_nativeDetectSurfaceDimens(JNIEnv* env, jobject thiz, jobject surface, in SurfaceUtils_nativeDetectSurfaceDimens() 166 jobject surface) { in SurfaceUtils_nativeDetectSurfaceUsageFlags() 186 static jlong SurfaceUtils_nativeGetSurfaceId(JNIEnv* env, jobject thiz, jobject surface) { in SurfaceUtils_nativeGetSurfaceId()
|
H A D | android_view_Surface.cpp | 135 sp<Surface> surface(new Surface(bufferProducer, true)); in android_view_Surface_createFromIGraphicBufferProducer() local 156 sp<Surface> surface(new Surface(producer, true)); in nativeCreateFromSurfaceTexture() local 276 sp<Surface> surface(ctrl->createSurface()); in nativeCreateFromSurfaceControl() local 296 sp<Surface> surface(ctrl->getSurface()); in nativeGetFromSurfaceControl() local 385 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeGetWidth() local 393 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeGetHeight() local 401 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeGetNextFrameNumber() local 406 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeSetScalingMode() local 411 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeForceScopedDisconnect() local 417 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeAttachAndQueueBufferWithColorSpace() local [all …]
|
/aosp12/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GetBitmapActivity.java | 81 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 94 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 99 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 106 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
H A D | CanvasTextureViewActivity.java | 50 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 56 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 61 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 67 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() 75 public RenderingThread(TextureView surface) { in RenderingThread()
|
H A D | SingleFrameTextureViewTestActivity.java | 78 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 201 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 206 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 213 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
H A D | TextureViewActivity.java | 101 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 147 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 152 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 159 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
H A D | HardwareCanvasTextureViewActivity.java | 51 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 57 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 62 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 68 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GetBitmapActivity.java | 81 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 94 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 99 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 106 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
H A D | CanvasTextureViewActivity.java | 50 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 56 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 61 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 67 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() 75 public RenderingThread(TextureView surface) { in RenderingThread()
|
H A D | SingleFrameTextureViewTestActivity.java | 78 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 201 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 206 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 213 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
H A D | TextureViewActivity.java | 101 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 147 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 152 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 159 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
H A D | HardwareCanvasTextureViewActivity.java | 51 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 57 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 62 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 68 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
/aosp12/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | GlTextureViewActivity.java | 49 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 71 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 75 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 86 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
/aosp14/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | GlTextureViewActivity.java | 49 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 71 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 75 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 86 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
/aosp12/frameworks/base/rs/java/android/renderscript/ |
H A D | RSTextureView.java | 69 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 82 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 95 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 110 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
/aosp14/frameworks/base/rs/java/android/renderscript/ |
H A D | RSTextureView.java | 69 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 82 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 95 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 110 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
/aosp12/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | VideoPlayer.java | 107 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 120 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 124 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 130 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
/aosp12/frameworks/native/libs/gui/tests/ |
H A D | EndToEndNativeInputTest.cpp | 394 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local 409 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local 436 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local 537 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local 619 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local 627 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local 639 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local 650 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local 672 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local 694 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local [all …]
|
/aosp12/frameworks/base/tests/SurfaceViewBufferTests/cpp/ |
H A D | SurfaceProxy.cpp | 41 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_setSurface() local 53 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_waitUntilBufferDisplayed() local 117 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetScalingMode() local 207 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetAsyncMode() local 214 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetDequeueTimeout() local 221 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetMaxDequeuedBufferCount() local 228 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_NativeWindowSetBufferCount() local 236 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_NativeWindowSetSharedBufferMode() local 244 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_NativeWindowSetAutoRefresh() local
|
/aosp14/frameworks/base/tests/SurfaceViewBufferTests/cpp/ |
H A D | SurfaceProxy.cpp | 41 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_setSurface() local 53 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_waitUntilBufferDisplayed() local 117 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetScalingMode() local 207 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetAsyncMode() local 214 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetDequeueTimeout() local 221 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetMaxDequeuedBufferCount() local 228 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_NativeWindowSetBufferCount() local 236 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_NativeWindowSetSharedBufferMode() local 244 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_NativeWindowSetAutoRefresh() local
|
/aosp12/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/ |
H A D | RsYuv.java | 127 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 134 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 141 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 149 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|