/frameworks/minikin/tests/unittest/ |
D | FontCollectionTest.cpp | 153 std::vector<FontVariation> variations = { in TEST() local 157 multiAxisFc->createCollectionWithVariation(variations)); in TEST() 161 EXPECT_EQ(nullptr, noAxisFc->createCollectionWithVariation(variations)); in TEST() 165 std::vector<FontVariation> variations = { in TEST() local 170 multiAxisFc->createCollectionWithVariation(variations)); in TEST() 174 EXPECT_EQ(nullptr, noAxisFc->createCollectionWithVariation(variations)); in TEST() 178 std::vector<FontVariation> variations = { in TEST() local 181 EXPECT_EQ(nullptr, multiAxisFc->createCollectionWithVariation(variations)); in TEST() 182 EXPECT_EQ(nullptr, noAxisFc->createCollectionWithVariation(variations)); in TEST() 186 std::vector<FontVariation> variations = { in TEST() local [all …]
|
D | FontFamilyTest.cpp | 614 std::vector<FontVariation> variations = {{MinikinFont::MakeTag('w', 'd', 't', 'h'), 1.0f}}; in TEST_F() local 616 multiAxisFamily->createFamilyWithVariation(variations)); in TEST_F() 619 EXPECT_EQ(nullptr, noAxisFamily->createFamilyWithVariation(variations)); in TEST_F() 623 std::vector<FontVariation> variations = { in TEST_F() local 628 multiAxisFamily->createFamilyWithVariation(variations)); in TEST_F() 631 EXPECT_EQ(nullptr, noAxisFamily->createFamilyWithVariation(variations)); in TEST_F() 635 std::vector<FontVariation> variations = { in TEST_F() local 638 EXPECT_EQ(nullptr, multiAxisFamily->createFamilyWithVariation(variations)); in TEST_F() 639 EXPECT_EQ(nullptr, noAxisFamily->createFamilyWithVariation(variations)); in TEST_F() 643 std::vector<FontVariation> variations = { in TEST_F() local [all …]
|
/frameworks/minikin/tests/util/ |
D | MinikinFontForTest.cpp | 38 const std::vector<FontVariation>& variations) : in MinikinFontForTest() argument 41 mVariations(variations), in MinikinFontForTest() 73 const std::vector<FontVariation>& variations) const { in createFontWithVariation() 74 return std::shared_ptr<MinikinFont>(new MinikinFontForTest(mFontPath, mFontIndex, variations)); in createFontWithVariation()
|
D | MinikinFontForTest.h | 29 const std::vector<FontVariation>& variations); 47 const std::vector<FontVariation>& variations) const;
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinSkia.cpp | 95 const std::vector<minikin::FontVariation>& variations) const { in createFontWithVariation() 104 skAxes.resize(variations.size()); in createFontWithVariation() 105 for (size_t i = 0; i < variations.size(); i++) { in createFontWithVariation() 106 skAxes[i].fTag = variations[i].axisTag; in createFontWithVariation() 107 skAxes[i].fStyleValue = SkFloatToScalar(variations[i].value); in createFontWithVariation() 114 variations); in createFontWithVariation()
|
D | Typeface.h | 75 const std::vector<minikin::FontVariation>& variations);
|
D | Typeface.cpp | 100 const std::vector<minikin::FontVariation>& variations) { in createFromTypefaceWithVariation() argument 105 resolvedFace->fFontCollection->createCollectionWithVariation(variations); in createFromTypefaceWithVariation()
|
/frameworks/minikin/libs/minikin/ |
D | HbFontCache.cpp | 120 std::vector<hb_variation_t> variations; in getHbFontLocked() local 122 variations.push_back({variation.axisTag, variation.value}); in getHbFontLocked() 124 hb_font_set_variations(font, variations.data(), variations.size()); in getHbFontLocked()
|
D | FontFamily.cpp | 212 const std::vector<FontVariation>& variations) const { in createFamilyWithVariation() 213 if (variations.empty() || mSupportedAxes.empty()) { in createFamilyWithVariation() 218 for (const FontVariation& variation : variations) { in createFamilyWithVariation() 235 for (const FontVariation& variation : variations) { in createFamilyWithVariation() 244 minikinFont = font.typeface->createFontWithVariation(variations); in createFamilyWithVariation()
|
D | FontCollection.cpp | 434 const std::vector<FontVariation>& variations) { in createCollectionWithVariation() argument 435 if (variations.empty() || mSupportedAxes.empty()) { in createCollectionWithVariation() 440 for (const FontVariation& variation : variations) { in createCollectionWithVariation() 453 std::shared_ptr<FontFamily> newFamily = family->createFamilyWithVariation(variations); in createCollectionWithVariation()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | BaseGridLayoutManagerTest.java | 63 List<Config> variations = new ArrayList<>(); in createBaseVariations() local 67 variations.add(new Config(spanCount, orientation, reverseLayout)); in createBaseVariations() 71 return variations; in createBaseVariations() 75 Object... variations) in addConfigVariation() argument 80 for (Object variation : variations) { in addConfigVariation()
|
D | LinearLayoutManagerPrepareForDropTest.java | 111 List<Object[]> variations = new ArrayList<>(); in params() local 114 variations.add(new Object[]{config, selector}); in params() 117 return variations; in params()
|
D | StaggeredGridLayoutManagerGapTest.java | 49 List<Config> variations = createBaseVariations(); in getParams() local 51 for (Config config : variations) { in getParams()
|
D | LinearLayoutManagerSavedStateTest.java | 247 List<Config> variations = addConfigVariation(createBaseVariations(), "mItemCount", 0, 300); in params() local 248 variations = addConfigVariation(variations, "mRecycleChildrenOnDetach", true); in params() 251 for (Config config : variations) { in params()
|
D | StaggeredGridLayoutManagerSavedStateTest.java | 59 List<Config> variations = createBaseVariations(); in getParams() local 118 testVariations.addAll(variations); in getParams() 119 for (Config config : variations) { in getParams()
|
D | BaseLinearLayoutManagerTest.java | 53 List<Config> variations = new ArrayList<>(); in createBaseVariations() local 58 variations.add( in createBaseVariations() 65 return variations; in createBaseVariations() 72 Object... variations) in addConfigVariation() argument 77 for (Object variation : variations) { in addConfigVariation()
|
D | BaseStaggeredGridLayoutManagerTest.java | 50 List<Config> variations = new ArrayList<>(); in createBaseVariations() local 57 variations.add(new Config(orientation, reverseLayout, spanCount, in createBaseVariations() 65 return variations; in createBaseVariations() 69 Object... variations) in addConfigVariation() argument 74 for (Object variation : variations) { in addConfigVariation()
|
/frameworks/base/core/jni/android/graphics/ |
D | Typeface.cpp | 53 std::vector<minikin::FontVariation> variations; in Typeface_createFromTypefaceWithVariation() local 61 variations.push_back(minikin::FontVariation(axis.getTag(), axis.getStyleValue())); in Typeface_createFromTypefaceWithVariation() 64 Typeface* result = Typeface::createFromTypefaceWithVariation(baseTypeface, variations); in Typeface_createFromTypefaceWithVariation()
|
/frameworks/minikin/include/minikin/ |
D | FontCollection.h | 54 createCollectionWithVariation(const std::vector<FontVariation>& variations);
|
D | FontFamily.h | 159 const std::vector<FontVariation>& variations) const;
|