Searched defs:FontMetrics (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/awt/java/awt/
H A DFontMetrics.java33 * The FontMetrics class contains information about the rendering of a
50 public abstract class FontMetrics implements Serializable { class in inherits:Serializable
58 * The font from which the FontMetrics is created.
68 protected FontMetrics(Font fnt) { method in class:FontMetrics
73 * Returns the String representation of this FontMetrics.
86 * Gets the font associated with this FontMetrics.
88 * @return the font associated with this FontMetrics.
104 * Gets the font ascent of the Font associated with this FontMetrics. The
108 * @return the ascent of the Font associated with this FontMetrics.
115 * Gets the font descent of the Font associated with this FontMetrics
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java899 public static class FontMetrics { class in class:Paint
933 public native float getFontMetrics(FontMetrics metrics);
936 * Allocates a new FontMetrics object, and then calls getFontMetrics(fm)
939 public FontMetrics getFontMetrics() {
940 FontMetrics fm = new FontMetrics();
946 * Convenience method for callers that want to have FontMetrics values as
1402 FontMetrics metrics);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint.java52 * Class associating a {@link Font} and it's {@link java.awt.FontMetrics}.
56 java.awt.FontMetrics mMetrics;
73 public static class FontMetrics extends _Original_Paint.FontMetrics { class in class:Paint
253 // create new font objects as well as FontMetrics, based on the current text size
353 public float getFontMetrics(FontMetrics metrics) {
355 java.awt.FontMetrics javaMetrics = mFonts.get(0).mMetrics;
373 java.awt.FontMetrics javaMetrics = mFonts.get(0).mMetrics;
390 * Reimplemented to return Paint.FontMetrics instead of _Original_Paint.FontMetrics
[all...]

Completed in 120 milliseconds