Home
last modified time | relevance | path

Searched refs:nativeWeightMappings (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/ports/
DSkTypeface_mac_ct.cpp337 static Interpolator::Mapping nativeWeightMappings[11]; in SkCTFontCTWeightForCSSWeight() local
342 nativeWeightMappings[i].src_val = i * 100; in SkCTFontCTWeightForCSSWeight()
343 nativeWeightMappings[i].dst_val = nsFontWeights[i]; in SkCTFontCTWeightForCSSWeight()
347 nativeWeightMappings, SK_ARRAY_COUNT(nativeWeightMappings)); in SkCTFontCTWeightForCSSWeight()
363 static Interpolator::Mapping nativeWeightMappings[11]; in ct_weight_to_fontstyle() local
370 nativeWeightMappings[i].src_val = nsFontWeights[i]; in ct_weight_to_fontstyle()
371 nativeWeightMappings[i].dst_val = i * 100; in ct_weight_to_fontstyle()
378 nativeWeightMappings, SK_ARRAY_COUNT(nativeWeightMappings)); in ct_weight_to_fontstyle()
/external/skqp/src/ports/
DSkFontHost_mac.cpp594 static Interpolator::Mapping nativeWeightMappings[11]; local
599 nativeWeightMappings[i].src_val = i * 100; in __anondc50e1580602()
600 nativeWeightMappings[i].dst_val = nsFontWeights[i]; in __anondc50e1580602()
604 nativeWeightMappings, SK_ARRAY_COUNT(nativeWeightMappings));
641 static Interpolator::Mapping nativeWeightMappings[11]; in ct_weight_to_fontstyle() local
646 nativeWeightMappings[i].src_val = nsFontWeights[i]; in ct_weight_to_fontstyle()
647 nativeWeightMappings[i].dst_val = i * 100; in ct_weight_to_fontstyle()
651 nativeWeightMappings, SK_ARRAY_COUNT(nativeWeightMappings)); in ct_weight_to_fontstyle()