Searched refs:map_ranges (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/ports/ |
D | SkFontConfigInterface_direct.cpp | 404 static int map_ranges(int val, MapRanges const ranges[], int rangesCount) { in map_ranges() function 428 int weight = map_ranges(get_int(pattern, FC_WEIGHT, FC_WEIGHT_REGULAR), in skfontstyle_from_fcpattern() 442 int width = map_ranges(get_int(pattern, FC_WIDTH, FC_WIDTH_NORMAL), in skfontstyle_from_fcpattern() 471 int weight = map_ranges(style.weight(), weightRanges, SK_ARRAY_COUNT(weightRanges)); in fcpattern_from_skfontstyle() 484 int width = map_ranges(style.width(), widthRanges, SK_ARRAY_COUNT(widthRanges)); in fcpattern_from_skfontstyle()
|
D | SkFontMgr_fontconfig.cpp | 309 static int map_ranges(int val, MapRanges const ranges[], int rangesCount) { in map_ranges() function 333 int weight = map_ranges(get_int(pattern, FC_WEIGHT, FC_WEIGHT_REGULAR), in skfontstyle_from_fcpattern() 347 int width = map_ranges(get_int(pattern, FC_WIDTH, FC_WIDTH_NORMAL), in skfontstyle_from_fcpattern() 378 int weight = map_ranges(style.weight(), weightRanges, SK_ARRAY_COUNT(weightRanges)); in fcpattern_from_skfontstyle() 391 int width = map_ranges(style.width(), widthRanges, SK_ARRAY_COUNT(widthRanges)); in fcpattern_from_skfontstyle()
|