/external/libvncserver/libvncclient/ |
H A D | hextile.c | 35 CARDBPP bg, fg; local 70 if (!ReadFromRFBServer(client, (char *)&fg, sizeof(fg))) 88 GET_PIXEL8(fg, ptr); 90 GET_PIXEL16(fg, ptr); 92 GET_PIXEL32(fg, ptr); 103 FillRectangle(client, x+sx, y+sy, sw, sh, fg); 118 FillRectangle(client, x+sx, y+sy, sw, sh, fg);
|
/external/syslinux/com32/lib/sys/ |
H A D | ansicon_write.c | 116 int fg; local 119 fg = 0x01; 121 fg = 0x08; 123 fg = st->fg; 126 bg = fg & 0x07; 127 fg &= 0x08; 128 fg |= st->bg; 135 fg ^= 0x08; 137 return (bg << 4) | fg; [all...] |
H A D | ansi.h | 34 uint8_t fg; member in struct:term_state
|
/external/python/cpython2/Lib/idlelib/ |
H A D | aboutDialog.py | 24 self.fg = "#ffffff" 49 labelTitle = Label(frameBg, text='IDLE', fg=self.fg, bg=self.bg, 58 fg=self.fg, bg=self.bg) 61 justify=LEFT, fg=self.fg, bg=self.bg) 66 justify=LEFT, fg=self.fg, bg=self.bg) 72 release, fg [all...] |
H A D | textView.py | 29 self.fg = '#000000' 55 fg=self.fg, bg=self.bg)
|
/external/python/cpython3/Lib/idlelib/ |
H A D | help_about.py | 27 self.fg = "#ffffff" 52 labelTitle = Label(frameBg, text='IDLE', fg=self.fg, bg=self.bg, 61 fg=self.fg, bg=self.bg) 64 justify=LEFT, fg=self.fg, bg=self.bg) 69 justify=LEFT, fg=self.fg, bg=self.bg) 75 release, fg [all...] |
H A D | textview.py | 27 # TODO: get fg/bg from theme. 29 self.fg = '#000000' 55 fg=self.fg, bg=self.bg)
|
/external/harfbuzz_ng/util/ |
H A D | ansi-print.cc | 162 bg (0), fg (0), unicolor (true), 181 fg = 0; 183 if (i != bg && freq[fg] < freq[i]) 184 fg = i; 185 if (fg == bg || freq[fg] == 0) { 186 fg = bg; 200 color_t fgc = color_t::from_ansi (fg); 219 unsigned int fg; 409 if (last_bg != bi.fg || last_f [all...] |
/external/selinux/mcstrans/src/ |
H A D | mcscolor.c | 18 uint32_t fg; member in struct:secolor 150 static int add_secolor(int idx, char *pattern, uint32_t fg, uint32_t bg) { argument 162 cptr->color.fg = fg & 0xffffff; 217 uint32_t i, fg, bg; local 226 if (find_mnemonic(f, &fg) == 0 && find_mnemonic(b, &bg) == 0) 229 return add_secolor(i, pat, fg, bg); 233 if (sscanf(f, "#%x", &fg) == 1) 234 return add_mnemonic(pat, fg); 334 items[i]->fg, item [all...] |
/external/syslinux/com32/elflink/ldlinux/ |
H A D | msg.c | 98 uint8_t bg, fg; local 100 fg = convert_to_pcdisplay[(TextAttribute & 0x7)]; 107 printf("3%dm\033[", fg);
|
H A D | colors.c | 69 unsigned int fg, unsigned int bg, 87 fga = fg & 0xff000000; 88 fgh = ((fg >> 1) & 0xff000000) | 0x80000000; 97 fg_rgb = pc2rgb[fg_idx & 7] & fg; 68 set_msg_colors_global(struct color_table *tbl, unsigned int fg, unsigned int bg, enum color_table_shadow shadow) argument
|
/external/skia/gm/ |
H A D | gammatext.cpp | 56 const SkColor fg[] = { variable 72 for (size_t i = 0; i < SK_ARRAY_COUNT(fg); ++i) { 73 paint.setColor(fg[i]); 81 x += SkIntToScalar(1024) / SK_ARRAY_COUNT(fg);
|
H A D | dftext.cpp | 135 const SkColor fg[] = { variable 149 for (size_t i = 0; i < SK_ARRAY_COUNT(fg); ++i) { 150 paint.setColor(fg[i]); 163 for (size_t i = 0; i < SK_ARRAY_COUNT(fg); ++i) { 164 paint.setColor(fg[i]);
|
H A D | hsl.cpp | 174 SkPaint bg, fg; local 176 fg.setColor(0xff7f3f7f); // Partly-saturated dim magenta, H = 300°, S = ~33%, L = ~37%. 193 fg.setBlendMode(test.mode); 194 canvas->drawRect({20,20,80,80}, fg); 198 ref.setColor(blend(bg.getColor(), fg.getColor(), test.reference, legacy));
|
/external/skqp/gm/ |
H A D | gammatext.cpp | 56 const SkColor fg[] = { variable 72 for (size_t i = 0; i < SK_ARRAY_COUNT(fg); ++i) { 73 paint.setColor(fg[i]); 81 x += SkIntToScalar(1024) / SK_ARRAY_COUNT(fg);
|
H A D | dftext.cpp | 135 const SkColor fg[] = { variable 149 for (size_t i = 0; i < SK_ARRAY_COUNT(fg); ++i) { 150 paint.setColor(fg[i]); 163 for (size_t i = 0; i < SK_ARRAY_COUNT(fg); ++i) { 164 paint.setColor(fg[i]);
|
H A D | hsl.cpp | 174 SkPaint bg, fg; local 176 fg.setColor(0xff7f3f7f); // Partly-saturated dim magenta, H = 300°, S = ~33%, L = ~37%. 193 fg.setBlendMode(test.mode); 194 canvas->drawRect({20,20,80,80}, fg); 198 ref.setColor(blend(bg.getColor(), fg.getColor(), test.reference, legacy));
|
/external/syslinux/com32/menu/ |
H A D | colors.c | 69 unsigned int fg, unsigned int bg, 87 fga = fg & 0xff000000; 88 fgh = ((fg >> 1) & 0xff000000) | 0x80000000; 97 fg_rgb = pc2rgb[fg_idx & 7] & fg; 68 set_msg_colors_global(struct color_table *tbl, unsigned int fg, unsigned int bg, enum color_table_shadow shadow) argument
|
/external/libvncserver/libvncserver/ |
H A D | hextile.c | 96 int w, int h, uint##bpp##_t bg, uint##bpp##_t fg, rfbBool mono);\ 98 rfbBool *solid, uint##bpp##_t *bg, uint##bpp##_t *fg); \ 110 uint##bpp##_t bg = 0, fg = 0, newBg, newFg; \ 159 if (!validFg || (newFg != fg)) { \ 161 fg = newFg; \ 163 PUT_PIXEL##bpp(fg); \ 170 if (!subrectEncode##bpp(cl, clientPixelData, w, h, bg, fg, mono)) { \ 197 uint##bpp##_t bg, uint##bpp##_t fg, rfbBool mono) \ 301 uint##bpp##_t *bg, uint##bpp##_t *fg) { \ 333 *fg [all...] |
/external/skia/samplecode/ |
H A D | SampleTextBox.cpp | 70 void drawTest(SkCanvas* canvas, SkScalar w, SkScalar h, SkColor fg, SkColor bg) { argument 83 paint.setColor(fg);
|
/external/syslinux/com32/lib/sys/vesa/ |
H A D | drawtxt.c | 49 uint8_t alpha_val(uint8_t fg, uint8_t bg, uint8_t alpha) argument 53 tmp = __vesacon_srgb_to_linear[fg] * alpha; 59 static uint32_t alpha_pixel(uint32_t fg, uint32_t bg) argument 61 uint8_t alpha = fg >> 24; 62 uint8_t fg_r = fg >> 16; 63 uint8_t fg_g = fg >> 8; 64 uint8_t fg_b = fg; 162 /* If this pixel is set, use the fg color, else the bg color */
|
/external/libvterm/src/ |
H A D | pen.c | 129 VTermColor *colp = (attr == VTERM_ATTR_BACKGROUND) ? &state->pen.bg : &state->pen.fg; 158 state->pen.fg = state->default_fg; setpenattr_col(state, VTERM_ATTR_FOREGROUND, state->default_fg); 177 setpenattr_col( state, VTERM_ATTR_FOREGROUND, state->pen.fg); 315 argi += 1 + lookup_colour(state, CSI_ARG(args[argi+1]), args+argi+2, argcount-argi-2, &state->pen.fg, &state->fg_index); 316 setpenattr_col(state, VTERM_ATTR_FOREGROUND, state->pen.fg); 321 state->pen.fg = state->default_fg; 322 setpenattr_col(state, VTERM_ATTR_FOREGROUND, state->pen.fg); 455 val->color = state->pen.fg;
|
/external/skqp/samplecode/ |
H A D | SampleTextBox.cpp | 68 void drawTest(SkCanvas* canvas, SkScalar w, SkScalar h, SkColor fg, SkColor bg) { argument 83 paint.setColor(fg);
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
H A D | xa_context.h | 89 uint32_t fg);
|
H A D | xa_context.c | 297 uint32_t fg) 308 xa_pixel_to_float4_a8(fg, ctx->solid_color); 310 xa_pixel_to_float4(fg, ctx->solid_color); 317 (fg >> 24) & 0xff, (fg >> 16) & 0xff, 318 (fg >> 8) & 0xff, (fg >> 0) & 0xff, 296 xa_solid_prepare(struct xa_context *ctx, struct xa_surface *dst, uint32_t fg) argument
|