/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 | 38 Paint.FontMetricsInt fm); 58 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);
|
DrawableMarginSpan.java | 100 @NonNull Paint.FontMetricsInt fm) {
|
DynamicDrawableSpan.java | 118 @Nullable Paint.FontMetricsInt fm) {
|
IconMarginSpan.java | 97 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/main/java/androidx/emoji/text/ |
EmojiSpan.java | 39 private final Paint.FontMetricsInt mTmpFontMetrics = new Paint.FontMetricsInt(); 78 final int end, final Paint.FontMetricsInt fm) {
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
TintedDrawableSpan.java | 21 import android.graphics.Paint.FontMetricsInt; 41 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) {
|
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/ |
EmojiSpanTest.java | 29 import android.graphics.Paint.FontMetricsInt; 60 when(paint.getFontMetricsInt(any(FontMetricsInt.class))).thenAnswer(new Answer<Object>() { 63 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/leanback/src/main/java/androidx/leanback/widget/ |
AbstractDetailsDescriptionPresenter.java | 17 import android.graphics.Paint.FontMetricsInt; 51 final FontMetricsInt mTitleFontMetricsInt; 52 final FontMetricsInt mSubtitleFontMetricsInt; 53 final FontMetricsInt mBodyFontMetricsInt; 63 FontMetricsInt titleFontMetricsInt = getFontMetricsInt(mTitle); 144 private FontMetricsInt getFontMetricsInt(TextView textView) {
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
DetailsContentPresenter.java | 26 import android.graphics.Paint.FontMetricsInt; 63 final FontMetricsInt mTitleFontMetricsInt; 64 final FontMetricsInt mSubtitleFontMetricsInt; 65 final FontMetricsInt mBodyFontMetricsInt; 166 FontMetricsInt titleFontMetricsInt = getFontMetricsInt(mTitle); 228 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 | 23 import android.graphics.Paint.FontMetricsInt; 66 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) {
|
/frameworks/support/leanback/src/main/java/androidx/leanback/app/ |
ErrorFragment.java | 20 import android.graphics.Paint.FontMetricsInt; 181 FontMetricsInt metrics = getFontMetricsInt(mTextView); 235 private static FontMetricsInt getFontMetricsInt(TextView textView) {
|
ErrorSupportFragment.java | 17 import android.graphics.Paint.FontMetricsInt; 176 FontMetricsInt metrics = getFontMetricsInt(mTextView); 230 private static FontMetricsInt getFontMetricsInt(TextView textView) {
|
/frameworks/base/core/tests/coretests/src/android/text/ |
StaticLayoutTest.java | 25 import android.graphics.Paint.FontMetricsInt; 105 FontMetricsInt fmi = b.paint.getFontMetricsInt(); 132 FontMetricsInt fmi = b.paint.getFontMetricsInt(); 148 FontMetricsInt fmi = b.paint.getFontMetricsInt(); 168 FontMetricsInt fmi = b.paint.getFontMetricsInt(); 191 FontMetricsInt fmi = b.paint.getFontMetricsInt(); 221 FontMetricsInt fmi = b.paint.getFontMetricsInt(); 244 FontMetricsInt fmi = b.paint.getFontMetricsInt(); 270 FontMetricsInt fmi = b.paint.getFontMetricsInt(); [all...] |