/frameworks/base/location/java/android/location/ |
D | Criteria.java | 125 public void setHorizontalAccuracy(int accuracy) { in setHorizontalAccuracy() argument 126 if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_HIGH) { in setHorizontalAccuracy() 127 throw new IllegalArgumentException("accuracy=" + accuracy); in setHorizontalAccuracy() 129 mHorizontalAccuracy = accuracy; in setHorizontalAccuracy() 149 public void setVerticalAccuracy(int accuracy) { in setVerticalAccuracy() argument 150 if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_HIGH) { in setVerticalAccuracy() 151 throw new IllegalArgumentException("accuracy=" + accuracy); in setVerticalAccuracy() 153 mVerticalAccuracy = accuracy; in setVerticalAccuracy() 173 public void setSpeedAccuracy(int accuracy) { in setSpeedAccuracy() argument 174 if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_HIGH) { in setSpeedAccuracy() [all …]
|
/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 343 protected abstract void dispatchSensorEvent(int handle, float[] values, int accuracy, in dispatchSensorEvent() argument 396 t.accuracy = inAccuracy; in dispatchSensorEvent() 403 final int accuracy = mSensorAccuracies.get(handle); in dispatchSensorEvent() local 404 if ((t.accuracy >= 0) && (accuracy != t.accuracy)) { in dispatchSensorEvent() 405 mSensorAccuracies.put(handle, t.accuracy); in dispatchSensorEvent() 406 mListener.onAccuracyChanged(t.sensor, t.accuracy); in dispatchSensorEvent() 460 protected void dispatchSensorEvent(int handle, float[] values, int accuracy, in dispatchSensorEvent() argument
|
D | SensorListener.java | 100 public void onAccuracyChanged(int sensor, int accuracy); in onAccuracyChanged() argument
|
D | SensorEventListener.java | 48 public void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged() argument
|
D | SensorEvent.java | 497 public int accuracy; field in SensorEvent
|
D | LegacySensorManager.java | 248 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument 250 mTarget.onAccuracyChanged(getLegacySensorType(sensor.getType()), accuracy); in onAccuracyChanged() local
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | ProviderPropertiesUnbundled.java | 34 int powerRequirement, int accuracy) { in create() argument 37 supportsBearing, powerRequirement, accuracy)); in create()
|
/frameworks/base/location/java/com/android/internal/location/ |
D | ProviderProperties.java | 124 int accuracy = in.readInt(); 127 powerRequirement, accuracy);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | LocationStatsAggregator.java | 164 float accuracy = location.getAccuracy(); in getLastKnownLocation() local 167 if (currTime - time < FRESH_THRESHOLD && accuracy < bestAccuracy) { in getLastKnownLocation() 169 bestAccuracy = accuracy; in getLastKnownLocation()
|
/frameworks/base/services/jni/ |
D | com_android_server_location_GpsLocationProvider.cpp | 86 (jfloat)location->accuracy, (jlong)location->timestamp); in location_callback() 253 (jfloat)location->accuracy, (jlong)location->timestamp, in gps_geofence_transition_callback() 267 jfloat accuracy = 0; in gps_geofence_status_callback() local 276 accuracy = location->accuracy; in gps_geofence_status_callback() 281 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp); in gps_geofence_status_callback() 566 jdouble latitude, jdouble longitude, jfloat accuracy) in android_location_GpsLocationProvider_inject_location() argument 569 sGpsInterface->inject_location(latitude, longitude, accuracy); in android_location_GpsLocationProvider_inject_location()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | TrackerEntry.java | 221 Float accuracy = getNullableFloat(cursor, ACCURACY); in createEntry() local 222 if (accuracy != null) { in createEntry() 223 location.setAccuracy(accuracy); in createEntry()
|
/frameworks/base/docs/html/guide/topics/location/ |
D | strategies.jd | 39 providers, user movement, and location accuracy. It also handles 41 you'll get better battery performance, as well as more appropriate accuracy, by using the 69 and trust is a matter of trade-offs in accuracy, speed, and battery-efficiency.</p> 75 <li><b>Varying accuracy</b> 77 accuracy. A location obtained 10 seconds ago from one source might be more accurate than the newest 169 accuracy, user movement, the multitude of methods to obtain the location, and the desire to conserve 205 accuracy.</p> 237 when the location is used, improves the accuracy of the estimate. Always beware that listening for a 250 However, because the accuracy of a location fix varies, the most recent fix is not always the best. 254 <p>Here are a few steps you can take to validate the accuracy of a location fix:</p> [all …]
|
/frameworks/base/core/java/android/view/ |
D | OrientationListener.java | 93 public void onAccuracyChanged(int sensor, int accuracy) { in onAccuracyChanged() argument
|
D | OrientationEventListener.java | 147 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
|
/frameworks/base/services/java/com/android/server/location/ |
D | LocationFudger.java | 156 float accuracy = loadCoarseAccuracy(); in LocationFudger() local 158 setAccuracyInMetersLocked(accuracy); in LocationFudger()
|
D | GpsLocationProvider.java | 1128 float speed, float bearing, float accuracy, long timestamp) { in reportLocation() argument 1158 mLocation.setAccuracy(accuracy); in reportLocation() 1442 float accuracy, in buildLocation() argument 1461 location.setAccuracy(accuracy); in buildLocation() 1493 double longitude, double altitude, float speed, float bearing, float accuracy, in reportGeofenceTransition() argument 1505 accuracy, in reportGeofenceTransition() 1520 double longitude, double altitude, float speed, float bearing, float accuracy, in reportGeofenceStatus() argument 1532 accuracy, in reportGeofenceStatus() 1888 private native void native_inject_location(double latitude, double longitude, float accuracy); in native_inject_location() argument
|
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/ |
D | oper_32b.h | 41 Word32 rsqrt(Word32 value, Word32 accuracy);
|
D | oper_32b.c | 244 Word32 accuracy) /*!< Number of valid bits that will be calculated */ in rsqrt() argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | MotionSensor.java | 68 public final void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | Balls.java | 70 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
|
/frameworks/base/docs/html/training/location/ |
D | receive-location-updates.jd | 49 {@link android.content.Intent} that contains the location in its extended data. The accuracy and 59 permission you choose affects the accuracy of the location updates you receive. 61 updated location to an accuracy that's roughly equivalent to a city block. 348 Location Services allows you to control the interval between updates and the location accuracy 398 Next, set the accuracy parameter. In a foreground app, you need constant location updates with 399 high accuracy, so use the setting 403 The following snippet shows how to set the update interval and accuracy in 427 // Define an object that holds accuracy and frequency parameters 435 // Use high accuracy
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | MotionSensorWTime.java | 74 public final void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | sensors_position.jd | 167 and the geomagnetic field sensor. Because of the heavy processing that is involved, the accuracy and 196 public void onAccuracyChanged(Sensor sensor, int accuracy) { 197 // Do something here if sensor accuracy changes. 286 public final void onAccuracyChanged(Sensor sensor, int accuracy) { 287 // Do something here if sensor accuracy changes.
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
D | SimpleModelView.java | 188 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
|
/frameworks/base/services/java/com/android/server/power/ |
D | WirelessChargerDetector.java | 345 public void onAccuracyChanged(Sensor sensor, int accuracy) {
|