Home
last modified time | relevance | path

Searched defs:surface (Results 1 – 25 of 192) sorted by relevance

12345678

/aosp14/frameworks/base/core/java/android/hardware/camera2/utils/
H A DSurfaceUtils.java57 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/jni/
H A Dandroid_hardware_camera2_utils_SurfaceUtils.cpp53 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 Dandroid_view_Surface.cpp135 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/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGetBitmapActivity.java81 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 DCanvasTextureViewActivity.java50 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 DSingleFrameTextureViewTestActivity.java78 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 DTextureViewActivity.java101 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 DHardwareCanvasTextureViewActivity.java51 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()
H A DGLTextureViewActivity.java91 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()
H A DColorBitmapActivity.java254 public void onSurfaceTextureAvailable( in onSurfaceTextureAvailable()
264 public void onSurfaceTextureSizeChanged( in onSurfaceTextureSizeChanged()
270 public boolean onSurfaceTextureDestroyed(@NonNull SurfaceTexture surface) { in onSurfaceTextureDestroyed()
278 public void onSurfaceTextureUpdated(@NonNull SurfaceTexture surface) { in onSurfaceTextureUpdated()
/aosp14/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DGlTextureViewActivity.java49 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/rs/java/android/renderscript/
H A DRSTextureView.java69 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/tests/SurfaceViewBufferTests/cpp/
H A DSurfaceProxy.cpp41 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/native/android/
H A Dnative_window_jni.cpp30 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface) { in ANativeWindow_fromSurface()
42 sp<Surface> surface = static_cast<Surface*>(window); in ANativeWindow_toSurface() local
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DBlockingGLTextureView.java66 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()
/aosp14/frameworks/base/core/java/android/hardware/camera2/extension/
H A DICaptureProcessorImpl.aidl26 void onOutputSurface(in Surface surface, int imageFormat); in onOutputSurface()
27 void onPostviewOutputSurface(in Surface surface); in onPostviewOutputSurface()
/aosp14/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLEnvironment.java106 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()
/aosp14/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DSurfaceAndTextureViews.java173 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()
/aosp14/frameworks/base/core/java/android/view/
H A DSyncRtSurfaceTransactionApplier.java89 SurfaceControl surface = surfaceParams.surface; in applyParams() local
166 final SurfaceControl surface; field in SyncRtSurfaceTransactionApplier.SurfaceParams.Builder
180 public Builder(SurfaceControl surface) { in Builder()
274 private SurfaceParams(SurfaceControl surface, int params, float alpha, Matrix matrix, in SurfaceParams()
292 public final SurfaceControl surface; field in SyncRtSurfaceTransactionApplier.SurfaceParams
/aosp14/frameworks/base/libs/hwui/tests/unit/
H A DSkiaPipelineTests.cpp57 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
79 auto surface = SkSurface::MakeRasterN32Premul(2, 2); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
103 auto surface = SkSurface::MakeRasterN32Premul(2, 2); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
172 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
294 sk_sp<DeferLayer<DeferTestCanvas>> surface(new DeferLayer<DeferTestCanvas>()); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
326 sk_sp<DeferLayer<ClippedTestCanvas>> surface(new DeferLayer<ClippedTestCanvas>()); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
363 sk_sp<DeferLayer<ClippedTestCanvas>> surface(new DeferLayer<ClippedTestCanvas>()); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
393 sk_sp<DeferLayer<ClipReplaceTestCanvas>> surface(new DeferLayer<ClipReplaceTestCanvas>()); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
401 auto surface = context.surface(); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
431 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DTextureLayer.java131 public void setSurfaceTexture(@NonNull SurfaceTexture surface) { in setSurfaceTexture()
132 nSetSurfaceTexture(mFinalizer.get(), surface); in setSurfaceTexture() local
151 @NonNull SurfaceTexture surface); in nSetSurfaceTexture()
/aosp14/frameworks/base/telephony/java/com/android/ims/internal/
H A DIImsVideoCallProvider.aidl49 void setPreviewSurface(in Surface surface); in setPreviewSurface()
51 void setDisplaySurface(in Surface surface); in setDisplaySurface()
/aosp14/frameworks/base/services/core/jni/tvinput/
H A DBufferProducerThread.cpp51 void BufferProducerThread::setSurface(const sp<Surface>& surface) { in setSurface()
56 void BufferProducerThread::setSurfaceLocked(const sp<Surface>& surface) { in setSurfaceLocked()
/aosp14/frameworks/base/telecomm/java/com/android/internal/telecom/
H A DIVideoProvider.aidl35 void setPreviewSurface(in Surface surface); in setPreviewSurface()
37 void setDisplaySurface(in Surface surface); in setDisplaySurface()
/aosp14/frameworks/base/telephony/java/android/telephony/ims/
H A DImsVideoCallProvider.java134 public void setPreviewSurface(Surface surface) { in setPreviewSurface()
138 public void setDisplaySurface(Surface surface) { in setDisplaySurface()
204 public abstract void onSetPreviewSurface(Surface surface); in onSetPreviewSurface()
207 public abstract void onSetDisplaySurface(Surface surface); in onSetDisplaySurface()

12345678