Home
last modified time | relevance | path

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

12345678910

/frameworks/base/core/java/android/hardware/camera2/utils/
DSurfaceUtils.java43 public static boolean isSurfaceForPreview(Surface surface) { in isSurfaceForPreview()
54 public static boolean isSurfaceForHwVideoEncoder(Surface surface) { in isSurfaceForHwVideoEncoder()
66 public static Size getSurfaceSize(Surface surface) { in getSurfaceSize()
82 public static int getSurfaceFormat(Surface surface) { in getSurfaceFormat()
98 public static int getSurfaceDataspace(Surface surface) { in getSurfaceDataspace()
120 private static void checkHighSpeedSurfaceFormat(Surface surface) { in checkHighSpeedSurfaceFormat()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java579 public static Size getSurfaceSize(Surface surface) throws BufferQueueAbandonedException { in getSurfaceSize()
640 static int detectSurfaceUsageFlags(Surface surface) { in detectSurfaceUsageFlags()
648 public static int detectSurfaceType(Surface surface) throws BufferQueueAbandonedException { in detectSurfaceType()
665 public static int detectSurfaceDataspace(Surface surface) throws BufferQueueAbandonedException { in detectSurfaceDataspace()
670 static void connectSurface(Surface surface) throws BufferQueueAbandonedException { in connectSurface()
676 static void disconnectSurface(Surface surface) throws BufferQueueAbandonedException { in disconnectSurface()
682 static void produceFrame(Surface surface, byte[] pixelBuffer, int width, in produceFrame()
694 static void setSurfaceFormat(Surface surface, int pixelFormat) in setSurfaceFormat()
701 static void setSurfaceDimens(Surface surface, int width, int height) in setSurfaceDimens()
710 static long getSurfaceId(Surface surface) throws BufferQueueAbandonedException { in getSurfaceId()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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()
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()
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()
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()
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()
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()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
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()
/frameworks/native/libs/vr/libdvr/
Ddvr_surface.cpp68 std::unique_ptr<Surface> surface; member
98 void dvrSurfaceDestroy(DvrSurface* surface) { delete surface; } in dvrSurfaceDestroy()
100 int dvrSurfaceGetId(DvrSurface* surface) { in dvrSurfaceGetId()
104 int dvrSurfaceSetAttributes(DvrSurface* surface, in dvrSurfaceSetAttributes()
134 int dvrSurfaceCreateWriteBufferQueue(DvrSurface* surface, uint32_t width, in dvrSurfaceCreateWriteBufferQueue()
/frameworks/base/rs/java/android/renderscript/
DRSTextureView.java68 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/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp97 static status_t connectSurface(const sp<Surface>& surface, int32_t maxBufferSlack) { in connectSurface()
353 static sp<ANativeWindow> getNativeWindow(JNIEnv* env, jobject surface) { in getNativeWindow()
390 static sp<Surface> getSurface(JNIEnv* env, jobject surface) { in getSurface()
411 static jint LegacyCameraDevice_nativeDetectSurfaceType(JNIEnv* env, jobject thiz, jobject surface) { in LegacyCameraDevice_nativeDetectSurfaceType()
428 … jint LegacyCameraDevice_nativeDetectSurfaceDataspace(JNIEnv* env, jobject thiz, jobject surface) { in LegacyCameraDevice_nativeDetectSurfaceDataspace()
446 jobject surface, jintArray dimens) { in LegacyCameraDevice_nativeDetectSurfaceDimens()
482 jobject surface) { in LegacyCameraDevice_nativeDetectSurfaceUsageFlags()
502 jobject surface) { in LegacyCameraDevice_nativeDisconnectSurface()
552 static jint LegacyCameraDevice_nativeConnectSurface(JNIEnv* env, jobject thiz, jobject surface) { in LegacyCameraDevice_nativeConnectSurface()
567 static jint LegacyCameraDevice_nativeProduceFrame(JNIEnv* env, jobject thiz, jobject surface, in LegacyCameraDevice_nativeProduceFrame()
[all …]
Dandroid_view_Surface.cpp104 jobject android_view_Surface_createFromSurface(JNIEnv* env, const sp<Surface>& surface) { in android_view_Surface_createFromSurface()
125 sp<Surface> surface(new Surface(bufferProducer, true)); in android_view_Surface_createFromIGraphicBufferProducer() local
249 sp<Surface> surface(new Surface(producer, true)); in nativeCreateFromSurfaceTexture() local
298 sp<Surface> surface(reinterpret_cast<Surface *>(nativeObject)); in nativeLockCanvas() local
367 sp<Surface> surface(reinterpret_cast<Surface *>(nativeObject)); in nativeUnlockCanvasAndPost() local
385 sp<Surface> surface(reinterpret_cast<Surface *>(nativeObject)); in nativeAllocateBuffers() local
398 sp<Surface> surface(ctrl->createSurface()); in nativeCreateFromSurfaceControl() local
414 sp<Surface> surface(ctrl->getSurface()); in nativeGetFromSurfaceControl() local
480 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeGetWidth() local
488 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeGetHeight() local
[all …]
/frameworks/base/libs/hwui/renderthread/
DVulkanManager.cpp120 VulkanSurface::BackbufferInfo* VulkanManager::getAvailableBackbuffer(VulkanSurface* surface) { in getAvailableBackbuffer()
143 SkSurface* VulkanManager::getBackbufferSurface(VulkanSurface* surface) { in getBackbufferSurface()
243 void VulkanManager::destroyBuffers(VulkanSurface* surface) { in destroyBuffers()
268 void VulkanManager::destroySurface(VulkanSurface* surface) { in destroySurface()
289 void VulkanManager::createBuffers(VulkanSurface* surface, VkFormat format, VkExtent2D extent) { in createBuffers()
369 bool VulkanManager::createSwapchain(VulkanSurface* surface) { in createSwapchain()
526 VulkanSurface* surface = new VulkanSurface(); in createSurface() local
605 void VulkanManager::swapBuffers(VulkanSurface* surface) { in swapBuffers()
692 int VulkanManager::getAge(VulkanSurface* surface) { in getAge()
DEglManager.cpp224 EGLSurface surface = eglCreateWindowSurface(mEglDisplay, mEglConfig, window, attribs); in createSurface() local
238 void EglManager::destroySurface(EGLSurface surface) { in destroySurface()
264 bool EglManager::makeCurrent(EGLSurface surface, EGLint* errOut) { in makeCurrent()
288 EGLint EglManager::queryBufferAge(EGLSurface surface) { in queryBufferAge()
302 Frame EglManager::beginFrame(EGLSurface surface) { in beginFrame()
369 bool EglManager::setPreserveBuffer(EGLSurface surface, bool preserve) { in setPreserveBuffer()
/frameworks/base/native/android/
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
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
DRsYuv.java127 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/
DOutputConfiguration.java100 public OutputConfiguration(@NonNull Surface surface) { in OutputConfiguration()
159 public OutputConfiguration(int surfaceGroupId, @NonNull Surface surface) { in OutputConfiguration()
182 public OutputConfiguration(@NonNull Surface surface, int rotation) { in OutputConfiguration()
208 public OutputConfiguration(int surfaceGroupId, @NonNull Surface surface, int rotation) { in OutputConfiguration()
356 public void addSurface(@NonNull Surface surface) { in addSurface()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
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()
/frameworks/rs/tests/java_api/SampleTest/src/com/android/rs/sample/
DSampleRSActivity.java52 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/libs/hwui/debug/
Dnullegl.cpp28 EGLSurface surface; member
97 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface) { in eglDestroySurface()
102 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, in eglQuerySurface()
112 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, in eglSurfaceAttrib()
151 EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface surface) { in eglSwapBuffers()
155 EGLBoolean eglSwapBuffersWithDamageKHR(EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint re… in eglSwapBuffersWithDamageKHR()
180 void eglBeginFrame(EGLDisplay dpy, EGLSurface surface) {} in eglBeginFrame()
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_service.cpp43 if (auto surface = std::static_pointer_cast<DisplaySurface>(channel)) { in OnChannelClose() local
171 auto surface = std::static_pointer_cast<DisplaySurface>(message.GetChannel()); in HandleSurfaceMessage() local
197 [&](const std::shared_ptr<DisplaySurface>& surface) mutable { in GetVisibleDisplaySurfaces()
256 [&visible](const std::shared_ptr<DisplaySurface>& surface) { in IsVrAppRunning()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
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()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DGLEnvironment.java102 public int registerSurface(Surface surface) { in registerSurface()
111 Surface surface = new Surface(surfaceTexture); in registerSurfaceTexture() local
171 private native int nativeAddSurface(Surface surface); in nativeAddSurface()
173 private native int nativeAddSurfaceWidthHeight(Surface surface, int width, int height); in nativeAddSurfaceWidthHeight()
/frameworks/native/cmds/flatland/
DGLHelper.cpp134 bool GLHelper::makeCurrent(EGLSurface surface) { in makeCurrent()
152 sp<GLConsumer>* glConsumer, EGLSurface* surface, in createSurfaceTexture()
168 void GLHelper::destroySurface(EGLSurface* surface) { in destroySurface()
178 bool GLHelper::swapBuffers(EGLSurface surface) { in swapBuffers()
202 sp<GLConsumer>* glConsumer, EGLSurface* surface) { in createNamedSurfaceTexture()
246 sp<SurfaceControl>* surfaceControl, EGLSurface* surface) { in createWindowSurface()

12345678910