Home
last modified time | relevance | path

Searched refs:mStyle (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/text/style/
DStyleSpan.java36 private final int mStyle; field in StyleSpan
45 mStyle = style; in StyleSpan()
49 mStyle = src.readInt(); in StyleSpan()
61 dest.writeInt(mStyle); in writeToParcel()
68 return mStyle; in getStyle()
73 apply(ds, mStyle); in updateDrawState()
78 apply(paint, mStyle); in updateMeasureState()
DMetricAffectingSpan.java51 private MetricAffectingSpan mStyle; field in MetricAffectingSpan.Passthrough
57 mStyle = cs; in Passthrough()
65 mStyle.updateDrawState(tp); in updateDrawState()
73 mStyle.updateMeasureState(tp); in updateMeasureState()
82 return mStyle.getUnderlying(); in getUnderlying()
DCharacterStyle.java61 private CharacterStyle mStyle; field in CharacterStyle.Passthrough
67 mStyle = cs; in Passthrough()
75 mStyle.updateDrawState(tp); in updateDrawState()
84 return mStyle.getUnderlying(); in getUnderlying()
DTextAppearanceSpan.java34 private final int mStyle; field in TextAppearanceSpan
70 mStyle = a.getInt(com.android.internal.R.styleable.TextAppearance_textStyle, 0); in TextAppearanceSpan()
116 mStyle = style; in TextAppearanceSpan()
124 mStyle = src.readInt(); in TextAppearanceSpan()
148 dest.writeInt(mStyle); in writeToParcel()
201 return mStyle; in getTextStyle()
219 if (mTypeface != null || mStyle != 0) { in updateMeasureState()
227 style |= mStyle; in updateMeasureState()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java59 private int mStyle = 0; field in Typeface
63 return mStyle; in getStyle()
68 return (mStyle & BOLD) != 0; in isBold()
73 return (mStyle & ITALIC) != 0; in isItalic()
106 if (family.mStyle == style) { in create()
179 mStyle = nativeGetStyle(ni); in Typeface()
212 return mStyle == typeface.mStyle && native_instance == typeface.native_instance; in equals()
218 result = 31 * result + mStyle; in hashCode()
/frameworks/base/core/java/android/view/
DPointerIcon.java71 private final int mStyle; field in PointerIcon
78 mStyle = style; in PointerIcon()
225 PointerIcon result = new PointerIcon(mStyle); in load()
237 return mStyle == STYLE_NULL; in isNullIcon()
248 return mBitmap != null || mStyle == STYLE_NULL; in isLoaded()
257 return mStyle; in getStyle()
339 out.writeInt(mStyle); in writeToParcel()
341 if (mStyle != STYLE_NULL) { in writeToParcel()
362 if (mStyle != otherIcon.mStyle in equals()
/frameworks/base/core/java/android/app/
DDialogFragment.java176 int mStyle = STYLE_NORMAL; field in DialogFragment
205 mStyle = style; in setStyle()
206 if (mStyle == STYLE_NO_FRAME || mStyle == STYLE_NO_INPUT) { in setStyle()
382 mStyle = savedInstanceState.getInt(SAVED_STYLE, STYLE_NORMAL); in onCreate()
399 switch (mStyle) { in getLayoutInflater()
503 if (mStyle != STYLE_NORMAL) { in onSaveInstanceState()
504 outState.putInt(SAVED_STYLE, mStyle); in onSaveInstanceState()
548 writer.print(prefix); writer.print(" mStyle="); writer.print(mStyle); in dump()
DNotification.java1173 private Style mStyle; field in Notification.Builder
1612 if (mStyle != style) { in setStyle()
1613 mStyle = style; in setStyle()
1614 if (mStyle != null) { in setStyle()
1615 mStyle.setBuilder(this); in setStyle()
1874 if (mStyle != null) { in build()
1875 n = mStyle.buildStyled(n); in build()
1881 if (mStyle != null) { in build()
1882 mStyle.addExtras(n.extras); in build()
/frameworks/support/v4/java/android/support/v4/app/
DDialogFragment.java73 int mStyle = STYLE_NORMAL; field in DialogFragment
102 mStyle = style; in setStyle()
103 if (mStyle == STYLE_NO_FRAME || mStyle == STYLE_NO_INPUT) { in setStyle()
279 mStyle = savedInstanceState.getInt(SAVED_STYLE, STYLE_NORMAL); in onCreate()
296 switch (mStyle) { in getLayoutInflater()
398 if (mStyle != STYLE_NORMAL) { in onSaveInstanceState()
399 outState.putInt(SAVED_STYLE, mStyle); in onSaveInstanceState()
DNotificationCompat.java125 if (b.mStyle != null) { in build()
126 if (b.mStyle instanceof BigTextStyle) { in build()
127 BigTextStyle style = (BigTextStyle) b.mStyle; in build()
132 } else if (b.mStyle instanceof InboxStyle) { in build()
133 InboxStyle style = (InboxStyle) b.mStyle; in build()
138 } else if (b.mStyle instanceof BigPictureStyle) { in build()
139 BigPictureStyle style = (BigPictureStyle) b.mStyle; in build()
197 Style mStyle; field in NotificationCompat.Builder
573 if (mStyle != style) { in setStyle()
574 mStyle = style; in setStyle()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java63 private int mStyle; field in Typeface_Delegate
191 return delegate.mStyle; in nativeGetStyle()
198 mStyle = style; in Typeface_Delegate()
203 mStyle = Typeface.NORMAL; in Typeface_Delegate()
205 mFonts = sFontLoader.getFallbackFonts(mStyle); in Typeface_Delegate()
212 mFonts = sFontLoader.getFont(mFamily, mStyle); in init()
DPaint_Delegate.java75 private int mStyle; field in Paint_Delegate
120 return mStyle; in getStyle()
698 return delegate.mStyle; in native_getStyle()
709 delegate.mStyle = style; in native_setStyle()
1085 mStyle = paint.mStyle; in set()
1108 mStyle = Paint.Style.FILL.nativeInt; in reset()
/frameworks/base/core/jni/
Dandroid_view_PointerIcon.cpp32 jfieldID mStyle; member
73 gPointerIconClassInfo.mStyle); in android_view_PointerIcon_load()
132 GET_FIELD_ID(gPointerIconClassInfo.mStyle, gPointerIconClassInfo.clazz, in register_android_view_PointerIcon()
/frameworks/base/libs/hwui/font/
DFont.cpp56 mStyle = paint->getStyle(); in FontDescription()
82 hash = JenkinsHashMix(hash, android::hash_type(mStyle)); in hash()
108 deltaInt = int(lhs.mStyle) - int(rhs.mStyle); in compare()
DFont.h70 uint8_t mStyle; member