/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...] |
/frameworks/base/location/java/android/location/ |
Location.java | 31 * bearing. 376 * shortest path between them. Distance and bearing are defined using the 380 * 2 or greater, the initial bearing is stored in results[1]. If results has 381 * length 3 or greater, the final bearing is stored in results[2]. 427 * Returns the approximate initial bearing in degrees East of true 434 * @return the initial bearing in degrees 582 * Returns true if the provider is able to report bearing information, 598 * Sets the bearing of this fix. Following this call, hasBearing() 601 public void setBearing(float bearing) { 602 while (bearing < 0.0f) [all...] |
/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);
|
/cts/tests/tests/location/src/android/location/cts/ |
LocationTest.java | 112 float bearing; local 121 bearing = zeroLocation.bearingTo(zeroLocation); 122 assertEquals(0.0f, bearing, DELTA); 124 bearing = zeroLocation.bearingTo(testLocation); 125 assertEquals(90.0f, bearing, DELTA); 129 bearing = zeroLocation.bearingTo(testLocation); 130 assertEquals(0.0f, bearing, DELTA);
|
/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;
|
/hardware/libhardware/include/hardware/ |
gps.h | 86 /** GpsLocation has valid bearing. */ 245 float bearing; member in struct:__anon9485
|
/sdk/emulator/gps/ |
gps_qemu.c | 379 Token bearing ) 382 Token tok = bearing; 388 r->fix.bearing = str2float(tok.p, tok.end); 509 p += snprintf(p, end-p, " bearing=%g", r->fix.bearing);
|
/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...] |
/frameworks/base/services/jni/ |
com_android_server_location_GpsLocationProvider.cpp | 76 (jfloat)location->speed, (jfloat)location->bearing,
|
/frameworks/base/services/java/com/android/server/location/ |
GpsLocationProvider.java | 645 * Returns true if the provider is able to provide bearing 646 * information, false otherwise. A provider that reports bearing [all...] |
/hardware/qcom/gps/loc_api/libloc_api/ |
loc_eng.cpp | 792 location.bearing = location_report_ptr->heading; [all...] |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/8/ |
android.jar | |
/prebuilt/sdk/9/ |
android.jar | |