/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 …]
|
D | ILocationManager.aidl | 80 boolean supportsSpeed, boolean supportsBearing, int powerRequirement, int accuracy); in addTestProvider() argument
|
D | Location.java | 641 public void setAccuracy(float accuracy) { in setAccuracy() argument 642 mAccuracy = accuracy; in setAccuracy()
|
/frameworks/base/core/java/android/webkit/ |
D | MockGeolocation.java | 32 public void setPosition(double latitude, double longitude, double accuracy) { in setPosition() argument 34 nativeSetPosition(latitude, longitude, accuracy); in setPosition() 57 … private static native void nativeSetPosition(double latitude, double longitude, double accuracy); in nativeSetPosition() argument
|
D | DeviceMotionService.java | 173 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
|
D | DeviceOrientationService.java | 220 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
D | LayoutTestController.java | 103 public void setMockGeolocationPosition(double latitude, double longitude, double accuracy) { in setMockGeolocationPosition() argument 105 " longitude=" + longitude + " accuracy=" + accuracy); in setMockGeolocationPosition() 106 MockGeolocation.getInstance().setPosition(latitude, longitude, accuracy); in setMockGeolocationPosition()
|
/frameworks/base/location/java/com/android/internal/location/ |
D | DummyLocationProvider.java | 81 public void setAccuracy(int accuracy) { in setAccuracy() argument 82 mAccuracy = accuracy; in setAccuracy()
|
/frameworks/base/core/java/android/hardware/ |
D | SensorManager.java | 500 int accuracy = status[0]; in run() local 526 values, timestamp, accuracy); in run() 564 final int accuracy = mSensorAccuracies.get(handle); in ListenerDelegate() 565 if ((t.accuracy >= 0) && (accuracy != t.accuracy)) { in ListenerDelegate() 566 mSensorAccuracies.put(handle, t.accuracy); in ListenerDelegate() 567 mSensorEventListener.onAccuracyChanged(t.sensor, t.accuracy); in ListenerDelegate() 607 void onSensorChangedLocked(Sensor sensor, float[] values, long[] timestamp, int accuracy) { in onSensorChangedLocked() argument 614 t.accuracy = accuracy; in onSensorChangedLocked() 1703 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument 1705 mTarget.onAccuracyChanged(sensor.getLegacyType(), accuracy); in onAccuracyChanged() local
|
D | SensorEventListener.java | 48 public void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged() argument
|
D | SensorListener.java | 100 public void onAccuracyChanged(int sensor, int accuracy); in onAccuracyChanged() argument
|
D | SensorEvent.java | 446 public int accuracy; field in SensorEvent
|
/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 | obtaining-user-location.jd | 63 and trust is a matter of trade-offs in accuracy, speed, and battery-efficiency.</p> 69 <li><b>Varying accuracy</b> 71 accuracy. A location obtained 10 seconds ago from one source might be more accurate than the newest 163 accuracy, user movement, the multitude of methods to obtain the location, and the desire to conserve 199 accuracy.</p> 231 when the location is used, improves the accuracy of the estimate. Always beware that listening for a 244 However, because the accuracy of a location fix varies, the most recent fix is not always the best. 248 <p>Here are a few steps you can take to validate the accuracy of a location fix:</p> 251 <li>Check if the accuracy claimed by the location is better or worse than the previous 296 // Determine location quality using a combination of timeliness and accuracy [all …]
|
/frameworks/base/services/java/com/android/server/location/ |
D | MockProvider.java | 62 boolean supportsSpeed, boolean supportsBearing, int powerRequirement, int accuracy) { in MockProvider() argument 73 mAccuracy = accuracy; in MockProvider()
|
/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/core/jni/ |
D | android_hardware_SensorManager.cpp | 138 jint accuracy = event.vector.status; in sensors_data_poll() local 140 env->SetIntArrayRegion(status, 0, 1, &accuracy); in sensors_data_poll()
|
/frameworks/base/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/services/java/com/android/server/ |
D | LocationManagerService.java | 706 private int nextAccuracy(int accuracy) { in nextAccuracy() argument 707 if (accuracy == Criteria.ACCURACY_FINE) { in nextAccuracy() 850 int accuracy = criteria.getAccuracy(); in getBestProvider() local 851 while (goodProviders.isEmpty() && (accuracy != Criteria.NO_REQUIREMENT)) { in getBestProvider() 852 accuracy = nextAccuracy(accuracy); in getBestProvider() 853 criteria.setAccuracy(accuracy); in getBestProvider() 1393 boolean isInProximity(double latitude, double longitude, float accuracy) { in isInProximity() argument 1399 return radius <= Math.max(mRadius,accuracy); in isInProximity() 1439 float accuracy = loc.getAccuracy(); in onLocationChanged() local 1449 alert.isInProximity(latitude, longitude, accuracy); in onLocationChanged() [all …]
|
/frameworks/base/services/jni/ |
D | com_android_server_location_GpsLocationProvider.cpp | 78 (jfloat)location->accuracy, (jlong)location->timestamp); in location_callback() 451 jdouble latitude, jdouble longitude, jfloat accuracy) in android_location_GpsLocationProvider_inject_location() argument 454 sGpsInterface->inject_location(latitude, longitude, accuracy); in android_location_GpsLocationProvider_inject_location()
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
D | CallbackProxy.java | 499 double accuracy) { in setMockGeolocationPosition() argument 502 accuracy); in setMockGeolocationPosition()
|
/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/docs/html/resources/articles/ |
D | speech-input.jd | 83 model to improve dictation accuracy for the voice keyboard, 92 more languages, and to improve the accuracy of the speech recognition technology
|