HomeSort by relevance Sort by last modified time
    Searched refs:surface (Results 276 - 300 of 1076) sorted by null

<<11121314151617181920>>

  /frameworks/base/core/java/android/app/
IActivityContainer.aidl 24 import android.view.Surface;
29 void setSurface(in Surface surface, int width, int height, int density);
  /frameworks/base/core/java/android/hardware/camera2/impl/
CameraConstrainedHighSpeedCaptureSessionImpl.java 28 import android.view.Surface;
60 CameraConstrainedHighSpeedCaptureSessionImpl(int id, List<Surface> outputs,
77 Collection<Surface> outputSurfaces = request.getTargets();
99 Iterator<Surface> iterator = outputSurfaces.iterator();
100 Surface firstSurface = iterator.next();
101 Surface secondSurface = null;
126 // Make sure singleTargetRequestBuilder contains only recording surface for
128 Surface recordingSurface = firstSurface;
167 public void prepare(Surface surface) throws CameraAccessException
    [all...]
  /frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/
SampleRSActivity.java 34 import android.view.Surface;
52 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
55 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) {
56 if (surface != null) {
57 mOutPixelsAllocation.setSurface(new Surface(surface));
61 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) {
62 if (surface != null) {
63 mOutPixelsAllocation.setSurface(new Surface(surface));
    [all...]
  /hardware/intel/common/libmix/videoencoder/
VideoEncoderUtils.h 42 void setVASurface(VASurfaceID surface) {mVASurface = surface;}
  /hardware/intel/common/libva/test/common/
va_display_android.cpp 28 #include <gui/Surface.h>
56 String8("Test Surface"),
82 VASurfaceID surface,
90 return vaPutSurface(va_dpy, surface, anw,
  /packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
AllocatingImageStream.java 19 import android.view.Surface;
52 * @param surface
58 ImageDistributor imageDistributor, Surface surface) {
59 super(imageStream, imageStreamController, imageDistributor, surface);
77 public Surface bind(BufferQueue<Long> timestamps) throws InterruptedException,
ImageStreamImpl.java 19 import android.view.Surface;
38 private final Surface mSurface;
43 ImageDistributor imageDistributor, Surface surface) {
45 mSurface = surface;
54 public Surface bind(BufferQueue<Long> timestamps) throws InterruptedException,
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
TestVideoProvider.java 45 import android.view.Surface;
60 private Surface mDisplaySurface;
61 private Surface mPreviewSurface;
95 public void onSetPreviewSurface(Surface surface) {
96 log("Set preview surface " + (surface == null ? "unset" : "set"));
101 mPreviewSurface = surface;
109 public void onSetDisplaySurface(Surface surface) {
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
RenderTarget.java 26 import android.view.Surface;
55 /** The source for the surface used in this target (if any) */
115 return new RenderTarget(mDisplay, mContext, surface(), fbo, false, false);
156 public RenderTarget forSurface(Surface surface) {
160 eglSurf = mSurfaceSources.get(surface);
162 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surface, null);
163 mSurfaceSources.put(surface, eglSurf);
169 result.setSurfaceSource(surface);
196 throw new RuntimeException("This device supports only a single display surface!");
359 private EGLSurface surface() { method in class:RenderTarget
    [all...]
  /external/deqp/external/vulkancts/framework/vulkan/
vkInstanceDriverImpl.inl 70 void InstanceDriver::destroySurfaceKHR (VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator) const
72 m_vk.destroySurfaceKHR(instance, surface, pAllocator);
75 VkResult InstanceDriver::getPhysicalDeviceSurfaceSupportKHR (VkPhysicalDevice physicalDevice, deUint32 queueFamilyIndex, VkSurfaceKHR surface, VkBool32* pSupported) const
77 return m_vk.getPhysicalDeviceSurfaceSupportKHR(physicalDevice, queueFamilyIndex, surface, pSupported);
80 VkResult InstanceDriver::getPhysicalDeviceSurfaceCapabilitiesKHR (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities) const
82 return m_vk.getPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, surface, pSurfaceCapabilities);
85 VkResult InstanceDriver::getPhysicalDeviceSurfaceFormatsKHR (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, deUint32* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats) const
87 return m_vk.getPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, pSurfaceFormatCount, pSurfaceFormats);
90 VkResult InstanceDriver::getPhysicalDeviceSurfacePresentModesKHR (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, deUint32* pPresentModeCount, VkPresentModeKHR* pPresentModes) const
92 return m_vk.getPhysicalDeviceSurfacePresentModesKHR(physicalDevice, surface, pPresentModeCount, pPresentModes)
    [all...]
  /external/mesa3d/src/gallium/drivers/softpipe/
sp_tile_cache.c 118 * memory in programs that don't clear the surface before rendering.
153 * Specify the surface to cache.
162 if (ps == tc->surface)
174 tc->surface = ps;
194 return tc->surface;
350 /* write the scratch tile to the surface */
358 if (util_format_is_pure_uint(tc->surface->format)) {
363 } else if (util_format_is_pure_sint(tc->surface->format)) {
399 if (util_format_is_pure_uint(tc->surface->format)) {
404 tc->surface->format
    [all...]
  /external/skia/gm/
drawminibitmaprect.cpp 18 SkAutoTUnref<SkSurface> surface(caller->newSurface(info));
19 if (nullptr == surface) {
20 surface.reset(SkSurface::NewRaster(info));
22 SkCanvas* canvas = surface->getCanvas();
59 return surface->newImageSnapshot();
imagefilters.cpp 71 SkAutoTUnref<SkSurface> surface(canvas->newSurface(info));
72 if (!surface) {
73 surface.reset(SkSurface::NewRaster(info));
75 surface->getCanvas()->drawRect(SkRect::MakeXYWH(25, 25, 50, 50), SkPaint());
76 return surface->newImageSnapshot();
lcdblendmodes.cpp 67 SkAutoTUnref<SkSurface> surface(canvas->newSurface(info));
68 if (nullptr == surface) {
69 surface.reset(SkSurface::NewRaster(info));
72 SkCanvas* surfCanvas = surface->getCanvas();
84 surface->draw(canvas, 0, 0, &surfPaint);
  /external/skia/samplecode/
SampleApp.h 108 SkSurface* surface = nullptr; variable
110 surface = fDevManager->createSurface(fDeviceType, this);
112 if (nullptr == surface) {
113 surface = this->INHERITED::createSurface();
115 return surface;
  /external/skia/src/core/
SkPictureImageGenerator.cpp 139 // TODO: respect the usage, by possibly creating a different (pow2) surface
141 SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(ctx, SkBudgeted::kYes,
143 if (!surface.get()) {
151 surface->getCanvas()->clear(0); // does NewRenderTarget promise to do this for us?
152 surface->getCanvas()->drawPicture(fPicture, &matrix, fPaint.getMaybeNull());
153 SkAutoTUnref<SkImage> image(surface->newImageSnapshot());
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
VideoRendererGui.java 56 // |instance|, |instance.surface|, |eglContext|, and |eglContextReady| are synchronized on
61 private GLSurfaceView surface; field in class:VideoRendererGui
76 private VideoRendererGui(GLSurfaceView surface) {
77 this.surface = surface;
79 surface.setPreserveEGLContextOnPause(true);
80 surface.setEGLContextClientVersion(2);
81 surface.setRenderer(this);
82 surface.setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY);
93 // |surface| is synchronized on |this|
94 private GLSurfaceView surface; field in class:VideoRendererGui.YuvImageRenderer
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
TextureViewActivity.java 27 import android.view.Surface;
101 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) {
110 mCamera.setPreviewTexture(surface);
129 case Surface.ROTATION_0:
132 case Surface.ROTATION_90:
135 case Surface.ROTATION_180:
138 case Surface.ROTATION_270:
147 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) {
152 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) {
159 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
    [all...]
  /pdk/apps/TestingCamera2/src/com/android/testingcamera2/
TextureViewSubPane.java 30 import android.view.Surface;
127 public Surface getOutputSurface() {
128 return (mSurfaceTexture != null) ? new Surface(mSurfaceTexture) : null;
145 public void onSurfaceTextureAvailable(final SurfaceTexture surface, final int width,
147 mSurfaceTexture = surface;
152 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) {
157 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) {
162 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
  /external/vulkan-validation-layers/loader/
wsi.h 41 terminator_DestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface,
47 VkSurfaceKHR surface,
52 VkPhysicalDevice physicalDevice, VkSurfaceKHR surface,
56 VkPhysicalDevice physicalDevice, VkSurfaceKHR surface,
61 VkPhysicalDevice physicalDevice, VkSurfaceKHR surface,
  /frameworks/native/libs/gui/tests/
Surface_test.cpp 23 #include <gui/Surface.h>
46 String8("Test Surface"), 32, 32, PIXEL_FORMAT_RGBA_8888, 0);
64 sp<Surface> mSurface;
151 sp<Surface> s = new Surface(producer);
171 sp<Surface> s = new Surface(producer);
189 sp<Surface> surface = new Surface(producer) local
228 sp<Surface> surface = new Surface(producer); local
244 sp<Surface> surface = new Surface(producer); local
    [all...]
  /device/generic/goldfish/opengl/system/egl/
egl.cpp 126 #define VALIDATE_SURFACE_RETURN(surface, ret) \
127 if (surface != EGL_NO_SURFACE) { \
128 egl_surface_t* s( static_cast<egl_surface_t*>(surface) ); \
197 //Surface attributes
209 uint32_t rcSurface; //handle to surface created via remote control
638 egl_surface_t* surface = egl_window_surface_t::create( local
640 if (!surface) {
644 return surface;
692 egl_surface_t* surface = egl_pbuffer_surface_t::create(dpy, config, local
694 if (!surface) {
    [all...]
  /external/deqp/framework/egl/wrapper/
eglwApi.inl 64 EGLBoolean eglwBindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
68 EGLBoolean eglwCopyBuffers (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);
85 EGLBoolean eglwDestroySurface (EGLDisplay dpy, EGLSurface surface);
101 EGLBoolean eglwLockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list);
106 EGLBoolean eglwQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value);
107 EGLBoolean eglwReleaseTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
110 EGLBoolean eglwSurfaceAttrib (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);
111 EGLBoolean eglwSwapBuffers (EGLDisplay dpy, EGLSurface surface);
114 EGLBoolean eglwUnlockSurfaceKHR (EGLDisplay dpy, EGLSurface surface);
  /frameworks/base/core/java/android/view/
ThreadedRenderer.java 35 import android.view.Surface.OutOfResourcesException;
63 * RenderThread with surface buffer allocation.
257 * @param translucent True if the surface is translucent, false otherwise
297 // Spoiler: the reward is GPU-accelerated drawing, better find that Surface!
321 // Actual size of the drawing surface.
324 // Insets between the drawing surface and rendered content. These are
328 // Whether the surface has insets. Used to protect opacity.
414 private void updateEnabledState(Surface surface) {
415 if (surface == null || !surface.isValid())
    [all...]
  /external/mesa3d/src/gallium/state_trackers/xvmc/tests/
test_rendering.c 144 XvMCSurface surface; local
184 assert(XvMCCreateSurface(display, &context, &surface) == Success);
264 assert(XvMCRenderSurface(display, NULL, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) == XvMCBadContext);
265 /* Test NULL surface */
268 assert(XvMCRenderSurface(display, &context, 0, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) == BadValue);
270 assert(XvMCRenderSurface(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) == Success);
272 /* Test NULL surface */
276 /*assert(XvMCPutSurface(display, &surface, 0, 0, 0, width, height, 0, 0, width, height, XVMC_FRAME_PICTURE) == BadDrawable);*/
299 display, &surface, window,
319 assert(XvMCDestroySurface(display, &surface) == Success)
    [all...]

Completed in 1037 milliseconds

<<11121314151617181920>>