/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/ |
colortype.cpp | 59 canvas->translate(0, paint.getFontMetrics(NULL));
|
fontscaler.cpp | 75 y += paint.getFontMetrics(NULL);
|
deviceproperties.cpp | 86 y += paint.getFontMetrics(NULL);
|
typeface.cpp | 66 y += paint.getFontMetrics(NULL); 195 SkScalar dy = paint.getFontMetrics(NULL);
|
/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/chromium_org/third_party/skia/src/core/ |
SkBBoxRecord.cpp | 85 paint.getFontMetrics(&metrics); 166 paint.getFontMetrics(&metrics); 236 paint.getFontMetrics(&metrics);
|
SkGlyphCache.h | 98 const SkPaint::FontMetrics& getFontMetrics() const {
|
/external/skia/src/core/ |
SkBBoxRecord.cpp | 85 paint.getFontMetrics(&metrics); 166 paint.getFontMetrics(&metrics); 236 paint.getFontMetrics(&metrics);
|
SkGlyphCache.h | 98 const SkPaint::FontMetrics& getFontMetrics() const {
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
TypefaceTest.java | 79 Paint.FontMetrics fm = p.getFontMetrics();
|
/external/chromium_org/skia/ext/ |
lazy_pixel_ref_utils.cc | 193 paint.getFontMetrics(&metrics); 268 paint.getFontMetrics(&metrics); 292 paint.getFontMetrics(&metrics);
|
/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);
|
/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 | 347 (void)GraphicsJNI::getNativePaint(env, paint)->getFontMetrics(&metrics); 354 (void)GraphicsJNI::getNativePaint(env, paint)->getFontMetrics(&metrics); 358 static jfloat getFontMetrics(JNIEnv* env, jobject paint, jobject metricsObj) { 361 SkScalar spacing = GraphicsJNI::getNativePaint(env, paint)->getFontMetrics(&metrics); 378 GraphicsJNI::getNativePaint(env, paint)->getFontMetrics(&metrics); [all...] |
/external/chromium_org/third_party/skia/include/core/ |
SkPaint.h | 757 SkScalar getFontMetrics(FontMetrics* metrics, SkScalar scale = 0) const; 762 SkScalar getFontSpacing() const { return this->getFontMetrics(NULL, 0); } [all...] |
/external/skia/include/core/ |
SkPaint.h | 757 SkScalar getFontMetrics(FontMetrics* metrics, SkScalar scale = 0) const; 762 SkScalar getFontSpacing() const { return this->getFontMetrics(NULL, 0); } [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
BatteryMeterView.java | 248 mWarningTextHeight = -mWarningTextPaint.getFontMetrics().ascent; 351 mTextHeight = -mTextPaint.getFontMetrics().ascent;
|
/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();
|