/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 320 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange() 321 } else if (value > 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 347 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange() 348 } else if (value > 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 374 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange() [all …]
|
/frameworks/libs/modules-utils/java/com/android/internal/util/ |
D | Preconditions.java | 461 public static float checkArgumentInRange(float value, float lower, float upper, in checkArgumentInRange() argument 468 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange() 469 } else if (value > upper) { in checkArgumentInRange() 472 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); in checkArgumentInRange() 493 public static double checkArgumentInRange(double value, double lower, double upper, in checkArgumentInRange() argument 500 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange() 501 } else if (value > upper) { in checkArgumentInRange() 504 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); in checkArgumentInRange() 523 public static int checkArgumentInRange(int value, int lower, int upper, in checkArgumentInRange() argument 528 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange() [all …]
|
/frameworks/base/core/java/android/util/ |
D | Range.java | 55 public Range(final T lower, final T upper) { in Range() argument 57 mUpper = checkNotNull(upper, "upper must not be null"); in Range() 59 if (lower.compareTo(upper) > 0) { in Range() 78 public static <T extends Comparable<? super T>> Range<T> create(final T lower, final T upper) { in create() argument 79 return new Range<T>(lower, upper); in create() 237 public Range<T> intersect(T lower, T upper) { in intersect() argument 239 checkNotNull(upper, "upper must not be null"); in intersect() 242 int cmpUpper = upper.compareTo(mUpper); in intersect() 250 cmpUpper >= 0 ? mUpper : upper); in intersect() 305 public Range<T> extend(T lower, T upper) { in extend() argument [all …]
|
/frameworks/native/cmds/installd/ |
D | matchgen.py | 80 upper = k.upper() 81 if k != upper: 82 print "%scase '%s': case '%s':" % (prefix, k, upper)
|
/frameworks/base/core/java/com/android/internal/transition/ |
D | EpicenterTranslateClipReveal.java | 249 int upper; field in EpicenterTranslateClipReveal.State 254 public State(int lower, int upper, float trans) { in State() argument 256 this.upper = upper; in State() 266 mTemp.upper = startValue.upper + (int) ((endValue.upper - startValue.upper) * fraction); in evaluate() 298 tempState.upper = tempRect.right + (int) tempState.trans; in get() 302 tempState.upper = tempRect.bottom + (int) tempState.trans; in get() 313 tempRect.right = value.upper - (int) value.trans; in set() 316 tempRect.bottom = value.upper - (int) value.trans; in set()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | NewDatabasePerformanceTests.java | 251 int upper = (i + 10) * 100; in prepareForTest() local 252 mWhere[i] = "b >= " + lower + " AND b < " + upper; in prepareForTest() 322 int upper = (i + 10) * 100; in prepareForTest() local 323 mWhere[i] = "b >= " + lower + " AND b < " + upper; in prepareForTest() 474 int upper = (i + 10) * 100; in prepareForTest() local 477 + " AND t2.b < " + upper + ")"; in prepareForTest() 741 int upper = (i + 10) * 100; in prepareForTest() local 742 mWhere[i] = "b >= " + lower + " AND b < " + upper; in prepareForTest() 774 int upper = (i + 10) * 100; in prepareForTest() local 775 mWhere[i] = "b >= " + lower + " AND b < " + upper; in prepareForTest() [all …]
|
/frameworks/base/core/java/android/text/ |
D | InputFilter.java | 95 final CharSequence upper = TextUtils.toUpperCase(mLocale, wrapper, copySpans); in filter() local 96 if (upper == wrapper) { in filter() 103 return copySpans ? new SpannableString(upper) : upper.toString(); in filter()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcCommit.cpp | 182 Range(uint32_t lower, uint32_t upper) : _l(lower), _u(upper) {} in Range() argument 184 uint32_t upper(void) { return _u; } in upper() 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/media/mca/ |
D | structgen.py | 89 upper = [c.title() for c in lower] 90 return "".join(lower[:start_upper_at] + upper[start_upper_at:]) 96 return "%s_%s" % (pname.replace(".", "_").upper(), cname.upper())
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableRange.java | 84 T upper = mNestedTypeMarshaler.unmarshal(buffer); in unmarshal() local 87 return mConstructor.newInstance(lower, upper); in unmarshal()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberRange.java | 170 int upper = Integer.parseInt(mUpperBound); in matches() local 172 return numberToCheck <= upper && numberToCheck >= lower; in matches()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsAdapter.java | 1182 int upper = mVisibleWindowUpperBound; in getVisibleWindow() local 1184 if ((lower == 0 && upper == 0) || lower < 0 || upper < 0) { in getVisibleWindow() 1189 if (lower <= upper) { in getVisibleWindow() 1190 window = new int[upper + 1 - lower]; in getVisibleWindow() 1191 for (int i = lower, j = 0; i <= upper; i++, j++){ in getVisibleWindow() 1198 window = new int[count - lower + upper + 1]; in getVisibleWindow() 1201 for (int i = 0; i <= upper; i++, j++) { in getVisibleWindow()
|
/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/base/tools/localedata/ |
D | extract_icu_data.py | 227 % escape_script_variable_name(script.upper())) 245 escape_script_variable_name(script.upper()))
|
/frameworks/base/services/core/java/com/android/server/integrity/parser/ |
D | RuleBinaryParser.java | 181 long upper = getIntValue(bitInputStream); in parseAtomicFormula() local 183 long longValue = (upper << 32) | lower; in parseAtomicFormula()
|
/frameworks/base/core/java/android/app/ |
D | PropertyInvalidatedCache.java | 345 int upper = 0; in createPropertyName() local 348 upper++; in createPropertyName() 351 char[] suffix = new char[api.length + upper]; in createPropertyName()
|
/frameworks/base/core/proto/android/internal/ |
D | binder_latency.proto | 86 // The size (upper bound) of the first bucket (used to avoid creating an
|
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
D | README.md | 123 - Callbacks propagate from the lower layers up to the upper layers. It is legal to hold a local 124 mutex within a callback, but **not** while call to an upper layer.
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.h | 403 status_t getFilteredSizes(const Size &lower, const Size &upper,
|
D | Parameters.cpp | 3021 status_t Parameters::getFilteredSizes(const Size &lower, const Size &upper, in getFilteredSizes() argument 3039 ((sc.width * sc.height) <= (upper.width * upper.height))) { in getFilteredSizes()
|
/frameworks/opt/net/ims/ |
D | README.txt | 35 It provides the functionalities for the upper layer of IMS APIs.
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMRelocator.cpp | 243 uint32_t upper = (s << 8) | (j2 << 7) | (j1 << 6) | (pUpper16 & 0x003fU); in helper_thumb32_cond_branch_offset() local 244 return helper_sign_extend((upper << 12) | (lower << 1), 21); in helper_thumb32_cond_branch_offset()
|
/frameworks/native/opengl/tools/glgen2/registry/ |
D | reg.py | 492 tdecl += '(' + self.genOpts.apientryp + 'PFN' + text.upper() + 'PROC' + tail + ')'
|
/frameworks/base/media/java/android/media/ |
D | MediaCodecInfo.java | 1499 int upper = inputChannels[i].clamp(MAX_INPUT_CHANNEL_COUNT); in applyLimits() local 1500 myInputChannels[i] = Range.create(lower, upper); in applyLimits()
|
/frameworks/wilhelm/doc/ |
D | Doxyfile | 371 # file names in lower-case letters. If set to YES upper-case letters are also
|