Home
last modified time | relevance | path

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

/frameworks/native/libs/input/tests/
DTfLiteMotionPredictor_test.cpp93 .tilt = 0.2}); in TEST()
98 .tilt = 0.3}); in TEST()
103 .tilt = 0.4}); in TEST()
108 .tilt = 0.5}); in TEST()
/frameworks/base/core/java/android/hardware/face/
DFaceDataFrame.java55 float tilt, in FaceDataFrame() argument
61 mTilt = tilt; in FaceDataFrame()
DFaceManager.java1170 float tilt, in onEnrollmentFrame() argument
/frameworks/base/tools/orientationplot/
DREADME.txt37 filtered accelerometer data, measured tilt and orientation angle, confidence
76 4. The orientation angle is not measured when the tilt is too close to 90 or -90
81 5. Each orientation has its own bound on allowable tilt angles. It's a good idea to
82 verify that these limits are being enforced by gradually varying the tilt of
88 can be a bit unusual. The tilt is a good indicator of whether the device is
/frameworks/base/core/java/android/hardware/input/
DVirtualStylusMotionEvent.java393 private void validateTilt(int tilt) { in validateTilt() argument
394 if (tilt < TILT_MIN || tilt > TILT_MAX) { in validateTilt()
/frameworks/native/include/input/
DTfLiteMotionPredictor.h45 float tilt; member
/frameworks/base/services/core/java/com/android/server/wm/
DWindowOrientationListener.java1031 private void addTiltHistoryEntryLocked(long now, float tilt) { in addTiltHistoryEntryLocked() argument
1032 mTiltHistory[mTiltHistoryIndex] = tilt; in addTiltHistoryEntryLocked()
1051 private boolean isSwingingLocked(long now, float tilt) { in isSwingingLocked() argument
1056 if (mTiltHistory[i] + SWING_AWAY_ANGLE_DELTA <= tilt) { in isSwingingLocked()
/frameworks/proto_logging/stats/enums/view/
Denums.proto56 // The display state is caused by a tilt.
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DAidlConversionUtils.java176 frame.tilt, in toFrameworkBaseFrame()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.h483 std::optional<InputDeviceInfo::MotionRange> tilt; member
493 tilt = std::nullopt; in clear()
DTouchInputMapper.cpp188 if (mOrientedRanges.tilt) { in populateDeviceInfo()
189 info.addMotionRange(*mOrientedRanges.tilt); in populateDeviceInfo()
742 mOrientedRanges.tilt = InputDeviceInfo::MotionRange{ in initializeOrientedRanges()
2341 float tilt; in cookPointerData() local
2348 tilt = acosf(cosf(tiltXAngle) * cosf(tiltYAngle)); in cookPointerData()
2350 tilt = 0; in cookPointerData()
2404 out.setAxisValue(AMOTION_EVENT_AXIS_TILT, tilt); in cookPointerData()
3680 if (mOrientedRanges.tilt.has_value()) { in dispatchMotion()
/frameworks/native/libs/input/
DMotionPredictor.cpp210 .tilt = event.getHistoricalAxisValue(AMOTION_EVENT_AXIS_TILT, in record()
DTfLiteMotionPredictor.cpp251 mInputTilt.pushBack(sample.tilt); in pushSample()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp5461 float tilt = acosf(cosf(tiltXAngle) * cosf(tiltYAngle)); in TEST_F() local
5474 ASSERT_EQ(tilt, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_TILT)); in TEST_F()