Searched refs:accuracy (Results 1 - 25 of 34) 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 DSystemSensorManager.java124 int accuracy = status[0];
150 values, timestamp, accuracy);
184 // Only report accuracy for sensors that support it.
188 final int accuracy = mSensorAccuracies.get(handle);
189 if ((t.accuracy >= 0) && (accuracy != t.accuracy)) {
190 mSensorAccuracies.put(handle, t.accuracy);
191 mSensorEventListener.onAccuracyChanged(t.sensor, t.accuracy);
195 // For other sensors, just report the accuracy onc
231 onSensorChangedLocked(Sensor sensor, float[] values, long[] timestamp, int accuracy) 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.java110 * has no bearing, altitude, speed, accuracy or extras.
700 * True if this location has an accuracy.
703 * accuracy.
710 * Get the estimated accuracy of this location, in meters.
712 * <p>We define accuracy as the radius of 68% confidence. In other
714 * latitude and longitude, and with a radius equal to the accuracy,
723 * <p>This accuracy estimation is only concerned with horizontal
724 * accuracy, and does not indicate the accuracy of bearing,
727 * <p>If this location does not have an accuracy, the
742 setAccuracy(float accuracy) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DMockGeolocation.java40 public void setPosition(double latitude, double longitude, double accuracy) { argument
42 nativeSetPosition(mWebViewCore, latitude, longitude, accuracy);
61 double longitude, double accuracy);
60 nativeSetPosition(WebViewCore webViewCore, double latitude, double longitude, double accuracy) argument
H A DDeviceMotionService.java175 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
H A DDeviceOrientationService.java222 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
/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/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DLayoutTestController.java83 public void setMockGeolocationPosition(double latitude, double longitude, double accuracy) { argument
85 " longitude=" + longitude + " accuracy=" + accuracy);
86 mLayoutTestsExecutor.setMockGeolocationPosition(latitude, longitude, accuracy);
/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/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DLayoutTestController.java76 public void setMockGeolocationPosition(double latitude, double longitude, double accuracy); argument
H A DCallbackProxy.java491 double accuracy) {
496 accuracy);
489 setMockGeolocationPosition(double latitude, double longitude, double 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/RenderScriptTests/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/base/core/jni/
H A Dandroid_hardware_SensorManager.cpp141 jint accuracy = event.vector.status; local
143 env->SetIntArrayRegion(status, 0, 1, &accuracy);
/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...]
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSimpleModelView.java188 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
/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

Completed in 952 milliseconds

12