Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp170 if (mOrientedRanges.touchMajor) { in populateDeviceInfo()
171 info.addMotionRange(*mOrientedRanges.touchMajor); in populateDeviceInfo()
238 pointer.touchMajor, pointer.touchMinor, pointer.toolMajor, in dump()
510 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.touchMajor, "TouchMajor"); in dumpRawPointerAxes()
603 if (mRawPointerAxes.touchMajor.valid && mRawPointerAxes.touchMajor.maxValue != 0) { in initializeSizeRanges()
604 mSizeScale = 1.0f / mRawPointerAxes.touchMajor.maxValue; in initializeSizeRanges()
611 mOrientedRanges.touchMajor = InputDeviceInfo::MotionRange{ in initializeSizeRanges()
621 if (mRawPointerAxes.touchMajor.valid) { in initializeSizeRanges()
622 mRawPointerAxes.touchMajor.resolution = in initializeSizeRanges()
623 clampResolution("touchMajor", mRawPointerAxes.touchMajor.resolution); in initializeSizeRanges()
[all …]
DMultiTouchInputMapper.cpp102 outPointer.touchMajor = inSlot.getTouchMajor(); in syncTouch()
194 getAbsoluteAxisInfo(ABS_MT_TOUCH_MAJOR, &mRawPointerAxes.touchMajor); in configureRawPointerAxes()
DTouchInputMapper.h65 RawAbsoluteAxisInfo touchMajor{};
92 int32_t touchMajor{};
473 std::optional<InputDeviceInfo::MotionRange> touchMajor; member
487 touchMajor = std::nullopt; in clear()
DSingleTouchInputMapper.cpp56 outPointer.touchMajor = 0; in syncTouch()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DUdfpsControllerTest.java611 pc.touchMajor = major; in obtainMotionEvent()
649 final float touchMajor = 20f; in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized() local
656 final float expectedMajor = touchMajor / scaleFactor; in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
663 displayHeight, touchMinor, touchMajor, orientation, 0L, 0L); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
681 touchMajor); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
696 event = obtainMotionEvent(ACTION_DOWN, displayHeight, 0, touchMinor, touchMajor); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
711 event = obtainMotionEvent(ACTION_DOWN, 0, displayWidth, touchMinor, touchMajor); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
727 event = obtainMotionEvent(ACTION_DOWN, displayWidth, displayHeight, touchMinor, touchMajor); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
/frameworks/native/services/inputflinger/tests/
DInputMapperTest.cpp239 float touchMajor, float touchMinor, float toolMajor, float toolMinor, in assertPointerCoords() argument
245 ASSERT_NEAR(touchMajor, coords.getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR), scaledAxisEpsilon); in assertPointerCoords()
DInputMapperTest.h147 float touchMajor, float touchMinor, float toolMajor, float toolMinor,
DCapturedTouchpadEventConverter_test.cpp154 const InputDeviceInfo::MotionRange* touchMajor = in TEST_F() local
156 ASSERT_NE(nullptr, touchMajor); in TEST_F()
157 EXPECT_NEAR(0, touchMajor->min, EPSILON); in TEST_F()
158 EXPECT_NEAR(1100, touchMajor->max, EPSILON); in TEST_F()
159 EXPECT_NEAR(35, touchMajor->resolution, EPSILON); in TEST_F()
DInputReader_test.cpp7081 void processTouchMajor(MultiTouchInputMapper& mapper, int32_t touchMajor);
7151 int32_t touchMajor) { in processTouchMajor() argument
7152 process(mapper, ARBITRARY_TIME, READ_TIME, EV_ABS, ABS_MT_TOUCH_MAJOR, touchMajor); in processTouchMajor()
7897 float touchMajor = float(rawTouchMajor) * GEOMETRIC_SCALE; in TEST_F() local
7918 x, y, pressure, size, touchMajor, touchMinor, toolMajor, toolMinor, in TEST_F()
7943 float touchMajor = float(rawTouchMajor) * GEOMETRIC_SCALE; in TEST_F() local
7957 x, y, 1.0f, size, touchMajor, touchMinor, toolMajor, toolMinor, 0, 0)); in TEST_F()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/
DSinglePointerTouchProcessorTest.kt622 pc.touchMajor = NATIVE_MAJOR * scaleFactor in genPositiveTestCases()
684 pc.touchMajor = major in obtainMotionEvent()
720 major: Float = this.touchMajor, in copy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsShell.kt209 pc.touchMajor = major in obtainMotionEvent()
/frameworks/base/core/java/android/view/
DMotionEvent.java4343 public float touchMajor; field in MotionEvent.PointerCoords
4448 touchMajor = 0; in clear()
4481 touchMajor = other.touchMajor; in copyFrom()
4511 return touchMajor; in getAxisValue()
4563 touchMajor = value; in setAxisValue()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp56 jfieldID touchMajor; member
217 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.touchMajor)); in pointerCoordsToNative()
440 {AMOTION_EVENT_AXIS_TOUCH_MAJOR, gPointerCoordsClassInfo.touchMajor}, in android_view_MotionEvent_nativeGetPointerCoords()
942 gPointerCoordsClassInfo.touchMajor = GetFieldIDOrDie(env, clazz, "touchMajor", "F"); in register_android_view_MotionEvent()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java362 drawOval(canvas, ps.mCoords.x, ps.mCoords.y, ps.mCoords.touchMajor, in onDraw()
564 .append(" TouchMajor=").append(coords.touchMajor, 3) in logCoords()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt33066 field public float touchMajor;
/frameworks/base/core/api/
Dcurrent.txt51978 field public float touchMajor;