Home
last modified time | relevance | path

Searched refs:drawPixel (Results 1 – 10 of 10) sorted by relevance

/system/teeui/libteeui/example/
Dexample_utils.h52 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()
Dexample_utils.cpp39 Error FrameBuffer::drawPixel(uint32_t x, uint32_t y, uint32_t color) const { in drawPixel() function in teeui::example::FrameBuffer
Dphys_button_example.cpp138 [&fb](uint32_t x, uint32_t y, Color color) -> Error { return fb.drawPixel(x, y, color); }); in renderUIIntoBuffer()
Dtouch_button_example.cpp175 [&fb](uint32_t x, uint32_t y, Color color) -> Error { return fb.drawPixel(x, y, color); }); in renderUIIntoBuffer()
/system/teeui/libteeui/src/
Dlabel.cpp25 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()
Dbutton.cpp27 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()
Dfont_rendering.cpp213 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/
Dbutton.h47 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()
Dlabel.h85 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()
Dfont_rendering.h153 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,