/frameworks/base/core/java/android/hardware/camera2/utils/ |
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 …]
|
/frameworks/native/libs/gui/ |
D | Flags.cpp | 24 sp<SurfaceType> surfaceToSurfaceType(const sp<Surface>& surface) { in surfaceToSurfaceType() 32 ParcelableSurfaceType surfaceToParcelableSurfaceType(const sp<Surface>& surface) { in surfaceToParcelableSurfaceType() 40 sp<IGraphicBufferProducer> surfaceTypeToIGBP(const sp<SurfaceType>& surface) { in surfaceTypeToIGBP() 48 bool isSurfaceTypeValid(const sp<SurfaceType>& surface) { in isSurfaceTypeValid() 56 ParcelableSurfaceType toParcelableSurfaceType(const view::Surface& surface) { in toParcelableSurfaceType() 64 ParcelableSurfaceType convertSurfaceTypeToParcelable(sp<SurfaceType> surface) { in convertSurfaceTypeToParcelable() 72 sp<SurfaceType> convertParcelableSurfaceTypeToSurface(const ParcelableSurfaceType& surface) { in convertParcelableSurfaceTypeToSurface()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
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()
|
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()
|
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()
|
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()
|
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()
|
/frameworks/base/core/jni/ |
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()
|
D | android_view_Surface.cpp | 121 jobject android_view_Surface_createFromSurface(JNIEnv* env, const sp<Surface>& surface) { in android_view_Surface_createFromSurface() 142 sp<Surface> surface = sp<Surface>::make(bufferProducer, true); in android_view_Surface_createFromIGraphicBufferProducer() local 164 sp<Surface> surface = sp<Surface>::make(producer, true); in nativeCreateFromSurfaceTexture() local 199 sp<Surface> surface(reinterpret_cast<Surface *>(nativeObject)); in nativeLockCanvas() local 254 sp<Surface> surface(reinterpret_cast<Surface *>(nativeObject)); in nativeUnlockCanvasAndPost() local 272 sp<Surface> surface(reinterpret_cast<Surface *>(nativeObject)); in nativeAllocateBuffers() local 285 sp<Surface> surface(ctrl->createSurface()); in nativeCreateFromSurfaceControl() local 305 sp<Surface> surface(ctrl->getSurface()); in nativeGetFromSurfaceControl() local 325 sp<Surface> surface = queue->getSurface(true /* includeSurfaceControlHandle */); in nativeGetFromBlastBufferQueue() local 395 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeGetWidth() local [all …]
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | GlTextureViewActivity.java | 50 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 72 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 76 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 87 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
/frameworks/base/rs/java/android/renderscript/ |
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()
|
/frameworks/base/tests/SurfaceViewBufferTests/cpp/ |
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
|
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/ |
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()
|
/frameworks/av/camera/tests/fuzzer/ |
D | camera_c2OutputConfiguration_fuzzer.cpp | 53 sp<Surface> surface = surfaceControl->getSurface(); in createSurface() local 71 sp<SurfaceType> surface = createSurface(); in getC2OutputConfig() local 87 sp<SurfaceType> surface = createSurface(); in getC2OutputConfig() local 120 sp<SurfaceType> surface = createSurface(); in invokeC2OutputConfigFuzzer() local 130 sp<SurfaceType> surface = createSurface(); in invokeC2OutputConfigFuzzer() local
|
/frameworks/native/libs/gui/tests/ |
D | EndToEndNativeInputTest.cpp | 466 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local 481 std::unique_ptr<InputSurface> surface = makeSurface(100, 100, "Left Surface"); in TEST_F() local 504 std::unique_ptr<InputSurface> surface = makeSurface(100, 100, "Test Surface 1"); in TEST_F() local 617 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local 669 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local 751 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local 759 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local 771 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local 782 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local 804 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local [all …]
|
/frameworks/base/native/android/ |
D | native_window_jni.cpp | 30 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface) { in ANativeWindow_fromSurface() 42 sp<Surface> surface = static_cast<Surface*>(window); in ANativeWindow_toSurface() local
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 66 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, in onSurfaceTextureAvailable() 73 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, in onSurfaceTextureSizeChanged() 79 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 87 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() 192 public boolean createSurface(SurfaceTexture surface) { in createSurface() 343 public void setSurface(SurfaceTexture surface) { in setSurface()
|
/frameworks/rs/tests/java_api/SampleTest/src/com/android/rs/sample/ |
D | SampleRSActivity.java | 52 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() 55 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 61 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 68 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed()
|
/frameworks/base/core/java/android/hardware/camera2/extension/ |
D | CameraOutputSurface.java | 48 CameraOutputSurface(@NonNull OutputSurface surface) { in CameraOutputSurface() 60 public CameraOutputSurface(@NonNull Surface surface, in CameraOutputSurface()
|
D | ICaptureProcessorImpl.aidl | 26 void onOutputSurface(in Surface surface, int imageFormat); in onOutputSurface() 27 void onPostviewOutputSurface(in Surface surface); in onPostviewOutputSurface()
|
/frameworks/native/cmds/flatland/ |
D | GLHelper.cpp | 137 bool GLHelper::makeCurrent(EGLSurface surface) { in makeCurrent() 155 sp<GLConsumer>* glConsumer, EGLSurface* surface, in createSurfaceTexture() 171 void GLHelper::destroySurface(EGLSurface* surface) { in destroySurface() 181 bool GLHelper::swapBuffers(EGLSurface surface) { in swapBuffers() 205 sp<GLConsumer>* glConsumer, EGLSurface* surface) { in createNamedSurfaceTexture() 239 sp<SurfaceControl>* surfaceControl, EGLSurface* surface) { in createWindowSurface()
|
/frameworks/av/media/libstagefright/ |
D | SurfaceUtils.cpp | 328 status_t nativeWindowConnect(ANativeWindow *surface, const char *reason) { in nativeWindowConnect() 338 const sp<Surface> &surface, sp<SurfaceListener> listener, const char *reason) { in surfaceConnectWithListener() 347 status_t nativeWindowDisconnect(ANativeWindow *surface, const char *reason) { in nativeWindowDisconnect() 356 status_t disableLegacyBufferDropPostQ(const sp<Surface> &surface) { in disableLegacyBufferDropPostQ()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | GLEnvironment.java | 106 public int registerSurface(Surface surface) { in registerSurface() 115 Surface surface = new Surface(surfaceTexture); in registerSurfaceTexture() local 179 private native int nativeAddSurface(Surface surface); in nativeAddSurface() 181 private native int nativeAddSurfaceWidthHeight(Surface surface, int width, int height); in nativeAddSurfaceWidthHeight()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | SurfaceAndTextureViews.java | 173 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 178 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 186 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 191 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaPipelineTests.cpp | 57 auto surface = SkSurfaces::Raster(SkImageInfo::MakeN32Premul(1, 1)); in RENDERTHREAD_TEST() local 79 auto surface = SkSurfaces::Raster(SkImageInfo::MakeN32Premul(2, 2)); in RENDERTHREAD_TEST() local 103 auto surface = SkSurfaces::Raster(SkImageInfo::MakeN32Premul(2, 2)); in RENDERTHREAD_TEST() local 172 auto surface = SkSurfaces::Raster(SkImageInfo::MakeN32Premul(1, 1)); in RENDERTHREAD_TEST() local 294 sk_sp<DeferLayer<DeferTestCanvas>> surface(new DeferLayer<DeferTestCanvas>()); in RENDERTHREAD_TEST() local 327 sk_sp<DeferLayer<ClippedTestCanvas>> surface(new DeferLayer<ClippedTestCanvas>()); in RENDERTHREAD_TEST() local 365 sk_sp<DeferLayer<ClippedTestCanvas>> surface(new DeferLayer<ClippedTestCanvas>()); in RENDERTHREAD_TEST() local 395 sk_sp<DeferLayer<ClipReplaceTestCanvas>> surface(new DeferLayer<ClipReplaceTestCanvas>()); in RENDERTHREAD_TEST() local 403 auto surface = context.surface(); in RENDERTHREAD_TEST() local 433 auto surface = SkSurfaces::Raster(SkImageInfo::MakeN32Premul(1, 1)); in RENDERTHREAD_TEST() local
|