Searched refs:mSlant (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontStyle.java | 130 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/ |
D | FontStyle.h | 52 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
|
D | Font.h | 115 mSlant = style.slant(); in setStyle() 129 mSlant = slant; in setSlant() 144 FontStyle::Slant mSlant = FontStyle::Slant::UPRIGHT; variable
|
/frameworks/minikin/libs/minikin/ |
D | Font.cpp | 62 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()
|