Home
last modified time | relevance | path

Searched refs:mAxes (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DJoystickInputMapper.cpp35 for (size_t i = 0; i < mAxes.size(); i++) { in populateDeviceInfo()
36 const Axis& axis = mAxes.valueAt(i); in populateDeviceInfo()
75 size_t numAxes = mAxes.size(); in dump()
77 const Axis& axis = mAxes.valueAt(i); in dump()
103 mAxes.keyAt(i), axis.rawAxisInfo.minValue, axis.rawAxisInfo.maxValue, in dump()
162 mAxes.add(abs, axis); in configure()
168 if (mAxes.size() > PointerCoords::MAX_AXES) { in configure()
170 getDeviceName().c_str(), mAxes.size(), PointerCoords::MAX_AXES); in configure()
177 size_t numAxes = mAxes.size(); in configure()
179 Axis& axis = mAxes.editValueAt(i); in configure()
[all …]
DJoystickInputMapper.h90 KeyedVector<int32_t, Axis> mAxes; variable
/frameworks/base/graphics/java/android/graphics/fonts/
DFont.java70 private @Nullable FontVariationAxis[] mAxes = null; field in Font.Builder
383 mAxes = FontVariationAxis.fromFontVariationSettings(variationSettings); in setFontVariationSettings()
394 mAxes = axes == null ? null : axes.clone(); in setFontVariationSettings()
407 final int packed = FontFileUtil.analyzeStyle(mBuffer, mTtcIndex, mAxes); in build()
426 if (mAxes != null) { in build()
427 for (FontVariationAxis axis : mAxes) { in build()
436 new FontStyle(mWeight, slant), mTtcIndex, mAxes, mLocaleList); in build()
459 private final @Nullable FontVariationAxis[] mAxes; field in Font
473 mAxes = axes; in Font()
528 return mAxes == null ? null : mAxes.clone(); in getAxes()
[all …]
/frameworks/base/native/android/
Dsystem_fonts.cpp71 std::vector<std::pair<uint32_t, float>> mAxes; member
158 out->mAxes.clear(); in copyFont()
177 out->mAxes.push_back(std::make_pair(tag, styleValue)); in copyFont()
276 result->mAxes.reserve(axes.size()); in AFontMatcher_match()
278 result->mAxes.push_back(std::make_pair(axis.axisTag, axis.value)); in AFontMatcher_match()
373 return font->mAxes.size(); in AFont_getAxisCount()
378 LOG_ALWAYS_FATAL_IF(axisIndex >= font->mAxes.size(), in AFont_getAxisTag()
379 "given axis index is out of bounds. (< %zd", font->mAxes.size()); in AFont_getAxisTag()
380 return font->mAxes[axisIndex].first; in AFont_getAxisTag()
385 LOG_ALWAYS_FATAL_IF(axisIndex >= font->mAxes.size(), in AFont_getAxisValue()
[all …]
/frameworks/base/core/java/android/text/
DFontConfig.java65 private final @NonNull FontVariationAxis[] mAxes; field in FontConfig.Font
78 mAxes = axes; in Font()
104 return mAxes; in getAxes()
/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.h51 const std::vector<minikin::FontVariation>& GetAxes() const { return mAxes; } in GetAxes()
58 std::vector<minikin::FontVariation> mAxes; variable
/frameworks/native/libs/input/
DKeyLayoutMap.cpp135 ssize_t index = mAxes.indexOfKey(scanCode); in mapAxis()
143 *outAxisInfo = mAxes.valueAt(index); in mapAxis()
314 if (mMap->mAxes.indexOfKey(scanCode) >= 0) { in parseAxis()
402 mMap->mAxes.add(scanCode, axisInfo); in parseAxis()
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp41 , mAxes(axes) in MinikinFontSkia()
123 return mAxes; in GetAxes()
DMinikinSkia.h79 std::vector<minikin::FontVariation> mAxes; variable
/frameworks/native/include/input/
DKeyLayoutMap.h91 KeyedVector<int32_t, AxisInfo> mAxes; variable
/frameworks/base/core/java/android/provider/
DFontsContract.java181 private final FontVariationAxis[] mAxes; field in FontsContract.FontInfo
201 mAxes = axes; in FontInfo()
225 return mAxes; in getAxes()