/external/skqp/gm/ |
transparency.cpp | 66 auto surface(SkSurface::MakeRasterN32Premul(256, 9)); 67 make_transparency(surface->getCanvas(), 256.0f, 9.0f); 69 surface->draw(canvas, 0, 0, nullptr);
|
/external/skqp/samplecode/ |
SampleTextureDomain.cpp | 62 auto surface(canvas->makeSurface(info)); 66 surface->getCanvas()->drawBitmapRect(fBM, srcRect, dstRect, &paint, 69 sk_sp<SkImage> image(surface->makeImageSnapshot());
|
/external/skqp/tests/ |
PictureShaderTest.cpp | 55 sk_sp<SkSurface> surface = SkSurface::MakeRasterN32Premul(100, 100); local 62 surface->getCanvas()->drawPaint(paint); 74 surface->getCanvas()->drawPaint(paint);
|
/frameworks/base/core/java/android/view/ |
TextureLayer.java | 132 public void setSurfaceTexture(SurfaceTexture surface) { 133 nSetSurfaceTexture(mFinalizer.get(), surface); local 150 private static native void nSetSurfaceTexture(long layerUpdater, SurfaceTexture surface);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
VectorDrawableAtlas.h | 37 sk_sp<SkSurface> surface; member in struct:android::uirenderer::skiapipeline::AtlasEntry 44 * VectorDrawableAtlas can allocate a standalone surface or provide a subrect from a shared surface. 46 * VectorDrawable that is using it. VectorDrawableAtlas and its surface can be deleted at any time, 51 * draw in a standalone cache surface not part of an atlas. In this case VD won't use 54 * the atlas, VectorDrawableAtlas creates a standalone surface for each VD. 56 * track of free spaces and allow to reuse the surface for another VD. 60 // TODO: offscreen surface. 69 * "prepareForDraw" may allocate a new surface if needed. It may schedule to repack the 75 * Repack the atlas if needed, by moving used rectangles into a new atlas surface 136 sk_sp<SkSurface> surface; member in struct:android::uirenderer::skiapipeline::VectorDrawableAtlas::CacheEntry [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
CacheManagerTests.cpp | 46 sk_sp<SkSurface> surface = SkSurface::MakeRenderTarget(grContext, SkBudgeted::kYes, info); local 47 surface->getCanvas()->drawColor(SK_AlphaTRANSPARENT); 51 surfaces.push_back(surface);
|
/frameworks/base/media/java/android/media/ |
RemoteDisplay.java | 22 import android.view.Surface; 128 private void notifyDisplayConnected(final Surface surface, 133 mListener.onDisplayConnected(surface, width, height, flags, session); 162 void onDisplayConnected(Surface surface,
|
/frameworks/base/media/mca/filterfw/native/core/ |
gl_env.h | 60 // includes the display, context, and surface. It is possible to either create 64 // surface. 75 // Inits a new GL environment, including a new surface and context. You 80 // there is already a display, surface and context available (possibly 96 // When rendering to a visible surface, call this to swap between the 103 // Add a surface to the environment. This surface will now be managed (and 104 // owned) by the GLEnv instance. Returns the id of the surface. 105 int AddSurface(const EGLSurface& surface); 107 // Add a window surface to the environment. The window is passed in a 133 const EGLSurface& surface() const { function in class:android::filterfw::GLEnv [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
SurfaceAnimator.java | 39 * reparenting all child surfaces of an object onto a new surface, called the "Leash". The Leash 40 * gets attached in the surface hierarchy where the the children were attached to. We then hand off 111 final SurfaceControl surface = mAnimatable.getSurfaceControl(); 112 if (surface == null) { 113 Slog.w(TAG, "Unable to start animation, surface is null or no children."); 117 mLeash = createAnimationLeash(surface, t, 178 * Sets the layer of the surface. 180 * When the layer of the surface needs to be adjusted, we need to set it on the leash if the 181 * surface is reparented to the leash. This method takes care of that. 188 * Sets the surface to be relatively layered [all...] |
/frameworks/native/libs/gui/include/gui/ |
SurfaceControl.h | 39 class Surface; 50 static bool isValid(const sp<SurfaceControl>& surface) { 51 return (surface != 0) && surface->isValid(); 61 // release surface data from java 70 sp<Surface> getSurface() const; 71 sp<Surface> createSurface() const; 85 friend class Surface; 95 sp<Surface> generateSurfaceLocked() const; 103 mutable sp<Surface> mSurfaceData [all...] |
/hardware/intel/common/libva/test/common/ |
va_display_x11.c | 107 VASurfaceID surface, 116 if (surface == VA_INVALID_SURFACE) 125 return vaPutSurface(va_dpy, surface, x11_window,
|
/hardware/intel/img/psb_video/src/x11/ |
psb_x11.h | 111 VASurfaceID surface, 129 VASurfaceID surface, 146 VASurfaceID surface,
|
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_syswm.h | 202 IDirectFBSurface *surface; /**< The directfb client surface */ member in struct:SDL_SysWMinfo::__anon263::__anon267 221 struct wl_surface *surface; /**< Wayland surface */ member in struct:SDL_SysWMinfo::__anon263::__anon270 229 MirSurface *surface; /**< Mir surface */ member in struct:SDL_SysWMinfo::__anon263::__anon271
|
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/ |
SDL_syswm.h | 202 IDirectFBSurface *surface; /**< The directfb client surface */ member in struct:SDL_SysWMinfo::__anon372::__anon376 221 struct wl_surface *surface; /**< Wayland surface */ member in struct:SDL_SysWMinfo::__anon372::__anon379 229 MirSurface *surface; /**< Mir surface */ member in struct:SDL_SysWMinfo::__anon372::__anon380
|
/prebuilts/misc/windows/sdl2/include/ |
SDL_syswm.h | 190 IDirectFBSurface *surface; /**< The directfb client surface */ member in struct:SDL_SysWMinfo::__anon450::__anon453 209 struct wl_surface *surface; /**< Wayland surface */ member in struct:SDL_SysWMinfo::__anon450::__anon456 217 MirSurface *surface; /**< Mir surface */ member in struct:SDL_SysWMinfo::__anon450::__anon457
|
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_syswm.h | 202 IDirectFBSurface *surface; /**< The directfb client surface */ member in struct:SDL_SysWMinfo::__anon545::__anon549 221 struct wl_surface *surface; /**< Wayland surface */ member in struct:SDL_SysWMinfo::__anon545::__anon552 229 MirSurface *surface; /**< Mir surface */ member in struct:SDL_SysWMinfo::__anon545::__anon553
|
/cts/hostsidetests/tv/app/src/com/android/cts/tv/hostside/ |
StubTvInputService.java | 22 import android.view.Surface; 43 public boolean onSetSurface(Surface surface) {
|
/cts/tests/tests/media/src/android/media/cts/ |
VideoSurfaceView.java | 33 import android.view.Surface; 120 Surface surface = new Surface(mSurfaceTexture); local 121 mMediaPlayer.setSurface(surface); 122 surface.release(); 135 synchronized public void onFrameAvailable(SurfaceTexture surface) {
|
/cts/tests/tests/security/src/android/security/cts/ |
OutputConfigurationTest.java | 25 import android.view.Surface; 35 Surface surface = new Surface(outputTexture); local 37 //Test OutputConfiguration with a surface. 38 OutputConfiguration outputConfig = new OutputConfiguration(surface); 54 // addSurface shouldn't throw exception because surface sharing is enabled. 56 Surface surface2 = new Surface(outputTexture2); 60 //Test OutputConfiguration with surface group id [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
MockVideoProvider.java | 23 import android.view.Surface; 49 private Surface mPreviewSurface = null; 50 private Surface mDisplaySurface = null; 64 public void onSetPreviewSurface(Surface surface) { 65 mPreviewSurface = surface; 69 public void onSetDisplaySurface(Surface surface) { 70 mDisplaySurface = surface; 210 public Surface getPreviewSurface() [all...] |
/cts/tests/tests/tv/src/android/media/tv/cts/ |
StubTvInputService.java | 22 import android.view.Surface; 43 public boolean onSetSurface(Surface surface) {
|
/external/autotest/client/deps/glbench/src/ |
egl_stuff.h | 43 const EGLSurface surface() const { function in class:EGLInterface
|
waffle_stuff.h | 40 const struct waffle_window* surface() const { function in class:WaffleInterface
|
/external/icu/icu4c/source/samples/layout/ |
gnomeglue.h | 32 void rs_gnomeRenderingSurfaceClose(rs_surface *surface);
|
pflow.h | 32 void pf_draw(pf_flow *flow, rs_surface *surface, le_int32 firstLine, le_int32 lastLine);
|