Searched refs:drawBox (Results 1 – 2 of 2) sorted by relevance
/system/teeui/libteeui/src/ |
D | button.cpp | 41 auto drawBox = [&](const Box<intpxs>& box, Color c) -> Error { in draw() local 54 drawBox(box, (c & 0xffffff) | 0x40000000); in draw() 88 if (auto error = drawBox( in draw() 97 if (auto error = drawBox(Box<intpxs>(intBounds.w() - intRadius, 0, intRadius, intRadius) in draw() 107 if (auto error = drawBox(Box<intpxs>(0, intBounds.h() - intRadius, intRadius, intRadius) in draw() 117 if (auto error = drawBox(Box<intpxs>(intBounds.w() - intRadius, intBounds.h() - intRadius, in draw() 129 if (auto error = drawBox(centerbox, color_)) return error; in draw() 132 drawBox(Box<intpxs>(0, intRadius, intRadius, intBounds.h() - intRadius - intRadius) in draw() 138 drawBox(Box<intpxs>(intRadius, 0, intBounds.w() - intRadius - intRadius, intRadius) in draw() 143 if (auto error = drawBox(Box<intpxs>(intBounds.w() - intRadius, intRadius, intRadius, in draw() [all …]
|
D | label.cpp | 55 auto drawBox = [&](const Box<pxs>& box, Color c) { in draw() local 63 drawBox(bounds, 0xff); in draw() 139 drawBox(boundingBox->translate(offset), 0xff00); in draw()
|