Searched refs:surface (Results 26 - 50 of 309) sorted by relevance

1234567891011>>

/frameworks/base/telecomm/java/com/android/internal/telecom/
H A DIVideoProvider.aidl35 void setPreviewSurface(in Surface surface);
37 void setDisplaySurface(in Surface surface);
/frameworks/base/telephony/java/com/android/ims/internal/
H A DIImsVideoCallProvider.aidl48 void setPreviewSurface(in Surface surface);
50 void setDisplaySurface(in Surface surface);
/frameworks/native/include/android/
H A Dnative_window_jni.h45 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
/frameworks/native/libs/vr/libdvr/include/dvr/
H A Ddvr_surface.h57 // Creates a new display surface with the given attributes.
62 // Destroys the display surface.
63 void dvrSurfaceDestroy(DvrSurface* surface);
65 // Gets the DisplayService global id for this surface.
66 int dvrSurfaceGetId(DvrSurface* surface);
68 // Sets attributes on the given display surface.
70 int dvrSurfaceSetAttributes(DvrSurface* surface,
74 // Creates a new write-side buffer queue on the given surface. Direct surfaces
79 int dvrSurfaceCreateWriteBufferQueue(DvrSurface* surface, uint32_t width,
/frameworks/native/opengl/libagl/
H A Ddxt.h29 void *surface, int stride, int format);
/frameworks/wilhelm/tests/sandbox/
H A Dnativewindow.cpp68 sp<Surface> surface = control->getSurface(); local
69 CHECK(surface != NULL);
71 gSurface = surface;
75 return surface.get();
/frameworks/native/opengl/tests/linetex/
H A Dlinetex.cpp43 EGLSurface surface; local
60 surface = eglCreateWindowSurface(dpy, config, window, NULL);
62 eglMakeCurrent(dpy, surface, surface, context);
63 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
64 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
110 eglSwapBuffers(dpy, surface);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DOutputConfiguration.java83 * Invalid surface group ID.
85 *<p>An {@link OutputConfiguration} with this value indicates that the included surface
86 *doesn't belong to any surface group.</p>
93 * @param surface
96 * <p>This constructor creates a default configuration, with a surface group ID of
100 public OutputConfiguration(@NonNull Surface surface) { argument
101 this(SURFACE_GROUP_ID_NONE, surface, ROTATION_0);
105 * Unknown surface source type.
110 * The surface is obtained from {@link android.view.SurfaceView}.
115 * The surface i
159 OutputConfiguration(int surfaceGroupId, @NonNull Surface surface) argument
182 OutputConfiguration(@onNull Surface surface, int rotation) argument
208 OutputConfiguration(int surfaceGroupId, @NonNull Surface surface, int rotation) argument
356 addSurface(@onNull Surface surface) argument
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGetBitmapActivity.java81 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
85 mCamera.setPreviewTexture(surface);
94 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
99 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
106 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
H A DCanvasTextureViewActivity.java50 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
56 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
61 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
67 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
75 public RenderingThread(TextureView surface) { argument
76 mSurface = surface;
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DGlTextureViewActivity.java49 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
50 mRenderThread = new ImageFlipRenderThread(getResources(), surface);
71 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
75 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
86 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
/frameworks/native/libs/gui/tests/
H A DMalicious.cpp147 sp<Surface> surface = new Surface(malicious); local
149 ASSERT_EQ(NO_ERROR, surface->connect(NATIVE_WINDOW_API_CPU, nullptr, false));
151 ASSERT_EQ(NO_ERROR, surface->lock(&buffer, nullptr));
152 ASSERT_EQ(NO_ERROR, surface->unlockAndPost());
156 ASSERT_EQ(FAILED_TRANSACTION, surface->lock(&buffer, nullptr));
161 sp<Surface> surface = new Surface(malicious); local
163 ASSERT_EQ(NO_ERROR, surface->connect(NATIVE_WINDOW_API_CPU, nullptr, false));
165 ASSERT_EQ(NO_ERROR, surface->lock(&buffer, nullptr));
166 ASSERT_EQ(NO_ERROR, surface->unlockAndPost());
170 ASSERT_EQ(FAILED_TRANSACTION, surface
175 sp<Surface> surface = new Surface(malicious); local
189 sp<Surface> surface = new Surface(malicious); local
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DVulkanManager.h88 void destroySurface(VulkanSurface* surface);
95 bool isCurrent(VulkanSurface* surface) { return true; } argument
97 int getAge(VulkanSurface* surface);
102 SkSurface* getBackbufferSurface(VulkanSurface* surface);
105 void swapBuffers(VulkanSurface* surface);
113 void destroyBuffers(VulkanSurface* surface);
115 bool createSwapchain(VulkanSurface* surface);
116 void createBuffers(VulkanSurface* surface, VkFormat format, VkExtent2D extent);
118 VulkanSurface::BackbufferInfo* getAvailableBackbuffer(VulkanSurface* surface);
/frameworks/native/opengl/tests/fillrate/
H A Dfillrate.cpp44 EGLSurface surface; local
61 surface = eglCreateWindowSurface(dpy, config, window, NULL);
63 eglMakeCurrent(dpy, surface, surface, context);
64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
127 eglSwapBuffers(dpy, surface);
137 eglSwapBuffers(dpy, surface);
149 eglSwapBuffers(dpy, surface);
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
H A DRsYuv.java127 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
128 android.util.Log.v("cpa", "onSurfaceTextureAvailable " + surface);
129 mSurface = new Surface(surface);
134 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
135 android.util.Log.v("cpa", "onSurfaceTextureSizeChanged " + surface);
136 mSurface = new Surface(surface);
141 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
142 android.util.Log.v("cpa", "onSurfaceTextureDestroyed " + surface);
149 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
/frameworks/native/opengl/tests/finish/
H A Dfinish.cpp45 EGLSurface surface; local
62 surface = eglCreateWindowSurface(dpy, config, window, NULL);
64 eglMakeCurrent(dpy, surface, surface, context);
65 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
66 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
114 eglSwapBuffers(dpy, surface);
128 eglSwapBuffers(dpy, surface);
143 eglSwapBuffers(dpy, surface);
158 eglSwapBuffers(dpy, surface);
[all...]
/frameworks/native/opengl/tools/glgen/specs/egl/
H A DEGL14.spec12 EGLBoolean eglDestroySurface ( EGLDisplay dpy, EGLSurface surface )
13 EGLBoolean eglQuerySurface ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value )
19 EGLBoolean eglSurfaceAttrib ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value )
20 EGLBoolean eglBindTexImage ( EGLDisplay dpy, EGLSurface surface, EGLint buffer )
21 EGLBoolean eglReleaseTexImage ( EGLDisplay dpy, EGLSurface surface, EGLint buffer )
32 EGLBoolean eglSwapBuffers ( EGLDisplay dpy, EGLSurface surface )
33 EGLBoolean eglCopyBuffers ( EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target )
/frameworks/native/vulkan/libvulkan/
H A Dswapchain.cpp186 VkSurfaceKHR HandleFromSurface(Surface* surface) { argument
187 return VkSurfaceKHR(reinterpret_cast<uint64_t>(surface));
204 : surface(surface_),
210 ANativeWindow* window = surface.window.get();
216 Surface& surface; member in struct:vulkan::driver::__anon1940::Swapchain
296 if (swapchain->surface.swapchain_handle != HandleFromSwapchain(swapchain))
302 swapchain->surface.swapchain_handle = VK_NULL_HANDLE;
330 swapchain.surface.window.get(), ti.native_frame_id_,
489 Surface* surface = new (mem) Surface;
491 surface
515 Surface* surface = SurfaceFromHandle(surface_handle); local
540 GetPhysicalDeviceSurfaceCapabilitiesKHR( VkPhysicalDevice , VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* capabilities) argument
627 Surface& surface = *SurfaceFromHandle(surface_handle); local
817 Surface& surface = *SurfaceFromHandle(create_info->surface); local
[all...]
H A Dswapchain.h26 VKAPI_ATTR VkResult CreateAndroidSurfaceKHR(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* allocator, VkSurfaceKHR* surface);
27 VKAPI_ATTR void DestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* allocator);
28 VKAPI_ATTR VkResult GetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice pdev, uint32_t queue_family, VkSurfaceKHR surface, VkBool32* pSupported);
29 VKAPI_ATTR VkResult GetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysicalDevice pdev, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* capabilities);
31 VKAPI_ATTR VkResult GetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice pdev, VkSurfaceKHR surface, uint32_t* count, VkPresentModeKHR* modes);
/frameworks/native/libs/vr/libvrflinger/
H A Ddisplay_service.cpp43 if (auto surface = std::static_pointer_cast<DisplaySurface>(channel)) {
44 surface->OnSetAttributes(message,
47 SurfaceUpdated(surface->surface_type(),
53 // that are independent of the display surface (metrics, creation) and routes
54 // surface-specific messages to the per-instance handlers.
78 // Direct the surface specific messages to the surface instance.
109 // A surface may only be created once per channel.
116 // Use the channel id as the unique surface id.
128 ALOGE("DisplayService::OnCreateSurface: Failed to create surface
171 auto surface = std::static_pointer_cast<DisplaySurface>(message.GetChannel()); local
[all...]
/frameworks/base/media/java/android/media/tv/
H A DITvInputHardware.aidl32 * Make the input render on the surface according to the config. In case of HDMI, this will
35 boolean setSurface(in Surface surface, in TvStreamConfig config);
/frameworks/native/opengl/tests/angeles/
H A Dapp-linux.cpp134 EGLSurface surface; local
150 surface = eglCreateWindowSurface(dpy, config, window, NULL);
153 fprintf(stderr,"surface = %p\n", surface);
159 eglMakeCurrent(dpy, surface, surface, context);
162 eglQuerySurface(dpy, surface, EGL_WIDTH, &sWindowWidth);
163 eglQuerySurface(dpy, surface, EGL_HEIGHT, &sWindowHeight);
166 sEglSurface = surface;
/frameworks/av/include/ndk/
H A DNdkMediaCodec.h93 ANativeWindow* surface,
154 * the codec. If you previously specified a surface when configuring this
160 * Dynamically sets the output surface of a codec.
162 * This can only be used if the codec was configured with an output surface. The
163 * new output surface should have a compatible usage type to the original output surface.
169 media_status_t AMediaCodec_setOutputSurface(AMediaCodec*, ANativeWindow* surface);
172 * If you are done with a buffer, use this call to update its surface timestamp
173 * and return it to the codec to render it on the output surface. If you
174 * have not specified an output surface whe
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DEGL14.java261 EGLSurface surface;
263 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset);
265 surface = _eglCreateWindowSurfaceTexture(dpy, config,
274 return surface;
296 // C function EGLBoolean eglDestroySurface ( EGLDisplay dpy, EGLSurface surface )
300 EGLSurface surface
303 // C function EGLBoolean eglQuerySurface ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value )
307 EGLSurface surface,
357 // C function EGLBoolean eglSurfaceAttrib ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value )
361 EGLSurface surface,
305 eglQuerySurface( EGLDisplay dpy, EGLSurface surface, int attribute, int[] value, int offset ) argument
359 eglSurfaceAttrib( EGLDisplay dpy, EGLSurface surface, int attribute, int value ) argument
368 eglBindTexImage( EGLDisplay dpy, EGLSurface surface, int buffer ) argument
376 eglReleaseTexImage( EGLDisplay dpy, EGLSurface surface, int buffer ) argument
461 eglCopyBuffers( EGLDisplay dpy, EGLSurface surface, int target ) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3SharedOutputStream.cpp82 for (auto& surface : surfaces) {
83 if (surface == nullptr) {
84 ALOGE("%s: it's illegal to set a null consumer surface!", __FUNCTION__);
88 mSurfaces.push_back(surface);
92 ret = mStreamSplitter->addOutput(surface);
203 for (auto surface : mSurfaces) {
204 if (surface != nullptr) {
205 res = getEndpointUsageForSurface(&u, surface);

Completed in 1697 milliseconds

1234567891011>>