Searched refs:bearing (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/location/tests/locationtests/src/android/location/ |
D | LocationTest.java | 126 float bearing; in testBearingTo() local 135 bearing = zeroLocation.bearingTo(zeroLocation); in testBearingTo() 136 message = "bearingToTest: Bearing should be 0, actual value is " + String.valueOf(bearing); in testBearingTo() 137 assertEquals(message, 0, bearing, 0); in testBearingTo() 139 bearing = zeroLocation.bearingTo(testLocation); in testBearingTo() 141 String.valueOf(bearing); in testBearingTo() 142 assertEquals(message, 180, bearing, 0); in testBearingTo() 146 bearing = zeroLocation.bearingTo(testLocation); in testBearingTo() 148 String.valueOf(bearing); in testBearingTo() 149 assertEquals(message, -90, bearing, 0); in testBearingTo()
|
/frameworks/base/location/java/android/location/ |
D | Location.java | 601 public void setBearing(float bearing) { in setBearing() argument 602 while (bearing < 0.0f) { in setBearing() 603 bearing += 360.0f; in setBearing() 605 while (bearing >= 360.0f) { in setBearing() 606 bearing -= 360.0f; in setBearing() 608 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/docs/html/guide/topics/location/ |
D | index.jd | 10 device's location and bearing and register for updates</li> 40 determine location and bearing of the underlying device (if available). </p>
|
/frameworks/base/services/jni/ |
D | com_android_server_location_GpsLocationProvider.cpp | 77 (jfloat)location->speed, (jfloat)location->bearing, in location_callback()
|
/frameworks/base/services/java/com/android/server/location/ |
D | GpsLocationProvider.java | 1049 float speed, float bearing, float accuracy, long timestamp) { in reportLocation() argument 1071 mLocation.setBearing(bearing); in reportLocation()
|
/frameworks/base/docs/html/sdk/ |
D | android-2.3.jd | 584 and bearing, and monetary cost. </li>
|