| /frameworks/base/core/java/android/hardware/camera2/utils/ |
| D | SurfaceUtils.java | 44 public static boolean isSurfaceForPreview(Surface surface) { in isSurfaceForPreview() 55 public static boolean isSurfaceForHwVideoEncoder(Surface surface) { in isSurfaceForHwVideoEncoder() 65 public static long getSurfaceId(Surface surface) { in getSurfaceId() 82 public static Size getSurfaceSize(Surface surface) { in getSurfaceSize() 98 public static int getSurfaceFormat(Surface surface) { in getSurfaceFormat() 114 public static int getSurfaceDataspace(Surface surface) { in getSurfaceDataspace() 136 private static void checkHighSpeedSurfaceFormat(Surface surface) { in checkHighSpeedSurfaceFormat()
|
| /frameworks/base/core/java/android/hardware/camera2/legacy/ |
| D | LegacyCameraDevice.java | 636 public static Size getSurfaceSize(Surface surface) throws BufferQueueAbandonedException { in getSurfaceSize() 697 static int detectSurfaceUsageFlags(Surface surface) { in detectSurfaceUsageFlags() 705 public static int detectSurfaceType(Surface surface) throws BufferQueueAbandonedException { in detectSurfaceType() 722 public static int detectSurfaceDataspace(Surface surface) throws BufferQueueAbandonedException { in detectSurfaceDataspace() 727 static void connectSurface(Surface surface) throws BufferQueueAbandonedException { in connectSurface() 733 static void disconnectSurface(Surface surface) throws BufferQueueAbandonedException { in disconnectSurface() 739 static void produceFrame(Surface surface, byte[] pixelBuffer, int width, in produceFrame() 751 static void setSurfaceFormat(Surface surface, int pixelFormat) in setSurfaceFormat() 758 static void setSurfaceDimens(Surface surface, int width, int height) in setSurfaceDimens() 767 public static long getSurfaceId(Surface surface) throws BufferQueueAbandonedException { in getSurfaceId() [all …]
|
| /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
| 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 | 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 | 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()
|
| D | GLTextureViewActivity.java | 91 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 111 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 115 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 126 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() 147 RenderThread(Resources resources, SurfaceTexture surface) { in RenderThread()
|
| /frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
| 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()
|
| /frameworks/base/core/jni/ |
| D | android_view_Surface.cpp | 113 jobject android_view_Surface_createFromSurface(JNIEnv* env, const sp<Surface>& surface) { in android_view_Surface_createFromSurface() 134 sp<Surface> surface(new Surface(bufferProducer, true)); in android_view_Surface_createFromIGraphicBufferProducer() local 155 sp<Surface> surface(new Surface(producer, true)); in nativeCreateFromSurfaceTexture() local 189 sp<Surface> surface(reinterpret_cast<Surface *>(nativeObject)); in nativeLockCanvas() local 244 sp<Surface> surface(reinterpret_cast<Surface *>(nativeObject)); in nativeUnlockCanvasAndPost() local 262 sp<Surface> surface(reinterpret_cast<Surface *>(nativeObject)); in nativeAllocateBuffers() local 275 sp<Surface> surface(ctrl->createSurface()); in nativeCreateFromSurfaceControl() local 295 sp<Surface> surface(ctrl->getSurface()); in nativeGetFromSurfaceControl() local 362 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeGetWidth() local 370 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeGetHeight() local [all …]
|
| D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 114 static status_t connectSurface(const sp<Surface>& surface, int32_t maxBufferSlack) { in connectSurface() 380 static sp<ANativeWindow> getNativeWindow(JNIEnv* env, jobject surface) { in getNativeWindow() 423 static sp<Surface> getSurface(JNIEnv* env, jobject surface) { in getSurface() 444 static jint LegacyCameraDevice_nativeDetectSurfaceType(JNIEnv* env, jobject thiz, jobject surface) { in LegacyCameraDevice_nativeDetectSurfaceType() 462 … jint LegacyCameraDevice_nativeDetectSurfaceDataspace(JNIEnv* env, jobject thiz, jobject surface) { in LegacyCameraDevice_nativeDetectSurfaceDataspace() 481 jobject surface, jintArray dimens) { in LegacyCameraDevice_nativeDetectSurfaceDimens() 519 jobject surface) { in LegacyCameraDevice_nativeDetectSurfaceUsageFlags() 540 jobject surface) { in LegacyCameraDevice_nativeDisconnectSurface() 593 static jint LegacyCameraDevice_nativeConnectSurface(JNIEnv* env, jobject thiz, jobject surface) { in LegacyCameraDevice_nativeConnectSurface() 609 static jint LegacyCameraDevice_nativeProduceFrame(JNIEnv* env, jobject thiz, jobject surface, in LegacyCameraDevice_nativeProduceFrame() [all …]
|
| /frameworks/base/rs/java/android/renderscript/ |
| D | RSTextureView.java | 68 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 81 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 94 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 109 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
| /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/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/base/core/java/android/hardware/camera2/params/ |
| D | OutputConfiguration.java | 145 public OutputConfiguration(@NonNull Surface surface) { in OutputConfiguration() 204 public OutputConfiguration(int surfaceGroupId, @NonNull Surface surface) { in OutputConfiguration() 227 public OutputConfiguration(@NonNull Surface surface, int rotation) { in OutputConfiguration() 253 public OutputConfiguration(int surfaceGroupId, @NonNull Surface surface, int rotation) { in OutputConfiguration() 447 public void addSurface(@NonNull Surface surface) { in addSurface() 496 public void removeSurface(@NonNull Surface surface) { in removeSurface()
|
| /frameworks/native/libs/vr/libvrflinger/ |
| D | display_service.cpp | 66 for (const auto& surface : surfaces) { in DumpState() local 91 for (const auto& surface : surfaces) { in DumpState() local 119 if (auto surface = std::static_pointer_cast<DisplaySurface>(channel)) { in OnChannelClose() local 271 auto surface = surface_status.take(); in OnCreateSurface() local 338 auto surface = std::static_pointer_cast<DisplaySurface>(message.GetChannel()); in HandleSurfaceMessage() local 364 [&](const std::shared_ptr<DisplaySurface>& surface) mutable { in GetVisibleDisplaySurfaces() 428 [&visible](const std::shared_ptr<DisplaySurface>& surface) { in IsVrAppRunning()
|
| /frameworks/native/libs/vr/libdvr/ |
| D | dvr_surface.cpp | 87 std::unique_ptr<Surface> surface; member 117 void dvrSurfaceDestroy(DvrSurface* surface) { delete surface; } in dvrSurfaceDestroy() 119 int dvrSurfaceGetId(DvrSurface* surface) { in dvrSurfaceGetId() 123 int dvrSurfaceSetAttributes(DvrSurface* surface, in dvrSurfaceSetAttributes() 153 int dvrSurfaceCreateWriteBufferQueue(DvrSurface* surface, uint32_t width, in dvrSurfaceCreateWriteBufferQueue()
|
| /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/view/ |
| D | SyncRtSurfaceTransactionApplier.java | 86 SurfaceControl surface = surfaceParams.surface; in applyParams() local 155 final SurfaceControl surface; field in SyncRtSurfaceTransactionApplier.SurfaceParams.Builder 168 public Builder(SurfaceControl surface) { in Builder() 251 private SurfaceParams(SurfaceControl surface, int params, float alpha, Matrix matrix, in SurfaceParams() 268 public final SurfaceControl surface; field in SyncRtSurfaceTransactionApplier.SurfaceParams
|
| /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/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/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
| D | SyncRtSurfaceTransactionApplierCompat.java | 188 final SurfaceControl surface; field in SyncRtSurfaceTransactionApplierCompat.SurfaceParams.Builder 203 public Builder(SurfaceControlCompat surface) { in Builder() 210 public Builder(SurfaceControl surface) { in Builder() 314 public SurfaceParams(SurfaceControlCompat surface, float alpha, Matrix matrix, in SurfaceParams() 323 private SurfaceParams(SurfaceControl surface, int flags, float alpha, Matrix matrix, in SurfaceParams() 342 public final SurfaceControl surface; field in SyncRtSurfaceTransactionApplierCompat.SurfaceParams
|
| /frameworks/native/cmds/flatland/ |
| D | GLHelper.cpp | 133 bool GLHelper::makeCurrent(EGLSurface surface) { in makeCurrent() 151 sp<GLConsumer>* glConsumer, EGLSurface* surface, in createSurfaceTexture() 167 void GLHelper::destroySurface(EGLSurface* surface) { in destroySurface() 177 bool GLHelper::swapBuffers(EGLSurface surface) { in swapBuffers() 201 sp<GLConsumer>* glConsumer, EGLSurface* surface) { in createNamedSurfaceTexture() 245 sp<SurfaceControl>* surfaceControl, EGLSurface* surface) { in createWindowSurface()
|
| /frameworks/base/libs/hwui/tests/unit/ |
| D | SkiaPipelineTests.cpp | 56 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() local 78 auto surface = SkSurface::MakeRasterN32Premul(2, 2); in RENDERTHREAD_SKIA_PIPELINE_TEST() local 102 auto surface = SkSurface::MakeRasterN32Premul(2, 2); in RENDERTHREAD_SKIA_PIPELINE_TEST() local 171 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() local 293 sk_sp<DeferLayer<DeferTestCanvas>> surface(new DeferLayer<DeferTestCanvas>()); in RENDERTHREAD_SKIA_PIPELINE_TEST() local 324 sk_sp<DeferLayer<ClippedTestCanvas>> surface(new DeferLayer<ClippedTestCanvas>()); in RENDERTHREAD_SKIA_PIPELINE_TEST() local 360 sk_sp<DeferLayer<ClippedTestCanvas>> surface(new DeferLayer<ClippedTestCanvas>()); in RENDERTHREAD_SKIA_PIPELINE_TEST() local 390 sk_sp<DeferLayer<ClipReplaceTestCanvas>> surface(new DeferLayer<ClipReplaceTestCanvas>()); in RENDERTHREAD_SKIA_PIPELINE_TEST() local 398 auto surface = context.surface(); in RENDERTHREAD_SKIA_PIPELINE_TEST() local 425 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
|