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.java934 private void addTiltHistoryEntryLocked(long now, float tilt) { in addTiltHistoryEntryLocked() argument
935 mTiltHistory[mTiltHistoryIndex] = tilt; in addTiltHistoryEntryLocked()
954 private boolean isSwingingLocked(long now, float tilt) { in isSwingingLocked() argument
959 if (mTiltHistory[i] + SWING_AWAY_ANGLE_DELTA <= tilt) { in isSwingingLocked()
/frameworks/native/services/inputflinger/
DInputReader.cpp3127 info->addMotionRange(mOrientedRanges.tilt); in populateDeviceInfo()
3740 mOrientedRanges.tilt.axis = AMOTION_EVENT_AXIS_TILT; in configureSurface()
3741 mOrientedRanges.tilt.source = mSource; in configureSurface()
3742 mOrientedRanges.tilt.min = 0; in configureSurface()
3743 mOrientedRanges.tilt.max = M_PI_2; in configureSurface()
3744 mOrientedRanges.tilt.flat = 0; in configureSurface()
3745 mOrientedRanges.tilt.fuzz = 0; in configureSurface()
3746 mOrientedRanges.tilt.resolution = 0; in configureSurface()
5019 float tilt; in cookPointerData() local
5025 tilt = acosf(cosf(tiltXAngle) * cosf(tiltYAngle)); in cookPointerData()
[all …]
DInputReader.h1573 InputDeviceInfo::MotionRange tilt; member
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp3803 float tilt = acosf(cosf(tiltXAngle) * cosf(tiltYAngle)); in TEST_F() local
3816 ASSERT_EQ(tilt, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_TILT)); in TEST_F()