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

12

/external/linux-tools-perf/util/ui/
H A Dlibslang.h19 #define sltt_set_color(obj, name, fg, bg) \
20 SLtt_set_color(obj,(char *)(name), (char *)(fg), (char *)(bg))
/external/qemu/
H A Dvnchextile.h22 pixel_t fg = 0; local
40 fg = irow[i];
45 if (irow[i] != bg && irow[i] != fg) {
50 else if (irow[i] == fg)
64 pixel_t tmp = fg;
65 fg = bg;
75 if (n_colors < 3 && (!*has_fg || *last_fg != fg)) {
78 *last_fg = fg;
93 if (irow[i] == fg) {
174 /* we really don't have to invalidate either the bg or fg
[all...]
/external/linux-tools-perf/util/
H A Dcolor.c53 int fg = -2; local
61 /* [fg [bg]] [attr] */
79 if (fg == -2) {
80 fg = val;
95 if (attr >= 0 || fg >= 0 || bg >= 0) {
104 if (fg >= 0) {
107 if (fg < 8) {
109 *dst++ = '0' + fg;
111 dst += sprintf(dst, "38;5;%d", fg);
/external/harfbuzz_ng/util/
H A Dansi-print.cc167 fg = 0;
169 if (i != bg && freq[fg] < freq[i])
170 fg = i;
171 if (fg == bg || freq[fg] == 0) {
172 fg = bg;
186 color_t fgc = color_t::from_ansi (fg);
205 unsigned int fg;
395 if (last_bg != bi.fg || last_fg != bi.bg) {
396 printf ("\e[%d;%dm", 30 + bi.bg, 40 + bi.fg);
[all...]
H A Dhelper-cairo.cc324 unsigned int fr, fg, fb, fa, br, bg, bb, ba; local
327 fr = fg = fb = 0; fa = 255;
328 sscanf (view_opts->fore + (*view_opts->fore=='#'), "%2x%2x%2x%2x", &fr, &fg, &fb, &fa);
331 if (!view_opts->annotate && ba == 255 && br == bg && bg == bb && fr == fg && fg == fb)
368 cairo_set_source_rgba (cr, fr / 255., fg / 255., fb / 255., fa / 255.);
/external/webkit/Source/WebCore/platform/efl/
H A DRenderThemeEfl.cpp362 int fr, fg, fb, fa, br, bg, bb, ba; local
364 if (!edje_object_color_class_get(object, source, &fr, &fg, &fb, &fa, &br, &bg, &bb, &ba, 0, 0, 0, 0))
367 that->setActiveSelectionColor(fr, fg, fb, fa, br, bg, bb, ba);
373 int fr, fg, fb, fa, br, bg, bb, ba; local
375 if (!edje_object_color_class_get(object, source, &fr, &fg, &fb, &fa, &br, &bg, &bb, &ba, 0, 0, 0, 0))
378 that->setInactiveSelectionColor(fr, fg, fb, fa, br, bg, bb, ba);
384 int fr, fg, fb, fa; local
386 if (!edje_object_color_class_get(object, source, &fr, &fg, &fb, &fa, 0, 0, 0, 0, 0, 0, 0, 0))
389 that->setFocusRingColor(fr, fg, fb, fa);
395 int fr, fg, f local
406 int fr, fg, fb, fa, br, bg, bb, ba; local
417 int fr, fg, fb, fa, br, bg, bb, ba; local
428 int fr, fg, fb, fa, br, bg, bb, ba; local
483 int fr, fg, fb, fa, br, bg, bb, ba; local
[all...]
/external/chromium/chrome/browser/ui/gtk/
H A Dgtk_theme_service_unittest.cc67 GdkColor label_color = label_style->fg[GTK_STATE_NORMAL];
H A Dedit_search_engine_dialog.cc54 &label_style->fg[GTK_STATE_NORMAL]);
56 &label_style->fg[GTK_STATE_INSENSITIVE]);
H A Dgtk_theme_service.cc203 SkColor color = GdkToSkColor(&style->fg[state]);
705 GdkColor label_color = label_style->fg[GTK_STATE_NORMAL];
1049 const GdkColor text_color = label_style->fg[GTK_STATE_NORMAL];
/external/skia/gm/
H A Dgammatext.cpp151 const SkColor fg[] = { local
168 for (size_t i = 0; i < SK_ARRAY_COUNT(fg); ++i) {
169 paint.setColor(fg[i]);
186 x += SkIntToScalar(1024) / SK_ARRAY_COUNT(fg);
/external/clang/test/Sema/
H A Dms_class_layout.cpp47 C fg; member in struct:BaseStruct
221 // CHECK-NEXT: 16 | class C fg
252 // CHECK-NEXT: 16 | class C fg
/external/libppp/src/
H A Dmain.c203 unsigned fg : 1; member in struct:switches
267 sw->fg = 1;
434 if (!sw.fg) {
508 if (!sw.fg)
/external/chromium/webkit/glue/
H A Dwebcursor_gtk.cc32 const GdkColor fg = { 0, 0, 0, 0 }; local
38 cursor = gdk_cursor_new_from_pixmap(source, mask, &fg, &bg,
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DBarGraph.java104 Color fg= display.getSystemColor(SWT.COLOR_BLACK);
165 gc.setForeground(fg);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ui.forms_3.5.2.r36_v20100702.jar ... Color) org.eclipse.swt.graphics.Color fg public org.eclipse.swt.graphics.Color ...
/external/libpng/contrib/gregbook/
H A Drpng-win.c100 #define alpha_composite(composite, fg, alpha, bg) { \
101 ush temp = ((ush)(fg)*(ush)(alpha) + \
H A Drpng-x.c106 #define alpha_composite(composite, fg, alpha, bg) { \
107 ush temp = ((ush)(fg)*(ush)(alpha) + \
817 * the first argument (== fg byte here: safe) */
/external/giflib/
H A Dgif_lib.h331 const int border, const int bg, const int fg);
/external/icu4c/samples/layout/
H A Dgnomelayout.cpp256 style->fg[i] = style->white;
H A Dcgnomelayout.c255 style->fg[i] = style->white;
/external/mksh/src/
H A Dmisc.c2077 * process the string available via fg (get a char)
2079 * assuming the first call to *fg gets the char di-
2085 unbksl(bool cstyle, int (*fg)(void), void (*fp)(int)) argument
2089 fc = (*fg)();
2106 c = (*fg)();
2150 if ((c = (*fg)()) >= '0' && c <= '7')
2177 if ((c = (*fg)()) >= '0' && c <= '9')
/external/libyuv/files/source/
H A Drow_common.cc833 uint32 fg = src_argb0[1]; local
840 dst_argb[1] = BLEND(fg, bg, a);
845 fg = src_argb0[4 + 1];
852 dst_argb[4 + 1] = BLEND(fg, bg, a);
862 uint32 fg = src_argb0[1]; local
869 dst_argb[1] = BLEND(fg, bg, a);
/external/qemu/distrib/libpng-1.2.19/
H A Dpng.h2619 /* fg and bg should be in `gamma 1.0' space; alpha is the opacity */
2621 # define png_composite(composite, fg, alpha, bg) \
2622 { png_uint_16 temp = (png_uint_16)((png_uint_16)(fg) * (png_uint_16)(alpha) \
2627 # define png_composite_16(composite, fg, alpha, bg) \
2628 { png_uint_32 temp = (png_uint_32)((png_uint_32)(fg) * (png_uint_32)(alpha) \
2635 # define png_composite(composite, fg, alpha, bg) \
2636 (composite) = (png_byte)(((png_uint_16)(fg) * (png_uint_16)(alpha) + \
2640 # define png_composite_16(composite, fg, alpha, bg) \
2641 (composite) = (png_uint_16)(((png_uint_32)(fg) * (png_uint_32)(alpha) + \
/external/kernel-headers/original/linux/
H A Dfb.h730 __u32 fg; /* foreground color */ member in struct:fb_tilerect
749 __u32 fg; /* foreground color */ member in struct:fb_tileblit
760 __u32 fg; /* foreground color */ member in struct:fb_tilecursor
/external/icu4c/test/cintltst/
H A Dcustrtst.c502 fg[] = { 0x66, 0x67, 0 }, local
522 if (u_strpbrk(testString, fg) != NULL) {
523 log_err("u_strpbrk didn't return NULL for \"fg\".\n");
549 if (u_strpbrk(testSurrogateString, fg) != NULL) {
550 log_err("u_strpbrk didn't return NULL for \"fg\".\n");
588 if (u_strcspn(testString, fg) != u_strlen(testString)) {
589 log_err("u_strcspn didn't return NULL for \"fg\".\n");
612 if (u_strcspn(testSurrogateString, fg) != u_strlen(testSurrogateString)) {
613 log_err("u_strcspn didn't return NULL for \"fg\".\n");

Completed in 783 milliseconds

12