Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/webkit/
DDeviceOrientationService.java34 private float[] mMagneticFieldVector; field in DeviceOrientationService
106 if (mGravityVector == null || mMagneticFieldVector == null) { in getOrientationUsingGetRotationMatrix()
114 deviceRotationMatrix, null, mGravityVector, mMagneticFieldVector)) { in getOrientationUsingGetRotationMatrix()
207 if (mMagneticFieldVector == null) { in onSensorChanged()
208 mMagneticFieldVector = new float[3]; in onSensorChanged()
210 mMagneticFieldVector[0] = event.values[0]; in onSensorChanged()
211 mMagneticFieldVector[1] = event.values[1]; in onSensorChanged()
212 mMagneticFieldVector[2] = event.values[2]; in onSensorChanged()