/frameworks/base/graphics/java/android/graphics/text/ |
D | PositionedGlyphs.java | 134 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getFont() 146 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getGlyphId() 157 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getGlyphX() 168 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getGlyphY() 180 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getFakeBold() 192 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getFakeItalic() 212 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getWeightOverride() 230 Preconditions.checkArgumentInRange(index, 0, glyphCount() - 1, "index"); in getItalicOverride()
|
/frameworks/base/location/java/android/location/ |
D | Criteria.java | 157 mHorizontalAccuracy = Preconditions.checkArgumentInRange(accuracy, NO_REQUIREMENT, in setHorizontalAccuracy() 179 mVerticalAccuracy = Preconditions.checkArgumentInRange(accuracy, NO_REQUIREMENT, in setVerticalAccuracy() 201 mSpeedAccuracy = Preconditions.checkArgumentInRange(accuracy, NO_REQUIREMENT, ACCURACY_HIGH, in setSpeedAccuracy() 223 mBearingAccuracy = Preconditions.checkArgumentInRange(accuracy, NO_REQUIREMENT, in setBearingAccuracy() 245 Preconditions.checkArgumentInRange(accuracy, NO_REQUIREMENT, ACCURACY_COARSE, "accuracy"); in setAccuracy() 278 mPowerRequirement = Preconditions.checkArgumentInRange(powerRequirement, NO_REQUIREMENT, in setPowerRequirement()
|
D | GnssSingleSatCorrection.java | 370 Preconditions.checkArgumentInRange( in setCarrierFrequencyHz() 382 Preconditions.checkArgumentInRange( in setProbabilityLineOfSight() 407 Preconditions.checkArgumentInRange(combinedExcessPathLengthMeters, 0, Float.MAX_VALUE, in setExcessPathLengthMeters() 428 Preconditions.checkArgumentInRange(combinedExcessPathLengthUncertaintyMeters, 0, in setExcessPathLengthUncertaintyMeters() 451 Preconditions.checkArgumentInRange(combinedAttenuationDb, 0, Float.MAX_VALUE, in setCombinedAttenuationDb()
|
D | LocationRequest.java | 571 mMinUpdateDistanceMeters = Preconditions.checkArgumentInRange(minDisplacementMeters, 0, in setSmallestDisplacement() 987 mIntervalMillis = Preconditions.checkArgumentInRange(intervalMillis, 0, Long.MAX_VALUE, in setIntervalMillis() 1034 mDurationMillis = Preconditions.checkArgumentInRange(durationMillis, 1, Long.MAX_VALUE, in setDurationMillis() 1046 mMaxUpdates = Preconditions.checkArgumentInRange(maxUpdates, 1, Integer.MAX_VALUE, in setMaxUpdates() 1069 mMinUpdateIntervalMillis = Preconditions.checkArgumentInRange(minUpdateIntervalMillis, in setMinUpdateIntervalMillis() 1092 mMinUpdateDistanceMeters = Preconditions.checkArgumentInRange(minUpdateDistanceMeters, in setMinUpdateDistanceMeters() 1105 mMaxUpdateDelayMillis = Preconditions.checkArgumentInRange(maxUpdateDelayMillis, 0, in setMaxUpdateDelayMillis()
|
D | GnssExcessPathInfo.java | 286 Preconditions.checkArgumentInRange(excessPathLengthMeters, 0, Float.MAX_VALUE, in setExcessPathLengthMeters() 309 Preconditions.checkArgumentInRange(excessPathLengthUncertaintyMeters, 0, in setExcessPathLengthUncertaintyMeters() 345 Preconditions.checkArgumentInRange(attenuationDb, 0, Float.MAX_VALUE, in setAttenuationDb()
|
/frameworks/base/core/java/android/service/voice/ |
D | HotwordDetectedResult.java | 397 Preconditions.checkArgumentInRange(mSpeakerId, 0, getMaxSpeakerId(), "speakerId"); in onConstructed() 398 Preconditions.checkArgumentInRange(mScore, 0, getMaxScore(), "score"); in onConstructed() 399 Preconditions.checkArgumentInRange(mPersonalizedScore, 0, getMaxScore(), in onConstructed() 401 Preconditions.checkArgumentInRange(mHotwordPhraseId, 0, getMaxHotwordPhraseId(), in onConstructed() 404 Preconditions.checkArgumentInRange(mBackgroundAudioPower, in onConstructed() 407 Preconditions.checkArgumentInRange((long) mHotwordDurationMillis, 0, in onConstructed() 410 Preconditions.checkArgumentInRange(mHotwordOffsetMillis, 0, in onConstructed() 414 Preconditions.checkArgumentInRange(mAudioChannel, 0, LIMIT_AUDIO_CHANNEL_MAX_VALUE, in onConstructed() 427 Preconditions.checkArgumentInRange(getParcelableSize(mExtras), 0, in onConstructed() 432 Preconditions.checkArgumentInRange(getParcelableSize(mExtras), 0, in onConstructed()
|
/frameworks/base/location/java/android/location/provider/ |
D | ForwardGeocodeRequest.java | 68 Preconditions.checkArgumentInRange(lowerLeftLatitude, -90.0, 90.0, "lowerLeftLatitude"); in ForwardGeocodeRequest() 69 Preconditions.checkArgumentInRange(lowerLeftLongitude, -180.0, 180.0, "lowerLeftLongitude"); in ForwardGeocodeRequest() 70 Preconditions.checkArgumentInRange(upperRightLatitude, -90.0, 90.0, "upperRightLatitude"); in ForwardGeocodeRequest() 71 Preconditions.checkArgumentInRange( in ForwardGeocodeRequest()
|
D | ReverseGeocodeRequest.java | 62 Preconditions.checkArgumentInRange(latitude, -90.0, 90.0, "latitude"); in ReverseGeocodeRequest() 63 Preconditions.checkArgumentInRange(longitude, -180.0, 180.0, "longitude"); in ReverseGeocodeRequest()
|
D | ProviderRequest.java | 299 mIntervalMillis = Preconditions.checkArgumentInRange(intervalMillis, 0, Long.MAX_VALUE, in setIntervalMillis() 326 mMaxUpdateDelayMillis = Preconditions.checkArgumentInRange(maxUpdateDelayMillis, 0, in setMaxUpdateDelayMillis()
|
D | ProviderProperties.java | 390 mPowerUsage = Preconditions.checkArgumentInRange(powerUsage, POWER_USAGE_LOW, in setPowerUsage() 400 mAccuracy = Preconditions.checkArgumentInRange(accuracy, ACCURACY_FINE, in setAccuracy()
|
/frameworks/base/core/java/android/service/autofill/ |
D | SavedDatasetsInfoCallbackImpl.java | 22 import static com.android.internal.util.Preconditions.checkArgumentInRange; 78 checkArgumentInRange(error, ERROR_OTHER, ERROR_NEEDS_USER_ACTION, "error"); in onError()
|
/frameworks/base/core/java/android/hardware/input/ |
D | VirtualMouseScrollEvent.java | 126 Preconditions.checkArgumentInRange(xAxisMovement, -1f, 1f, "xAxisMovement"); in setXAxisMovement() 139 Preconditions.checkArgumentInRange(yAxisMovement, -1f, 1f, "yAxisMovement"); in setYAxisMovement()
|
/frameworks/base/core/java/android/location/ |
D | Geofence.java | 59 Preconditions.checkArgumentInRange(latitude, -90.0, 90.0, "latitude"); in Geofence() 60 Preconditions.checkArgumentInRange(longitude, -180.0, 180.0, "latitude"); in Geofence()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
D | Preconditions.java | 313 public static float checkArgumentInRange(float value, float lower, float upper, in checkArgumentInRange() method in Preconditions 342 public static int checkArgumentInRange(int value, int lower, int upper, in checkArgumentInRange() method in Preconditions 369 public static long checkArgumentInRange(long value, long lower, long upper, in checkArgumentInRange() method in Preconditions
|
/frameworks/libs/modules-utils/java/com/android/internal/util/ |
D | Preconditions.java | 468 public static float checkArgumentInRange(float value, float lower, float upper, in checkArgumentInRange() method in Preconditions 500 public static double checkArgumentInRange(double value, double lower, double upper, in checkArgumentInRange() method in Preconditions 530 public static int checkArgumentInRange(int value, int lower, int upper, in checkArgumentInRange() method in Preconditions 557 public static long checkArgumentInRange(long value, long lower, long upper, in checkArgumentInRange() method in Preconditions
|
/frameworks/base/core/java/android/os/vibrator/ |
D | PrimitiveSegment.java | 131 Preconditions.checkArgumentInRange(mPrimitiveId, VibrationEffect.Composition.PRIMITIVE_NOOP, in validate() 133 Preconditions.checkArgumentInRange(mScale, 0f, 1f, "scale"); in validate()
|
D | RampSegment.java | 132 Preconditions.checkArgumentInRange(mStartAmplitude, 0f, 1f, "startAmplitude"); in validate() 133 Preconditions.checkArgumentInRange(mEndAmplitude, 0f, 1f, "endAmplitude"); in validate()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbPort.java | 857 Preconditions.checkArgumentInRange(powerRole, Constants.PortMode.NONE, in checkMode() 863 Preconditions.checkArgumentInRange(dataRole, Constants.PortPowerRole.NONE, in checkPowerRole() 869 Preconditions.checkArgumentInRange(mode, Constants.PortDataRole.NONE, in checkDataRole() 875 Preconditions.checkArgumentInRange(powerRole, POWER_ROLE_NONE, POWER_ROLE_SINK, in checkRoles() 877 Preconditions.checkArgumentInRange(dataRole, DATA_ROLE_NONE, DATA_ROLE_DEVICE, "dataRole"); in checkRoles()
|
/frameworks/base/core/java/android/os/ |
D | HidlMemoryUtil.java | 143 Preconditions.checkArgumentInRange(mem.getSize(), 0L, (long) Integer.MAX_VALUE, in hidlMemoryToByteArray() 169 Preconditions.checkArgumentInRange(mem.getSize(), 0L, (long) Integer.MAX_VALUE, in hidlMemoryToByteList()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ExponentiallyBucketedHistogram.java | 39 numBuckets = Preconditions.checkArgumentInRange(numBuckets, 1, 31, "numBuckets"); in ExponentiallyBucketedHistogram()
|
/frameworks/base/services/core/java/com/android/server/cpu/ |
D | CpuAvailabilityInfo.java | 90 this.cpuset = Preconditions.checkArgumentInRange(cpuset, CPUSET_ALL, CPUSET_BACKGROUND, in CpuAvailabilityInfo()
|
/frameworks/base/core/java/android/text/method/ |
D | InsertModeTransformationMethod.java | 220 Preconditions.checkArgumentInRange(offset, 0, mOriginal.length(), "offset"); in originalToTransformed() 235 Preconditions.checkArgumentInRange(offset, 0, length(), "offset"); in transformedToOriginal() 264 Preconditions.checkArgumentInRange(index, 0, length() - 1, "index"); in charAt()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | TextBoundsInfo.java | 504 Preconditions.checkArgumentInRange(index, lineStart, lineEnd, "index"); in getCursorHorizontalPosition() 553 Preconditions.checkArgumentInRange(start, mStart, mEnd - 1, "start"); in getBoundsForRange() 554 Preconditions.checkArgumentInRange(end, start, mEnd, "end"); in getBoundsForRange() 1061 Preconditions.checkArgumentInRange(start, 0, end, "start"); in setStartAndEnd() 1151 Preconditions.checkArgumentInRange(characterBidiLevels[index], 0, 125, in setCharacterBidiLevel()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MeteringRectangle.java | 96 mWeight = checkArgumentInRange( in MeteringRectangle()
|
/frameworks/base/core/java/android/content/om/ |
D | FabricatedOverlay.java | 428 Preconditions.checkArgumentInRange( in generateFabricatedOverlayInternalEntry() 445 Preconditions.checkArgumentInRange( in generateFabricatedOverlayInternalEntry()
|