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/
DInputReader.cpp3104 info->addMotionRange(mOrientedRanges.tilt); in populateDeviceInfo()
3776 mOrientedRanges.tilt.axis = AMOTION_EVENT_AXIS_TILT; in configureSurface()
3777 mOrientedRanges.tilt.source = mSource; in configureSurface()
3778 mOrientedRanges.tilt.min = 0; in configureSurface()
3779 mOrientedRanges.tilt.max = M_PI_2; in configureSurface()
3780 mOrientedRanges.tilt.flat = 0; in configureSurface()
3781 mOrientedRanges.tilt.fuzz = 0; in configureSurface()
3782 mOrientedRanges.tilt.resolution = 0; in configureSurface()
5074 float tilt; in cookPointerData() local
5080 tilt = acosf(cosf(tiltXAngle) * cosf(tiltYAngle)); in cookPointerData()
[all …]
DInputReader.h1364 InputDeviceInfo::MotionRange tilt; member
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp4107 float tilt = acosf(cosf(tiltXAngle) * cosf(tiltYAngle)); in TEST_F() local
4120 ASSERT_EQ(tilt, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_TILT)); in TEST_F()