Searched refs:color (Results 1 - 25 of 27) sorted by relevance

12

/fuchsia/zircon/system/ulib/gfx/include/gfx/
H A Dgfx.h52 void (*fillrect)(gfx_surface*, unsigned x, unsigned y, unsigned width, unsigned height, unsigned color);
53 void (*putpixel)(gfx_surface*, unsigned x, unsigned y, unsigned color);
67 // fill a rect within the surface with a color
68 void gfx_fillrect(gfx_surface* surface, unsigned x, unsigned y, unsigned width, unsigned height, unsigned color);
71 void gfx_putpixel(gfx_surface* surface, unsigned x, unsigned y, unsigned color);
77 void gfx_line(gfx_surface* surface, unsigned x1, unsigned y1, unsigned x2, unsigned y2, unsigned color);
94 // clear the entire surface with a color
95 static inline void gfx_clear(gfx_surface* surface, unsigned color) { argument
96 surface->fillrect(surface, 0, 0, surface->width, surface->height, color);
/fuchsia/zircon/system/uapp/gfxfractal/
H A Dmain.c55 uint32_t color,iter,x,y; local
88 color = 0;
90 color = 0x231AF9 * iter;
92 color= color | 0xff000000;
93 gfx_putpixel(gfx, x, y, color);
/fuchsia/zircon/kernel/lib/gfxconsole/include/lib/
H A Dgfxconsole.h19 void gfxconsole_putpixel(unsigned x, unsigned y, unsigned color);
/fuchsia/zircon/third_party/ulib/linenoise/
H A Dexample.c14 char *hints(const char *buf, int *color, int *bold) { argument
16 *color = 35;
H A Dlinenoise.c526 int color = -1, bold = 0; local
527 char *hint = hintsCallback(l->buf,&color,&bold);
532 if (bold == 1 && color == -1) color = 37;
533 if (color != -1 || bold != 0)
534 snprintf(seq,64,"\033[%d;%d;49m",bold,color);
537 if (color != -1 || bold != 0)
/fuchsia/zircon/third_party/ulib/linenoise/include/linenoise/
H A Dlinenoise.h54 typedef char*(linenoiseHintsCallback)(const char *, int *color, int *bold);
/fuchsia/zircon/kernel/lib/gfx/include/lib/
H A Dgfx.h58 void (*fillrect)(struct gfx_surface*, uint x, uint y, uint width, uint height, uint color);
59 void (*putpixel)(struct gfx_surface*, uint x, uint y, uint color);
71 // fill a rect within the surface with a color
72 void gfx_fillrect(gfx_surface* surface, uint x, uint y, uint width, uint height, uint color);
75 void gfx_putpixel(gfx_surface* surface, uint x, uint y, uint color);
78 void gfx_line(gfx_surface* surface, uint x1, uint y1, uint x2, uint y2, uint color);
92 // clear the entire surface with a color
93 static inline void gfx_clear(gfx_surface* surface, uint color) { argument
94 surface->fillrect(surface, 0, 0, surface->width, surface->height, color);
/fuchsia/zircon/bootloader/src/
H A Dframebuffer.h38 efi_graphics_output_blt_pixel* color; member in struct:font_t
H A Dframebuffer.c207 if (font->color != NULL) {
208 fg_color = font->color;
231 .color = &font_white,
253 .color = &font_fuchsia,
/fuchsia/zircon/system/core/virtcon/
H A Dvc.h86 // color
121 void vc_status_write(int x, unsigned color, const char* text);
151 static inline uint32_t palette_to_color(vc_t* vc, uint8_t color) { argument
152 assert(color <= MAX_COLOR);
153 return vc->palette[color];
H A Dvc-device.cpp298 // Fill display with background color
348 void vc_status_write(int x, unsigned color, const char* text) { argument
350 unsigned fg = default_palette[color];
/fuchsia/zircon/system/uapp/hidtouch/
H A Dmain.c172 static void draw_points(uint32_t* pixels, uint32_t color, uint32_t x, uint32_t y, uint8_t width, uint8_t height, uint32_t fbwidth, uint32_t fbheight) { argument
183 *(pixels + py * fbwidth + px) = color;
192 static void draw_points16(uint32_t* pixels, uint16_t color, uint32_t x, uint32_t y, uint8_t width, uint8_t height, uint32_t fbwidth, uint32_t fbheight) { argument
205 pixels16[py*fbwidth + px] = color;
253 uint32_t color = get_color(acer12_finger_id_contact(rpt->fingers[c].finger_id)); local
254 draw_points(pixels, color, x, y, width, height, info->stride, info->height);
284 uint16_t color = get_color16(ft3x27_finger_id_contact(rpt->fingers[c].finger_id)); local
285 draw_points16(pixels, color, x, y, width, height, info->stride, info->height);
313 uint32_t color = get_color(1); local
314 draw_points(pixels, color,
342 uint32_t color = get_color(eyoyo_finger_id_contact(rpt->fingers[c].finger_id)); local
372 uint32_t color = get_color(c); local
402 uint32_t color = get_color(c); local
436 uint32_t size, color; local
[all...]
/fuchsia/zircon/kernel/lib/gfx/
H A Dgfx.cpp124 * @brief Fill a rectangle on the screen with a constant color.
126 void gfx_fillrect(gfx_surface* surface, uint x, uint y, uint width, uint height, uint color) { argument
127 LTRACEF("surface %p, x %u y %u w %u h %u c %u\n", surface, x, y, width, height, color);
144 surface->fillrect(surface, x, y, width, height, color);
150 void gfx_putpixel(gfx_surface* surface, uint x, uint y, uint color) { argument
156 surface->putpixel(surface, x, y, color);
160 static void putpixel(gfx_surface* surface, uint x, uint y, uint color) { argument
164 *dest = static_cast<T>(color);
167 *dest = static_cast<T>(surface->translate_color(color));
212 T color; local
229 gfx_line(gfx_surface* surface, uint x1, uint y1, uint x2, uint y2, uint color) argument
696 uint color; local
[all...]
/fuchsia/zircon/system/ulib/gfx/
H A Dgfx.c127 * @brief Fill a rectangle on the screen with a constant color.
129 void gfx_fillrect(gfx_surface* surface, unsigned x, unsigned y, unsigned width, unsigned height, unsigned color) { argument
130 xprintf("surface %p, x %u y %u w %u h %u c %u\n", surface, x, y, width, height, color);
147 surface->fillrect(surface, x, y, width, height, color);
153 void gfx_putpixel(gfx_surface* surface, unsigned x, unsigned y, unsigned color) { argument
159 surface->putpixel(surface, x, y, color);
162 static void putpixel16(gfx_surface* surface, unsigned x, unsigned y, unsigned color) { argument
166 *dest = (uint16_t)(surface->translate_color(color));
169 static void putpixel32(gfx_surface* surface, unsigned x, unsigned y, unsigned color) { argument
172 *dest = color;
175 putpixel8(gfx_surface* surface, unsigned x, unsigned y, unsigned color) argument
253 fillrect8(gfx_surface* surface, unsigned x, unsigned y, unsigned width, unsigned height, unsigned color) argument
304 fillrect16(gfx_surface* surface, unsigned x, unsigned y, unsigned width, unsigned height, unsigned color) argument
355 fillrect32(gfx_surface* surface, unsigned x, unsigned y, unsigned width, unsigned height, unsigned color) argument
369 gfx_line(gfx_surface* surface, unsigned x1, unsigned y1, unsigned x2, unsigned y2, unsigned color) argument
[all...]
/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/
H A Ddisplay-controller.h173 // Additionally, if alpha_mode == PREMULTIPLIED, then the hardware must premultiply the color
204 // The color to use for the layer. The color is little-endian, and is
206 uint8_t* color; member in struct:color_layer
223 color_layer_t color; member in union:layer::__anon930
248 // If set, use the 0 vector for the color conversion preoffset
250 // If set, use the identity matrix for the color conversion coefficients
252 // If set, use the 0 vector for the color conversion postoffset
307 // The client should apply the color conversion.
/fuchsia/zircon/system/dev/display/intel-i915/
H A Dpipe.cpp229 color_layer_t* layer = &config->layers[0]->cfg.color;
232 uint32_t color = *reinterpret_cast<uint32_t*>(layer->color); local
234 bottom_color.set_r(encode_pipe_color_component(static_cast<uint8_t>(color >> 16)));
235 bottom_color.set_g(encode_pipe_color_component(static_cast<uint8_t>(color >> 8)));
236 bottom_color.set_b(encode_pipe_color_component(static_cast<uint8_t>(color)));
/fuchsia/zircon/kernel/lib/gfxconsole/
H A Dgfxconsole.cpp66 void gfxconsole_putpixel(unsigned x, unsigned y, unsigned color) { argument
67 gfx_putpixel(gfxconsole.surface, x, y, color);
213 // fill screen with back color
/fuchsia/zircon/system/uapp/display-test/
H A Dimage.cpp146 int32_t color = in_stripe ? fg_color_ : bg_color_; local
164 *ptr = color;
/fuchsia/zircon/system/utest/fvm/
H A Dfvm.cpp417 bool CheckWriteColor(int fd, size_t off, size_t len, uint8_t color) { argument
422 memset(buf.get(), color, len);
428 bool CheckReadColor(int fd, size_t off, size_t len, uint8_t color) { argument
436 ASSERT_EQ(buf[i], color);
2597 uint8_t color = static_cast<uint8_t>(ta->tid); local
2599 auto self = &st->thread_states[color];
2604 // Before we begin, color our first slice.
2605 // We'll identify our own slices by the "color", which
2607 ASSERT_TRUE(CheckWriteColor(self->vp_fd, 0, st->slice_size, color));
2608 ASSERT_TRUE(CheckReadColor(self->vp_fd, 0, st->slice_size, color));
[all...]
/fuchsia/zircon/third_party/uapp/kilo/
H A Dkilo.c173 * a different color, so that you can have two different sets of keywords.
386 /* ====================== Syntax highlight color scheme ==================== */
956 int color = editorSyntaxToColor(hl[j]); local
957 if (color != current_color) {
959 int clen = snprintf(buf,sizeof(buf),"\x1b[%dm",color);
960 current_color = color;
/fuchsia/zircon/system/uapp/ihda/
H A Dprint_codec_state.cpp202 switch (cfg.color()) {
217 printf(FMT("%s (%u)\n"), "Color", tmp, cfg.color());
/fuchsia/zircon/system/ulib/intel-hda/include/intel-hda/utils/
H A Dcodec-caps.h198 uint8_t color() const { return static_cast<uint8_t>((raw_data_ >> 12) & 0x0F); } function in struct:audio::intel_hda::ConfigDefaults
/fuchsia/zircon/system/dev/display/display/
H A Dclient.cpp571 zxlogf(ERROR, "SetLayerColorConfig with invalid color bytes\n");
575 // Increase the size of the static array when large color formats are introduced
579 color_layer_t* color_layer = &layer->pending_layer_.cfg.color;
792 layer->current_layer_.cfg.color.color = layer->current_color_bytes_;
909 layer_node.layer->pending_layer_.cfg.color.color =
/fuchsia/zircon/third_party/ulib/chromiumos-platform-ec/include/chromiumos-platform-ec/
H A Dec_commands.h1596 /* Map [AC][battery_level] to color index */
1601 struct rgb_s color[8]; /* 0-3 are Google colors */ member in struct:lightbar_params_v0
1642 /* Map [AC][battery_level] to color index */
1646 /* s5: single color pulse on inhibited power-up */
1650 struct rgb_s color[8]; /* 0-3 are Google colors */ member in struct:lightbar_params_v1
1710 /* Map [AC][battery_level] to color index */
1714 /* s5: single color pulse on inhibited power-up */
1718 struct rgb_s color[8]; /* 0-3 are Google colors */ member in struct:lightbar_params_v2_colors
1910 * Range 0 means color channel not present.
/fuchsia/zircon/third_party/ulib/jemalloc/bin/
H A Djeprof.in69 # TODO: Use color to indicate files?
1498 color: #aaaaaa;
1501 color: #aaaaaa;
1504 color: #cccccc;
1507 color: #000000;
1513 background-color: #eeeeee;
1516 color: #0000ff;
1520 background-color: #eeeeee;
1523 color: #008800;

Completed in 398 milliseconds

12