/external/chromium_org/content/browser/geolocation/ |
network_location_request.cc | 411 // latitude and longitude fields are always required. 412 double latitude = 0; local 414 if (!GetAsDouble(*location_object, kLatitudeString, &latitude) || 420 position->latitude = latitude;
|
/packages/apps/FMRadio/src/com/android/fmradio/ |
FmUtils.java | 210 * @return the list of latitude and longitude 217 double latitude = Double.valueOf(strLatitude); local 219 return new double[] { latitude, longitude }; 225 public static void setLastSearchedLocation(Context context, double latitude, double longitude) { 228 String strLatitude = Double.valueOf(latitude).toString();
|
/cts/tests/tests/location/src/android/location/cts/ |
AddressTest.java | 116 double latitude = 1.23456789; local 117 address.setLatitude(latitude); 119 assertEquals(latitude, address.getLatitude()); 210 "countryName=null,hasLatitude=false,latitude=0.0,hasLongitude=false," +
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaMuxerTest.java | 41 private static final float LATITUDE = 0.0000f; 211 muxer.setLocation(LATITUDE, BAD_LONGITUDE); 212 fail("setLocation succeeded with bad argument: [" + LATITUDE + "," + BAD_LONGITUDE 218 muxer.setLocation(LATITUDE, LONGITUDE); 389 float latitude = Float.parseFloat(location.substring(0, index - 1)); local 391 assertTrue("Incorrect latitude: " + latitude + " [" + location + "]", 392 Math.abs(latitude - LATITUDE) <= TOLERANCE);
|
MediaRecorderTest.java | 63 private static final float LATITUDE = 0.0000f; 218 mMediaRecorder.setLocation(LATITUDE, LONGITUDE); 276 float latitude = Float.parseFloat(location.substring(0, index - 1)); local 278 assertTrue("Incorrect latitude: " + latitude, Math.abs(latitude - LATITUDE) <= TOLERANCE);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowLocation.java | 20 private double latitude; field in class:ShadowLocation 57 latitude = l.getLatitude(); 159 return latitude; 163 public void setLatitude(double latitude) { 164 this.latitude = latitude; 209 if (Double.compare(that.latitude, latitude) != 0) return false; 223 temp = latitude != +0.0d ? Double.doubleToLongBits(latitude) : 0L [all...] |
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
CameraSettings.java | 70 public final double latitude; field in class:CameraSettings.GpsData 81 * {@code latitude}, {@code longitude}, and {@code altitude} will be 84 public GpsData(double latitude, double longitude, double altitude, long timeStamp, 87 (latitude != 0.0 || longitude != 0.0 || altitude != 0.0)) { 90 this.latitude = latitude; 99 this.latitude = src.latitude;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
ClusterManager.java | 80 private static final String SEMANTIC_LATITUDE = "Latitude"; 266 double latitude = Double.valueOf(map.get(SEMANTIC_LATITUDE)); local 269 new BaseCluster(semanticId, longitude, latitude, duration);
|
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
demo.c | 200 // latitude 0 to pi/2 for no mirrored bottom 210 int a, longitude, latitude; local 227 // latitude 0 to pi/2 228 for (latitude = latitudeBegin; latitude < latitudeEnd; ++latitude) 232 float p1 = -PI / 2 + latitude * 2 * PI / resol2; 233 float p2 = -PI / 2 + (latitude + 1) * 2 * PI / resol2; 255 if (latitude == latitudeBegin + 1) 335 } // latitude [all...] |
/device/asus/flo/camera/QCamera2/HAL3/ |
QCamera3Channel.cpp | 1697 rat_t latitude[3]; local [all...] |
/device/lge/hammerhead/camera/QCamera2/HAL3/ |
QCamera3Channel.cpp | 1892 rat_t latitude[3]; local [all...] |
/device/moto/shamu/camera/QCamera/HAL2/core/inc/ |
QCameraHWI.h | 166 rat_t latitude[3]; member in struct:__anon3892
|
/frameworks/base/core/java/android/hardware/camera2/ |
DngCreator.java | 217 * The given location object must contain at least a valid time, latitude, and longitude 233 double latitude = location.getLatitude(); local 237 int[] latTag = toExifLatLong(latitude); 239 String latRef = latitude >= 0 ? GPS_LAT_REF_NORTH : GPS_LAT_REF_SOUTH;
|
/frameworks/native/opengl/tests/angeles/ |
demo.c | 200 // latitude 0 to pi/2 for no mirrored bottom 210 int a, longitude, latitude; local 227 // latitude 0 to pi/2 228 for (latitude = latitudeBegin; latitude < latitudeEnd; ++latitude) 232 float p1 = -PI / 2 + latitude * 2 * PI / resol2; 233 float p2 = -PI / 2 + (latitude + 1) * 2 * PI / resol2; 255 if (latitude == latitudeBegin + 1) 335 } // latitude [all...] |
/hardware/libhardware/include/hardware/ |
fused_location.h | 103 /** FlpLocation has valid latitude and longitude. */ 125 /** Represents latitude in degrees. */ 126 double latitude; member in struct:__anon20412 337 * latitude and longitude are measured in degrees 611 double latitude; member in struct:__anon20422
|
/device/asus/flo/camera/QCamera2/HAL/ |
QCamera2HWI.cpp | 4083 rat_t latitude[3]; local [all...] |
/device/lge/hammerhead/camera/QCamera2/HAL/ |
QCamera2HWI.cpp | 4083 rat_t latitude[3]; local [all...] |
/device/moto/shamu/camera/QCamera2/HAL3/ |
QCamera3Channel.cpp | 2498 rat_t latitude[3]; local [all...] |
/frameworks/base/core/jni/ |
android_hardware_camera2_DngCreator.cpp | 1569 uint32_t latitude[GPS_VALUE_LENGTH]; local [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_location_GpsLocationProvider.cpp | 91 (jdouble)location->latitude, (jdouble)location->longitude, 357 location->flags, (jdouble)location->latitude, (jdouble)location->longitude, 369 jdouble latitude = 0; local 378 latitude = location->latitude; 388 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp); 708 jdouble latitude, jdouble longitude, jfloat accuracy) 711 sGpsInterface->inject_location(latitude, longitude, accuracy); 849 jint geofence_id, jdouble latitude, jdouble longitude, jdouble radius, 853 sGpsGeofencingInterface->add_geofence_area(geofence_id, latitude, longitude [all...] |
/hardware/qcom/gps/core/ |
gps_extended_c.h | 212 /** GpsLocationExtended has valid latitude and longitude. */ 268 double latitude; member in struct:GpsExtLocation_s
|
/hardware/ti/omap4xxx/test/CameraHal/ |
camera_test_menu.cpp | 43 double latitude = 0.0; variable 1209 printf(" e. Latitude: %.7lf\n", latitude); 1226 latitude += degree_by_step; 1228 if (latitude > 90.0) { 1229 latitude -= 180.0; 1232 snprintf(coord_str, 7, "%.7lf", latitude); [all...] |
/packages/apps/Camera2/src/com/android/camera/data/ |
LocalMediaData.java | 86 int width, int height, long sizeInBytes, double latitude, 97 mLatitude = latitude; 354 MediaStore.Images.ImageColumns.LATITUDE, // 10, double 378 long sizeInBytes, double latitude, double longitude) { 380 path, width, height, sizeInBytes, latitude, longitude); 427 double latitude = c.getDouble(COL_LATITUDE); local 431 sizeInBytes, latitude, longitude); 649 MediaStore.Video.VideoColumns.LATITUDE, // 9 double 661 double latitude, double longitude, long durationInSeconds) { 663 path, width, height, sizeInBytes, latitude, longitude) 741 double latitude = c.getDouble(COL_LATITUDE); local [all...] |
/device/lge/mako/camera/QCamera/HAL/core/inc/ |
QCameraHWI.h | 211 rat_t latitude[3]; member in struct:__anon3499
|
/device/lge/mako/camera/QCamera/HAL/core/src/ |
QCameraHWI_Parm.cpp | 3114 const char *latitude = params.get(CameraParameters::KEY_GPS_LATITUDE); local [all...] |