/frameworks/minikin/tests/unittest/ |
D | FontUtilsTest.cpp | 88 std::unordered_set<uint32_t> axes; in TEST() local 89 ASSERT_TRUE(analyzeAxes(fvarTable.data(), fvarTable.size(), &axes)); in TEST() 90 ASSERT_EQ(2u, axes.size()); in TEST() 91 EXPECT_EQ(1u, axes.count(MakeTag('w', 'd', 't', 'h'))); in TEST() 92 EXPECT_EQ(1u, axes.count(MakeTag('w', 'g', 'h', 't'))); in TEST() 93 EXPECT_EQ(0u, axes.count(MakeTag('s', 'l', 'n', 't'))); in TEST() 98 std::unordered_set<uint32_t> axes; in TEST() local 99 ASSERT_FALSE(analyzeAxes(fvarTable.data(), fvarTable.size(), &axes)); in TEST() 111 std::unordered_set<uint32_t> axes; in TEST() local 112 ASSERT_FALSE(analyzeAxes(fvarTable.data(), fvarTable.size(), &axes)); in TEST()
|
/frameworks/base/graphics/java/android/graphics/ |
D | FontFamily.java | 92 public boolean addFont(String path, int ttcIndex, FontVariationAxis[] axes, int weight, in addFont() argument 101 if (axes != null) { in addFont() 102 for (FontVariationAxis axis : axes) { in addFont() 113 public boolean addFontFromBuffer(ByteBuffer font, int ttcIndex, FontVariationAxis[] axes, in addFontFromBuffer() argument 118 if (axes != null) { in addFontFromBuffer() 119 for (FontVariationAxis axis : axes) { in addFontFromBuffer() 140 FontVariationAxis[] axes) { in addFontFromAssetManager() argument 144 if (axes != null) { in addFontFromAssetManager() 145 for (FontVariationAxis axis : axes) { in addFontFromAssetManager()
|
D | FontListParser.java | 110 List<FontVariationAxis> axes = new ArrayList<FontVariationAxis>(); in readFont() local 122 axes.add(readAxis(parser)); in readFont() 129 axes.toArray(new FontVariationAxis[axes.size()]), weight, isItalic); in readFont()
|
D | Typeface.java | 452 public Builder setFontVariationSettings(@Nullable FontVariationAxis[] axes) { in setFontVariationSettings() argument 460 mAxes = axes; in setFontVariationSettings() 501 @Nullable FontVariationAxis[] axes, int weight, int italic) { in createAssetUid() argument 517 if (axes != null) { in createAssetUid() 518 for (FontVariationAxis axis : axes) { in createAssetUid() 729 @NonNull List<FontVariationAxis> axes) { in createFromTypefaceWithVariation() argument 731 return new Typeface(nativeCreateFromTypefaceWithVariation(ni, axes)); in createFromTypefaceWithVariation() 1067 long native_instance, List<FontVariationAxis> axes); in nativeCreateFromTypefaceWithVariation() argument
|
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 51 std::vector<minikin::FontVariation> axes; member 101 for (const auto& axis : builder->axes) { in addSkTypeface() 117 builder->axes.clear(); in addSkTypeface() 122 builder->axes); in addSkTypeface() 143 builder->axes.clear(); in addSkTypeface() 177 builder->axes.clear(); in FontFamily_addFont() 183 builder->axes.clear(); in FontFamily_addFont() 199 builder->axes.clear(); in FontFamily_addFontWeightStyle() 205 builder->axes.clear(); in FontFamily_addFontWeightStyle() 227 builder->axes.clear(); in FontFamily_addFontFromAssetManager() [all …]
|
/frameworks/base/tools/velocityplot/ |
D | velocityplot.py | 133 axes = self.fig.add_axes([0.1, top, 0.8, height], 140 axes.text(0.02, 0.02, title, transform=axes.transAxes, fontsize=10, fontweight='bold') 141 axes.set_xlabel('time (s)', fontsize=10, fontweight='bold') 142 axes.set_ylabel(ylabel, fontsize=10, fontweight='bold') 143 axes.set_xticks(range(0, timespan + 1, timeticks)) 144 axes.set_yticks(yticks) 145 axes.grid(True) 147 for label in axes.get_xticklabels(): 149 for label in axes.get_yticklabels(): 152 return axes [all …]
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
D | NestedScrollingParentHelper.java | 62 @ScrollAxis int axes) { in onNestedScrollAccepted() argument 63 onNestedScrollAccepted(child, target, axes, ViewCompat.TYPE_TOUCH); in onNestedScrollAccepted() 75 @ScrollAxis int axes, @NestedScrollType int type) { in onNestedScrollAccepted() argument 76 mNestedScrollAxes = axes; in onNestedScrollAccepted()
|
D | NestedScrollingChildHelper.java | 127 public boolean startNestedScroll(@ScrollAxis int axes) { in startNestedScroll() argument 128 return startNestedScroll(axes, TYPE_TOUCH); in startNestedScroll() 143 public boolean startNestedScroll(@ScrollAxis int axes, @NestedScrollType int type) { in startNestedScroll() argument 152 if (ViewParentCompat.onStartNestedScroll(p, child, mView, axes, type)) { in startNestedScroll() 154 ViewParentCompat.onNestedScrollAccepted(p, child, mView, axes, type); in startNestedScroll()
|
/frameworks/base/tools/orientationplot/ |
D | orientationplot.py | 207 axes = self.fig.add_axes([0.1, top, 0.8, height], 214 axes.text(0.02, 0.02, title, transform=axes.transAxes, fontsize=10, fontweight='bold') 215 axes.set_xlabel('time (s)', fontsize=10, fontweight='bold') 216 axes.set_ylabel(ylabel, fontsize=10, fontweight='bold') 217 axes.set_xticks(range(0, timespan + 1, timeticks)) 218 axes.set_yticks(yticks) 219 axes.grid(True) 221 for label in axes.get_xticklabels(): 223 for label in axes.get_yticklabels(): 226 return axes [all …]
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/ |
D | NestedScrollingParent2Adapter.java | 29 @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) { in onStartNestedScroll() argument 35 @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) { in onNestedScrollAccepted() argument 58 public void onNestedScrollAccepted(View child, View target, int axes) { in onNestedScrollAccepted() argument 59 onNestedScrollAccepted(child, target, axes, ViewCompat.TYPE_TOUCH); in onNestedScrollAccepted()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontVariationAxis.java | 180 public static @NonNull String toFontVariationSettings(@Nullable FontVariationAxis[] axes) { in toFontVariationSettings() argument 181 if (axes == null || axes.length == 0) { in toFontVariationSettings() 184 return TextUtils.join(",", axes); in toFontVariationSettings()
|
/frameworks/minikin/libs/minikin/ |
D | FontUtils.cpp | 49 bool analyzeAxes(const uint8_t* fvar_data, size_t fvar_size, std::unordered_set<uint32_t>* axes) { in analyzeAxes() argument 56 axes->clear(); in analyzeAxes() 79 axes->insert(tag); in analyzeAxes()
|
D | FontUtils.h | 25 bool analyzeAxes(const uint8_t* fvar_data, size_t fvar_size, std::unordered_set<uint32_t>* axes);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | TestedFrameLayout.java | 139 public void onNestedScrollAccepted(View child, View target, int axes) { in onNestedScrollAccepted() argument 140 onNestedScrollAccepted(child, target, axes, ViewCompat.TYPE_TOUCH); in onNestedScrollAccepted() 169 @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) { in onStartNestedScroll() argument 171 && mNestedScrollingDelegate.onStartNestedScroll(child, target, axes, type); in onStartNestedScroll() 176 @ViewCompat.ScrollAxis int axes, @ViewCompat.NestedScrollType int type) { in onNestedScrollAccepted() argument 178 mNestedScrollingDelegate.onNestedScrollAccepted(child, target, axes, type); in onNestedScrollAccepted()
|
/frameworks/support/compat/java/android/support/v4/view/ |
D | NestedScrollingParent.java | 63 boolean onStartNestedScroll(@NonNull View child, @NonNull View target, @ScrollAxis int axes); in onStartNestedScroll() argument 81 void onNestedScrollAccepted(@NonNull View child, @NonNull View target, @ScrollAxis int axes); in onNestedScrollAccepted() argument
|
D | NestedScrollingParent2.java | 64 boolean onStartNestedScroll(@NonNull View child, @NonNull View target, @ScrollAxis int axes, in onStartNestedScroll() argument 84 void onNestedScrollAccepted(@NonNull View child, @NonNull View target, @ScrollAxis int axes, in onNestedScrollAccepted() argument
|
D | NestedScrollingChild.java | 110 boolean startNestedScroll(@ScrollAxis int axes); in startNestedScroll() argument
|
D | NestedScrollingChild2.java | 82 boolean startNestedScroll(@ScrollAxis int axes, @NestedScrollType int type); in startNestedScroll() argument
|
/frameworks/base/core/java/android/text/ |
D | FontConfig.java | 71 public Font(@NonNull String fontName, int ttcIndex, @NonNull FontVariationAxis[] axes, in Font() argument 75 mAxes = axes; in Font()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NestedScrollingChild.java | 107 boolean startNestedScroll(int axes); in startNestedScroll() argument
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinSkia.cpp | 28 int ttcIndex, const std::vector<minikin::FontVariation>& axes) : in MinikinFontSkia() argument 30 mFontSize(fontSize), mTtcIndex(ttcIndex), mAxes(axes) { in MinikinFontSkia()
|
D | MinikinSkia.h | 32 int ttcIndex, const std::vector<minikin::FontVariation>& axes);
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 200 @Nullable FontVariationAxis[] axes, @IntRange(from = 1, to = 1000) int weight, in FontInfo() argument 204 mAxes = axes; in FontInfo() 806 FontVariationAxis[] axes = in getFontFromProvider() local 808 result.add(new FontInfo(fileUri, ttcIndex, axes, weight, italic, resultCode)); in getFontFromProvider()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ActionBarOverlayLayout.java | 467 public boolean onStartNestedScroll(View child, View target, int axes) { 468 if ((axes & SCROLL_AXIS_VERTICAL) == 0 || mActionBarTop.getVisibility() != VISIBLE) { 475 public void onNestedScrollAccepted(View child, View target, int axes) { 476 mParentHelper.onNestedScrollAccepted(child, target, axes);
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | SwipeRefreshLayout.java | 755 public void onNestedScrollAccepted(View child, View target, int axes) { in onNestedScrollAccepted() argument 757 mNestedScrollingParentHelper.onNestedScrollAccepted(child, target, axes); in onNestedScrollAccepted() 759 startNestedScroll(axes & ViewCompat.SCROLL_AXIS_VERTICAL); in onNestedScrollAccepted() 847 public boolean startNestedScroll(int axes) { in startNestedScroll() argument 848 return mNestedScrollingChildHelper.startNestedScroll(axes); in startNestedScroll()
|