Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DSingleTouchInputMapper.cpp58 outPointer.toolMajor = mSingleTouchMotionAccumulator.getAbsoluteToolWidth(); in syncTouch()
78 getAbsoluteAxisInfo(ABS_TOOL_WIDTH, &mRawPointerAxes.toolMajor); in configureRawPointerAxes()
DTouchInputMapper.cpp175 if (mOrientedRanges.toolMajor) { in populateDeviceInfo()
176 info.addMotionRange(*mOrientedRanges.toolMajor); in populateDeviceInfo()
238 pointer.touchMajor, pointer.touchMinor, pointer.toolMajor, in dump()
512 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.toolMajor, "ToolMajor"); in dumpRawPointerAxes()
605 } else if (mRawPointerAxes.toolMajor.valid && mRawPointerAxes.toolMajor.maxValue != 0) { in initializeSizeRanges()
606 mSizeScale = 1.0f / mRawPointerAxes.toolMajor.maxValue; in initializeSizeRanges()
635 mOrientedRanges.toolMajor = InputDeviceInfo::MotionRange{ in initializeSizeRanges()
644 if (mRawPointerAxes.toolMajor.valid) { in initializeSizeRanges()
645 mRawPointerAxes.toolMajor.resolution = in initializeSizeRanges()
646 clampResolution("toolMajor", mRawPointerAxes.toolMajor.resolution); in initializeSizeRanges()
[all …]
DMultiTouchInputMapper.cpp104 outPointer.toolMajor = inSlot.getToolMajor(); in syncTouch()
196 getAbsoluteAxisInfo(ABS_MT_WIDTH_MAJOR, &mRawPointerAxes.toolMajor); in configureRawPointerAxes()
DTouchInputMapper.h67 RawAbsoluteAxisInfo toolMajor{};
94 int32_t toolMajor{};
476 std::optional<InputDeviceInfo::MotionRange> toolMajor; member
489 toolMajor = std::nullopt; in clear()
/frameworks/native/services/inputflinger/tests/
DInputMapperTest.cpp239 float touchMajor, float touchMinor, float toolMajor, float toolMinor, in assertPointerCoords() argument
247 ASSERT_NEAR(toolMajor, coords.getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR), scaledAxisEpsilon); in assertPointerCoords()
DInputMapperTest.h147 float touchMajor, float touchMinor, float toolMajor, float toolMinor,
DCapturedTouchpadEventConverter_test.cpp168 const InputDeviceInfo::MotionRange* toolMajor = in TEST_F() local
170 ASSERT_NE(nullptr, toolMajor); in TEST_F()
171 EXPECT_NEAR(0, toolMajor->min, EPSILON); in TEST_F()
172 EXPECT_NEAR(900, toolMajor->max, EPSILON); in TEST_F()
173 EXPECT_NEAR(25, toolMajor->resolution, EPSILON); in TEST_F()
DInputReader_test.cpp4494 void processToolMajor(SingleTouchInputMapper& mapper, int32_t toolMajor);
4548 int32_t toolMajor) { in processToolMajor() argument
4549 process(mapper, ARBITRARY_TIME, READ_TIME, EV_ABS, ABS_TOOL_WIDTH, toolMajor); in processToolMajor()
7083 void processToolMajor(MultiTouchInputMapper& mapper, int32_t toolMajor);
7160 void MultiTouchInputMapperTest::processToolMajor(MultiTouchInputMapper& mapper, int32_t toolMajor) { in processToolMajor() argument
7161 process(mapper, ARBITRARY_TIME, READ_TIME, EV_ABS, ABS_MT_WIDTH_MAJOR, toolMajor); in processToolMajor()
7895 float toolMajor = float(rawToolMajor) * GEOMETRIC_SCALE; in TEST_F() local
7918 x, y, pressure, size, touchMajor, touchMinor, toolMajor, toolMinor, in TEST_F()
7941 float toolMajor = float(rawToolMajor) * GEOMETRIC_SCALE; in TEST_F() local
7957 x, y, 1.0f, size, touchMajor, touchMinor, toolMajor, toolMinor, 0, 0)); in TEST_F()
/frameworks/base/core/java/android/view/
DMotionEvent.java4365 public float toolMajor; field in MotionEvent.PointerCoords
4450 toolMajor = 0; in clear()
4483 toolMajor = other.toolMajor; in copyFrom()
4515 return toolMajor; in getAxisValue()
4569 toolMajor = value; in setAxisValue()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp58 jfieldID toolMajor; member
221 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.toolMajor)); in pointerCoordsToNative()
442 {AMOTION_EVENT_AXIS_TOOL_MAJOR, gPointerCoordsClassInfo.toolMajor}, in android_view_MotionEvent_nativeGetPointerCoords()
944 gPointerCoordsClassInfo.toolMajor = GetFieldIDOrDie(env, clazz, "toolMajor", "F"); in register_android_view_MotionEvent()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java367 drawOval(canvas, ps.mCoords.x, ps.mCoords.y, ps.mCoords.toolMajor, in onDraw()
371 final float arrowSize = Math.max(ps.mCoords.toolMajor * 0.7f, 24 * mDensity); in onDraw()
566 .append(" ToolMajor=").append(coords.toolMajor, 3) in logCoords()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt33064 field public float toolMajor;
/frameworks/base/core/api/
Dcurrent.txt51976 field public float toolMajor;