/frameworks/base/location/tests/locationtests/src/android/location/ |
D | LocationTest.java | 127 float bearing; in testBearingTo() local 136 bearing = zeroLocation.bearingTo(zeroLocation); in testBearingTo() 137 message = "bearingToTest: Bearing should be 0, actual value is " + String.valueOf(bearing); in testBearingTo() 138 assertEquals(message, 0, bearing, 0); in testBearingTo() 140 bearing = zeroLocation.bearingTo(testLocation); in testBearingTo() 142 String.valueOf(bearing); in testBearingTo() 143 assertEquals(message, 180, bearing, 0); in testBearingTo() 147 bearing = zeroLocation.bearingTo(testLocation); in testBearingTo() 149 String.valueOf(bearing); in testBearingTo() 150 assertEquals(message, -90, bearing, 0); in testBearingTo()
|
/frameworks/base/location/java/android/location/ |
D | Location.java | 698 public void setBearing(float bearing) { in setBearing() argument 699 while (bearing < 0.0f) { in setBearing() 700 bearing += 360.0f; in setBearing() 702 while (bearing >= 360.0f) { in setBearing() 703 bearing -= 360.0f; in setBearing() 705 mBearing = bearing; in setBearing()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | TrackerEntry.java | 229 Float bearing = getNullableFloat(cursor, BEARING); in createEntry() local 230 if (bearing != null) { in createEntry() 231 location.setBearing(bearing); in createEntry()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssLocationProvider.java | 1494 float speed, float bearing, float accuracy, long timestamp) { in reportLocation() argument 1519 mLocation.setBearing(bearing); in reportLocation() 1778 float bearing, 1795 location.setBearing(bearing); 1830 double longitude, double altitude, float speed, float bearing, float accuracy, 1841 bearing, 1857 double longitude, double altitude, float speed, float bearing, float accuracy, 1868 bearing,
|
/frameworks/base/services/core/jni/ |
D | com_android_server_location_GnssLocationProvider.cpp | 117 (jfloat)location->speed, (jfloat)location->bearing, in location_callback() 476 (jfloat)location->speed, (jfloat)location->bearing, in gps_geofence_transition_callback() 490 jfloat bearing = 0; in gps_geofence_status_callback() local 499 bearing = location->bearing; in gps_geofence_status_callback() 505 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp); in gps_geofence_status_callback()
|
D | com_android_server_location_FlpHardwareProvider.cpp | 312 location.bearing = env->CallFloatMethod(locationObject, getBearing); in TranslateFromObject() 522 sCallbackEnv->CallVoidMethod(locationObject, setBearing, location->bearing); in TranslateToObject()
|
/frameworks/base/docs/html/training/maps/ |
D | index.jd | 56 360-degree views. Programmatically control the zoom and orientation (tilt and bearing) of the
|
/frameworks/base/docs/html/guide/topics/location/ |
D | index.jd | 44 determine location and bearing of the underlying device (if available). </p>
|
/frameworks/base/docs/html/training/location/ |
D | receive-location-updates.jd | 43 further information such as the bearing (horizontal direction of travel),
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | sensors_overview.jd | 61 bearing.</p> 647 pressure, location, and compass bearing. If a device doesn't have a pressure sensor, you can use the
|
/frameworks/base/docs/html/about/versions/ |
D | android-2.3.jd | 494 and bearing, and monetary cost. </li>
|