/system/teeui/libteeui/example/ |
D | example_utils.h | 52 Error drawPixel(uint32_t x, uint32_t y, uint32_t color) const; 56 Error drawElements(std::tuple<Elements...>& layout, const PixelDrawer& drawPixel) { in drawElements() argument 60 return (std::get<Elements>(layout).draw(drawPixel) || ...); in drawElements()
|
D | example_utils.cpp | 39 Error FrameBuffer::drawPixel(uint32_t x, uint32_t y, uint32_t color) const { in drawPixel() function in teeui::example::FrameBuffer
|
D | phys_button_example.cpp | 138 [&fb](uint32_t x, uint32_t y, Color color) -> Error { return fb.drawPixel(x, y, color); }); in renderUIIntoBuffer()
|
D | touch_button_example.cpp | 175 [&fb](uint32_t x, uint32_t y, Color color) -> Error { return fb.drawPixel(x, y, color); }); in renderUIIntoBuffer()
|
/system/teeui/libteeui/src/ |
D | label.cpp | 25 Error LabelImpl::draw(const PixelDrawer& drawPixel, const Box<pxs>& bounds, LineInfo* lineInfo) { in draw() argument 51 return drawPixel(x, y, (textColor_ & 0xffffff) | (color & 0xff000000)); in draw() 58 drawPixel(box.x().count() + x, box.y().count() + y, (c & 0xffffff) | 0x40000000); in draw() 125 drawPixel(p.x().count(), p.y().count(), 0xffff0000); in draw()
|
D | button.cpp | 27 Error ButtonImpl::draw(const PixelDrawer& drawPixel, const Box<pxs>& bounds, in draw() argument 38 return drawPixel(x, y, color); in draw() 44 if (auto error = drawPixel(box.x().count() + x, box.y().count() + y, c)) { in draw()
|
D | font_rendering.cpp | 213 Error drawText(TextFace* face, const UTF8Range<const char*>& text, const PixelDrawer& drawPixel, in drawText() argument 222 if (error == Error::OK) error = face->drawGlyph(pen, drawPixel); in drawText()
|
/system/teeui/libteeui/include/teeui/ |
D | button.h | 47 Error draw(const PixelDrawer& drawPixel, const Box<pxs>& bounds, 99 Error draw(const PixelDrawer& drawPixel) { in draw() argument 107 return ButtonImpl::draw(drawPixel, this->bounds_, &coInfo[0], &coInfo[convex_object_count]); in draw()
|
D | label.h | 85 Error draw(const PixelDrawer& drawPixel, const Box<pxs>& bounds, LineInfo* lineInfo); 126 Error draw(const PixelDrawer& drawPixel) { in draw() argument 129 return LabelImpl::draw(drawPixel, this->bounds_, &lineInfo); in draw()
|
D | font_rendering.h | 153 Error drawGlyph(const Vec2d<pxs>& pos, const PixelDrawer& drawPixel) { in drawGlyph() argument 178 if (drawPixel(bPos.x().count() + x, bPos.y().count() + y, alpha)) { in drawGlyph() 218 Error drawText(TextFace* face, const UTF8Range<const char*>& text, const PixelDrawer& drawPixel,
|