Home
last modified time | relevance | path

Searched refs:axisIndex (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/trace/
DAndroidInputEventProtoConverter.cpp70 for (int32_t axisIndex = 0; !bits.isEmpty(); axisIndex++) { in toProtoMotionEvent() local
76 axisEntry->set_value(coords.values[axisIndex]); in toProtoMotionEvent()
129 for (int32_t axisIndex = 0; !bits.isEmpty(); axisIndex++) { in toProtoWindowDispatchEvent() local
131 const float axisValueInWindow = coordsInWindow.values[axisIndex]; in toProtoWindowDispatchEvent()
132 if (coords.values[axisIndex] != axisValueInWindow) { in toProtoWindowDispatchEvent()
/frameworks/native/include/android/
Dfont.h282 uint32_t AFont_getAxisTag(const AFont* _Nonnull font, uint32_t axisIndex)
297 float AFont_getAxisValue(const AFont* _Nonnull font, uint32_t axisIndex)
/frameworks/base/native/android/
Dsystem_fonts.cpp438 uint32_t AFont_getAxisTag(const AFont* font, uint32_t axisIndex) { in AFont_getAxisTag() argument
440 LOG_ALWAYS_FATAL_IF(axisIndex >= font->mAxes.size(), in AFont_getAxisTag()
442 return font->mAxes[axisIndex].first; in AFont_getAxisTag()
445 float AFont_getAxisValue(const AFont* font, uint32_t axisIndex) { in AFont_getAxisValue() argument
447 LOG_ALWAYS_FATAL_IF(axisIndex >= font->mAxes.size(), in AFont_getAxisValue()
449 return font->mAxes[axisIndex].second; in AFont_getAxisValue()