Home
last modified time | relevance | path

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

12

/system/teeui/libteeui/include/teeui/
Dbutton.h38 ButtonImpl(pxs radius, Color color, Color convexObjectColor, bool roundTopLeft, in ButtonImpl() argument
40 : radius_(radius), color_(color), convexObjectColor_(convexObjectColor), in ButtonImpl()
44 void setColor(Color color) { color_ = color; } in setColor() argument
45 void setConvexObjectColor(Color color) { convexObjectColor_ = color; } in setConvexObjectColor() argument
115 #define ButtonColor(color) static const constexpr auto button_color = color argument
132 #define ConvexObjectColor(color) static constexpr const auto button_drawable_object_color = color argument
Dlabel.h80 void setTextColor(Color color) { textColor_ = color; } in setTextColor() argument
157 #define TextColor(color) static const constexpr auto label_text_color = color argument
/system/teeui/libteeui/example/
Dexample_utils.cpp39 Error FrameBuffer::drawPixel(uint32_t x, uint32_t y, uint32_t color) const { in drawPixel()
44 double alfa = (color & 0xff000000) >> 24; in drawPixel()
47 buffer_[pos] = alfaCombineChannel(0, alfa, color, acc) | in drawPixel()
48 alfaCombineChannel(8, alfa, color, acc) | in drawPixel()
49 alfaCombineChannel(16, alfa, color, acc); in drawPixel()
Dphys_button_example.cpp138 [&fb](uint32_t x, uint32_t y, Color color) -> Error { return fb.drawPixel(x, y, color); }); in renderUIIntoBuffer() argument
Dexample_utils.h52 Error drawPixel(uint32_t x, uint32_t y, uint32_t color) const;
Dtouch_button_example.cpp175 [&fb](uint32_t x, uint32_t y, Color color) -> Error { return fb.drawPixel(x, y, color); }); in renderUIIntoBuffer() argument
/system/chre/platform/linux/include/chre/target_platform/
Dlog.h32 #define CHRE_LINUX_LOG(logLevel, levelStr, color, fmt, ...) \ argument
33 printf("\e[" color "m%s %s:%d\t" fmt "\e[0m\n", levelStr, __FILENAME__, \
38 #define CHRE_LINUX_LOG(logLevel, levelStr, color, fmt, ...) \ argument
41 logLevel, "\e[" color "m%s %s:%d\t" fmt "\e[0m", levelStr, \
/system/bt/gd/cert/
Dasync_subprocess_logger.py40 color: TerminalColor = None):
59 self.color = color
77 if self.color:
78 loggableTag = "[%s%s%s]" % (self.color, self.tag, TerminalColor.END)
/system/testing/gtest_extras/
DColor.cpp30 const auto& gtest_color = ::testing::GTEST_FLAG(color); in ShouldUseColor()
59 void ColoredPrintf(const char* color, const char* fmt, ...) { in ColoredPrintf() argument
68 printf("%s", color); in ColoredPrintf()
DIsolateMain.cpp147 ::testing::GTEST_FLAG(color) = args[gtest_color_index] + 14; in IsolateMain()
178 ::testing::GTEST_FLAG(color) = options.color(); in IsolateMain()
DColor.h27 void ColoredPrintf(const char* color, const char* fmt, ...);
DIsolate.cpp470 ColoredPrintf(results.color, results.prefix); in PrintResults()
479 ColoredPrintf(results.color, results.prefix); in PrintResults()
500 .color = COLOR_YELLOW,
513 .color = COLOR_RED,
522 .color = COLOR_RED,
531 .color = COLOR_RED,
543 .color = COLOR_GREEN,
DIsolate.h49 const char* color; member
DOptions.h50 const std::string& color() const { return strings_.at("gtest_color"); } in color() function
/system/extras/simpleperf/scripts/purgatorio/templates/
Dstyles.css89 color: GoldenRod;
96 color: white;
109 background-color: rgba(0,0,0,0.4);
113 background-color: white;
123 color: darkgray;
132 color: black;
/system/media/camera/docs/
Dhtml.mako23 body { background-color: #f7f7f7; font-family: Roboto, sans-serif;}
24 h1 { color: #333333; }
25 h2 { color: #333333; }
26 a:link { color: #258aaf; text-decoration: none}
27 a:hover { color: #459aaf; text-decoration: underline }
28 a:visited { color: #154a5f; text-decoration: none}
29color: #eeeeee; font-size: 1.5em; font-weight: bold; background-color: #888888; padding: 0.5em 0em…
30 ….kind { color: #eeeeee; font-size: 1.2em; font-weight: bold; padding-left: 1.5em; background-color
31 .entry { background-color: #f0f0f0 }
32 .entry_cont { background-color: #f0f0f0 }
[all …]
/system/tools/hidl/lint/
DLint.cpp82 static std::string setColor(Color color, bool bold = false) { in setColor() argument
86 if (bold && color != DEFAULT) ret += ";"; in setColor()
87 if (color != DEFAULT) ret += std::to_string(color); in setColor()
/system/chre/chpp/platform/linux/include/chpp/platform/
Dplatform_log.h38 #define CHPP_LINUX_LOG(level, color, fmt, ...) \ argument
42 printf("\e[" color "m%s %s:%d\t (%s) " fmt "\e[0m\n", level, __FILENAME__, \
/system/teeui/libteeui/src/
Dbutton.cpp33 auto drawPixelBoundsEnforced = [&](uint32_t x, uint32_t y, Color color) -> Error { in draw() argument
38 return drawPixel(x, y, color); in draw()
76 auto color = drawCirclePoint(center, intRadius, pos, color_); in draw() local
77 if (auto error = drawPixelBoundsEnforced(pos.x().count(), pos.y().count(), color)) { in draw()
Dlabel.cpp45 makePixelDrawer([&, this](uint32_t x, uint32_t y, Color color) -> Error { in draw() argument
51 return drawPixel(x, y, (textColor_ & 0xffffff) | (color & 0xff000000)); in draw()
/system/bt/test/
Dgen_coverage.py121 color = 'column-entry-yellow'
123 color = 'column-entry-green'
125 color = 'column-entry-red'
126 f.write("<td class=\'" + color + "\'><pre>" + value + "</pre></td>")
/system/extras/simpleperf/scripts/inferno/
Dsvg_renderer.py82 r_border, g_border, b_border = [max(0, color - 50) for color in [r, g, b]]
/system/extras/perf2cfg/
DREADME.md37 (default: cpu-cycles). Basic blocks are color
95 6. Select the newly created flag in the list and click on the color picker
97 7. Select an appropriate color and press "OK".
/system/extras/simpleperf/scripts/
Dreport_html.js1245 let color = this._getHeatColor(width);
1247 for (let key in color) {
1248 borderColor[key] = Math.max(0, color[key] - 50);
1257 ofill="rgb(${color.r},${color.g},${color.b})"
1258 fill="rgb(${color.r},${color.g},${color.b})"
/system/testing/gtest_extras/tests/
DOptionsTest.cpp94 EXPECT_EQ("auto", options.color()); in TEST_F()
363 EXPECT_EQ("yes", options.color()); in TEST_F()
561 EXPECT_EQ("no", options.color()); in TEST_F()
576 EXPECT_EQ("no", options.color()); in TEST_F()
662 EXPECT_EQ("auto", options.color()); in TEST_F()
786 EXPECT_EQ("yes", options.color()); in TEST_F()

12