Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DJoystickInputMapper.cpp35 for (std::pair<const int32_t, Axis>& pair : mAxes) { in populateDeviceInfo()
75 for (const auto& [rawAxis, axis] : mAxes) { in dump()
131 mAxes.insert({abs, createAxis(axisInfo, rawAxisInfo, explicitlyMapped)}); in configure()
137 if (mAxes.size() > PointerCoords::MAX_AXES) { in configure()
139 getDeviceName().c_str(), mAxes.size(), PointerCoords::MAX_AXES); in configure()
146 for (auto it = mAxes.begin(); it != mAxes.end(); /*increment it inside loop*/) { in configure()
161 it = mAxes.erase(it); in configure()
209 for (const std::pair<const int32_t, Axis>& pair : mAxes) { in haveAxis()
220 while (mAxes.size() > PointerCoords::MAX_AXES) { in pruneAxes()
221 auto it = mAxes.begin(); in pruneAxes()
[all …]
DSensorInputMapper.cpp106 const auto it = mAxes.find(rawAxis); in dump()
107 if (it != mAxes.end()) { in dump()
155 mAxes.insert({abs, axis}); in configure()
189 for (std::pair<const int32_t, Axis>& pair : mAxes) { in reset()
261 auto it = mAxes.find(rawEvent->code); in process()
262 if (it != mAxes.end()) { in process()
272 for (std::pair<const int32_t, Axis>& pair : mAxes) { in process()
325 auto itAxis = mAxes.find(abs); in flushSensor()
326 if (itAxis != mAxes.end()) { in flushSensor()
386 auto it = mAxes.find(abs); in sync()
[all …]
DJoystickInputMapper.h93 std::unordered_map<int32_t, Axis> mAxes; variable
DSensorInputMapper.h107 std::unordered_map<int32_t, Axis> mAxes; variable
/frameworks/base/core/java/android/graphics/fonts/
DFontFamilyUpdateRequest.java167 private @NonNull List<FontVariationAxis> mAxes = Collections.emptyList(); field in FontFamilyUpdateRequest.Font.Builder
193 mAxes = axes; in setAxes()
212 return new Font(mPostScriptName, mStyle, mIndex, mAxes); in build()
221 private final List<FontVariationAxis> mAxes; field in FontFamilyUpdateRequest.Font
246 mAxes = axes; in Font()
271 return mAxes; in getAxes()
/frameworks/base/native/android/
Dsystem_fonts.cpp63 std::vector<std::pair<uint32_t, float>> mAxes; member
67 mItalic == o.mItalic && mCollectionIndex == o.mCollectionIndex && mAxes == o.mAxes; in operator ==()
82 for (const auto& [tag, value] : font.mAxes) { in operator ()()
187 out->mAxes.clear(); in copyFont()
206 out->mAxes.push_back(std::make_pair(tag, styleValue)); in copyFont()
343 result->mAxes.reserve(axes.size()); in AFontMatcher_match()
345 result->mAxes.push_back(std::make_pair(axis.axisTag, axis.value)); in AFontMatcher_match()
447 return font->mAxes.size(); in AFont_getAxisCount()
452 LOG_ALWAYS_FATAL_IF(axisIndex >= font->mAxes.size(), in AFont_getAxisTag()
453 "given axis index is out of bounds. (< %zd", font->mAxes.size()); in AFont_getAxisTag()
[all …]
/frameworks/base/graphics/java/android/graphics/fonts/
DFont.java85 private @Nullable FontVariationAxis[] mAxes = null; field in Font.Builder
245 mAxes = font.getAxes(); in Builder()
427 mAxes = FontVariationAxis.fromFontVariationSettings(variationSettings); in setFontVariationSettings()
438 mAxes = axes == null ? null : axes.clone(); in setFontVariationSettings()
451 final int packed = FontFileUtil.analyzeStyle(mBuffer, mTtcIndex, mAxes); in build()
470 if (mAxes != null) { in build()
471 for (FontVariationAxis axis : mAxes) { in build()
520 private @Nullable FontVariationAxis[] mAxes = null; field in Font
626 if (mAxes == null) { in getAxes()
628 mAxes = new FontVariationAxis[axisCount]; in getAxes()
[all …]
/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.h52 const std::vector<minikin::FontVariation>& GetAxes() const { return mAxes; } in GetAxes()
59 std::vector<minikin::FontVariation> mAxes; variable
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp41 , mAxes(axes) in MinikinFontSkia()
123 return mAxes; in GetAxes()
DMinikinSkia.h83 std::vector<minikin::FontVariation> mAxes; variable
/frameworks/native/libs/input/
DKeyLayoutMap.cpp197 ssize_t index = mAxes.indexOfKey(scanCode); in mapAxis()
205 *outAxisInfo = mAxes.valueAt(index); in mapAxis()
380 if (mMap->mAxes.indexOfKey(scanCode) >= 0) { in parseAxis()
468 mMap->mAxes.add(scanCode, axisInfo); in parseAxis()
/frameworks/native/include/input/
DKeyLayoutMap.h103 KeyedVector<int32_t, AxisInfo> mAxes; variable
/frameworks/base/core/java/android/provider/
DFontsContract.java193 private final FontVariationAxis[] mAxes; field in FontsContract.FontInfo
213 mAxes = axes; in FontInfo()
237 return mAxes; in getAxes()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt21333 Landroid/graphics/Typeface$Builder;->mAxes:[Landroid/graphics/fonts/FontVariationAxis;
45331 Landroid/provider/FontsContract$FontInfo;->mAxes:[Landroid/graphics/fonts/FontVariationAxis;
59356 Landroid/text/FontConfig$Font;->mAxes:[Landroid/graphics/fonts/FontVariationAxis;