/system/core/init/ |
logo.c | 25 #include <linux/fb.h> 42 struct FB { 50 #define fb_width(fb) ((fb)->vi.xres) 51 #define fb_height(fb) ((fb)->vi.yres) 52 #define fb_size(fb) ((fb)->vi.xres * (fb)->vi.yres * 2) 54 static int fb_open(struct FB *fb 107 struct FB fb; local [all...] |
/system/core/adb/ |
framebuffer_service.c | 26 #include <linux/fb.h> 55 int fb, offset; local 61 fb = open("/dev/graphics/fb0", O_RDONLY); 62 if(fb < 0) goto done; 64 if(ioctl(fb, FBIOGET_VSCREENINFO, &vinfo) < 0) goto done; 65 fcntl(fb, F_SETFD, FD_CLOEXEC); 84 * is required so the start of the fb may not be an integer number of lines 94 lseek(fb, offset, SEEK_SET); 96 if(readx(fb, &x, 256)) goto done; 100 if(readx(fb, &x, fbinfo.size % 256)) goto done [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
NIOTest.java | 66 FloatBuffer fb = FloatBuffer.wrap(floatArray); local 67 floatBufferTest(fb); 369 FloatBuffer fb = bb.asFloatBuffer(); local 371 checkBuffer(fb); 372 assertEquals(1, fb.capacity()); 373 assertEquals(0xA4A3A2A1, Float.floatToIntBits(fb.get())); 376 fb = bb.asFloatBuffer(); 378 checkBuffer(fb); 379 assertEquals(1, fb.capacity()); 380 assertEquals(0xA1A2A3A4, Float.floatToIntBits(fb.get())) [all...] |
/system/core/libpixelflinger/codeflinger/ |
blending.cpp | 85 // fb: extracted dst 119 // see if we need to extract 'component' from the destination (fb) 120 integer_t fb; local 122 fb.setTo(scratches.obtain(), 32); 123 extract(fb, pixel, component); 126 // expand fb -or- fragment to the larger of the two 127 if (fb.size() < temp.size()) { 128 // for now we expand 'fb' to min(fragment, 8) 130 expand(fb, fb, new_size) [all...] |
/system/extras/tests/framebuffer/ |
fb_test.c | 28 #include <linux/fb.h> 56 static int get_framebuffer(GGLSurface *fb) 88 fb->version = sizeof(*fb); 89 fb->width = vi.xres; 90 fb->height = vi.yres; 91 fb->stride = fi.line_length / (vi.bits_per_pixel >> 3); 92 fb->data = bits; 93 fb->format = GGL_PIXEL_FORMAT_RGB_565; 95 fb++ [all...] |
Android.mk | 10 LOCAL_MODULE:= test-fb-refresh 28 LOCAL_MODULE = test-fb-simple
|
mdp_test.c | 26 #include <linux/fb.h> 95 static int get_framebuffer(int *fd, char **fb, int *width, int *height) 124 *fb = bits; 135 fprintf(stderr,"active fb swap failed!\n"); 175 char* fb; local 273 if (get_framebuffer(&fb_fd, &fb, &width, &height)) { 274 printf("couldnt' get fb\n");
|
/bootable/recovery/minui/ |
graphics.c | 27 #include <linux/fb.h> 54 static int get_framebuffer(GGLSurface *fb) 85 fb->version = sizeof(*fb); 86 fb->width = vi.xres; 87 fb->height = vi.yres; 88 fb->stride = vi.xres; 89 fb->data = bits; 90 fb->format = GGL_PIXEL_FORMAT_RGB_565; 92 fb++ [all...] |
/frameworks/base/libs/ui/ |
FramebufferNativeWindow.cpp | 110 LOGE_IF(err, "fb buffer 0 allocation failed w=%d, h=%d, err=%s", 117 LOGE_IF(err, "fb buffer 1 allocation failed w=%d, h=%d, err=%s", 173 framebuffer_device_t* fb = getSelf(window)->fbDev; local 174 return fb->setSwapInterval(fb, interval); 182 framebuffer_device_t* fb = self->fbDev; local 218 framebuffer_device_t* fb = self->fbDev; local 220 int res = fb->post(fb, handle); 232 framebuffer_device_t* fb = self->fbDev local [all...] |
/external/skia/src/core/ |
SkAntiRun.h | 42 int fb = start & kMask; 48 fb = fe - fb; 54 if (fb == 0) 57 fb = (1 << kShift) - fb; 60 fStartAlpha = coverage_to_alpha(fb);
|
SkScan_AntiPath.cpp | 164 int fb = start & SUPER_Mask; local 170 fb = fe - fb; 176 if (fb == 0) 179 fb = (1 << SHIFT) - fb; 181 fRuns.add(x >> SHIFT, coverage_to_alpha(fb), n, coverage_to_alpha(fe), 322 int fb = start & SUPER_Mask; local 331 add_aa_span(row, coverage_to_alpha(fe - fb)); 335 fb = (1 << SHIFT) - fb [all...] |
SkFloat.cpp | 309 float fa, fb; local 351 fb = (float)bb / 65536.0f; 353 b.assertEquals(fb); 355 fb = b.getFloat(); 357 c.assertEquals(fa * fb, 1); 365 c.assertEquals(fa / fb, 1);
|
/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/ |
SDL_QWin.cc | 129 gs_fastRotateBlit_3 ( unsigned short *fb, 154 dp1 = (ulong *)fb + (159 - starty) + startx*320; 186 gs_fastRotateBlit_1 ( unsigned short *fb, 207 fb += 320*239; // Move "fb" to top left corner 210 dp1 = (ulong*)fb - startx * 320 - starty; 244 uchar *fb = (uchar*)my_painter->frameBuffer(); local 247 SDL_memcpy(fb, buf, width()*height()*2); 253 fb += (rect.left()<<1) + rect.top() * my_painter->lineStep(); 256 SDL_memcpy(fb, buf, wd) 274 ushort *fb = (ushort*)my_painter->frameBuffer(); local 280 uchar *fb = (uchar*)my_painter->frameBuffer(); local 304 uchar *fb = (uchar*)my_painter->frameBuffer(); local 328 ushort *fb = (ushort*)my_painter->frameBuffer(); local [all...] |
/external/srec/srec/cfront/ |
chelmel4.c | 64 static void icostrans(cepdata *cs, cepdata fb[], cepdata cep[], int nf, int nc); 93 static void icostrans(cepdata *cs, cepdata fb[], cepdata cep[], int nf, int nc) 106 temp += fb[j] * cp[j];
|
/frameworks/base/awt/java/awt/ |
Color.java | 888 float fr, fg, fb; local 891 fr = fg = fb = brightness; 904 fb = M; 909 fb = M; 914 fb = K; 919 fb = brightness; 924 fb = brightness; 929 fb = N; 932 fr = fb = fg = 0; // impossible, to supress compiler error 938 int b = (int)(fb * 255. + 0.5) [all...] |
/external/srec/portable/src/ |
pstream.c | 111 FileBufferFrame *fb = NULL; local 114 fb = (FileBufferFrame *)MALLOC(sizeof(FileBufferFrame), "FileBufferFrame"); 115 if (fb) 117 fb->next = NULL; 118 fb->prev = NULL; 119 fb->index = 0; 120 fb->size = size; 121 fb->bMalloc = FALSE; 124 fb->buffer = buffer; 128 if ((fb->buffer = (unsigned char *)MALLOC(size, "FileBufferFrame Buffer")) == NULL [all...] |
/frameworks/base/core/jni/ |
BindTest.cpp | 241 FieldBlock *fb; local 243 fb = findField(clazz, "instanceString", "Ljava/lang/String;"); 245 if (fb == NULL || ((fb->access_flags & ACC_STATIC) == ACC_STATIC)) { 250 offset_instanceString = fb->offset;
|
/external/strace/linux/ |
ioctlent.sh | 62 lookup_ioctls 46 linux/fb.h
|
/external/strace/strace/linux/ |
ioctlent.sh | 62 lookup_ioctls 46 linux/fb.h
|
/hardware/libhardware/modules/gralloc/ |
gralloc_priv.h | 30 #include <linux/fb.h>
|
/hardware/msm7k/libgralloc/ |
gralloc_priv.h | 30 #include <linux/fb.h>
|
/system/core/toolbox/ |
rotatefb.c | 10 #include <linux/fb.h>
|
/bionic/libc/kernel/arch-arm/asm/arch/ |
board.h | 98 int (*check_fb)(struct fb_info *fb);
|
/frameworks/base/libs/surfaceflinger/ |
BlurFilter.cpp | 283 TYPE* fb = (TYPE*)dst->data + y*dst->stride; local 305 *fb++ = current.to(areaShift, k==repeat-1, dither); 314 *fb++ = current.to(areaShift, k==repeat-1, dither); 322 *fb++ = current.to(areaShift, k==repeat-1, dither);
|
/hardware/msm7k/libgralloc-qsd8k/ |
gralloc_priv.h | 30 #include <linux/fb.h>
|