Searched defs:accuracy (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/base/core/java/android/hardware/
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 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 DLegacySensorManager.java248 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
250 mTarget.onAccuracyChanged(getLegacySensorType(sensor.getType()), accuracy);
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...]
/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.java374 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
/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/RenderScriptTests/Balls/src/com/example/android/rs/balls/
H A DBalls.java70 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.c244 Word32 accuracy) /*!< Number of valid bits that will be calculated */
243 rsqrt(Word32 value, Word32 accuracy) argument
/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/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);
H A DLayoutTestsExecutor.java696 public void setMockGeolocationPosition(double latitude, double longitude, double accuracy) { argument
698 accuracy);
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSimpleModelView.java188 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
/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...]
H A DLocationManager.java55 * location will be obfuscated to a coarse level of accuracy.
375 * accuracy is returned. If no provider meets the criteria,
380 * <li> accuracy
961 * provide the best balance between accuracy and power. Applications
967 * accuracy and power.
1167 boolean supportsSpeed, boolean supportsBearing, int powerRequirement, int accuracy) {
1170 supportsBearing, powerRequirement, accuracy);
1219 "Incomplete location object, missing timestamp or accuracy? " + loc);
1165 addTestProvider(String name, boolean requiresNetwork, boolean requiresSatellite, boolean requiresCell, boolean hasMonetaryCost, boolean supportsAltitude, boolean supportsSpeed, boolean supportsBearing, int powerRequirement, 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/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.
/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 4389 milliseconds

12