Home
last modified time | relevance | path

Searched refs:checkArgumentNonnegative (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/params/
DMeteringRectangle.java92 mX = checkArgumentNonnegative(x, "x must be nonnegative"); in MeteringRectangle()
93 mY = checkArgumentNonnegative(y, "y must be nonnegative"); in MeteringRectangle()
94 mWidth = checkArgumentNonnegative(width, "width must be nonnegative"); in MeteringRectangle()
95 mHeight = checkArgumentNonnegative(height, "height must be nonnegative"); in MeteringRectangle()
116 mX = checkArgumentNonnegative(xy.x, "x must be nonnegative"); in MeteringRectangle()
117 mY = checkArgumentNonnegative(xy.y, "y must be nonnegative"); in MeteringRectangle()
118 mWidth = checkArgumentNonnegative(dimensions.getWidth(), "width must be nonnegative"); in MeteringRectangle()
119 mHeight = checkArgumentNonnegative(dimensions.getHeight(), "height must be nonnegative"); in MeteringRectangle()
120 mWeight = checkArgumentNonnegative(meteringWeight, "meteringWeight must be nonnegative"); in MeteringRectangle()
137 mX = checkArgumentNonnegative(rect.left, "rect.left must be nonnegative"); in MeteringRectangle()
[all …]
DColorSpaceTransform.java163 checkArgumentNonnegative(offset, "offset must not be negative"); in copyElements()
198 checkArgumentNonnegative(offset, "offset must not be negative"); in copyElements()
DStreamConfigurationDuration.java60 mDurationNs = checkArgumentNonnegative(durationNs, "durationNs must be non-negative"); in StreamConfigurationDuration()
DLensShadingMap.java197 checkArgumentNonnegative(offset, "offset must not be negative"); in copyGainFactors()
DTonemapCurve.java234 checkArgumentNonnegative(offset, "offset must not be negative"); in copyColorCurve()
/frameworks/base/core/java/com/android/internal/util/
DPreconditions.java98 public static int checkArgumentNonnegative(final int value, final String errorMessage) { in checkArgumentNonnegative() method in Preconditions
114 public static long checkArgumentNonnegative(final long value, final String errorMessage) { in checkArgumentNonnegative() method in Preconditions
/frameworks/base/core/java/android/hardware/camera2/dispatch/
DArgumentReplacingDispatcher.java61 mArgumentIndex = checkArgumentNonnegative(argumentIndex, in ArgumentReplacingDispatcher()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2253 Preconditions.checkArgumentNonnegative(timeout, "Timeout must be >= 0 ms"); in setPasswordExpirationTimeout()