HomeSort by relevance Sort by last modified time
    Searched refs:FontMetricsInt (Results 1 - 25 of 69) sorted by null

1 2 3

  /cts/tests/tests/graphics/src/android/graphics/cts/
Paint_FontMetricsIntTest.java 22 import android.graphics.Paint.FontMetricsInt;
34 new Paint.FontMetricsInt();
46 FontMetricsInt fontMetricsInt = new FontMetricsInt();
47 fontMetricsInt.top = top;
48 fontMetricsInt.ascent = ascent;
49 fontMetricsInt.descent = descent;
50 fontMetricsInt.bottom = bottom;
51 fontMetricsInt.leading = leading
    [all...]
  /frameworks/base/core/java/android/text/style/
LineHeightSpan.java 27 Paint.FontMetricsInt fm);
32 Paint.FontMetricsInt fm, TextPaint paint);
ReplacementSpan.java 30 * attributes of {@link android.graphics.Paint.FontMetricsInt}. If the span covers the whole
44 @Nullable Paint.FontMetricsInt fm);
IconMarginSpan.java 56 Paint.FontMetricsInt fm) {
DrawableMarginSpan.java 59 Paint.FontMetricsInt fm) {
DynamicDrawableSpan.java 76 Paint.FontMetricsInt fm) {
  /cts/tests/tests/text/src/android/text/style/cts/
ReplacementSpanTest.java 21 import android.graphics.Paint.FontMetricsInt;
52 FontMetricsInt fm) {
DynamicDrawableSpanTest.java 22 import android.graphics.Paint.FontMetricsInt;
52 FontMetricsInt fm = new FontMetricsInt();
IconMarginSpanTest.java 24 import android.graphics.Paint.FontMetricsInt;
95 FontMetricsInt fm = new FontMetricsInt();
DrawableMarginSpanTest.java 24 import android.graphics.Paint.FontMetricsInt;
121 FontMetricsInt fm = new FontMetricsInt();
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
StringTexture.java 22 import android.graphics.Paint.FontMetricsInt;
34 private final FontMetricsInt mMetrics;
37 FontMetricsInt metrics, int width, int height) {
73 FontMetricsInt metrics = paint.getFontMetricsInt();
  /frameworks/support/emoji/core/src/android/support/text/emoji/
EmojiSpan.java 38 private final Paint.FontMetricsInt mTmpFontMetrics = new Paint.FontMetricsInt();
77 final int end, final Paint.FontMetricsInt fm) {
  /packages/apps/Launcher3/src/com/android/launcher3/graphics/
TintedDrawableSpan.java 21 import android.graphics.Paint.FontMetricsInt;
40 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) {
  /frameworks/support/emoji/core/tests/java/android/support/text/emoji/
EmojiSpanTest.java 31 import android.graphics.Paint.FontMetricsInt;
63 when(paint.getFontMetricsInt(any(FontMetricsInt.class))).thenAnswer(new Answer<Object>() {
66 final FontMetricsInt fontMetrics = (FontMetricsInt) invocation.getArguments()[0];
  /frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
ReplacementDrawableSpan.java 28 private void setupFontMetrics(Paint.FontMetricsInt fm, Paint paint) {
45 public int getSize(Paint paint, CharSequence text, int i, int i2, Paint.FontMetricsInt fm) {
InvisibleRecipientChip.java 103 final Paint.FontMetricsInt fm) {
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
AbstractDetailsDescriptionPresenter.java 17 import android.graphics.Paint.FontMetricsInt;
50 final FontMetricsInt mTitleFontMetricsInt;
51 final FontMetricsInt mSubtitleFontMetricsInt;
52 final FontMetricsInt mBodyFontMetricsInt;
62 FontMetricsInt titleFontMetricsInt = getFontMetricsInt(mTitle);
143 private FontMetricsInt getFontMetricsInt(TextView textView) {
  /frameworks/base/core/tests/coretests/src/android/text/
StaticLayoutTest.java 22 import android.graphics.Paint.FontMetricsInt;
45 FontMetricsInt fmi = b.paint.getFontMetricsInt();
72 FontMetricsInt fmi = b.paint.getFontMetricsInt();
88 FontMetricsInt fmi = b.paint.getFontMetricsInt();
106 FontMetricsInt fmi = b.paint.getFontMetricsInt();
127 FontMetricsInt fmi = b.paint.getFontMetricsInt();
155 FontMetricsInt fmi = b.paint.getFontMetricsInt();
176 FontMetricsInt fmi = b.paint.getFontMetricsInt();
198 FontMetricsInt fmi = b.paint.getFontMetricsInt();
  /packages/apps/TV/src/com/android/tv/dvr/ui/
DetailsContentPresenter.java 25 import android.graphics.Paint.FontMetricsInt;
64 final FontMetricsInt mTitleFontMetricsInt;
65 final FontMetricsInt mSubtitleFontMetricsInt;
66 final FontMetricsInt mBodyFontMetricsInt;
123 FontMetricsInt titleFontMetricsInt = getFontMetricsInt(mTitle);
176 private FontMetricsInt getFontMetricsInt(TextView textView) {
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
BadgeSpan.java 22 import android.graphics.Paint.FontMetricsInt;
63 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) {
  /packages/apps/UnifiedEmail/src/com/android/mail/text/
FolderSpan.java 63 final Paint.FontMetricsInt fm = p.getFontMetricsInt();
68 public int getSize(Paint p, CharSequence text, int start, int end, Paint.FontMetricsInt fm) {
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/
RestrictedLockImageSpan.java 65 Paint.FontMetricsInt fontMetrics) {
  /frameworks/base/apct-tests/perftests/core/src/android/text/
DynamicLayoutPerfTest.java 22 import android.graphics.Paint.FontMetricsInt;
73 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) {
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
ErrorFragment.java 17 import android.graphics.Paint.FontMetricsInt;
175 FontMetricsInt metrics = getFontMetricsInt(mTextView);
229 private static FontMetricsInt getFontMetricsInt(TextView textView) {
ErrorSupportFragment.java 20 import android.graphics.Paint.FontMetricsInt;
178 FontMetricsInt metrics = getFontMetricsInt(mTextView);
232 private static FontMetricsInt getFontMetricsInt(TextView textView) {

Completed in 517 milliseconds

1 2 3