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

/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
321 * The accuracy of this event. See {@link android.hardware.SensorManager
324 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 */
448 int accuracy = status[0];
474 values, timestamp, accuracy);
509 // Only report accuracy for sensors that support it.
513 final int accuracy = mSensorAccuracies.get(handle);
514 if ((t.accuracy >= 0) && (accuracy !
584 onSensorChangedLocked(Sensor sensor, float[] values, long[] timestamp, int accuracy) argument
1679 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
1041 * @param accuracy
1050 boolean supportsSpeed, boolean supportsBearing, int powerRequirement, int accuracy) {
1054 accuracy);
1048 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
/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.java148 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
H A DWindowOrientationListener.java141 * - Use the magnitude to judge the accuracy of the data. Under ideal conditions, the magnitude
145 * - Use the tilt angle to judge the accuracy of orientation data. When the tilt angle is high
477 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
H A DGpsLocationProvider.java673 * Returns the horizontal accuracy of this provider
675 * @return the accuracy of location from this provider, as one
1022 float speed, float bearing, float accuracy, long timestamp) {
1049 mLocation.setAccuracy(accuracy);
1589 private native void native_inject_location(double latitude, double longitude, float accuracy); argument
1021 reportLocation(int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) 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/DumpRenderTree/src/com/android/dumprendertree/
H A DCallbackProxy.java481 double accuracy) {
484 accuracy);
479 setMockGeolocationPosition(double latitude, double longitude, double accuracy) argument
/frameworks/base/services/java/com/android/server/
H A DLocationManagerService.java687 * Returns the next looser accuracy requirement, in the sequence:
691 private int nextAccuracy(int accuracy) { argument
692 if (accuracy == Criteria.ACCURACY_FINE) {
772 // Next, sort by accuracy
796 * accuracy is returned. If no provider meets the criteria,
801 * <li> accuracy
834 // Loosen accuracy requirement
835 int accuracy = criteria.getAccuracy();
836 while (goodProviders.isEmpty() && (accuracy != Criteria.NO_REQUIREMENT)) {
837 accuracy
1364 isInProximity(double latitude, double longitude, float accuracy) argument
2038 addTestProvider(String name, boolean requiresNetwork, boolean requiresSatellite, boolean requiresCell, boolean hasMonetaryCost, boolean supportsAltitude, boolean supportsSpeed, boolean supportsBearing, int powerRequirement, int accuracy) argument
[all...]
H A DPowerManagerService.java2965 public void onAccuracyChanged(Sensor sensor, int accuracy) {
3000 public void onAccuracyChanged(Sensor sensor, int accuracy) {
/frameworks/base/services/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp77 (jfloat)location->accuracy, (jlong)location->timestamp);
478 jdouble latitude, jdouble longitude, jfloat accuracy)
482 interface->inject_location(latitude, longitude, accuracy);
477 android_location_GpsLocationProvider_inject_location(JNIEnv* env, jobject obj, jdouble latitude, jdouble longitude, jfloat accuracy) argument

Completed in 1819 milliseconds