Home
last modified time | relevance | path

Searched refs:accuracy (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/location/java/android/location/
DCriteria.java125 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 …]
DILocationManager.aidl80 boolean supportsSpeed, boolean supportsBearing, int powerRequirement, int accuracy); in addTestProvider() argument
DLocation.java641 public void setAccuracy(float accuracy) { in setAccuracy() argument
642 mAccuracy = accuracy; in setAccuracy()
/frameworks/base/core/java/android/webkit/
DMockGeolocation.java32 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
DDeviceMotionService.java173 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
DDeviceOrientationService.java220 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DLayoutTestController.java103 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/
DDummyLocationProvider.java81 public void setAccuracy(int accuracy) { in setAccuracy() argument
82 mAccuracy = accuracy; in setAccuracy()
/frameworks/base/core/java/android/hardware/
DSensorManager.java500 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
DSensorEventListener.java48 public void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged() argument
DSensorListener.java100 public void onAccuracyChanged(int sensor, int accuracy); in onAccuracyChanged() argument
DSensorEvent.java446 public int accuracy; field in SensorEvent
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerEntry.java221 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/
Dobtaining-user-location.jd63 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/
DMockProvider.java62 boolean supportsSpeed, boolean supportsBearing, int powerRequirement, int accuracy) { in MockProvider() argument
73 mAccuracy = accuracy; in MockProvider()
/frameworks/base/core/java/android/view/
DOrientationListener.java93 public void onAccuracyChanged(int sensor, int accuracy) { in onAccuracyChanged() argument
DOrientationEventListener.java147 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp138 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/
Doper_32b.h41 Word32 rsqrt(Word32 value, Word32 accuracy);
Doper_32b.c244 Word32 accuracy) /*!< Number of valid bits that will be calculated */ in rsqrt() argument
/frameworks/base/services/java/com/android/server/
DLocationManagerService.java706 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/
Dcom_android_server_location_GpsLocationProvider.cpp78 (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/
DCallbackProxy.java499 double accuracy) { in setMockGeolocationPosition() argument
502 accuracy); in setMockGeolocationPosition()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModelView.java188 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
/frameworks/base/docs/html/resources/articles/
Dspeech-input.jd83 model to improve dictation accuracy for the voice keyboard,
92 more languages, and to improve the accuracy of the speech recognition technology

12