Home
last modified time | relevance | path

Searched refs:mSlant (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/graphics/java/android/graphics/fonts/
DFontStyle.java126 private final @FontSlant int mSlant; field in FontStyle
131 mSlant = FONT_SLANT_UPRIGHT; in FontStyle()
213 mSlant = slant; in FontStyle()
233 return mSlant; in getSlant()
255 return fontStyle.mWeight == mWeight && fontStyle.mSlant == mSlant; in equals()
260 return Objects.hash(mWeight, mSlant); in hashCode()
265 return "FontStyle { weight=" + mWeight + ", slant=" + mSlant + "}"; in toString()
/frameworks/minikin/include/minikin/
DFontStyle.h48 constexpr FontStyle(uint16_t weight, Slant slant) : mWeight(weight), mSlant(slant) {} in FontStyle()
51 constexpr Slant slant() const { return mSlant; } in slant()
63 Slant mSlant; variable
DFont.h72 mSlant = style.slant(); in setStyle()
86 mSlant = slant; in setSlant()
96 FontStyle::Slant mSlant = FontStyle::Slant::UPRIGHT; variable
/frameworks/minikin/libs/minikin/
DFontFamily.cpp43 return Font(std::move(mTypeface), FontStyle(mWeight, mSlant), prepareFont(mTypeface)); in build()
52 mSlant = styleFromFont.slant(); in build()
54 return Font(std::move(mTypeface), FontStyle(mWeight, mSlant), std::move(font)); in build()