Home
last modified time | relevance | path

Searched defs:MinikinRect (Results 1 – 2 of 2) sorted by relevance

/frameworks/minikin/include/minikin/
DMinikinRect.h26 struct MinikinRect { struct
27 MinikinRect() : mLeft(0), mTop(0), mRight(0), mBottom(0) {} in MinikinRect() function
28 MinikinRect(float left, float top, float right, float bottom) in MinikinRect() function
31 bool isEmpty() const { return mLeft == mRight || mTop == mBottom; } in isEmpty()
32 bool isValid() const { return !std::isnan(mLeft); } in isValid()
33 float width() const { return mRight - mLeft; } in width()
35 void setEmpty() { mLeft = mRight = mTop = mBottom = 0; } in setEmpty()
61 void join(const MinikinRect& r) { return join(r.mLeft, r.mTop, r.mRight, r.mBottom, 0, 0); } in join() argument
62 void join(const MinikinRect& r, float dx, float dy) { in join() argument
65 void join(const MinikinRect& r, const Point& p) { in join() argument
[all …]
/frameworks/minikin/libs/minikin/
DMeasuredText.cpp94 void operator()(const LayoutPiece& layoutPiece, const MinikinPaint&, const MinikinRect&) { in operator ()()
216 const MinikinRect&) { in operator ()()
299 const MinikinRect&) { in operator ()()