Home
last modified time | relevance | path

Searched refs:accuracy (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/base/location/java/android/location/
DCriteria.java125 public void setHorizontalAccuracy(int accuracy) { in setHorizontalAccuracy() argument
126 if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_HIGH) { in setHorizontalAccuracy()
127 throw new IllegalArgumentException("accuracy=" + accuracy); in setHorizontalAccuracy()
129 mHorizontalAccuracy = accuracy; in setHorizontalAccuracy()
149 public void setVerticalAccuracy(int accuracy) { in setVerticalAccuracy() argument
150 if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_HIGH) { in setVerticalAccuracy()
151 throw new IllegalArgumentException("accuracy=" + accuracy); in setVerticalAccuracy()
153 mVerticalAccuracy = accuracy; in setVerticalAccuracy()
173 public void setSpeedAccuracy(int accuracy) { in setSpeedAccuracy() argument
174 if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_HIGH) { in setSpeedAccuracy()
[all …]
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java320 protected boolean injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, in injectSensorDataImpl() argument
327 int ret = sInjectEventQueue.injectSensorData(sensor.getHandle(), values, accuracy, in injectSensorDataImpl()
639 float[] values, int accuracy, long timestamp); in nativeInjectSensorData() argument
751 protected int injectSensorDataBase(int handle, float[] values, int accuracy, in injectSensorDataBase() argument
754 mNativeSensorEventQueue, handle, values, accuracy, timestamp); in injectSensorDataBase()
763 protected abstract void dispatchSensorEvent(int handle, float[] values, int accuracy, in dispatchSensorEvent() argument
828 t.accuracy = inAccuracy; in dispatchSensorEvent()
832 final int accuracy = mSensorAccuracies.get(handle); in dispatchSensorEvent() local
833 if ((t.accuracy >= 0) && (accuracy != t.accuracy)) { in dispatchSensorEvent()
834 mSensorAccuracies.put(handle, t.accuracy); in dispatchSensorEvent()
[all …]
DSensorEventListener.java55 public void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged() argument
DSensorListener.java100 public void onAccuracyChanged(int sensor, int accuracy); in onAccuracyChanged() argument
DSensorEvent.java647 public int accuracy; field in SensorEvent
DSensorEventCallback.java38 public void onAccuracyChanged(Sensor sensor, int accuracy) {} in onAccuracyChanged() argument
DSensorManager.java1843 public boolean injectSensorData(Sensor sensor, float[] values, int accuracy, in injectSensorData() argument
1860 if (accuracy < SENSOR_STATUS_NO_CONTACT || accuracy > SENSOR_STATUS_ACCURACY_HIGH) { in injectSensorData()
1866 return injectSensorDataImpl(sensor, values, accuracy, timestamp); in injectSensorData()
1872 protected abstract boolean injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, in injectSensorDataImpl() argument
DLegacySensorManager.java249 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
251 mTarget.onAccuracyChanged(getLegacySensorType(sensor.getType()), accuracy); in onAccuracyChanged() local
/frameworks/base/location/lib/java/com/android/location/provider/
DProviderPropertiesUnbundled.java34 int powerRequirement, int accuracy) { in create() argument
37 supportsBearing, powerRequirement, accuracy)); in create()
/frameworks/base/proto/src/
Dgnss.proto28 // Number of position accuracy processed
31 // Mean position accuracy (in meters)
34 // Standard deviation of position accuracy (in meters)
/frameworks/base/location/java/com/android/internal/location/
DProviderProperties.java124 int accuracy = in.readInt();
127 powerRequirement, accuracy);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerEntry.java221 Float accuracy = getNullableFloat(cursor, ACCURACY); in createEntry() local
222 if (accuracy != null) { in createEntry()
223 location.setAccuracy(accuracy); in createEntry()
/frameworks/base/core/java/android/view/
DOrientationListener.java93 public void onAccuracyChanged(int sensor, int accuracy) { in onAccuracyChanged() argument
DOrientationEventListener.java147 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
/frameworks/base/services/core/java/com/android/server/location/
DLocationFudger.java153 float accuracy = loadCoarseAccuracy(); in LocationFudger() local
155 setAccuracyInMetersLocked(accuracy); in LocationFudger()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DMotionSensor.java68 public final void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBalls.java70 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DMotionSensorWTime.java74 public final void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java345 public abstract void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged() argument
622 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
1066 public void onAccuracyChanged(Sensor sensor, int accuracy) { } in onAccuracyChanged() argument
DDisplayFoldController.java176 public void onAccuracyChanged(Sensor sensor, int accuracy) { in createWithProxSensor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DProximitySensor.java53 public void onAccuracyChanged(Sensor sensor, int accuracy) {
/frameworks/base/services/core/java/com/android/server/
DSensorNotificationService.java161 public void onAccuracyChanged(Sensor sensor, int accuracy) {} in onAccuracyChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManagerImpl.java103 public void onAccuracyChanged(Sensor sensor, int accuracy) {
104 mDataCollector.onAccuracyChanged(sensor, accuracy);
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DAmbientSensor.java213 public void onAccuracyChanged(Sensor sensor, int accuracy) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeScreenBrightness.java186 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument

123