Searched refs:bearing (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/location/tests/locationtests/src/android/location/
H A DLocationTest.java127 float bearing;
136 bearing = zeroLocation.bearingTo(zeroLocation);
137 message = "bearingToTest: Bearing should be 0, actual value is " + String.valueOf(bearing);
138 assertEquals(message, 0, bearing, 0);
140 bearing = zeroLocation.bearingTo(testLocation);
142 String.valueOf(bearing);
143 assertEquals(message, 180, bearing, 0);
147 bearing = zeroLocation.bearingTo(testLocation);
149 String.valueOf(bearing);
150 assertEquals(message, -90, bearing,
[all...]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerEntry.java229 Float bearing = getNullableFloat(cursor, BEARING);
230 if (bearing != null) {
231 location.setBearing(bearing);
/frameworks/base/location/java/android/location/
H A DLocation.java34 * and other information such as bearing, altitude and velocity.
102 // Cached data to make bearing/distance computations more efficient for the case
131 * has no bearing, altitude, speed, accuracy or extras.
414 * shortest path between them. Distance and bearing are defined using the
418 * 2 or greater, the initial bearing is stored in results[1]. If results has
419 * length 3 or greater, the final bearing is stored in results[2].
466 * Returns the approximate initial bearing in degrees East of true
473 * @return the initial bearing in degrees
671 * True if this location has a bearing.
678 * Get the bearing, i
698 setBearing(float bearing) argument
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssLocationProvider.java1450 float speed, float bearing, float accuracy, long timestamp) {
1475 mLocation.setBearing(bearing);
1734 float bearing,
1751 location.setBearing(bearing);
1786 double longitude, double altitude, float speed, float bearing, float accuracy,
1797 bearing,
1813 double longitude, double altitude, float speed, float bearing, float accuracy,
1824 bearing,
1449 reportLocation(int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
1728 buildLocation( int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
1785 reportGeofenceTransition(int geofenceId, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp, int transition, long transitionTimestamp) argument
1812 reportGeofenceStatus(int status, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_GnssLocationProvider.cpp117 (jfloat)location->speed, (jfloat)location->bearing,
476 (jfloat)location->speed, (jfloat)location->bearing,
490 jfloat bearing = 0; local
499 bearing = location->bearing;
505 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp);
H A Dcom_android_server_location_FlpHardwareProvider.cpp312 location.bearing = env->CallFloatMethod(locationObject, getBearing);
522 sCallbackEnv->CallVoidMethod(locationObject, setBearing, location->bearing);

Completed in 612 milliseconds