Home
last modified time | relevance | path

Searched refs:Color (Results 1 – 16 of 16) sorted by relevance

/system/teeui/libteeui/example/
Dexample_utils.h30 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);
Dphys_button_example.cpp120 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()
Dtouch_button_example.cpp157 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/
Dbutton.h38 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;
Dlabel.h72 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;
Dutils.h608 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>;
Dfont_rendering.h160 Color alpha = 0; in drawGlyph()
/system/teeui/libteeui/example/layout/
Dcommon_layout_params.h14 DECLARE_TYPED_PARAMETER(ShieldColor, ::teeui::Color);
15 DECLARE_TYPED_PARAMETER(ColorText, ::teeui::Color);
16 DECLARE_TYPED_PARAMETER(ColorBG, ::teeui::Color);
Dtouch_button_layout.h31 DECLARE_TYPED_PARAMETER(ColorButton, ::teeui::Color);
/system/teeui/libteeui/src/
Dutils.cpp36 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()
Dbutton.cpp33 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()
Dlabel.cpp45 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/
Dstatic_test.cpp222 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/
DLint.cpp80 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/
DAndroid.bp22 "Color.cpp",
/system/core/cli-test/
Dcli-test.cpp64 enum Color { kRed, kGreen }; enum
66 static void Print(Color c, const char* lhs, const char* fmt, ...) { in Print()