Home
last modified time | relevance | path

Searched refs:getFontMetrics (Results 1 – 25 of 61) sorted by relevance

123

/external/skia/gm/
Ddftext.cpp78 y += paint.getFontMetrics(nullptr)*scales[i]; in onDraw()
92 rotY += paint.getFontMetrics(nullptr); in onDraw()
108 y += paint.getFontMetrics(nullptr)*scaleFactor; in onDraw()
153 y += paint.getFontMetrics(nullptr); in onDraw()
167 y += paint.getFontMetrics(nullptr); in onDraw()
Dcoloremoji.cpp89 paint.getFontMetrics(&metrics); in onDraw()
125 shaderPaint.getFontMetrics(&metrics); in onDraw()
Dskbug_5321.cpp31 y += paint.getFontMetrics(nullptr);
Dcolortype.cpp54 canvas->translate(0, paint.getFontMetrics(nullptr)); in onDraw()
Dfontscaler.cpp66 y += paint.getFontMetrics(nullptr); in onDraw()
Dtypeface.cpp136 SkScalar dy = paint.getFontMetrics(nullptr); in onDraw()
241 SkScalar dy = SkScalarCeilToScalar(paint.getFontMetrics(nullptr));
Dfontscalerdistortable.cpp75 y += paint.getFontMetrics(nullptr); in onDraw()
/external/universal-tween-engine/java/applets/src/aurelienribon/utils/swing/
DGroupBorder.java26 int titleW = gg.getFontMetrics().stringWidth(title) + 20; in paintBorder()
27 int titleDescent = gg.getFontMetrics().getDescent(); in paintBorder()
/external/skia/samplecode/
DSampleFontCache.cpp29 paint.getFontMetrics(&m); in call_measure()
53 paint.getFontMetrics(&m); in call_draw()
DSampleTextAlpha.cpp63 y += paint.getFontMetrics(nullptr); in onDrawContent()
DSampleMeasure.cpp37 SkScalar dy = paint.getFontMetrics(nullptr); in doMeasure()
DSampleFontScalerTest.cpp110 y += paint.getFontMetrics(nullptr); in onDrawContent()
DSampleUnpremul.cpp88 SkScalar height = paint.getFontMetrics(nullptr); in onDrawContent()
/external/proguard/src/proguard/gui/splash/
DOverrideGraphics2D.java479 public FontMetrics getFontMetrics() in getFontMetrics() method in OverrideGraphics2D
481 return graphics.getFontMetrics(); in getFontMetrics()
484 public FontMetrics getFontMetrics(Font f) in getFontMetrics() method in OverrideGraphics2D
486 return graphics.getFontMetrics(f); in getFontMetrics()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DFontUtils.java30 Paint.FontMetrics metrics = paint.getFontMetrics(); in getFontHeight()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DPixelConverter.java36 fFontMetrics = gc.getFontMetrics(); in PixelConverter()
DDrawUtils.java52 int textStartY = y + (height - gc.getFontMetrics().getHeight()) / 2; in drawStringCV()
63 int textStartY = y + (height - gc.getFontMetrics().getHeight()) / 2; in drawStringCHCV()
139 int count = Math.min(width / gc.getFontMetrics().getAverageCharWidth(), text.length()); in clipString()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDemoTextBox.java26 this.metrics = g.getFontMetrics(); in DemoTextBox()
/external/skia/src/fonts/
DSkTestScalerContext.cpp131 void SkTestTypeface::getFontMetrics(SkPaint::FontMetrics* metrics) { in getFontMetrics() function in SkTestTypeface
279 this->getTestTypeface()->getFontMetrics(metrics); in generateFontMetrics()
DSkTestScalerContext.h61 void getFontMetrics(SkPaint::FontMetrics* metrics);
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayBorderPanel.java179 int height = getGraphics().getFontMetrics(font).getHeight(); in getInsets()
418 FontMetrics fm = g.getFontMetrics(); in paint()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarPanel.java209 FontMetrics fm = g.getFontMetrics(); in paint()
296 fm = g.getFontMetrics(); in paint()
DCalendarFrame.java378 FontMetrics fm = g.getFontMetrics(font); in paint()
394 FontMetrics fm = getFontMetrics(font); in getMinimumSize()
/external/skia/resources/
Dslides.lua65 local fm = paint:getFontMetrics()
81 local fm = paint:getFontMetrics()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/
DTextLabelWidget.java110 float vOffset = labelPaint.getFontMetrics().descent; in doOnDraw()

123