Lines Matching refs:accuracy

125     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()
175 throw new IllegalArgumentException("accuracy=" + accuracy); in setSpeedAccuracy()
177 mSpeedAccuracy = accuracy; in setSpeedAccuracy()
197 public void setBearingAccuracy(int accuracy) { in setBearingAccuracy() argument
198 if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_HIGH) { in setBearingAccuracy()
199 throw new IllegalArgumentException("accuracy=" + accuracy); in setBearingAccuracy()
201 mBearingAccuracy = accuracy; in setBearingAccuracy()
221 public void setAccuracy(int accuracy) { in setAccuracy() argument
222 if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_COARSE) { in setAccuracy()
223 throw new IllegalArgumentException("accuracy=" + accuracy); in setAccuracy()
225 if (accuracy == ACCURACY_FINE) { in setAccuracy()
383 private static String accuracyToString(int accuracy) { in accuracyToString() argument
384 switch (accuracy) { in accuracyToString()