/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | reduce_prod.mod.py | 17 def test(input0, output0, axes, keep_dims, input_data, output_data): argument 18 model = Model().Operation("REDUCE_PROD", input0, axes, keep_dims).To(output0) 29 axes=[-1], 40 axes=[0], 51 axes=[1, 0, -3, -3], 62 axes=[0, 2],
|
D | reduce_sum.mod.py | 17 def test(input0, output0, axes, keep_dims, input_data, output_data): argument 18 model = Model().Operation("REDUCE_SUM", input0, axes, keep_dims).To(output0) 29 axes=[-1], 40 axes=[0], 51 axes=[1, 0, -3, -3], 62 axes=[0, 2],
|
D | reduce_max.mod.py | 17 def test(input0, output0, axes, keep_dims, input_data, output_data): argument 18 model = Model().Operation("REDUCE_MAX", input0, axes, keep_dims).To(output0) 33 axes=[-1], 44 axes=[0], 55 axes=[1, 0, -3, -3], 66 axes=[0, 2],
|
D | reduce_min.mod.py | 17 def test(input0, output0, axes, keep_dims, input_data, output_data): argument 18 model = Model().Operation("REDUCE_MIN", input0, axes, keep_dims).To(output0) 33 axes=[-1], 44 axes=[0], 55 axes=[1, 0, -3, -3], 66 axes=[0, 2],
|
D | reduce_all.mod.py | 17 def test(input0, output0, axes, keep_dims, input_data, output_data): argument 18 model = Model().Operation("REDUCE_ALL", input0, axes, keep_dims).To(output0) 27 axes=[0], 37 axes=[1, 0, -3, -3], 47 axes=[0, 2],
|
D | reduce_any.mod.py | 17 def test(input0, output0, axes, keep_dims, input_data, output_data): argument 18 model = Model().Operation("REDUCE_ANY", input0, axes, keep_dims).To(output0) 29 axes=[0], 39 axes=[1, 0, -3, -3], 49 axes=[0, 2],
|
/frameworks/ml/nn/runtime/test/specs/V1_3/ |
D | reduce_max_quant8_signed.mod.py | 17 def test(input0, output0, axes, keep_dims, input_data, output_data): argument 18 model = Model().Operation("REDUCE_MAX", input0, axes, keep_dims).To(output0) 33 axes=[-1], 44 axes=[0], 55 axes=[1, 0, -3, -3], 66 axes=[0, 2],
|
D | reduce_min_quant8_signed.mod.py | 17 def test(input0, output0, axes, keep_dims, input_data, output_data): argument 18 model = Model().Operation("REDUCE_MIN", input0, axes, keep_dims).To(output0) 33 axes=[-1], 44 axes=[0], 55 axes=[1, 0, -3, -3], 66 axes=[0, 2],
|
/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/core/jni/android/graphics/ |
D | FontFamily.cpp | 51 std::vector<minikin::FontVariation> axes; member 113 for (const auto& axis : builder->axes) { in addSkTypeface() 129 builder->axes.clear(); in addSkTypeface() 134 builder->axes); in addSkTypeface() 144 builder->axes.clear(); in addSkTypeface() 178 builder->axes.clear(); in FontFamily_addFont() 184 builder->axes.clear(); in FontFamily_addFont() 200 builder->axes.clear(); in FontFamily_addFontWeightStyle() 206 builder->axes.clear(); in FontFamily_addFontWeightStyle() 228 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/base/graphics/java/android/graphics/ |
D | FontFamily.java | 132 public boolean addFont(String path, int ttcIndex, FontVariationAxis[] axes, int weight, in addFont() argument 141 if (axes != null) { in addFont() 142 for (FontVariationAxis axis : axes) { in addFont() 157 public boolean addFontFromBuffer(ByteBuffer font, int ttcIndex, FontVariationAxis[] axes, in addFontFromBuffer() argument 162 if (axes != null) { in addFontFromBuffer() 163 for (FontVariationAxis axis : axes) { in addFontFromBuffer() 187 FontVariationAxis[] axes) { in addFontFromAssetManager() argument 191 if (axes != null) { in addFontFromAssetManager() 192 for (FontVariationAxis axis : axes) { in addFontFromAssetManager()
|
D | FontListParser.java | 120 List<FontVariationAxis> axes = new ArrayList<FontVariationAxis>(); in readFont() local 133 axes.add(readAxis(parser)); in readFont() 139 return new FontConfig.Font(fontDir + sanitizedName, index, axes.toArray( in readFont() 140 new FontVariationAxis[axes.size()]), weight, isItalic, fallbackFor); in readFont()
|
D | Typeface.java | 498 public Builder setFontVariationSettings(@Nullable FontVariationAxis[] axes) { in setFontVariationSettings() argument 499 mFontBuilder.setFontVariationSettings(axes); in setFontVariationSettings() 540 @Nullable FontVariationAxis[] axes, int weight, int italic, String fallback) { in createAssetUid() argument 560 if (axes != null) { in createAssetUid() 561 for (FontVariationAxis axis : axes) { in createAssetUid() 935 @NonNull List<FontVariationAxis> axes) { 937 return new Typeface(nativeCreateFromTypefaceWithVariation(base.native_instance, axes)); 1217 long native_instance, List<FontVariationAxis> axes);
|
/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/minikin/libs/minikin/ |
D | FontUtils.cpp | 48 bool analyzeAxes(const uint8_t* fvar_data, size_t fvar_size, std::unordered_set<uint32_t>* axes) { in analyzeAxes() argument 55 axes->clear(); in analyzeAxes() 78 axes->insert(tag); in analyzeAxes()
|
D | FontUtils.h | 26 bool analyzeAxes(const uint8_t* fvar_data, size_t fvar_size, std::unordered_set<uint32_t>* axes);
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Typeface_Builder_Delegate.java | 39 @Nullable FontVariationAxis[] axes, int weight, int italic, String fallback) { in createAssetUid() argument 40 return Builder.createAssetUid_Original(mgr, path, ttcIndex, axes, weight, italic, fallback); in createAssetUid()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | FontFileUtilTest.java | 139 String axes = FontTestUtil.getVarSettingsFromStyle(weight, italic); in testVariationFont() local 142 FontVariationAxis.fromFontVariationSettings(axes)); in testVariationFont() 143 assertEquals(path + "#" + axes, weight, FontFileUtil.unpackWeight(packed)); in testVariationFont() 144 assertEquals(path + "#" + axes, italic, FontFileUtil.unpackItalic(packed)); in testVariationFont()
|
/frameworks/base/core/jni/android/graphics/fonts/ |
D | Font.cpp | 44 std::vector<minikin::FontVariation> axes; member 132 toBuilder(builderPtr)->axes.emplace_back(static_cast<minikin::AxisTag>(tag), value); in Font_Builder_addAxis() 157 for (const auto& axis : builder->axes) { in Font_Builder_build() 177 ttcIndex, builder->axes); in Font_Builder_build()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontVariationAxis.java | 185 public static @NonNull String toFontVariationSettings(@Nullable FontVariationAxis[] axes) { in toFontVariationSettings() argument 186 if (axes == null) { in toFontVariationSettings() 189 return TextUtils.join(",", axes); in toFontVariationSettings()
|
D | Font.java | 350 public @NonNull Builder setFontVariationSettings(@Nullable FontVariationAxis[] axes) { in setFontVariationSettings() argument 351 mAxes = axes == null ? null : axes.clone(); in setFontVariationSettings() 433 @Nullable FontVariationAxis[] axes, @NonNull String localeList) { in Font() argument 439 mAxes = axes; in Font()
|
/frameworks/base/core/java/android/text/ |
D | FontConfig.java | 74 public Font(@NonNull String fontName, int ttcIndex, @NonNull FontVariationAxis[] axes, in Font() argument 78 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 | 35 const std::vector<minikin::FontVariation>& axes) in MinikinFontSkia() argument 41 , mAxes(axes) in MinikinFontSkia()
|