Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DJoystickInputMapper.cpp36 for (const auto& [_, axis] : mAxes) { in populateDeviceInfo()
75 for (const auto& [rawAxis, axis] : mAxes) { in dump()
132 mAxes.insert({abs, createAxis(axisInfo, rawAxisInfo, explicitlyMapped)}); in reconfigure()
138 if (mAxes.size() > PointerCoords::MAX_AXES) { in reconfigure()
140 getDeviceName().c_str(), mAxes.size(), PointerCoords::MAX_AXES); in reconfigure()
147 for (auto it = mAxes.begin(); it != mAxes.end(); /*increment it inside loop*/) { in reconfigure()
162 it = mAxes.erase(it); in reconfigure()
211 for (const std::pair<const int32_t, Axis>& pair : mAxes) { in haveAxis()
222 while (mAxes.size() > PointerCoords::MAX_AXES) { in pruneAxes()
223 auto it = mAxes.begin(); in pruneAxes()
[all …]
DSensorInputMapper.cpp102 const auto it = mAxes.find(rawAxis); in dump()
103 if (it != mAxes.end()) { in dump()
152 mAxes.insert({abs, axis}); in reconfigure()
187 for (std::pair<const int32_t, Axis>& pair : mAxes) { in reset()
258 auto it = mAxes.find(rawEvent.code); in process()
259 if (it != mAxes.end()) { in process()
269 for (std::pair<const int32_t, Axis>& pair : mAxes) { in process()
323 auto itAxis = mAxes.find(abs); in flushSensor()
324 if (itAxis != mAxes.end()) { in flushSensor()
385 auto it = mAxes.find(abs); in sync()
[all …]
DJoystickInputMapper.h99 std::unordered_map<int32_t, Axis> mAxes; variable
DSensorInputMapper.h117 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.cpp61 std::vector<std::pair<uint32_t, float>> mAxes; member
65 mItalic == o.mItalic && mCollectionIndex == o.mCollectionIndex && mAxes == o.mAxes; in operator ==()
77 for (const auto& [tag, value] : font.mAxes) { in operator ()()
182 out->mAxes.clear(); in copyFont()
201 out->mAxes.push_back(std::make_pair(tag, styleValue)); in copyFont()
331 result->mAxes.reserve(axes.size()); in AFontMatcher_match()
333 result->mAxes.push_back(std::make_pair(axis.axisTag, axis.value)); in AFontMatcher_match()
435 return font->mAxes.size(); in AFont_getAxisCount()
440 LOG_ALWAYS_FATAL_IF(axisIndex >= font->mAxes.size(), in AFont_getAxisTag()
441 "given axis index is out of bounds. (< %zd", font->mAxes.size()); in AFont_getAxisTag()
[all …]
/frameworks/base/graphics/java/android/graphics/fonts/
DFont.java87 private @Nullable FontVariationAxis[] mAxes = null; field in Font.Builder
247 mAxes = font.getAxes(); in Builder()
429 mAxes = FontVariationAxis.fromFontVariationSettings(variationSettings); in setFontVariationSettings()
440 mAxes = axes == null ? null : axes.clone(); in setFontVariationSettings()
453 final int packed = FontFileUtil.analyzeStyle(mBuffer, mTtcIndex, mAxes); in build()
472 if (mAxes != null) { in build()
473 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.h56 const std::vector<minikin::FontVariation>& GetAxes() const { return mAxes; } in GetAxes()
64 std::vector<minikin::FontVariation> mAxes; variable
DFreeTypeMinikinFontForTest.cpp64 : mFontPath(font_path), mFontIndex(index), mAxes(axes) { in FreeTypeMinikinFontForTest()
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp45 , mAxes(axes) in MinikinFontSkia()
127 return mAxes; in GetAxes()
DMinikinSkia.h83 std::vector<minikin::FontVariation> mAxes; variable
/frameworks/native/services/inputflinger/tests/fuzzers/
DMapperHelpers.h99 std::map<int32_t /* deviceId */, std::map<int /* axis */, RawAbsoluteAxisInfo>> mAxes; variable
120 mAxes[deviceId][axis] = axisInfo; in setAbsoluteAxisInfo()
124 if (auto deviceAxesIt = mAxes.find(deviceId); deviceAxesIt != mAxes.end()) { in getAbsoluteAxisInfo()
/frameworks/native/libs/input/
DKeyLayoutMap.cpp262 auto it = mAxes.find(scanCode); in mapAxis()
263 if (it == mAxes.end()) { in mapAxis()
426 if (mMap->mAxes.find(*scanCode) != mMap->mAxes.end()) { in parseAxis()
518 mMap->mAxes.insert({*scanCode, axisInfo}); in parseAxis()
/frameworks/native/include/input/
DKeyLayoutMap.h104 std::unordered_map<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.txt18455 Landroid/graphics/Typeface$Builder;->mAxes:[Landroid/graphics/fonts/FontVariationAxis;
41365 Landroid/provider/FontsContract$FontInfo;->mAxes:[Landroid/graphics/fonts/FontVariationAxis;
55390 Landroid/text/FontConfig$Font;->mAxes:[Landroid/graphics/fonts/FontVariationAxis;