Home
last modified time | relevance | path

Searched refs:color (Results 1 – 25 of 94) sorted by relevance

1234

/hardware/bsp/intel/peripheral/libupm/src/lcd/
Deboled.cxx180 void EBOLED::drawChar (uint8_t x, uint8_t y, uint8_t data, uint8_t color, uint8_t size) { in drawChar() argument
204 drawPixel(x+i, y+j, color); in drawChar()
206 drawRectangleFilled(x+(i*size), y+(j*size), size, size, color); // big size in drawChar()
234 void EBOLED::drawPixel(int8_t x, int8_t y, uint8_t color) in drawPixel() argument
248 switch(color) in drawPixel()
262 void EBOLED::drawLine(int8_t x0, int8_t y0, int8_t x1, int8_t y1, uint8_t color) in drawLine() argument
291 drawPixel(y0, x0, color); in drawLine()
293 drawPixel(x0, y0, color); in drawLine()
303 void EBOLED::drawLineHorizontal(int8_t x, int8_t y, uint8_t width, uint8_t color) in drawLineHorizontal() argument
305 drawLine(x, y, x+width-1, y, color); in drawLineHorizontal()
[all …]
Deboled.h190 void drawChar (uint8_t x, uint8_t y, uint8_t data, uint8_t color, uint8_t size);
216 void drawPixel (int8_t x, int8_t y, uint8_t color=COLOR_WHITE);
227 void drawLine (int8_t x0, int8_t y0, int8_t x1, int8_t y1, uint8_t color = COLOR_WHITE);
237 void drawLineHorizontal (int8_t x, int8_t y, uint8_t width, uint8_t color = COLOR_WHITE);
247 void drawLineVertical (int8_t x, int8_t y, uint8_t height, uint8_t color = COLOR_WHITE);
258 …void drawRectangle (int8_t x, int8_t y, uint8_t width, uint8_t height, uint8_t color = COLOR_WHITE…
270 …awRoundedRectangle(int8_t x, int8_t y, int8_t width, int8_t height, int16_t radius, uint8_t color);
281 …void drawRectangleFilled (int8_t x, int8_t y, uint8_t width, uint8_t height, uint8_t color = COLOR…
294 …le (int8_t x0, int8_t y0, int8_t x1, int8_t y1, int8_t x2, int8_t y2, uint8_t color = COLOR_WHITE);
307 …wTriangleFilled ( int8_t x0, int8_t y0, int8_t x1, int8_t y1, int8_t x2, int8_t y2, uint8_t color);
[all …]
/hardware/bsp/intel/peripheral/libupm/src/st7735/
Dgfx.cxx44 GFX::setPixel (int x, int y, uint16_t color) { in setPixel() argument
50 m_map[index] = (uint8_t) (color >> 8); in setPixel()
51 m_map[++index] = (uint8_t)(color); in setPixel()
57 GFX::fillScreen (uint16_t color) { in fillScreen() argument
58 fillRect(0, 0, m_width, m_height, color); in fillScreen()
62 GFX::fillRect (int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color) { in fillRect() argument
64 drawFastVLine(i, y, h, color); in fillRect()
69 GFX::drawFastVLine(int16_t x, int16_t y, int16_t h, uint16_t color) { in drawFastVLine() argument
70 drawLine(x, y, x, y+h-1, color); in drawFastVLine()
74 GFX::drawLine (int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color) { in drawLine() argument
[all …]
Dgfx.h77 virtual void drawPixel (int16_t x, int16_t y, uint16_t color) = 0;
94 … void drawChar (int16_t x, int16_t y, uint8_t data, uint16_t color, uint16_t bg, uint8_t size);
110 mraa::Result setPixel (int x, int y, uint16_t color);
117 void fillScreen (uint16_t color);
128 void fillRect (int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color);
138 void drawFastVLine(int16_t x, int16_t y, int16_t h, uint16_t color);
149 void drawLine (int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color);
162 …wTriangle (int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color);
172 void drawCircle (int16_t x, int16_t y, int16_t r, uint16_t color);
/hardware/intel/common/utils/ISV/base/
Disv_worker.cpp374 VAProcFilterParameterBufferColorBalance color[COLOR_NUM]; in setupFilters() local
524 color[i].type = VAProcFilterColorBalance; in setupFilters()
525 color[i].attrib = VAProcColorBalanceAutoSaturation; in setupFilters()
526color[i].value = colorCaps[i].range.min_value + COLOR_STRENGTH * colorCaps[i].range.step; in setupFilters()
530 color[i].type = VAProcFilterColorBalance; in setupFilters()
531 color[i].attrib = VAProcColorBalanceAutoBrightness; in setupFilters()
532color[i].value = colorCaps[i].range.min_value + COLOR_STRENGTH * colorCaps[i].range.step; in setupFilters()
540 color[kHue].type = VAProcFilterColorBalance; in setupFilters()
541 color[kHue].attrib = VAProcColorBalanceHue; in setupFilters()
545 color[kHue].value = atof(propValueString); in setupFilters()
[all …]
/hardware/intel/common/libmix/mix_audio/docs/reference/MixAudio/html/
Dstyle.css49 color: #770000;
53 color: #550000;
57 color: #770000;
126 color: #FF0000;
134 border-color: #777777;
141 border-color: #777777;
149 background-color: #eeeeee;
154 color: #777777;
164 color: #777777;
/hardware/qcom/display/msm8084/liblight/
Dlights.c102 return state->color & 0x00ffffff; in is_lit()
108 int color = state->color & 0x00ffffff; in rgb_to_brightness() local
109 return ((77*((color>>16)&0x00ff)) in rgb_to_brightness()
110 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; in rgb_to_brightness()
153 colorRGB = state->color; in set_speaker_light_locked()
231 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()
/hardware/bsp/intel/peripheral/libupm/doxy/node/generators/yuidoc/tmpl/assets/css/
Dmain.css23 color: #333;
36 color: #356de4;
64 color: #D98527;/*was #f80*/
73 color: #30418C;
79 color: #E48A2B;
86 color: #E48A2B;
177 color: #000;/*#FFF1D5*/
238 color: #444;
251 …dient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(50%,#efefef), color-stop(5…
256 border-color: #466899;
[all …]
/hardware/qcom/display/msm8909/liblight/
Dlights.c106 return state->color & 0x00ffffff; in is_lit()
112 int color = state->color & 0x00ffffff; in rgb_to_brightness() local
113 return ((77*((color>>16)&0x00ff)) in rgb_to_brightness()
114 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; in rgb_to_brightness()
157 colorRGB = state->color; in set_speaker_light_locked()
261 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()
275 err = write_int(BLUETOOTH_LED_FILE, state->color & 0xFF); in set_light_bluetooth()
/hardware/qcom/display/msm8226/liblight/
Dlights.c102 return state->color & 0x00ffffff; in is_lit()
108 int color = state->color & 0x00ffffff; in rgb_to_brightness() local
109 return ((77*((color>>16)&0x00ff)) in rgb_to_brightness()
110 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; in rgb_to_brightness()
153 colorRGB = state->color; in set_speaker_light_locked()
248 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()
/hardware/qcom/display/msm8994/liblight/
Dlights.c103 return state->color & 0x00ffffff; in is_lit()
109 int color = state->color & 0x00ffffff; in rgb_to_brightness() local
110 return ((77*((color>>16)&0x00ff)) in rgb_to_brightness()
111 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; in rgb_to_brightness()
154 colorRGB = state->color; in set_speaker_light_locked()
249 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()
/hardware/qcom/display/msm8996/liblight/
Dlights.c103 return state->color & 0x00ffffff; in is_lit()
109 int color = state->color & 0x00ffffff; in rgb_to_brightness() local
110 return ((77*((color>>16)&0x00ff)) in rgb_to_brightness()
111 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; in rgb_to_brightness()
154 colorRGB = state->color; in set_speaker_light_locked()
258 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()
/hardware/bsp/intel/peripheral/light/mraa/
Dlights.c164 int color = 0, rc = 0; in flash_routine() local
177 color = flash_state->color; in flash_routine()
181 rc = set_gpio_value(dev->pin, color); in flash_routine()
193 if (color) { in flash_routine()
194 color = 0; in flash_routine()
197 color = 1; in flash_routine()
282 ALOGV("%s: flashMode:%x, color:%x", __func__, state->flashMode, state->color); in set_light_generic()
295 current_state->color = dev->transform(current_state->color); in set_light_generic()
312 rc = set_gpio_value(dev->pin, current_state->color); in set_light_generic()
/hardware/qcom/display/msm8960/liblight/
Dlights.c119 return state->color & 0x00ffffff; in is_lit()
125 int color = state->color & 0x00ffffff; in rgb_to_brightness() local
126 return ((77*((color>>16)&0x00ff)) in rgb_to_brightness()
127 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; in rgb_to_brightness()
163 colorRGB = state->color; in set_speaker_light_locked()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dy4menc.c16 const char *const color = fmt == VPX_IMG_FMT_444A ? "C444alpha\n" : in y4m_write_file_header() local
22 framerate->numerator, framerate->denominator, 'p', color); in y4m_write_file_header()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayCtrlData.h61 void setColor(const uint32_t color);
148 inline void Ctrl::setColor(const uint32_t color) in setColor() argument
150 mMdp->setColor(color); in setColor()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayCtrlData.h61 void setColor(const uint32_t color);
148 inline void Ctrl::setColor(const uint32_t color) in setColor() argument
150 mMdp->setColor(color); in setColor()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayCtrlData.h61 void setColor(const uint32_t color);
148 inline void Ctrl::setColor(const uint32_t color) in setColor() argument
150 mMdp->setColor(color); in setColor()
/hardware/qcom/display/msm8909/liboverlay/
DoverlayCtrlData.h61 void setColor(const uint32_t color);
148 inline void Ctrl::setColor(const uint32_t color) in setColor() argument
150 mMdp->setColor(color); in setColor()
/hardware/qcom/display/msm8994/liboverlay/pipes/
DoverlayGenPipe.cpp52 void GenericPipe::setColor(const uint32_t color) { in setColor() argument
53 mCtrl->setColor(color); in setColor()
/hardware/qcom/display/msm8226/liboverlay/pipes/
DoverlayGenPipe.cpp52 void GenericPipe::setColor(const uint32_t color) { in setColor() argument
53 mCtrl->setColor(color); in setColor()
/hardware/qcom/display/msm8909/liboverlay/pipes/
DoverlayGenPipe.cpp52 void GenericPipe::setColor(const uint32_t color) { in setColor() argument
53 mCtrl->setColor(color); in setColor()
/hardware/qcom/display/msm8084/liboverlay/pipes/
DoverlayGenPipe.cpp54 void GenericPipe::setColor(const uint32_t color) { in setColor() argument
55 mCtrl->setColor(color); in setColor()
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit.cpp565 uint32_t color = 0; // black color in clear_copybit() local
605 req->const_color.b = (uint32_t)((color >> 16) & 0xff); in clear_copybit()
606 req->const_color.g = (uint32_t)((color >> 8) & 0xff); in clear_copybit()
607 req->const_color.r = (uint32_t)((color >> 0) & 0xff); in clear_copybit()
625 uint32_t color) in fill_color() argument
658 req->const_color.r = (uint32_t)((color >> 0) & 0xff); in fill_color()
659 req->const_color.g = (uint32_t)((color >> 8) & 0xff); in fill_color()
660 req->const_color.b = (uint32_t)((color >> 16) & 0xff); in fill_color()
661 req->const_color.alpha = (uint32_t)((color >> 24) & 0xff); in fill_color()
/hardware/qcom/display/msm8909/libcopybit/
Dcopybit.cpp593 uint32_t color = 0; // black color in clear_copybit() local
632 req->const_color.b = (uint32_t)((color >> 16) & 0xff); in clear_copybit()
633 req->const_color.g = (uint32_t)((color >> 8) & 0xff); in clear_copybit()
634 req->const_color.r = (uint32_t)((color >> 0) & 0xff); in clear_copybit()
652 uint32_t color) in fill_color() argument
685 req->const_color.r = (uint32_t)((color >> 0) & 0xff); in fill_color()
686 req->const_color.g = (uint32_t)((color >> 8) & 0xff); in fill_color()
687 req->const_color.b = (uint32_t)((color >> 16) & 0xff); in fill_color()
688 req->const_color.alpha = (uint32_t)((color >> 24) & 0xff); in fill_color()

1234