Searched refs:accuracy (Results 1 - 25 of 36) 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.java308 protected abstract void dispatchSensorEvent(int handle, float[] values, int accuracy, argument
349 t.accuracy = inAccuracy;
352 // Only report accuracy for sensors that support it.
356 final int accuracy = mSensorAccuracies.get(handle);
357 if ((t.accuracy >= 0) && (accuracy != t.accuracy)) {
358 mSensorAccuracies.put(handle, t.accuracy);
359 mListener.onAccuracyChanged(t.sensor, t.accuracy);
363 // For other sensors, just report the accuracy onc
398 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...]
/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/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/core/java/android/hardware/location/
H A DGeofenceHardwareImpl.java338 double longitude, double altitude, float speed, float bearing, float accuracy,
366 location.setAccuracy(accuracy);
377 double longitude, double altitude, float speed, float bearing, float accuracy,
381 bearing + " Accuracy: " + accuracy + " Timestamp: " + timestamp + " Transition: " +
384 accuracy, timestamp);
395 double longitude, double altitude, float speed, float bearing, float accuracy,
398 accuracy, timestamp);
337 getLocation(int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
376 reportGpsGeofenceTransition(int geofenceId, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp, int transition, long transitionTimestamp) argument
394 reportGpsGeofenceStatus(int status, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
/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/services/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp85 (jfloat)location->accuracy, (jlong)location->timestamp);
252 (jfloat)location->accuracy, (jlong)location->timestamp,
266 jfloat accuracy = 0; local
275 accuracy = location->accuracy;
280 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp);
565 jdouble latitude, jdouble longitude, jfloat accuracy)
568 sGpsInterface->inject_location(latitude, longitude, accuracy);
564 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

Completed in 798 milliseconds

12