Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/style/
DStyleSpan.java47 private final int mStyle; field in StyleSpan
57 mStyle = style; in StyleSpan()
66 mStyle = src.readInt(); in StyleSpan()
93 dest.writeInt(mStyle); in writeToParcelInternal()
100 return mStyle; in getStyle()
105 apply(ds, mStyle); in updateDrawState()
110 apply(paint, mStyle); in updateMeasureState()
DMetricAffectingSpan.java57 private MetricAffectingSpan mStyle; field in MetricAffectingSpan.Passthrough
63 mStyle = cs; in Passthrough()
71 mStyle.updateDrawState(tp); in updateDrawState()
79 mStyle.updateMeasureState(tp); in updateMeasureState()
88 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.java63 private final int mStyle; field in TextAppearanceSpan
116 mStyle = a.getInt(com.android.internal.R.styleable.TextAppearance_textStyle, 0); in TextAppearanceSpan()
212 mStyle = style; in TextAppearanceSpan()
237 mStyle = src.readInt(); in TextAppearanceSpan()
288 dest.writeInt(mStyle); in writeToParcelInternal()
358 return mStyle; in getTextStyle()
468 style = mStyle; in updateMeasureState()
470 } else if (mFamilyName != null || mStyle != 0) { in updateMeasureState()
477 style |= mStyle; in updateMeasureState()
/frameworks/base/core/java/android/app/
DDialogFragment.java182 int mStyle = STYLE_NORMAL; field in DialogFragment
215 mStyle = style; in setStyle()
216 if (mStyle == STYLE_NO_FRAME || mStyle == STYLE_NO_INPUT) { in setStyle()
402 mStyle = savedInstanceState.getInt(SAVED_STYLE, STYLE_NORMAL); in onCreate()
418 switch (mStyle) { in onGetLayoutInflater()
526 if (mStyle != STYLE_NORMAL) { in onSaveInstanceState()
527 outState.putInt(SAVED_STYLE, mStyle); in onSaveInstanceState()
571 writer.print(prefix); writer.print(" mStyle="); writer.print(mStyle); in dump()
DNotification.java3383 private Style mStyle; field in Notification.Builder
4489 if (mStyle != style) { in setStyle()
4490 mStyle = style; in setStyle()
4491 if (mStyle != null) { in setStyle()
4492 mStyle.setBuilder(this); in setStyle()
4505 return mStyle; in getStyle()
5072 if (summaryText == null && mStyle != null && mStyle.mSummaryTextSet in bindHeaderText()
5073 && mStyle.hasSummaryInHeader()) { in bindHeaderText()
5074 summaryText = mStyle.mSummaryText; in bindHeaderText()
5323 } else if (mStyle != null) { in createContentView()
[all …]
/frameworks/minikin/include/minikin/
DFont.h106 mStyle = o.mStyle;
113 inline FontStyle style() const { return mStyle; } in style()
121 : mTypeface(std::move(typeface)), mStyle(style), mBaseFont(std::move(baseFont)) {} in Font()
127 FontStyle mStyle; variable
DLayoutCache.h46 mStyle(paint.fontStyle), in LayoutCacheKey()
61 return mId == o.mId && mStart == o.mStart && mCount == o.mCount && mStyle == o.mStyle &&
90 FontStyle mStyle; variable
111 .update(mStyle.identifier()) in computeHash()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java165 private @Style int mStyle = 0; field in Typeface
200 return mStyle; in getStyle()
205 return (mStyle & BOLD) != 0; in isBold()
210 return (mStyle & ITALIC) != 0; in isItalic()
582 (mItalic == RESOLVE_BY_FONT_TABLE) ? (base.mStyle & ITALIC) != 0 : mItalic == 1; in resolveFallbackTypeface()
701 private @Nullable FontStyle mStyle; field in Typeface.CustomFallbackBuilder
754 mStyle = style; in setStyle()
791 final int weight = mStyle == null ? 400 : mStyle.getWeight();
793 (mStyle == null || mStyle.getSlant() == FontStyle.FONT_SLANT_UPRIGHT) ? 0 : 1;
839 if (family.mStyle == style) {
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java85 private final int mStyle; field in Typeface_Delegate
96 mStyle = style; in Typeface_Delegate()
168 delegate.mStyle, in nativeCreateWeightAlias()
218 return delegate.mStyle; in nativeGetStyle()
332 return new FontsIterator(mFontFamilies, mFontFamilyBuilders, variant, mWeight, mStyle); in getFonts()
DPaint_Delegate.java91 private int mStyle; field in Paint_Delegate
167 return mStyle; in getStyle()
741 return delegate.mStyle; in nGetStyle()
752 delegate.mStyle = style; in nSetStyle()
1226 mStyle = paint.mStyle; in set()
1267 mStyle = Paint.Style.FILL.nativeInt; in reset()
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java520 final int mStyle; field in Cea608CCParser.StyleCode
541 mStyle = style; in StyleCode()
546 return (mStyle & STYLE_ITALICS) != 0; in isItalics()
550 return (mStyle & STYLE_UNDERLINE) != 0; in isUnderline()
562 if ((mStyle & STYLE_ITALICS) != 0) { in toString()
565 if ((mStyle & STYLE_UNDERLINE) != 0) { in toString()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt4767 Landroid/app/DialogFragment;->mStyle:I
7672 Landroid/app/Notification$Builder;->mStyle:Landroid/app/Notification$Style;
35313 Landroid/media/Cea608CCParser$StyleCode;->mStyle:I
70789 Landroid/text/style/CharacterStyle$Passthrough;->mStyle:Landroid/text/style/CharacterStyle;
70820 Landroid/text/style/MetricAffectingSpan$Passthrough;->mStyle:Landroid/text/style/MetricAffectingSpa…
70840 Landroid/text/style/StyleSpan;->mStyle:I
70868 Landroid/text/style/TextAppearanceSpan;->mStyle:I