/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ |
SwtUtils.java | 25 int avgCharWidth = gc.getFontMetrics().getAverageCharWidth();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
SwtUtils.java | 29 int avgCharWidth = gc.getFontMetrics().getAverageCharWidth();
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
PixelConverter.java | 36 fFontMetrics = gc.getFontMetrics();
|
DrawUtils.java | 52 int textStartY = y + (height - gc.getFontMetrics().getHeight()) / 2; 63 int textStartY = y + (height - gc.getFontMetrics().getHeight()) / 2; 139 int count = Math.min(width / gc.getFontMetrics().getAverageCharWidth(), text.length());
|
/external/skia/gm/ |
typeface.cpp | 69 y += paint.getFontMetrics(NULL);
|
fontscaler.cpp | 74 y += paint.getFontMetrics(NULL);
|
poly2poly.cpp | 47 paint->getFontMetrics(&fm);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PolyToPoly.java | 72 mFontMetrics = mPaint.getFontMetrics();
|
AlphaBitmap.java | 56 Paint.FontMetrics fm = p.getFontMetrics();
|
ColorFilters.java | 90 Paint.FontMetrics fm = mPaint.getFontMetrics();
|
/external/skia/src/core/ |
SkBBoxRecord.cpp | 85 paint.getFontMetrics(&metrics); 165 paint.getFontMetrics(&metrics); 196 paint.getFontMetrics(&metrics); 225 paint.getFontMetrics(&metrics);
|
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
FontDataAndroid.cpp | 50 paint.getFontMetrics(&skiaFontMetrics);
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
TypefaceTest.java | 79 Paint.FontMetrics fm = p.getFontMetrics();
|
/external/webkit/Source/WebKit/android/plugins/ |
ANPPaintInterface.cpp | 163 SkScalar spacing = paint->getFontMetrics(&fm); 211 ASSIGN(i, getFontMetrics);
|
/external/proguard/src/proguard/gui/splash/ |
OverrideGraphics2D.java | 479 public FontMetrics getFontMetrics() 481 return graphics.getFontMetrics(); 484 public FontMetrics getFontMetrics(Font f) 486 return graphics.getFontMetrics(f);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
SimpleFontDataLinux.cpp | 68 paint.getFontMetrics(&metrics);
|
/frameworks/base/tests/BrowserTestPlugin/jni/event/ |
EventPlugin.cpp | 95 gPaintI.getFontMetrics(paint, &fm);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
PlayheadView.java | 137 final int y = (int) -mTextPaint.getFontMetrics().top;
|
/frameworks/base/core/jni/android/graphics/ |
Paint.cpp | 339 (void)GraphicsJNI::getNativePaint(env, paint)->getFontMetrics(&metrics); 346 (void)GraphicsJNI::getNativePaint(env, paint)->getFontMetrics(&metrics); 350 static jfloat getFontMetrics(JNIEnv* env, jobject paint, jobject metricsObj) { 353 SkScalar spacing = GraphicsJNI::getNativePaint(env, paint)->getFontMetrics(&metrics); 370 GraphicsJNI::getNativePaint(env, paint)->getFontMetrics(&metrics); [all...] |
/external/skia/include/core/ |
SkPaint.h | 761 SkScalar getFontMetrics(FontMetrics* metrics, SkScalar scale = 0) const; 766 SkScalar getFontSpacing() const { return this->getFontMetrics(NULL, 0); } [all...] |
/external/skia/legacy/include/core/ |
SkPaint.h | 766 SkScalar getFontMetrics(FontMetrics* metrics, SkScalar scale = 0) const; 771 SkScalar getFontSpacing() const { return this->getFontMetrics(NULL, 0); } [all...] |
SkScalerContext.h | 306 void getFontMetrics(SkPaint::FontMetrics* mX,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SwtUtils.java | 374 FontMetrics fontMetrics = gc.getFontMetrics(); 388 int width = gc.getFontMetrics().getAverageCharWidth();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/ |
DurationMinimap.java | 207 mFontWidth = gc.getFontMetrics().getAverageCharWidth(); 208 mFontHeight = gc.getFontMetrics().getHeight();
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PaintTest.java | 647 float spacing10 = p.getFontMetrics(fm); 652 float spacing20 = p.getFontMetrics(fm); 665 Paint.FontMetrics fm = p.getFontMetrics(); 670 fm = p.getFontMetrics();
|