/external/icu4c/layout/ |
LEFontInstance.h | 62 * pixels and funits. (font design units) 273 * This method gets the X and Y advance of a particular glyph, in pixels. 298 * in pixels. 308 * in pixels. 351 * This method converts pixels in the 354 * @param xPixels - pixels in the X direction 363 * This method converts pixels in the 366 * @param yPixels - pixels in the Y direction 375 * This method converts pixels to font design units. 377 * @param pixels - X and Y pixe [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/ |
SDL_dx5yuv.c | 181 overlay->pixels = hwdata->planes; 223 overlay->pixels[0] = (Uint8 *)ddsd.lpSurface; 230 overlay->pixels[1] = overlay->pixels[0] + 232 overlay->pixels[2] = overlay->pixels[1] +
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11image.c | 76 screen->pixels = shminfo.shmaddr; 97 screen->pixels = NULL; 106 screen->pixels = SDL_malloc(screen->h*screen->pitch); 107 if ( screen->pixels == NULL ) { 114 (char *)screen->pixels, 146 screen->pixels = NULL;
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
BitmapTest.java | 87 int[] pixels = new int[100]; local 88 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10); 91 assertEquals("getPixels", p, pixels[i]); 112 int[] pixels = new int[100]; local 113 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10); 116 assertEquals("getPixels", p, pixels[i]);
|
/frameworks/base/services/surfaceflinger/ |
LayerBlur.cpp | 164 // allocate enough memory for 4-bytes (2 pixels) aligned data 169 uint16_t* const pixels = (uint16_t*)malloc(s*h*pixelSize); local 174 glReadPixels(X, Y, w, h, mReadFormat, mReadType, pixels); 183 bl.data = (GGLubyte*)pixels; 188 mReadFormat, mReadType, pixels); 200 mReadFormat, mReadType, pixels); 206 free((void*)pixels);
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
IconLoader.java | 242 int[] pixels = new int[numOfPixels]; local 253 pixels[pixelIndex++] = bitToBnW((currentByte >> bitIndex-- ) & 0x01); 259 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888); 299 int[] pixels = new int[numOfPixels]; local 316 pixels[pixelIndex++] = Color.rgb(clut[clutIndex], 321 return Bitmap.createBitmap(pixels, width, height,
|
/external/qemu/android/skin/ |
surface.c | 27 uint32_t* pixels; member in struct:SkinSurface 114 void* pixels, 130 return SDL_CreateRGBSurfaceFrom( pixels, width, height, pitch, depth, 137 void* pixels ) 142 s->pixels = pixels; 149 free(pixels); 194 uint32_t* pixels, 208 memcpy( pixcopy, pixels, size ); 212 pixcopy ? pixcopy : pixels, [all...] |
scaler.c | 102 op.src_line = src_surface->pixels; 106 op.dst_line = dst_surface->pixels;
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_surface.c | 113 surface->pixels = NULL; 122 /* Get the pixels */ 126 surface->pixels = SDL_malloc(surface->h*surface->pitch); 127 if ( surface->pixels == NULL ) { 133 SDL_memset(surface->pixels, 0, surface->h*surface->pitch); 154 SDL_Surface * SDL_CreateRGBSurfaceFrom (void *pixels, 164 surface->pixels = pixels; 318 buf = (Uint8 *)surface->pixels + row * surface->pitch + offset; 603 row = (Uint8 *)dst->pixels+dstrect->y*dst->pitch 689 Uint16 *pixels = (Uint16 *)row; local 710 Uint8 *pixels = row; local [all...] |
SDL_cursor.c | 373 const Uint32 pixels[2] = { 0xFFFFFFFF, 0x00000000 }; local 391 dst = (Uint8 *)screen->pixels + 418 dst = (Uint16 *)screen->pixels + 429 *dst = (Uint16)pixels[datab>>7]; 445 dst = (Uint8 *)screen->pixels + 456 SDL_memset(dst,pixels[datab>>7],3); 472 dst = (Uint32 *)screen->pixels + 483 *dst = pixels[datab>>7]; 499 const Uint32 pixels[2] = { 0xFFFFFF, 0x000000 }; local 510 dst = (Uint8 *)screen->pixels [all...] |
SDL_yuv_sw.c | 104 Uint8 *pixels; member in struct:private_yuvhwdata 988 swdata->pixels = (Uint8 *) SDL_malloc(width*height*2); 998 if ( ! swdata->pixels || ! swdata->colortab || ! swdata->rgb_2_pix ) { [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/dc/ |
SDL_dcvideo.c | 252 current->pixels = vram_s; 258 current->pixels = NULL; 267 current->pixels = (void*)((int)current->pixels | 0x400000); 298 vid_set_start((int)surface->pixels & 0xffffff); 299 surface->pixels = (void*)((int)surface->pixels ^ 0x400000);
|
/external/qemu/distrib/sdl-1.2.12/src/video/picogui/ |
SDL_pgvideo.c | 196 if (current->pixels) { 197 shmdt(current->pixels); 198 current->pixels = NULL; 212 current->pixels = shmat(shmget(this->hidden->shm.shm_key, 327 if (this->screen->pixels != NULL) 329 shmdt(this->screen->pixels); 330 this->screen->pixels = NULL;
|
/external/quake/quake/src/QW/client/ |
gl_rmisc.c | 241 unsigned pixels[512*256], *out; local 291 // locate the original skin pixels 341 out2 = (byte *)pixels; 342 memset(pixels, 0, sizeof(pixels)); 361 GL_Upload8_EXT ((byte *)pixels, scaled_width, scaled_height, false, false); 368 out = pixels; 369 memset(pixels, 0, sizeof(pixels)); 390 GL_UNSIGNED_BYTE, pixels); [all...] |
/external/quake/quake/src/WinQuake/ |
gl_rmisc.cpp | 249 unsigned* pixels; local 279 // locate the original skin pixels 330 pixels = (unsigned*) malloc(PIXELS_SIZE); 331 if(!pixels) 339 out2 = (byte *)pixels; 340 memset(pixels, 0, PIXELS_SIZE); 359 GL_Upload8_EXT ((byte *)pixels, scaled_width, scaled_height, false, false); 367 out = pixels; 385 glTexImage2DHelper (GL_TEXTURE_2D, 0, gl_solid_format, scaled_width, scaled_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels); 392 free(pixels); [all...] |
/bootable/bootloader/legacy/arch_msm7k/ |
mddi.c | 238 unsigned pixels = fb_width * 8; local 241 vs->length = sizeof(mddi_video_stream) - 2 + (pixels * 2); 255 vs->pixels = pixels; 260 mlist[n].data_count = pixels * 2;
|
/external/chromium/base/ |
linux_util.cc | 155 uint8_t* BGRAToRGBA(const uint8_t* pixels, int width, int height, int stride) { 161 // We have to copy the pixels and swap from BGRA to RGBA. 165 new_pixels[idx] = pixels[idx + 2]; 166 new_pixels[idx + 1] = pixels[idx + 1]; 167 new_pixels[idx + 2] = pixels[idx]; 168 new_pixels[idx + 3] = pixels[idx + 3];
|
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/ |
SDL_nximage.c | 127 screen -> pixels = (void *) SDL_malloc (size) ; 131 if (screen -> pixels == NULL || Image_buff == NULL) { 132 SDL_free (screen -> pixels) ; 139 SDL_Image = (unsigned char *) screen -> pixels ; 153 if (screen) screen -> pixels = NULL ;
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
SDL_fb3dfx.c | 68 dst_base = ((char *)dst->pixels - mapped_mem); 116 src_base = ((char *)src->pixels - mapped_mem); 119 dst_base = ((char *)dst->pixels - mapped_mem);
|
/external/qemu/ |
framebuffer.c | 69 qfbuff->pixels = calloc( pitch, height ); 70 if (qfbuff->pixels == NULL && (height > 0 && pitch > 0)) { 187 free( qfbuff->pixels );
|
framebuffer.h | 27 * to a rotation that must be performed to the pixels stored in the framebuffer 47 int width; /* width in pixels */ 48 int height; /* height in pixels */ 52 void* pixels; /* pixel buffer */ member in struct:QFrameBuffer 94 * rectangle of the framebuffer pixels was updated and needs to be 102 * that must be applied before displaying the pixels. 104 * Note that it is assumed that all framebuffer pixels have changed too 110 * no more reference to its pixels should be done.
|
/external/webkit/SunSpider/tests/sunspider-0.9/ |
3d-raytrace.js | 292 function renderRows(camera, scene, pixels, width, height, starty, stopy) { 300 pixels[y][x] = l; 305 Camera.prototype.render = function(scene, pixels, width, height) { 308 renderRows(cam, scene, pixels, width, height, 0, height); 391 var pixels = new Array(); 393 pixels[y] = new Array(); 395 pixels[y][x] = 0; 400 _camera.render(_scene, pixels, size, size); 402 return pixels; 405 function arrayToCanvasCommands(pixels) [all...] |
/external/webkit/SunSpider/tests/sunspider-0.9.1/ |
3d-raytrace.js | 292 function renderRows(camera, scene, pixels, width, height, starty, stopy) { 300 pixels[y][x] = l; 305 Camera.prototype.render = function(scene, pixels, width, height) { 308 renderRows(cam, scene, pixels, width, height, 0, height); 391 var pixels = new Array(); 393 pixels[y] = new Array(); 395 pixels[y][x] = 0; 400 _camera.render(_scene, pixels, size, size); 402 return pixels; 405 function arrayToCanvasCommands(pixels) [all...] |
/external/skia/include/core/ |
SkPixelRef.h | 43 void* pixels() const { return fPixels; } function in class:SkPixelRef 45 /** Return the current colorTable (if any) if pixels are locked, or null. 57 /** Call to balanace a previous call to lockPixels(). Returns the pixels 64 /** Returns a non-zero, unique value corresponding to the pixels in this 65 pixelref. Each time the pixels are changed (and notifyPixelsChanged is 70 /** Call this if you have changed the contents of the pixels. This will in- 77 contents of its pixels will not change for the lifetime of the pixelref. 82 pixels will not change for the lifetime of the pixelref. This state can
|
/external/skia/src/images/ |
bmpdecoderhelper.cpp | 195 uint8 pixels = GetByte(); local 197 uint8 col = pixels; 201 col = pixels & 0xf; 203 col = pixels >> 4;
|