Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DFusion.cpp303 vec3_t north(cross_product(up, east)); in checkInitComplete() local
304 R << east << north << up; in checkInitComplete()
383 vec3_t north( cross_product(up, east) ); in handleMag() local
385 const float l_inv = 1 / length(north); in handleMag()
386 north *= l_inv; in handleMag()
388 update(north, Bm, mParam.magStdev*l_inv); in handleMag()
/frameworks/native/libs/ui/tests/
Dvec_test.cpp241 vec3 north(0, 1, 0); in TEST_F() local
242 vec3 up( cross(east, north) ); in TEST_F()
244 EXPECT_EQ(dot(east, north), 0); in TEST_F()
246 EXPECT_EQ(distance(east, north), sqrtf(2)); in TEST_F()
/frameworks/base/docs/html/guide/topics/sensors/
Dsensors_position.jd68 relative to the magnetic north pole. You can also use these sensors to
204 point north but instead to some other reference. That reference is allowed to drift by the
209 you do not care about where north is, and the normal rotation vector does not fit your needs
249 north pole). The following code shows you how to compute a device's
272 the angle between the device's current compass direction and magnetic north.
273 If the top edge of the device faces magnetic north, the azimuth is 0
/frameworks/base/docs/html/about/versions/
Dandroid-4.3.jd874 …, the {@link android.hardware.Sensor#TYPE_GAME_ROTATION_VECTOR} is not based on magnetic north.</p>