Lines Matching defs:const

14     std::shared_ptr<RSFontMgr> fontMgr, const char familyName[], RSFontStyle style)
38 bool FontCollection::FamilyKey::operator==(const FontCollection::FamilyKey& other) const {
44 size_t FontCollection::FamilyKey::Hasher::operator()(const FontCollection::FamilyKey& key) const {
46 for (const SkString& family : key.fFamilyNames) {
66 size_t FontCollection::getFontManagersCount() const {
101 const char defaultFamilyName[]) {
104 const char defaultFamilyName[]) {
113 const std::vector<SkString>& defaultFamilyNames) {
116 const std::vector<SkString>& defaultFamilyNames) {
134 std::vector<sk_sp<SkFontMgr>> FontCollection::getFontManagerOrder() const {
137 std::vector<std::shared_ptr<RSFontMgr>> FontCollection::getFontManagerOrder() const {
156 std::vector<sk_sp<SkTypeface>> FontCollection::findTypefaces(const std::vector<SkString>& familyNames, SkFontStyle fontStyle) {
159 const std::vector<SkString>& familyNames, RSFontStyle fontStyle)
166 std::vector<sk_sp<SkTypeface>> FontCollection::findTypefaces(const std::vector<SkString>& familyNames,
167 SkFontStyle fontStyle, const std::optional<FontArguments>& fontArgs) {
179 for (const SkString& familyName : familyNames) {
191 for (const SkString& familyName : fDefaultFamilyNames) {
199 for (const auto& manager : this->getFontManagerOrder()) {
216 std::vector<std::shared_ptr<RSTypeface>> FontCollection::findTypefaces(const std::vector<SkString>& familyNames,
217 RSFontStyle fontStyle, const std::optional<FontArguments>& fontArgs)
230 for (const auto& familyName : familyNames) {
242 for (const auto& familyName : fDefaultFamilyNames) {
251 for (const auto& manager : this->getFontManagerOrder()) {
270 sk_sp<SkTypeface> FontCollection::matchTypeface(const SkString& familyName, SkFontStyle fontStyle) {
271 for (const auto& manager : this->getFontManagerOrder()) {
286 std::shared_ptr<RSTypeface> FontCollection::matchTypeface(const SkString& familyName, RSFontStyle fontStyle) {
287 for (const auto& manager : this->getFontManagerOrder()) {
306 sk_sp<SkTypeface> FontCollection::defaultFallback(SkUnichar unicode, SkFontStyle fontStyle, const SkString& locale) {
309 SkUnichar unicode, RSFontStyle fontStyle, const SkString& locale)
313 for (const auto& manager : this->getFontManagerOrder()) {
314 std::vector<const char*> bcp47;
338 for (const SkString& familyName : fDefaultFamilyNames) {
353 for (const auto& familyName : fDefaultFamilyNames) {
371 SkLRUCacheMgr(const SkLRUCacheMgr&) = delete;
373 SkLRUCacheMgr& operator=(const SkLRUCacheMgr&) = delete;
407 const std::optional<FontArguments>& fontArgs)
411 const std::optional<FontArguments>& fontArgs)