Home
last modified time | relevance | path

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

/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/services/core/java/com/android/server/policy/
DWindowOrientationListener.java971 private void addTiltHistoryEntryLocked(long now, float tilt) { in addTiltHistoryEntryLocked() argument
972 mTiltHistory[mTiltHistoryIndex] = tilt; in addTiltHistoryEntryLocked()
991 private boolean isSwingingLocked(long now, float tilt) { in isSwingingLocked() argument
996 if (mTiltHistory[i] + SWING_AWAY_ANGLE_DELTA <= tilt) { in isSwingingLocked()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp215 info->addMotionRange(mOrientedRanges.tilt); in populateDeviceInfo()
895 mOrientedRanges.tilt.axis = AMOTION_EVENT_AXIS_TILT; in configureSurface()
896 mOrientedRanges.tilt.source = mSource; in configureSurface()
897 mOrientedRanges.tilt.min = 0; in configureSurface()
898 mOrientedRanges.tilt.max = M_PI_2; in configureSurface()
899 mOrientedRanges.tilt.flat = 0; in configureSurface()
900 mOrientedRanges.tilt.fuzz = 0; in configureSurface()
901 mOrientedRanges.tilt.resolution = 0; in configureSurface()
2160 float tilt; in cookPointerData() local
2166 tilt = acosf(cosf(tiltXAngle) * cosf(tiltYAngle)); in cookPointerData()
[all …]
DTouchInputMapper.h548 InputDeviceInfo::MotionRange tilt; member
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp4125 float tilt = acosf(cosf(tiltXAngle) * cosf(tiltYAngle)); in TEST_F() local
4138 ASSERT_EQ(tilt, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_TILT)); in TEST_F()