Searched refs:accuracy (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/hardware/
H A DSensorEventListener.java42 * Called when the accuracy of a sensor has changed.
46 * @param accuracy The new accuracy of this sensor
48 public void onAccuracyChanged(Sensor sensor, int accuracy); argument
H A DSensorListener.java93 * Called when the accuracy of a sensor has changed.
98 * @param accuracy The new accuracy of this sensor.
100 public void onAccuracyChanged(int sensor, int accuracy); argument
H A DSensorEvent.java22 * holds informations such as the sensor's type, the time-stamp, accuracy and of
443 * The accuracy of this event. See {@link android.hardware.SensorManager
446 public int accuracy; field in class:SensorEvent
H A DSensorManager.java73 * public void onAccuracyChanged(Sensor sensor, int accuracy) {
329 * This sensor is reporting data with low accuracy, calibration with the
335 * This sensor is reporting data with an average level of accuracy,
340 /** This sensor is reporting data with maximum accuracy */
500 int accuracy = status[0];
526 values, timestamp, accuracy);
560 // Only report accuracy for sensors that support it.
564 final int accuracy = mSensorAccuracies.get(handle);
565 if ((t.accuracy >= 0) && (accuracy !
607 onSensorChangedLocked(Sensor sensor, float[] values, long[] timestamp, int accuracy) argument
1703 onAccuracyChanged(Sensor sensor, int accuracy) argument
[all...]
/frameworks/base/location/java/android/location/
H A DCriteria.java24 * location provider. Providers maybe ordered according to accuracy,
51 * A constant indicating a finer location accuracy requirement
56 * A constant indicating an approximate accuracy requirement
61 * A constant indicating a low location accuracy requirement
62 * - may be used for horizontal, altitude, speed or bearing accuracy.
64 * an accuracy of greater than 500 meters.
69 * A constant indicating a medium accuracy requirement
70 * - currently used only for horizontal accuracy.
71 * For horizontal position this corresponds roughly to to an accuracy
77 * a constant indicating a high accuracy requiremen
125 setHorizontalAccuracy(int accuracy) argument
149 setVerticalAccuracy(int accuracy) argument
173 setSpeedAccuracy(int accuracy) argument
197 setBearingAccuracy(int accuracy) argument
221 setAccuracy(int accuracy) argument
[all...]
H A DILocationManager.aidl80 boolean supportsSpeed, boolean supportsBearing, int powerRequirement, int accuracy);
H A DLocation.java622 * Returns true if the provider is able to report accuracy information,
630 * Returns the accuracy of the fix in meters. If hasAccuracy() is false,
638 * Sets the accuracy of this fix. Following this call, hasAccuracy()
641 public void setAccuracy(float accuracy) { argument
642 mAccuracy = accuracy;
647 * Clears the accuracy of this fix. Following this call, hasAccuracy()
H A DLocationManager.java271 provider.setAccuracy(info.getInt("accuracy"));
364 * accuracy is returned. If no provider meets the criteria,
369 * <li> accuracy
1045 * @param accuracy
1054 boolean supportsSpeed, boolean supportsBearing, int powerRequirement, int accuracy) {
1058 accuracy);
1052 addTestProvider(String name, boolean requiresNetwork, boolean requiresSatellite, boolean requiresCell, boolean hasMonetaryCost, boolean supportsAltitude, boolean supportsSpeed, boolean supportsBearing, int powerRequirement, int accuracy) argument
/frameworks/base/core/java/android/webkit/
H A DMockGeolocation.java32 public void setPosition(double latitude, double longitude, double accuracy) { argument
34 nativeSetPosition(latitude, longitude, accuracy);
57 private static native void nativeSetPosition(double latitude, double longitude, double accuracy); argument
H A DDeviceMotionService.java173 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
H A DDeviceOrientationService.java220 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DLayoutTestController.java103 public void setMockGeolocationPosition(double latitude, double longitude, double accuracy) { argument
105 " longitude=" + longitude + " accuracy=" + accuracy);
106 MockGeolocation.getInstance().setPosition(latitude, longitude, accuracy);
/frameworks/base/location/java/com/android/internal/location/
H A DDummyLocationProvider.java81 public void setAccuracy(int accuracy) { argument
82 mAccuracy = accuracy;
161 * Returns a constant describing the horizontal accuracy returned
164 * @return the horizontal accuracy for this provider, as one of the
/frameworks/base/core/java/android/view/
H A DOrientationListener.java93 public void onAccuracyChanged(int sensor, int accuracy) { argument
H A DOrientationEventListener.java147 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
H A DWindowOrientationListener.java348 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
/frameworks/base/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.h41 Word32 rsqrt(Word32 value, Word32 accuracy);
H A Doper_32b.c244 Word32 accuracy) /*!< Number of valid bits that will be calculated */
243 rsqrt(Word32 value, Word32 accuracy) argument
/frameworks/base/services/java/com/android/server/location/
H A DMockProvider.java62 boolean supportsSpeed, boolean supportsBearing, int powerRequirement, int accuracy) {
73 mAccuracy = accuracy;
59 MockProvider(String name, ILocationManager locationManager, boolean requiresNetwork, boolean requiresSatellite, boolean requiresCell, boolean hasMonetaryCost, boolean supportsAltitude, boolean supportsSpeed, boolean supportsBearing, int powerRequirement, int accuracy) argument
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerEntry.java221 Float accuracy = getNullableFloat(cursor, ACCURACY);
222 if (accuracy != null) {
223 location.setAccuracy(accuracy);
/frameworks/base/core/jni/
H A Dandroid_hardware_SensorManager.cpp138 jint accuracy = event.vector.status;
140 env->SetIntArrayRegion(status, 0, 1, &accuracy);
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSimpleModelView.java188 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
/frameworks/base/services/java/com/android/server/
H A DLocationManagerService.java702 * Returns the next looser accuracy requirement, in the sequence:
706 private int nextAccuracy(int accuracy) { argument
707 if (accuracy == Criteria.ACCURACY_FINE) {
787 // Next, sort by accuracy
811 * accuracy is returned. If no provider meets the criteria,
816 * <li> accuracy
849 // Loosen accuracy requirement
850 int accuracy = criteria.getAccuracy();
851 while (goodProviders.isEmpty() && (accuracy != Criteria.NO_REQUIREMENT)) {
852 accuracy
1393 isInProximity(double latitude, double longitude, float accuracy) argument
2070 addTestProvider(String name, boolean requiresNetwork, boolean requiresSatellite, boolean requiresCell, boolean hasMonetaryCost, boolean supportsAltitude, boolean supportsSpeed, boolean supportsBearing, int powerRequirement, int accuracy) argument
[all...]
/frameworks/base/services/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp78 (jfloat)location->accuracy, (jlong)location->timestamp);
451 jdouble latitude, jdouble longitude, jfloat accuracy)
454 sGpsInterface->inject_location(latitude, longitude, accuracy);
450 android_location_GpsLocationProvider_inject_location(JNIEnv* env, jobject obj, jdouble latitude, jdouble longitude, jfloat accuracy) argument
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DCallbackProxy.java499 double accuracy) {
502 accuracy);
497 setMockGeolocationPosition(double latitude, double longitude, double accuracy) argument

Completed in 472 milliseconds

12