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.java21 * holds informations such as the sensor's type, the time-stamp, accuracy and of
451 * the estimated heading accuracy value.
494 * The accuracy of this event. See {@link android.hardware.SensorManager
497 public int accuracy; field in class:SensorEvent
H A DSystemSensorManager.java343 protected abstract void dispatchSensorEvent(int handle, float[] values, int accuracy, argument
396 t.accuracy = inAccuracy;
399 // Only report accuracy for sensors that support it.
403 final int accuracy = mSensorAccuracies.get(handle);
404 if ((t.accuracy >= 0) && (accuracy != t.accuracy)) {
405 mSensorAccuracies.put(handle, t.accuracy);
406 mListener.onAccuracyChanged(t.sensor, t.accuracy);
410 // For other sensors, just report the accuracy onc
460 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument
[all...]
H A DLegacySensorManager.java248 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
250 mTarget.onAccuracyChanged(getLegacySensorType(sensor.getType()), accuracy);
/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
383 accuracyToString(int accuracy) argument
[all...]
H A DLocation.java111 * has no bearing, altitude, speed, accuracy or extras.
703 * True if this location has an accuracy.
706 * accuracy.
713 * Get the estimated accuracy of this location, in meters.
715 * <p>We define accuracy as the radius of 68% confidence. In other
717 * latitude and longitude, and with a radius equal to the accuracy,
726 * <p>This accuracy estimation is only concerned with horizontal
727 * accuracy, and does not indicate the accuracy of bearing,
730 * <p>If this location does not have an accuracy, the
745 setAccuracy(float accuracy) argument
[all...]
/frameworks/base/location/lib/java/com/android/location/provider/
H A DProviderPropertiesUnbundled.java34 int powerRequirement, int accuracy) {
37 supportsBearing, powerRequirement, accuracy));
31 create(boolean requiresNetwork, boolean requiresSatellite, boolean requiresCell, boolean hasMonetaryCost, boolean supportsAltitude, boolean supportsSpeed, boolean supportsBearing, int powerRequirement, int accuracy) argument
/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
/frameworks/base/location/java/com/android/internal/location/
H A DProviderProperties.java89 * Constant describing the horizontal accuracy returned
92 * @return the horizontal accuracy for this provider, as one of the
124 int accuracy = in.readInt();
127 powerRequirement, accuracy);
/frameworks/av/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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DMotionSensor.java68 public final void onAccuracyChanged(Sensor sensor, int accuracy) { argument
69 // (Do we need to do something when sensor accuracy changes?)
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
H A DBalls.java70 public void onAccuracyChanged(Sensor sensor, 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/ml/bordeaux/service/src/android/bordeaux/services/
H A DLocationStatsAggregator.java164 float accuracy = location.getAccuracy();
167 if (currTime - time < FRESH_THRESHOLD && accuracy < bestAccuracy) {
169 bestAccuracy = accuracy;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DMotionSensorWTime.java74 public final void onAccuracyChanged(Sensor sensor, int accuracy) { argument
75 // (Do we need to do something when sensor accuracy changes?)
/frameworks/base/services/java/com/android/server/location/
H A DLocationFudger.java45 * Default coarse accuracy in meters.
50 * Minimum coarse accuracy in meters.
55 * Secure settings key for coarse accuracy.
110 * Used to monitor coarse accuracy secure setting for changes.
115 * Used to resolve coarse accuracy setting.
125 * Best location accuracy allowed for coarse applications.
156 float accuracy = loadCoarseAccuracy();
158 setAccuracyInMetersLocked(accuracy);
346 * This is the main control: call this to set the best location accuracy
352 Log.d(TAG, "setAccuracyInMetersLocked: new accuracy
[all...]
H A DGpsLocationProvider.java1128 float speed, float bearing, float accuracy, long timestamp) {
1158 mLocation.setAccuracy(accuracy);
1442 float accuracy,
1461 location.setAccuracy(accuracy);
1493 double longitude, double altitude, float speed, float bearing, float accuracy,
1505 accuracy,
1520 double longitude, double altitude, float speed, float bearing, float accuracy,
1532 accuracy,
1888 private native void native_inject_location(double latitude, double longitude, float accuracy); argument
1127 reportLocation(int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
1435 buildLocation( int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
1492 reportGeofenceTransition(int geofenceId, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp, int transition, long transitionTimestamp) argument
1519 reportGeofenceStatus(int status, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
/frameworks/base/services/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp86 (jfloat)location->accuracy, (jlong)location->timestamp);
253 (jfloat)location->accuracy, (jlong)location->timestamp,
267 jfloat accuracy = 0; local
276 accuracy = location->accuracy;
281 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp);
566 jdouble latitude, jdouble longitude, jfloat accuracy)
569 sGpsInterface->inject_location(latitude, longitude, accuracy);
565 android_location_GpsLocationProvider_inject_location(JNIEnv* env, jobject obj, jdouble latitude, jdouble longitude, jfloat accuracy) argument
/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/power/
H A DWirelessChargerDetector.java345 public void onAccuracyChanged(Sensor sensor, int accuracy) {
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DWindowOrientationListener.java385 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
H A DGL2CameraEye.java126 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
127 // Ignoring sensor accuracy changes.

Completed in 2969 milliseconds

12