/frameworks/ml/nn/runtime/test/specs/V1_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_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_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/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 | 139 public boolean addFont(String path, int ttcIndex, FontVariationAxis[] axes, int weight, in addFont() argument 148 if (axes != null) { in addFont() 149 for (FontVariationAxis axis : axes) { in addFont() 164 public boolean addFontFromBuffer(ByteBuffer font, int ttcIndex, FontVariationAxis[] axes, in addFontFromBuffer() argument 169 if (axes != null) { in addFontFromBuffer() 170 for (FontVariationAxis axis : axes) { in addFontFromBuffer() 195 FontVariationAxis[] axes) { in addFontFromAssetManager() argument 202 return addFontFromBuffer(buffer, ttcIndex, axes, weight, isItalic); 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/libs/hwui/jni/ |
D | FontFamily.cpp | 46 std::vector<minikin::FontVariation> axes; member 108 for (const auto& axis : builder->axes) { in addSkTypeface() 124 builder->axes.clear(); in addSkTypeface() 129 builder->axes); in addSkTypeface() 139 builder->axes.clear(); in addSkTypeface() 169 builder->axes.clear(); in FontFamily_addFont() 175 builder->axes.clear(); in FontFamily_addFont() 191 builder->axes.clear(); in FontFamily_addFontWeightStyle() 197 builder->axes.clear(); in FontFamily_addFontWeightStyle() 208 builder->axes.push_back({static_cast<minikin::AxisTag>(tag), value}); in FontFamily_addAxisValue()
|
/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/native/services/sensorservice/ |
D | SensorDeviceUtils.cpp | 39 size_t axes = 0; in quantizeSensorEventValues() local 47 axes = 3; in quantizeSensorEventValues() 68 axes = 1; in quantizeSensorEventValues() 77 for (size_t i = 0; i < axes; i++) { in quantizeSensorEventValues()
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | Font.cpp | 39 std::vector<minikin::FontVariation> axes; member 72 toBuilder(builderPtr)->axes.emplace_back(static_cast<minikin::AxisTag>(tag), value); in Font_Builder_addAxis() 97 for (const auto& axis : builder->axes) { in Font_Builder_build() 117 ttcIndex, builder->axes); in Font_Builder_build()
|
/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/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 | 393 public @NonNull Builder setFontVariationSettings(@Nullable FontVariationAxis[] axes) { in setFontVariationSettings() argument 394 mAxes = axes == null ? null : axes.clone(); in setFontVariationSettings() 467 @Nullable FontVariationAxis[] axes, @NonNull String localeList) { in Font() argument 473 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
|