Searched refs:Color (Results 1 – 16 of 16) sorted by relevance
/system/teeui/libteeui/example/ |
D | example_utils.h | 30 constexpr static const Color kShieldColor = Color(0xff778500); 31 constexpr static const Color kShieldColorInv = Color(0xffc4cb80); 32 constexpr static const Color kTextColor = Color(0xff212121); 33 constexpr static const Color kTextColorInv = Color(0xffdedede); 34 constexpr static const Color kBackGroundColor = Color(0xffffffff); 35 constexpr static const Color kBackGroundColorInv = Color(0xff212121);
|
D | phys_button_example.cpp | 120 Color bgColor = inverted_ ? kBackGroundColorInv : kBackGroundColor; in renderUIIntoBuffer() 138 [&fb](uint32_t x, uint32_t y, Color color) -> Error { return fb.drawPixel(x, y, color); }); in renderUIIntoBuffer()
|
D | touch_button_example.cpp | 157 Color bgColor = inverted_ ? kBackGroundColorInv : kBackGroundColor; in renderUIIntoBuffer() 175 [&fb](uint32_t x, uint32_t y, Color color) -> Error { return fb.drawPixel(x, y, color); }); in renderUIIntoBuffer()
|
/system/teeui/libteeui/include/teeui/ |
D | button.h | 38 ButtonImpl(pxs radius, Color color, Color convexObjectColor, bool roundTopLeft, in ButtonImpl() 44 void setColor(Color color) { color_ = color; } in setColor() 45 void setConvexObjectColor(Color color) { convexObjectColor_ = color; } in setConvexObjectColor() 52 Color color_; 53 Color convexObjectColor_; 76 static const constexpr Color button_drawable_object_color = 0xff000000;
|
D | label.h | 72 Alignment verticalJustified, Color textColor, FontBuffer font, uint64_t textId) in LabelImpl() 80 void setTextColor(Color color) { textColor_ = color; } in setTextColor() 96 Color textColor_; 111 static const constexpr Color label_text_color = 0xff000000;
|
D | utils.h | 608 using Color = uint32_t; 612 Color drawLinePoint(Point<pxs> a, Point<pxs> b, Point<pxs> px_origin, Color c, 615 Color drawCirclePoint(Point<pxs> center, pxs r, Point<pxs> px_origin, Color c); 899 using PixelDrawer = Callback<Error(uint32_t, uint32_t, Color)>; 902 using PixelDrawerHelper = CallbackHelper<Fn, Error, uint32_t, uint32_t, Color>;
|
D | font_rendering.h | 160 Color alpha = 0; in drawGlyph()
|
/system/teeui/libteeui/example/layout/ |
D | common_layout_params.h | 14 DECLARE_TYPED_PARAMETER(ShieldColor, ::teeui::Color); 15 DECLARE_TYPED_PARAMETER(ColorText, ::teeui::Color); 16 DECLARE_TYPED_PARAMETER(ColorBG, ::teeui::Color);
|
D | touch_button_layout.h | 31 DECLARE_TYPED_PARAMETER(ColorButton, ::teeui::Color);
|
/system/teeui/libteeui/src/ |
D | utils.cpp | 36 Color pixelLineIntersect(Point<pxs> line, pxs dist, Color c) { in pixelLineIntersect() 41 Color intensity = 0; in pixelLineIntersect() 91 Color drawLinePoint(Point<pxs> a, Point<pxs> b, Point<pxs> px_origin, Color c, pxs width) { in drawLinePoint() 117 Color drawCirclePoint(Point<pxs> center, pxs r, Point<pxs> px_origin, Color c) { in drawCirclePoint()
|
D | button.cpp | 33 auto drawPixelBoundsEnforced = [&](uint32_t x, uint32_t y, Color color) -> Error { in draw() 41 auto drawBox = [&](const Box<intpxs>& box, Color c) -> Error { in draw() 53 auto drawDebugBox = [&](const Box<pxs>& box, Color c) { in draw()
|
D | label.cpp | 45 makePixelDrawer([&, this](uint32_t x, uint32_t y, Color color) -> Error { in draw() 55 auto drawBox = [&](const Box<pxs>& box, Color c) { in draw()
|
/system/tools/hidl/test/hidl_test/ |
D | static_test.cpp | 222 static_assert(IExpression::Color::RED == -126, ""); 223 static_assert(IExpression::Color::RUBY == 0, ""); 224 static_assert(IExpression::Color::GREEN == 1, ""); 225 static_assert(IExpression::Color::BLUE == 5, ""); 226 static_assert(IExpression::Color::CYAN == 6, ""); 227 static_assert(IExpression::Color::ORANGE == 7, ""); 228 static_assert(IExpression::Color::ROSE == 126, "");
|
/system/tools/hidl/lint/ |
D | Lint.cpp | 80 enum Color { DEFAULT = 0, RED = 31, YELLOW = 33 }; enum 82 static std::string setColor(Color color, bool bold = false) { in setColor()
|
/system/testing/gtest_extras/ |
D | Android.bp | 22 "Color.cpp",
|
/system/core/cli-test/ |
D | cli-test.cpp | 64 enum Color { kRed, kGreen }; enum 66 static void Print(Color c, const char* lhs, const char* fmt, ...) { in Print()
|