/external/skia/src/views/sdl/ |
H A D | SkOSWindow_SDL.cpp | 45 SkOSWindow::SkOSWindow(void* screen) { argument 46 fScreen = reinterpret_cast<SDL_Surface*>(screen);
|
/external/skia/tests/ |
H A D | ClipCacheTest.cpp | 63 SkRect screen; local 65 screen = SkRect::MakeWH(SkIntToScalar(kXSize), 68 SkRect clipRect(screen); 72 // is larger than the screen 84 REPORTER_ASSERT(reporter, screen == devStackBounds);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
H A D | PreferenceLoaderTest.java | 45 PreferenceScreen screen = prefLoader.inflatePreferences(new Activity(), "xml/preferences"); 46 assertThatScreenMatchesExpected(screen); 51 PreferenceScreen screen = prefLoader.inflatePreferences(new Activity(), R.xml.preferences); 52 assertThatScreenMatchesExpected(screen); 68 protected void assertThatScreenMatchesExpected(PreferenceScreen screen) { argument 69 assertThat(screen.getPreferenceCount(), equalTo(6)); 71 assertThat(screen.getPreference(0), instanceOf(PreferenceCategory.class)); 72 assertThat(((PreferenceCategory)screen.getPreference(0)).getPreference(0), instanceOf(Preference.class)); 74 assertThat(screen.getPreference(1), instanceOf(CheckBoxPreference.class)); 75 assertThat(screen [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | PreferenceScreenTest.java | 20 private PreferenceScreen screen; field in class:PreferenceScreenTest 25 screen = Robolectric.newInstanceOf(PreferenceScreen.class); 26 shadow = Robolectric.shadowOf(screen); 38 assertThat(screen.getDialog(), nullValue()); 40 assertThat(screen.getDialog(), sameInstance(dialog));
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/ |
H A D | main.c | 18 SDL_Surface *screen; local 32 screen=SDL_SetVideoMode(640,480, video_bpp, videoflags); 33 if (screen == NULL) {
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/ |
H A D | main.c | 18 SDL_Surface *screen; local 32 screen=SDL_SetVideoMode(640,480, video_bpp, videoflags); 33 if (screen == NULL) {
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/ |
H A D | main.c | 18 SDL_Surface *screen; local 32 screen=SDL_SetVideoMode(640,480, video_bpp, videoflags); 33 if (screen == NULL) {
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/ |
H A D | main.c | 18 SDL_Surface *screen; local 32 screen=SDL_SetVideoMode(640,480, video_bpp, videoflags); 33 if (screen == NULL) {
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/ |
H A D | main.c | 18 SDL_Surface *screen; local 32 screen=SDL_SetVideoMode(640,480, video_bpp, videoflags); 33 if (screen == NULL) {
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/ |
H A D | main.c | 18 SDL_Surface *screen; local 32 screen=SDL_SetVideoMode(640,480, video_bpp, videoflags); 33 if (screen == NULL) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_cursor.c | 304 if (this->screen->pitch == 0) { 305 x += this->screen->offset / this->screen->format->BytesPerPixel; 306 y += this->screen->offset; 308 x += (this->screen->offset % this->screen->pitch) / 309 this->screen->format->BytesPerPixel; 310 y += (this->screen->offset / this->screen->pitch); 371 static void SDL_DrawCursorFast(SDL_Surface *screen, SDL_Rec argument 497 SDL_DrawCursorSlow(SDL_Surface *screen, SDL_Rect *area) argument 566 SDL_ConvertCursorSave(SDL_Surface *screen, int w, int h) argument 595 SDL_DrawCursorNoLock(SDL_Surface *screen) argument 640 SDL_DrawCursor(SDL_Surface *screen) argument 673 SDL_EraseCursorNoLock(SDL_Surface *screen) argument 714 SDL_EraseCursor(SDL_Surface *screen) argument [all...] |
H A D | SDL_gamma.c | 149 SDL_Surface *screen = SDL_PublicSurface; local 151 /* Verify the screen parameter */ 152 if ( !screen ) { 174 if ( (screen->flags & SDL_HWPALETTE) == SDL_HWPALETTE ) { 175 SDL_Palette *pal = screen->format->palette; 181 SDL_SetPalette(screen, SDL_PHYSPAL,
|
H A D | SDL_surface.c | 43 SDL_Surface *screen; local 55 screen = SDL_PublicSurface; 57 screen = NULL; 59 if ( screen && ((screen->flags&SDL_HWSURFACE) == SDL_HWSURFACE) ) { 95 depth = screen->format->BitsPerPixel; 96 Rmask = screen->format->Rmask; 97 Gmask = screen->format->Gmask; 98 Bmask = screen->format->Bmask; 99 Amask = screen [all...] |
H A D | SDL_sysvideo.h | 96 changes are reflected in the logical palette of the screen 226 /* determine if the window is fully visible on screen */ 278 SDL_Surface *screen; member in struct:SDL_VideoDevice 435 #define SDL_VideoSurface (current_video->screen)
|
H A D | SDL_video.c | 209 video->screen = NULL; 325 * Return a pointer to an array of available screen dimensions for the 796 if ( (video->screen->flags & SDL_OPENGL) && 951 * the screen, but including an alpha channel. 1012 * Update a specific portion of the physical screen 1014 void SDL_UpdateRect(SDL_Surface *screen, Sint32 x, Sint32 y, Uint32 w, Uint32 h) argument 1016 if ( screen ) { 1021 w = screen->w; 1023 h = screen->h; 1024 if ( (int)(x+w) > screen 1037 SDL_UpdateRects(SDL_Surface *screen, int numrects, SDL_Rect *rects) argument 1105 SDL_Flip(SDL_Surface *screen) argument 1156 SetPalette_logical(SDL_Surface *screen, SDL_Color *colors, int firstcolor, int ncolors) argument 1183 SetPalette_physical(SDL_Surface *screen, SDL_Color *colors, int firstcolor, int ncolors) argument 1264 SDL_SetPalette(SDL_Surface *screen, int which, SDL_Color *colors, int firstcolor, int ncolors) argument 1334 SDL_SetColors(SDL_Surface *screen, SDL_Color *colors, int firstcolor, int ncolors) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/XME/ |
H A D | xme.c | 69 CARD8 screen; member in struct:__anon29436 78 CARD8 screen; member in struct:__anon29437 87 CARD8 screen; member in struct:__anon29438 99 CARD8 screen; member in struct:__anon29439 267 int XiGMiscQueryViews(Display *dpy, int screen, XiGMiscViewInfo **pviews) argument 278 req->screen = screen; 309 int XiGMiscQueryResolutions(Display *dpy, int screen, int view, int *pactive, XiGMiscResolutionInfo **presolutions) argument 320 req->screen = screen; 353 XiGMiscChangeResolution(Display *dpy, int screen, int view, int width, int height, int refresh) argument 373 XiGMiscFullScreen(Display *dpy, int screen, XID window, XID cmap) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xxf86dga/ |
H A D | XF86DGA.c | 103 int screen, 119 req->screen = screen; 139 int screen, 151 req->screen = screen; 161 int screen, 175 req->screen = screen; 193 int screen, 101 XF86DGAGetVideoLL( Display* dpy, int screen, int *offset, int *width, int *bank_size, int *ram_size ) argument 137 XF86DGADirectVideoLL( Display* dpy, int screen, int enable ) argument 159 XF86DGAGetViewPortSize( Display* dpy, int screen, int *width, int *height ) argument 191 XF86DGASetViewPort( Display* dpy, int screen, int x, int y ) argument 216 XF86DGAGetVidPage( Display* dpy, int screen, int *vpage ) argument 245 XF86DGASetVidPage( Display* dpy, int screen, int vpage ) argument 267 XF86DGAInstallColormap( Display* dpy, int screen, Colormap cmap ) argument 289 XF86DGAQueryDirectVideo( Display *dpy, int screen, int *flags ) argument 316 XF86DGAViewPortChanged( Display *dpy, int screen, int n ) argument 398 int screen; member in struct:__anon29449 456 FindScr(Display *display, int screen) argument 592 XF86DGAForkApp(int screen) argument 618 XF86DGADirectVideo( Display *dis, int screen, int enable ) argument 672 XF86DGAGetVideo( Display *dis, int screen, char **addr, int *width, int *bank, int *ram ) argument [all...] |
H A D | XF86DGA2.c | 115 mevent->screen = wire->u.event.screen; 127 bevent->screen = wire->u.event.screen; 138 kevent->screen = wire->u.event.screen; 227 int screen 241 req->screen = screen; 253 ret = SDL_NAME(XDGAMapFramebuffer)(screen, deviceNam 447 XDGASetViewport( Display *dpy, int screen, int x, int y, int flags ) argument 472 XDGAInstallColormap( Display *dpy, int screen, Colormap cmap ) argument 492 XDGASelectInput( Display *dpy, int screen, long mask ) argument 512 XDGAFillRectangle( Display *dpy, int screen, int x, int y, unsigned int width, unsigned int height, unsigned long color ) argument 540 XDGACopyArea( Display *dpy, int screen, int srcx, int srcy, unsigned int width, unsigned int height, int dstx, int dsty ) argument 570 XDGACopyTransparentArea( Display *dpy, int screen, int srcx, int srcy, unsigned int width, unsigned int height, int dstx, int dsty, unsigned long key ) argument 647 XDGAChangePixmapMode( Display *dpy, int screen, int *x, int *y, int mode ) argument 675 XDGACreateColormap( Display *dpy, int screen, SDL_NAME(XDGADevice) *dev, int alloc ) argument 767 int screen; member in struct:_DGAMapRec 779 XDGAGetMappedMemory(int screen) argument 796 XDGAMapFramebuffer( int screen, char *name, unsigned char* base, CARD32 size, CARD32 offset, CARD32 extra ) argument 834 XDGAUnmapFramebuffer(int screen) argument 862 DGAMapPhysical( int screen, char *name, unsigned char* base, CARD32 size, CARD32 offset, CARD32 extra, DGAMapPtr pMap ) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xxf86vm/ |
H A D | XF86VMode.c | 170 SDL_NAME(XF86VidModeSetGamma)(Display *dpy, int screen, SDL_NAME(XF86VidModeGamma) *Gamma) argument 181 req->screen = screen; 191 SDL_NAME(XF86VidModeGetGamma)(Display *dpy, int screen, SDL_NAME(XF86VidModeGamma) *Gamma) argument 203 req->screen = screen; 218 SDL_NAME(XF86VidModeGetModeLine)(dpy, screen, dotclock, modeline) 220 int screen; 237 req->screen = screen; 1129 XF86VidModeSetGammaRamp( Display *dpy, int screen, int size, unsigned short *red, unsigned short *green, unsigned short *blue ) argument 1160 XF86VidModeGetGammaRamp( Display *dpy, int screen, int size, unsigned short *red, unsigned short *green, unsigned short *blue ) argument 1197 XF86VidModeGetGammaRampSize( Display *dpy, int screen, int *size ) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/ |
H A D | panoramiXext.h | 40 int screen; member in struct:__anon29498 42 int width; /* width of this screen */ 43 int height; /* height of this screen */
|
H A D | xf86dga.h | 106 int screen; member in struct:__anon29510 116 int screen; member in struct:__anon29511 126 int screen; member in struct:__anon29512 155 int screen, 161 int screen, 167 int screen 172 int screen 177 int screen, 185 int screen, 191 int screen, [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
H A D | SDL_sysvideo.cc | 280 /* Determine the screen depth */ 334 _this->screen->format->BitsPerPixel ) { 341 /* Various screen update functions available */ 405 static int BE_SetFullScreen(_THIS, SDL_Surface *screen, int fullscreen) argument 425 int width = screen->w; 426 int height = screen->h; 434 int bpp = screen->format->BitsPerPixel; 450 // Effectivelly set/reset full screen mode. If we are already in 451 // full screen mode, we reset back to windowed mode first so the 460 // dentering the bitmap (in full screen mod [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/dga/ |
H A D | SDL_dgavideo.c | 56 static int DGA_InitHWSurfaces(_THIS, SDL_Surface *screen, Uint8 *base, int size); 86 int screen; local 88 screen = DefaultScreen(dpy); 90 SDL_NAME(XDGAOpenFramebuffer)(dpy, screen) ) { 92 SDL_NAME(XDGACloseFramebuffer)(dpy, screen); 221 extern unsigned char *SDL_NAME(XDGAGetMappedMemory)(int screen); 362 /* Determine the current screen size */ 366 /* Determine the current screen depth */ 375 SDL_SetError("Couldn't determine screen formats"); 453 /* Various screen updat 625 DGA_InitHWSurfaces(_THIS, SDL_Surface *screen, Uint8 *base, int size) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
H A D | SDL_fbevents.c | 934 SDL_Surface *screen = SDL_VideoSurface; local 938 /* Save the contents of the screen, and go to text mode */ 940 screen_arealen = ((screen->h + (2*this->offset_y)) * screen->pitch); 943 SDL_memcpy(screen_contents, screen->pixels, screen_arealen); 952 SDL_Surface *screen = SDL_VideoSurface; local 954 /* Restore graphics mode and the contents of the screen */ 960 SDL_memcpy(screen->pixels, screen_contents, screen_arealen);
|
H A D | SDL_fbvideo.c | 149 static int FB_InitHWSurfaces(_THIS, SDL_Surface *screen, char *base, int size); 592 /* Determine the current screen depth */ 654 printf("Rotating screen clockwise\n"); 660 printf("Rotating screen counter clockwise\n"); 666 printf("Rotating screen upside down\n"); 820 /* Various screen update functions available */ 953 /* Set the video mode and get the final screen format */ 955 SDL_SetError("Couldn't get console screen info"); 1018 /* Set the video mode and get the final screen format */ 1020 SDL_SetError("Couldn't get console screen inf 1218 FB_InitHWSurfaces(_THIS, SDL_Surface *screen, char *base, int size) argument 1621 SDL_Surface *screen; local [all...] |