Home
last modified time | relevance | path

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

12

/device/amlogic/yukawa/hal/lights/
Dlights.cpp98 int rgbToBrightness(int color) { in rgbToBrightness() argument
99 int const r = ((color >> 16) & 0xFF) * 77 / 255; in rgbToBrightness()
100 int const g = ((color >> 8) & 0xFF) * 150 / 255; in rgbToBrightness()
101 int const b = (color & 0xFF) * 29 / 255; in rgbToBrightness()
105 int writeLedArray(const char* path, LightAddress const& addr, int color) { in writeLedArray() argument
117 write8reg8(fd, addr.red, ((color >> 16) & 0xFF)); in writeLedArray()
118 write8reg8(fd, addr.green, ((color >> 8) & 0xFF)); in writeLedArray()
119 write8reg8(fd, addr.blue, (color)&0xFF); in writeLedArray()
128 void writeLed(const char* path, int color) { in writeLed() argument
135 sys_write_int(fd, color); in writeLed()
[all …]
/device/google/cuttlefish/guest/hals/camera/
DEmulatedFakeCameraDevice.cpp308 const YUVPixel* color) { in drawSquare() argument
313 YUVPixel adjustedColor = *color; in drawSquare()
336 void EmulatedFakeCameraDevice::drawSolid(YUVPixel* color) { in drawSolid() argument
337 YUVPixel adjustedColor = *color; in drawSolid()
347 *U = color->U; in drawSolid()
348 *V = color->V; in drawSolid()
359 YUVPixel* color; in drawStripes() local
363 color = &mWhiteYUV; in drawStripes()
366 color = &mRedYUV; in drawStripes()
369 color = &mGreenYUV; in drawStripes()
[all …]
DEmulatedFakeCameraDevice.h111 void drawSquare(int x, int y, int size, const YUVPixel* color);
114 void drawSolid(YUVPixel* color);
DConverters.h130 uint32_t color; member
186 rgb_c.color = rgb; in RGB32ToYUV()
240 return rgb.color; in YUVToRGB32()
/device/generic/goldfish/camera/
DEmulatedFakeCameraDevice.cpp346 const YUVPixel* color) in drawSquare() argument
356 YUVPixel adjustedColor = *color; in drawSquare()
377 void EmulatedFakeCameraDevice::drawSolid(void* buffer, YUVPixel* color) in drawSolid() argument
379 YUVPixel adjustedColor = *color; in drawSolid()
392 *U = color->U; in drawSolid()
393 *V = color->V; in drawSolid()
406 YUVPixel* color; in drawStripes() local
410 color = &mWhiteYUV; in drawStripes()
413 color = &mRedYUV; in drawStripes()
416 color = &mGreenYUV; in drawStripes()
[all …]
DEmulatedFakeCameraDevice.h106 void drawSquare(void* buffer, int x, int y, int size, const YUVPixel* color);
109 void drawSolid(void* buffer, YUVPixel* color);
DEmulatedFakeRotatingCameraDevice.cpp148 static void get_color(uint32_t* img, int i, int j, int w, int h, int dw, uint32_t * color) { in get_color() argument
155 *color = img[i-mini + dw*(j-minj)]; in get_color()
162 uint32_t color=0; in convert_to_square() local
163 get_color(src, i, j, sw, sh, dw, &color); in convert_to_square()
164 dest[i+j*dw] = color; in convert_to_square()
DConverters.h119 uint32_t color; member
172 rgb_c.color = rgb; in RGB32ToYUV()
226 return rgb.color; in YUVToRGB32()
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/assets/
Dstyle.css18 background-color:black
26 color: whitesmoke;
47 background-color: #aaaaaa;
49 border-color: #aaaaaa;
77 color: #aaaaaa;
78 background-color: black;
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/
Dxf-sched.h51 return (((rb_node_t *)t)->color & ~1); in xf_task_timestamp()
58 return (((rb_node_t *)t)->color = ts); in xf_task_timestamp_set()
72 return ((rb_tree_t *)sched)->root.color; in xf_sched_timestamp()
79 return (((rb_tree_t *)sched)->root.color = ts & ~0x1); in xf_sched_timestamp_set()
/device/google/wahoo/liblight/
Dlights.c165 return state->color & 0x00ffffff; in is_lit()
171 int color = state->color & 0x00ffffff; in rgb_to_brightness() local
172 return ((77*((color>>16)&0x00ff)) in rgb_to_brightness()
173 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; in rgb_to_brightness()
233 colorRGB = state->color; in set_speaker_light_locked()
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/lib/
Drbtree.h47 u32 color; member
102 return (n_idx->color >> 1); in rb_node_data()
126 n_idx->color = (n_idx->color & 0x1) | (data << 1); in rb_set_node_data()
/device/google/cuttlefish/tools/
Dbazel.rc1 test --client_env=CC=/usr/bin/clang-3.8 --color=yes --test_output all
2 build --client_env=CC=/usr/bin/clang-3.8 --color=yes
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/
Dxf-mem.c54 return b->l_node.color = size, b; in xf_mm_block_init()
61 return (b->l_node.color < size); in xf_mm_block_length_less()
68 return (b->l_node.color & ~1); in xf_mm_block_length()
75 return ((b->l_node.color += size) & ~1); in xf_mm_block_length_add()
82 return ((b->l_node.color -= size) & ~1); in xf_mm_block_length_sub()
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/
Drbtree.c49 #define RB_COLOR(tree, node) ((node)->color & 1)
52 #define RB_IS_BLACK(tree, node) (!((node)->color & RB_RED))
77 ({ (n)->color &= ~1; })
80 ({ (n)->color |= 1; })
682 u32 color; in rb_delete() local
718 color = RB_COLOR(tree, n_idx); in rb_delete()
738 color = RB_COLOR(tree, m_idx); in rb_delete()
796 if (color == RB_BLK) in rb_delete()
/device/google/coral-sepolicy/vendor/qcom/common/
Dhal_display_color.te10 # Rule for display color to access graphics composer process
Dhwservice_contexts7 vendor.display.color::IDisplayColor u:object_r:hal_display_colo…
/device/sample/skins/WVGAMedDpi/
Dlayout358 color 0xe0e0e0
394 color 0xe0e0e0
/device/sample/apps/tv/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/
DClockWidgetProvider.java79 resId = android.R.color.transparent; in getConnectedResId()
/device/sample/apps/tv/LeanbackCustomizer/src/com/google/android/leanbacklauncher/partnercustomizer/
DPartnerReceiver.java132 .setColor(mContext.getResources().getColor(R.color.partner_color)) in postNotification()
/device/generic/goldfish-opengl/system/renderControl_enc/
DREADME91 This flushes the current window color buffer
94 This set the target color buffer for a windowSurface, when set the
/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.h151 hwc_color_t color; member
409 HWC2::Error setColor(hwc_color_t color);
/device/google/cuttlefish_vmm/
Drebuild-internal.sh146 git config --global color.ui false
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
DHWC2.cpp1569 static std::string colorString(hwc_color_t color) { in colorString() argument
1572 output << static_cast<int32_t>(color.r) << ", "; in colorString()
1573 output << static_cast<int32_t>(color.g) << ", "; in colorString()
1574 output << static_cast<int32_t>(color.b) << ", "; in colorString()
1575 output << static_cast<int32_t>(color.a) << "]"; in colorString()
2126 Error CfHWC2::Layer::setColor(hwc_color_t color) { in setColor() argument
2127 mColor = color; in setColor()
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dmsm_mdp.h304 struct color { struct
315 struct color const_color; argument

12