Home
last modified time | relevance | path

Searched refs:mStyle (Results 1 – 14 of 14) 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.java949 private Style mStyle; field in Notification.Builder
1368 if (mStyle != style) { in setStyle()
1369 mStyle = style; in setStyle()
1370 if (mStyle != null) { in setStyle()
1371 mStyle.setBuilder(this); in setStyle()
1602 if (mStyle != null) { in build()
1603 return mStyle.build(); 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()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java63 private int mStyle; field in Typeface_Delegate
188 return delegate.mStyle; in nativeGetStyle()
200 mStyle = style; in Typeface_Delegate()
205 mStyle = Typeface.NORMAL; in Typeface_Delegate()
207 mFonts = sFontLoader.getFallbackFonts(mStyle); in Typeface_Delegate()
214 mFonts = sFontLoader.getFont(mFamily, mStyle); in init()
DPaint_Delegate.java76 private int mStyle; field in Paint_Delegate
121 return mStyle; in getStyle()
696 return delegate.mStyle; in native_getStyle()
707 delegate.mStyle = style; in native_setStyle()
1113 mStyle = paint.mStyle; in set()
1136 mStyle = Paint.Style.FILL.nativeInt; in reset()
/frameworks/base/core/jni/
Dandroid_view_PointerIcon.cpp31 jfieldID mStyle; member
72 gPointerIconClassInfo.mStyle); in android_view_PointerIcon_load()
131 GET_FIELD_ID(gPointerIconClassInfo.mStyle, gPointerIconClassInfo.clazz, in register_android_view_PointerIcon()
/frameworks/base/libs/hwui/
DFontRenderer.h228 SkPaint::Style mStyle; variable
DFontRenderer.cpp73 mStyle(style), mStrokeWidth(mStrokeWidth) { in Font()
445 font->mScaleX == scaleX && font->mStyle == style && in create()