Searched refs:fg (Results 1 - 25 of 90) sorted by relevance

1234

/external/libvncserver/libvncclient/
H A Dhextile.c35 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 Dansicon_write.c116 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 Dansi.h34 uint8_t fg; member in struct:term_state
/external/python/cpython2/Lib/idlelib/
H A DaboutDialog.py24 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 DtextView.py29 self.fg = '#000000'
55 fg=self.fg, bg=self.bg)
/external/python/cpython3/Lib/idlelib/
H A Dhelp_about.py27 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 Dtextview.py27 # TODO: get fg/bg from theme.
29 self.fg = '#000000'
55 fg=self.fg, bg=self.bg)
/external/harfbuzz_ng/util/
H A Dansi-print.cc162 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 Dmcscolor.c18 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 Dmsg.c98 uint8_t bg, fg; local
100 fg = convert_to_pcdisplay[(TextAttribute & 0x7)];
107 printf("3%dm\033[", fg);
H A Dcolors.c69 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 Dgammatext.cpp56 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 Ddftext.cpp135 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 Dhsl.cpp174 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 Dgammatext.cpp56 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 Ddftext.cpp135 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 Dhsl.cpp174 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 Dcolors.c69 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 Dhextile.c96 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 DSampleTextBox.cpp70 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 Ddrawtxt.c49 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 Dpen.c129 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 DSampleTextBox.cpp68 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 Dxa_context.h89 uint32_t fg);
H A Dxa_context.c297 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

Completed in 2252 milliseconds

1234