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.java130 private final @FontSlant int mSlant; field in FontStyle
135 mSlant = FONT_SLANT_UPRIGHT; in FontStyle()
217 mSlant = slant; in FontStyle()
237 return mSlant; in getSlant()
259 return fontStyle.mWeight == mWeight && fontStyle.mSlant == mSlant; in equals()
264 return Objects.hash(mWeight, mSlant); in hashCode()
269 return "FontStyle { weight=" + mWeight + ", slant=" + mSlant + "}"; in toString()
/frameworks/minikin/include/minikin/
DFontStyle.h52 constexpr FontStyle(uint16_t weight, Slant slant) : mWeight(weight), mSlant(slant) {} in FontStyle()
55 mSlant = static_cast<Slant>(reader->read<uint8_t>()); in FontStyle()
60 writer->write<uint8_t>(static_cast<uint8_t>(mSlant)); in writeTo()
64 constexpr Slant slant() const { return mSlant; } in slant()
72 Slant mSlant; variable
DFont.h115 mSlant = style.slant(); in setStyle()
129 mSlant = slant; in setSlant()
144 FontStyle::Slant mSlant = FontStyle::Slant::UPRIGHT; variable
/frameworks/minikin/libs/minikin/
DFont.cpp62 return std::shared_ptr<Font>(new Font(std::move(mTypeface), FontStyle(mWeight, mSlant), in build()
72 mSlant = styleFromFont.slant(); in build()
74 return std::shared_ptr<Font>(new Font(std::move(mTypeface), FontStyle(mWeight, mSlant), in build()