/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowLocation.java | 23 private float bearing; field in class:ShadowLocation 60 bearing = l.getBearing(); 136 return bearing; 140 public void setBearing(float bearing) { 141 this.bearing = bearing; 147 this.bearing = 0.0f; 347 * shortest path between them. Distance and bearing are defined using the 351 * 2 or greater, the initial bearing is stored in results[1]. If results has 352 * length 3 or greater, the final bearing is stored in results[2] [all...] |
/frameworks/base/location/tests/locationtests/src/android/location/ |
LocationTest.java | 126 float bearing; local 135 bearing = zeroLocation.bearingTo(zeroLocation); 136 message = "bearingToTest: Bearing should be 0, actual value is " + String.valueOf(bearing); 137 assertEquals(message, 0, bearing, 0); 139 bearing = zeroLocation.bearingTo(testLocation); 140 message = "bearingToTest: Bearing should be 180, actual value is " + 141 String.valueOf(bearing); 142 assertEquals(message, 180, bearing, 0); 146 bearing = zeroLocation.bearingTo(testLocation) [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
LocationTest.java | 79 float bearing; local 88 bearing = zeroLocation.bearingTo(zeroLocation); 89 assertEquals(0.0f, bearing, DELTA); 91 bearing = zeroLocation.bearingTo(testLocation); 92 assertEquals(90.0f, bearing, DELTA); 96 bearing = zeroLocation.bearingTo(testLocation); 97 assertEquals(0.0f, bearing, DELTA);
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
TrackerEntry.java | 47 static final String BEARING = "Bearing"; 59 ALTITUDE, SPEED, BEARING, DIST_NET_LOCATION, LOC_TIME, DEBUG_INFO}; 187 cValues.put(BEARING, mLocation.getBearing()); 229 Float bearing = getNullableFloat(cursor, BEARING); local 230 if (bearing != null) { 231 location.setBearing(bearing);
|
/frameworks/base/core/java/android/hardware/location/ |
GeofenceHardwareImpl.java | 338 double longitude, double altitude, float speed, float bearing, float accuracy, 361 location.setBearing(bearing); 377 double longitude, double altitude, float speed, float bearing, float accuracy, 380 " Long: " + longitude + " Altitude: " + altitude + " Speed: " + speed + " Bearing: " + 381 bearing + " Accuracy: " + accuracy + " Timestamp: " + timestamp + " Transition: " + 383 Location location = getLocation(flags, latitude, longitude, altitude, speed, bearing, 395 double longitude, double altitude, float speed, float bearing, float accuracy, 397 Location location = getLocation(flags, latitude, longitude, altitude, speed, bearing,
|
/frameworks/base/location/java/android/location/ |
Location.java | 33 * and other information such as bearing, altitude and velocity. 111 * has no bearing, altitude, speed, accuracy or extras. 391 * shortest path between them. Distance and bearing are defined using the 395 * 2 or greater, the initial bearing is stored in results[1]. If results has 396 * length 3 or greater, the final bearing is stored in results[2]. 442 * Returns the approximate initial bearing in degrees East of true 449 * @return the initial bearing in degrees 653 * True if this location has a bearing. 660 * Get the bearing, in degrees. 662 * <p>Bearing is the horizontal direction of travel of this device [all...] |
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
NavCalculator.java | 289 * @param bearing The bearing between the offset and the coordinate 526 * Computes the bearing between two points. 534 int bearing; local 539 bearing = (int) Math.toDegrees(Math.atan2(y, x)); 540 return bearing;
|
/external/freetype/src/sfnt/ |
ttmtx.c | 195 cur->bearing = FT_NEXT_SHORT( p ); 332 /* given glyph. The metrics are the left side bearing (resp. top */ 333 /* side bearing) and advance width (resp. advance height). */ 342 /* bearing :: The bearing, either left side or top side. */ 453 *abearing = longs_m->bearing;
|
/frameworks/base/services/jni/ |
com_android_server_location_GpsLocationProvider.cpp | 84 (jfloat)location->speed, (jfloat)location->bearing, 251 (jfloat)location->speed, (jfloat)location->bearing, 265 jfloat bearing = 0; local 274 bearing = location->bearing; 280 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp);
|
/device/generic/goldfish/gps/ |
gps_qemu.c | 379 Token bearing ) 382 Token tok = bearing; 388 r->fix.bearing = str2float(tok.p, tok.end); 523 p += snprintf(p, end-p, " bearing=%g", r->fix.bearing);
|
/frameworks/base/services/java/com/android/server/location/ |
GpsLocationProvider.java | [all...] |
/external/freetype/include/freetype/internal/ |
tttypes.h | 152 /* bearing :: The left-side or top-side bearing for the glyph. */ 157 FT_Short bearing; member in struct:TT_LongMetricsRec_ 423 /* horiBearingX :: The horizontal left bearing. */ 425 /* horiBearingY :: The horizontal top bearing. */ 429 /* vertBearingX :: The vertical left bearing. */ 431 /* vertBearingY :: The vertical top bearing. */ 466 /* bearingX :: The left-side bearing. */ 468 /* bearingY :: The top-side bearing. */ [all...] |
/hardware/libhardware/include/hardware/ |
gps.h | 86 /** GpsLocation has valid bearing. */ 255 float bearing; member in struct:__anon20672
|
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/4/ |
android.jar | |
/prebuilts/sdk/6/ |
android.jar | |
/prebuilts/sdk/8/ |
android.jar | |
/prebuilts/sdk/9/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |