Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/webkit/
DDeviceOrientationService.java32 private float[] mGravityVector; field in DeviceOrientationService
106 if (mGravityVector == null || mMagneticFieldVector == null) { in getOrientationUsingGetRotationMatrix()
114 deviceRotationMatrix, null, mGravityVector, mMagneticFieldVector)) { in getOrientationUsingGetRotationMatrix()
198 if (mGravityVector == null) { in onSensorChanged()
199 mGravityVector = new float[3]; in onSensorChanged()
201 mGravityVector[0] = event.values[0]; in onSensorChanged()
202 mGravityVector[1] = event.values[1]; in onSensorChanged()
203 mGravityVector[2] = event.values[2]; in onSensorChanged()