/frameworks/base/services/surfaceflinger/tests/surface/ |
Android.mk | 5 surface.cpp 14 LOCAL_MODULE:= test-surface
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_surface.c | 35 * Create an empty RGB surface of the appropriate depth 44 SDL_Surface *surface; local 53 /* Check to see if we desire the surface in video memory */ 77 /* Allocate the surface */ 78 surface = (SDL_Surface *)SDL_malloc(sizeof(*surface)); 79 if ( surface == NULL ) { 83 surface->flags = SDL_SWSURFACE; 102 surface->format = SDL_AllocFormat(depth, Rmask, Gmask, Bmask, Amask); 103 if ( surface->format == NULL ) 158 SDL_Surface *surface; local [all...] |
SDL_blit.c | 232 /* Figure out which of many blit routines to set up on a surface */ 233 int SDL_CalculateBlit(SDL_Surface *surface) 238 if ( (surface->flags & SDL_RLEACCEL) == SDL_RLEACCEL ) { 239 SDL_UnRLESurface(surface, 1); 241 surface->map->sw_blit = NULL; 244 surface->flags &= ~SDL_HWACCEL; 245 if ( surface->map->identity ) { 248 if ( (surface->flags & SDL_HWSURFACE) == SDL_HWSURFACE ) { 250 if ( surface->map->dst->flags & SDL_HWSURFACE ) { 255 if (hw_blit_ok && (surface->flags & SDL_SRCCOLORKEY)) [all...] |
/frameworks/base/core/java/android/view/ |
SurfaceHolder.java | 23 * Abstract interface to someone holding a display surface. Allows you to 24 * control the surface size and format, edit the pixels in the surface, and 25 * monitor changes to the surface. This interface is typically available 49 * Exception that is thrown from {@link #lockCanvas} when called on a Surface 63 * changes to the surface. When used with a {@link SurfaceView}, the 64 * Surface being held is only available between calls to 71 * This is called immediately after the surface is first created. 74 * a {@link Surface}, so you should not draw into the Surface her [all...] |
Surface.java | 28 public class Surface implements Parcelable { 29 private static final String LOG_TAG = "Surface"; 39 * Create Surface from a {@link SurfaceTexture}. 41 * Images drawn to the Surface will be made available to the {@link 46 * Surface. 48 public Surface(SurfaceTexture surfaceTexture) { 57 * Does this object hold a valid surface? Returns true if it holds 58 * a physical surface, so lockCanvas() will succeed. Otherwise 63 /** Release the local reference to the server-side surface. 64 * Always call release() when you're done with a Surface. This wil [all...] |
/external/icu4c/samples/layout/ |
Surface.h | 5 class Surface 8 Surface(/*what?*/);
|
gdiglue.h | 27 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc); 28 void rs_gdiRenderingSurfaceClose(rs_surface *surface); 30 fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status);
|
rsurface.cpp | 16 void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count, 19 RenderingSurface *rs = (RenderingSurface *) surface;
|
gdiglue.cpp | 42 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc) 44 GDISurface *rs = (GDISurface *) surface; 49 void rs_gdiRenderingSurfaceClose(rs_surface *surface) 51 GDISurface *rs = (GDISurface *) surface; 56 fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status) 58 return (fm_fontMap *) new GDIFontMap((GDISurface *) surface, fileName, pointSize, (GDIGUISupport *) guiSupport, *status);
|
/frameworks/base/services/surfaceflinger/tests/resize/ |
resize.cpp | 25 #include <surfaceflinger/Surface.h> 42 sp<Surface> surface = client->createSurface(getpid(), 0, 160, 240, local 47 surface->setLayer(100000); 50 Surface::SurfaceInfo info; 51 surface->lock(&info); 54 surface->unlockAndPost(); 56 surface->lock(&info); 58 surface->unlockAndPost(); 61 surface->setSize(320, 240) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ataricommon/ |
SDL_atarigl.c | 54 static void CopyShadowNull(_THIS, SDL_Surface *surface); 55 static void CopyShadowDirect(_THIS, SDL_Surface *surface); 56 static void CopyShadowRGBTo555(_THIS, SDL_Surface *surface); 57 static void CopyShadowRGBTo565(_THIS, SDL_Surface *surface); 58 static void CopyShadowRGBSwap(_THIS, SDL_Surface *surface); 59 static void CopyShadowRGBToARGB(_THIS, SDL_Surface *surface); 60 static void CopyShadowRGBToABGR(_THIS, SDL_Surface *surface); 61 static void CopyShadowRGBToBGRA(_THIS, SDL_Surface *surface); 62 static void CopyShadowRGBToRGBA(_THIS, SDL_Surface *surface); 63 static void CopyShadow8888To555(_THIS, SDL_Surface *surface); 257 SDL_Surface *surface; local 312 SDL_Surface *surface; local [all...] |
/external/webkit/Source/WebKit/efl/ewk/ |
ewk_util.cpp | 31 * @param surface cairo representation of an image 34 Evas_Object* ewk_util_image_from_cairo_surface_add(Evas* canvas, cairo_surface_t* surface) 45 EINA_SAFETY_ON_NULL_RETURN_VAL(surface, 0); 47 status = cairo_surface_status(surface); 49 ERR("cairo surface is invalid: %s", cairo_status_to_string(status)); 53 type = cairo_surface_get_type(surface); 55 ERR("unknown surface type %d, required %d (CAIRO_SURFACE_TYPE_IMAGE).", 60 format = cairo_image_surface_get_format(surface); 62 ERR("unknown surface format %d, expected %d or %d.", 67 w = cairo_image_surface_get_width(surface); [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
BlackFrame.java | 23 import android.view.Surface; 33 final Surface surface; field in class:BlackFrame.BlackSurface 36 throws Surface.OutOfResourcesException { 41 surface = new Surface(session, 0, "BlackSurface", 42 -1, w, h, PixelFormat.OPAQUE, Surface.FX_SURFACE_DIM); 45 " BLACK " + surface + ": CREATE layer=" + layer); 46 surface.setAlpha(1.0f); 47 surface.setLayer(layer) [all...] |
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
EGLDisplayOpenVG.cpp | 219 // The shared surface doesn't need to be drawn on, it just exists so 222 // We'll just make the shared surface as small as possible: 1x1 pixel. 224 EGLSurface surface = createPbufferSurface(IntSize(1, 1), config); local 228 m_contexts.set(m_surfaceConfigIds.get(surface), context); 232 m_sharedPlatformSurface->m_eglSurface = surface; 234 m_platformSurfaces.set(surface, m_sharedPlatformSurface); // a.k.a. registerPlatformSurface() 246 EGLSurface surface = eglCreatePbufferSurface(m_display, config, attribList); local 253 if (surface == EGL_NO_SURFACE) 261 ASSERT(!m_surfaceConfigIds.contains(surface)); 262 m_surfaceConfigIds.set(surface, surfaceConfigId) 269 EGLSurface surface = eglCreatePbufferFromClientBuffer(m_display, local [all...] |
/frameworks/base/include/surfaceflinger/ |
Surface.h | 43 class Surface; 51 static bool isValid(const sp<SurfaceControl>& surface) { 52 return (surface != 0) && surface->isValid(); 62 // release surface data from java 81 sp<Surface> getSurface() const; 89 friend class Surface; 93 const sp<ISurface>& surface, 107 mutable sp<Surface> mSurfaceData; 112 class Surface : public SurfaceTextureClien [all...] |
/external/qemu/android/skin/ |
surface.c | 12 #include "android/skin/surface.h" 20 #define D(...) VERBOSE_PRINT(surface,__VA_ARGS__) 28 SDL_Surface* surface; member in struct:SkinSurface 40 if (s->surface) { 41 SDL_FreeSurface(s->surface); 42 s->surface = NULL; 48 skin_surface_ref( SkinSurface* surface ) 50 if (surface) 51 surface->refcount += 1; 52 return surface; 159 SDL_Surface* surface; local 177 SDL_Surface* surface; local 197 SDL_Surface* surface; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
SDL_cgxaccel.c | 50 int CGX_SetHWColorKey(_THIS,SDL_Surface *surface, Uint32 key) 52 if(surface->hwdata) 54 if(surface->hwdata->mask) 55 SDL_free(surface->hwdata->mask); 57 if(surface->hwdata->mask=SDL_malloc(RASSIZE(surface->w,surface->h))) 62 SDL_memset(surface->hwdata->mask,255,RASSIZE(surface->w,surface->h)) [all...] |
/external/skia/src/animator/ |
SkAnimate3DSchema.xsx | 2 <!--This file is auto-generated by the XML Schema Designer. It holds layout information for components on the designer surface.-->
|
SkAnimateSchema.xsx | 2 <!--This file is auto-generated by the XML Schema Designer. It holds layout information for components on the designer surface.-->
|
/frameworks/base/include/android_runtime/ |
android_view_Surface.h | 26 class Surface; 32 /* Gets the underlying Surface from a Surface Java object. */ 33 extern sp<Surface> Surface_getSurface(JNIEnv* env, jobject thiz);
|
/external/webkit/Source/ThirdParty/ANGLE/src/libEGL/ |
Surface.h | 7 // Surface.h: Defines the egl::Surface class, representing a drawing surface 25 class Surface 28 Surface(Display *display, const egl::Config *config, HWND window); 30 ~Surface(); 48 DISALLOW_COPY_AND_ASSIGN(Surface); 70 const HWND mWindow; // Window that the surface is created for. 72 const egl::Config *mConfig; // EGL config surface was created with 73 EGLint mHeight; // Height of surface [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
SDL_ph_image_c.h | 42 extern int ph_AllocHWSurface(_THIS, SDL_Surface* surface); 43 extern void ph_FreeHWSurface(_THIS, SDL_Surface* surface); 45 extern int ph_FillHWRect(_THIS, SDL_Surface* surface, SDL_Rect* rect, Uint32 color); 46 extern int ph_LockHWSurface(_THIS, SDL_Surface* surface); 47 extern void ph_UnlockHWSurface(_THIS, SDL_Surface* surface); 48 extern int ph_FlipHWSurface(_THIS, SDL_Surface* surface); 49 extern int ph_SetHWColorKey(_THIS, SDL_Surface* surface, Uint32 key); 50 extern int ph_SetHWAlpha(_THIS, SDL_Surface* surface, Uint8 alpha);
|
/frameworks/base/include/media/stagefright/ |
NativeWindowWrapper.h | 21 #include <surfaceflinger/Surface.h> 26 // Both Surface and SurfaceTextureClient are RefBase that implement the 29 // Surface or SurfaceTextureClient into a single reference-counted object 30 // that holds an sp reference to the underlying Surface or SurfaceTextureClient, 35 const sp<Surface> &surface) : 36 mSurface(surface) { } 54 const sp<Surface> mSurface;
|
/cts/tests/tests/view/src/android/view/cts/ |
Surface_OutOfResourcesExceptionTest.java | 20 import android.view.Surface; 21 import android.view.Surface.OutOfResourcesException; 34 method = "Surface.OutOfResourcesException", 39 method = "Surface.OutOfResourcesException", 44 new Surface.OutOfResourcesException(); 45 new Surface.OutOfResourcesException(NAME);
|
/frameworks/media/libvideoeditor/lvpp/ |
PreviewRenderer.h | 30 class Surface; 36 const sp<Surface> &surface, 51 const sp<Surface> &surface, 56 sp<Surface> mSurface;
|