/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() argument 317 } else if (value < lower) { in checkArgumentInRange() 320 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange() 324 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); in checkArgumentInRange() 342 public static int checkArgumentInRange(int value, int lower, int upper, in checkArgumentInRange() argument 344 if (value < lower) { in checkArgumentInRange() 347 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange() 351 "%s is out of range of [%d, %d] (too high)", valueName, lower, upper)); in checkArgumentInRange() 369 public static long checkArgumentInRange(long value, long lower, long upper, in checkArgumentInRange() argument 371 if (value < lower) { in checkArgumentInRange() [all …]
|
/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() argument 472 } else if (value < lower) { in checkArgumentInRange() 475 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange() 479 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); in checkArgumentInRange() 500 public static double checkArgumentInRange(double value, double lower, double upper, in checkArgumentInRange() argument 504 } else if (value < lower) { in checkArgumentInRange() 507 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange() 511 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); in checkArgumentInRange() 530 public static int checkArgumentInRange(int value, int lower, int upper, in checkArgumentInRange() argument 532 if (value < lower) { in checkArgumentInRange() [all …]
|
/frameworks/base/core/java/android/util/ |
D | Range.java | 57 public Range(final T lower, final T upper) { in Range() argument 58 mLower = checkNotNull(lower, "lower must not be null"); in Range() 61 if (lower.compareTo(upper) > 0) { in Range() 80 public static <T extends Comparable<? super T>> Range<T> create(final T lower, final T upper) { in create() argument 81 return new Range<T>(lower, upper); in create() 239 public Range<T> intersect(T lower, T upper) { in intersect() argument 240 checkNotNull(lower, "lower must not be null"); in intersect() 243 int cmpLower = lower.compareTo(mLower); in intersect() 251 cmpLower <= 0 ? mLower : lower, in intersect() 307 public Range<T> extend(T lower, T upper) { in extend() argument [all …]
|
/frameworks/base/core/java/com/android/internal/transition/ |
D | EpicenterTranslateClipReveal.java | 248 int lower; field in EpicenterTranslateClipReveal.State 254 public State(int lower, int upper, float trans) { in State() argument 255 this.lower = lower; in State() 267 mTemp.lower = startValue.lower + (int) ((endValue.lower - startValue.lower) * fraction); in evaluate() 297 tempState.lower = tempRect.left + (int) tempState.trans; in get() 301 tempState.lower = tempRect.top + (int) tempState.trans; in get() 312 tempRect.left = value.lower - (int) value.trans; in set() 315 tempRect.top = value.lower - (int) value.trans; in set()
|
/frameworks/compile/libbcc/lib/ |
D | RSScreenFunctionsPass.cpp | 38 auto lower = std::lower_bound(stubList.begin(), in isPresent() local 42 if (lower != stubList.end() && name.compare(*lower) == 0) in isPresent()
|
D | RSIsThreadablePass.cpp | 82 auto lower = std::lower_bound(list.begin(), in isPresent() local 86 if (lower != list.end() && name.compare(*lower) == 0) in isPresent()
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 183 final String lower = name.toLowerCase(); in createAudioThumbnail() 184 return (lower.endsWith(".jpg") || lower.endsWith(".png")); in createAudioThumbnail() 188 final String lower = f.getName().toLowerCase(); in createAudioThumbnail() 189 if (lower.equals("albumart.jpg")) return 4; in createAudioThumbnail() 190 if (lower.startsWith("albumart") && lower.endsWith(".jpg")) return 3; in createAudioThumbnail() 191 if (lower.contains("albumart") && lower.endsWith(".jpg")) return 2; in createAudioThumbnail() 192 if (lower.endsWith(".jpg")) return 1; in createAudioThumbnail()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | NewDatabasePerformanceTests.java | 250 int lower = i * 100; in prepareForTest() local 252 mWhere[i] = "b >= " + lower + " AND b < " + upper; in prepareForTest() 321 int lower = i * 100; in prepareForTest() local 323 mWhere[i] = "b >= " + lower + " AND b < " + upper; in prepareForTest() 473 int lower = i * 100; in prepareForTest() local 476 "t1.b IN (SELECT t2.b FROM t2 WHERE t2.b >= " + lower in prepareForTest() 740 int lower = i * 100; in prepareForTest() local 742 mWhere[i] = "b >= " + lower + " AND b < " + upper; in prepareForTest() 773 int lower = i * 100; in prepareForTest() local 775 mWhere[i] = "b >= " + lower + " AND b < " + upper; in prepareForTest() [all …]
|
/frameworks/native/libs/binder/ndk/scripts/ |
D | gen_parcel_helper.py | 103 …if nca: arg_types = "const void* arrayData, int32_t length, AParcel_" + pretty.lower() + "ArrayGet… 135 allocator_type = "AParcel_" + pretty.lower() + "ArrayAllocator" 136 getter_type = "AParcel_" + pretty.lower() + "ArrayGetter" 137 setter_type = "AParcel_" + pretty.lower() + "ArraySetter"
|
/frameworks/base/media/mca/ |
D | structgen.py | 88 lower = cname.split("_") 89 upper = [c.title() for c in lower] 90 return "".join(lower[:start_upper_at] + upper[start_upper_at:]) 321 return jniFileTemplate % (self.structname.lower(),\ 342 hfilename = "%s.h" % structspec.structname.lower() 344 jnifilename = "jni_%s.c" % structspec.structname.lower()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/ |
D | CropView.java | 362 float lower = 1f; in getAllowedValues() local 365 lower = 0f; in getAllowedValues() 370 lower = mCrop.top + pixelDistanceToFraction(mCropTouchMargin, CropBoundary.TOP); in getAllowedValues() 374 lower = 0f; in getAllowedValues() 378 lower = mCrop.left + pixelDistanceToFraction(mCropTouchMargin, CropBoundary.LEFT); in getAllowedValues() 382 if (lower >= upper) { in getAllowedValues() 384 + "[" + lower + ", " + upper + "]"); in getAllowedValues() 386 lower = Math.min(lower, upper); in getAllowedValues() 387 upper = lower; in getAllowedValues() 390 return new Range<>(lower, upper); in getAllowedValues()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcCommit.cpp | 182 Range(uint32_t lower, uint32_t upper) : _l(lower), _u(upper) {} in Range() argument 183 uint32_t lower(void) { return _l; } in lower() function in Range 217 Rational& lower, Rational& upper); 1121 Rational lower, upper, selected; in scHScale() local 1132 lower, upper); in scHScale() 1133 if (((lower == best) && (upper == minBad))) { in scHScale() 1138 selected = (lower != best) ? lower : upper; in scHScale() 1220 Rational lower, upper, selected; in scVScale() local 1231 lower, upper); in scVScale() 1232 if (((lower == best) && (upper == minBad))) { in scVScale() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableRange.java | 83 T lower = mNestedTypeMarshaler.unmarshal(buffer); in unmarshal() local 87 return mConstructor.newInstance(lower, upper); in unmarshal()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberRange.java | 169 int lower = Integer.parseInt(mLowerBound); in matches() local 172 return numberToCheck <= upper && numberToCheck >= lower; in matches()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsAdapter.java | 1172 int lower = mVisibleWindowLowerBound; in getVisibleWindow() local 1175 if ((lower == 0 && upper == 0) || lower < 0 || upper < 0) { in getVisibleWindow() 1180 if (lower <= upper) { in getVisibleWindow() 1181 window = new int[upper + 1 - lower]; in getVisibleWindow() 1182 for (int i = lower, j = 0; i <= upper; i++, j++){ in getVisibleWindow() 1188 count = Math.max(count, lower); in getVisibleWindow() 1189 window = new int[count - lower + upper + 1]; in getVisibleWindow() 1195 for (int i = lower; i < count; i++, j++) { in getVisibleWindow()
|
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/ |
D | Swipeable.kt | 761 val lower = bounds[0] in computeTarget() constant 768 val threshold = thresholds(lower, upper) in computeTarget() 769 if (offset < threshold) lower else upper in computeTarget() 774 return lower in computeTarget() 776 val threshold = thresholds(upper, lower) in computeTarget() 777 if (offset > threshold) upper else lower in computeTarget()
|
/frameworks/native/cmds/installd/ |
D | matchgen.py | 67 v = v.lower()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | HeavyHitterSketch.java | 231 final int lower = mPassSize / mCapacity; in validate() local 235 if (val < lower) { in validate()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | ColorCutQuantizer.java | 412 final int lower, final int upper) { in modifySignificantOctet() argument 419 for (int i = lower; i <= upper; i++) { in modifySignificantOctet() 428 for (int i = lower; i <= upper; i++) { in modifySignificantOctet()
|
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/ |
D | simplex2d.agsl | 63 // This method produces similar visuals to Simplex noise 3D, but at a lower computational cost. 84 // If y>x, m=0 upper triangle, x>y, m=1 lower triangle. 113 // If y>x, m=0 upper triangle, x>y, m=1 lower triangle.
|
/frameworks/base/core/proto/android/os/ |
D | cpuinfo.proto | 99 POLICY_fg = 1; // foreground, the name is lower case for parsing the value 100 POLICY_bg = 2; // background, the name is lower case for parsing the value
|
/frameworks/base/services/core/java/com/android/server/integrity/parser/ |
D | RuleBinaryParser.java | 182 long lower = getIntValue(bitInputStream); in parseAtomicFormula() local 183 long longValue = (upper << 32) | lower; in parseAtomicFormula()
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioContainers.cpp | 181 const auto lower= profileAttrs.lower_bound(format); in populateAudioProfiles() local 185 for (auto it = lower; it != upper && *numAudioProfiles < maxAudioProfiles; ++it) { in populateAudioProfiles()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | HeavyHitterSketchTest.java | 62 final int lower = mTotalInput / (k + 1); in getTopHeavyHitters() local 64 .filter(e -> e.getValue() >= lower) in getTopHeavyHitters()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | README.md | 84 without passing the requests down to the lower layers. Once that is done, any exception thrown from 114 mutex while a lower-layer mutex is being held) until `ISoundTriggerHw2`. 123 - Callbacks propagate from the lower layers up to the upper layers. It is legal to hold a local 140 - `setCaptureState()` calls, originating from Audio Policy Service, into the lower layers of the
|