Loading graphics/java/android/graphics/Typeface.java +3 −3 Original line number Diff line number Diff line Loading @@ -174,7 +174,7 @@ public class Typeface { @UnsupportedAppUsage public final long native_instance; private Runnable mCleaner; private final Runnable mCleaner; /** @hide */ @IntDef(value = {NORMAL, BOLD, ITALIC, BOLD_ITALIC}) Loading @@ -189,9 +189,9 @@ public class Typeface { /** @hide */ public static final int STYLE_MASK = 0x03; @UnsupportedAppUsage private @Style int mStyle = 0; private @Style final int mStyle; private @IntRange(from = 0, to = FontStyle.FONT_WEIGHT_MAX) int mWeight = 0; private @IntRange(from = 0, to = FontStyle.FONT_WEIGHT_MAX) final int mWeight; // Value for weight and italic. Indicates the value is resolved by font metadata. // Must be the same as the C++ constant in core/jni/android/graphics/FontFamily.cpp Loading Loading
graphics/java/android/graphics/Typeface.java +3 −3 Original line number Diff line number Diff line Loading @@ -174,7 +174,7 @@ public class Typeface { @UnsupportedAppUsage public final long native_instance; private Runnable mCleaner; private final Runnable mCleaner; /** @hide */ @IntDef(value = {NORMAL, BOLD, ITALIC, BOLD_ITALIC}) Loading @@ -189,9 +189,9 @@ public class Typeface { /** @hide */ public static final int STYLE_MASK = 0x03; @UnsupportedAppUsage private @Style int mStyle = 0; private @Style final int mStyle; private @IntRange(from = 0, to = FontStyle.FONT_WEIGHT_MAX) int mWeight = 0; private @IntRange(from = 0, to = FontStyle.FONT_WEIGHT_MAX) final int mWeight; // Value for weight and italic. Indicates the value is resolved by font metadata. // Must be the same as the C++ constant in core/jni/android/graphics/FontFamily.cpp Loading