Home
last modified time | relevance | path

Searched refs:titleHeight (Results 1 – 3 of 3) sorted by relevance

/external/universal-tween-engine/java/applets/src/aurelienribon/utils/swing/
DGroupBorder.java10 private final int titleHeight = 20; field in GroupBorder
32 int[] xs = {0, titleW, titleW + titleHeight, 0}; in paintBorder()
33 int[] ys = {0, 0, titleHeight, titleHeight}; in paintBorder()
35 gg.fillRect(0, titleHeight, width, height); in paintBorder()
37 gg.drawString(title, 10, titleHeight - titleDescent); in paintBorder()
47 …return new Insets(!title.equals("") ? borderPadding + titleHeight : borderPadding, borderPadding, … in getBorderInsets()
/external/skia/gm/
Ddrawbitmaprect.cpp186 SkScalar titleHeight = SK_Scalar1 * 24; in onDraw() local
190 SkFont font(ToolUtils::create_portable_typeface(), titleHeight); in onDraw()
194 canvas->drawString(title, 0, titleHeight, font, blackPaint); in onDraw()
196 canvas->translate(0, SK_Scalar1 * kPadY / 2 + titleHeight); in onDraw()
/external/skqp/gm/
Ddrawbitmaprect.cpp171 SkScalar titleHeight = SK_Scalar1 * 24; in onDraw() local
175 SkFont font(sk_tool_utils::create_portable_typeface(), titleHeight); in onDraw()
179 canvas->drawString(title, 0, titleHeight, font, blackPaint); in onDraw()
181 canvas->translate(0, SK_Scalar1 * kPadY / 2 + titleHeight); in onDraw()