/frameworks/support/core/ktx/src/androidTest/java/androidx/core/util/ |
H A D | RangeTest.kt | 28 assertEquals("a", range.lower) 34 assertEquals("a", range.lower) 40 assertEquals("a", range.lower) 46 assertEquals("c", range.lower) 52 assertEquals(1, range.lower)
|
/frameworks/base/core/java/android/util/ |
H A D | Range.java | 44 * The endpoints are {@code [lower, upper]}; that 45 * is the range is bounded. {@code lower} must be {@link Comparable#compareTo lesser or equal} 49 * @param lower The lower endpoint (inclusive) 52 * @throws NullPointerException if {@code lower} or {@code upper} is {@code null} 54 public Range(final T lower, final T upper) { argument 55 mLower = checkNotNull(lower, "lower must not be null"); 58 if (lower.compareTo(upper) > 0) { 59 throw new IllegalArgumentException("lower mus 77 create(final T lower, final T upper) argument 236 intersect(T lower, T upper) argument 304 extend(T lower, T upper) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | Preconditions.java | 304 * @param lower the lower endpoint of the inclusive range 312 public static float checkArgumentInRange(float value, float lower, float upper, argument 316 } else if (value < lower) { 319 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); 323 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); 333 * @param lower the lower endpoint of the inclusive range 341 public static int checkArgumentInRange(int value, int lower, int upper, argument 343 if (value < lower) { 368 checkArgumentInRange(long value, long lower, long upper, String valueName) argument 475 checkArrayElementsInRange(float[] value, float lower, float upper, String valueName) argument 511 checkArrayElementsInRange(int[] value, int lower, int upper, String valueName) argument [all...] |
/frameworks/support/compat/src/main/java/androidx/core/util/ |
H A D | Preconditions.java | 272 * @param lower the lower endpoint of the inclusive range 280 public static float checkArgumentInRange(float value, float lower, float upper, argument 284 } else if (value < lower) { 287 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); 291 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); 301 * @param lower the lower endpoint of the inclusive range 309 public static int checkArgumentInRange(int value, int lower, int upper, argument 311 if (value < lower) { 336 checkArgumentInRange(long value, long lower, long upper, String valueName) argument 443 checkArrayElementsInRange(float[] value, float lower, float upper, String valueName) argument [all...] |
/frameworks/compile/libbcc/lib/ |
H A D | RSIsThreadablePass.cpp | 82 auto lower = std::lower_bound(list.begin(), local 86 if (lower != list.end() && name.compare(*lower) == 0)
|
H A D | RSScreenFunctionsPass.cpp | 40 auto lower = std::lower_bound(list.begin(), local 44 if (lower != list.end() && name.compare(*lower) == 0)
|
/frameworks/base/core/java/com/android/internal/transition/ |
H A D | EpicenterTranslateClipReveal.java | 248 int lower; field in class:EpicenterTranslateClipReveal.State 254 public State(int lower, int upper, float trans) { argument 255 this.lower = lower; 267 mTemp.lower = startValue.lower + (int) ((endValue.lower - startValue.lower) * fraction); 297 tempState.lower = tempRect.left + (int) tempState.trans; 301 tempState.lower [all...] |
/frameworks/base/tools/stringslint/ |
H A D | stringslint.py | 88 if "do not translate" in comment.text.lower(): 90 if "translatable" in child.attrib and child.attrib["translatable"].lower() == "false": 107 if "wi-fi" in text.lower(): 110 if "wifi" in text.lower():
|
/frameworks/base/media/mca/ |
H A 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/support/core/ktx/src/main/java/androidx/core/util/ |
H A D | Range.kt | 52 override val start get() = lower
|
/frameworks/native/cmds/installd/ |
H A D | matchgen.py | 67 v = v.lower()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | NewDatabasePerformanceTests.java | 250 int lower = i * 100; 252 mWhere[i] = "b >= " + lower + " AND b < " + upper; 321 int lower = i * 100; 323 mWhere[i] = "b >= " + lower + " AND b < " + upper; 473 int lower = i * 100; 476 "t1.b IN (SELECT t2.b FROM t2 WHERE t2.b >= " + lower 740 int lower = i * 100; 742 mWhere[i] = "b >= " + lower + " AND b < " + upper; 773 int lower = i * 100; 775 mWhere[i] = "b >= " + lower [all...] |
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryableRange.java | 83 T lower = mNestedTypeMarshaler.unmarshal(buffer); 87 return mConstructor.newInstance(lower, upper);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 182 Range(uint32_t lower, uint32_t upper) : _l(lower), _u(upper) {} argument 183 uint32_t lower(void) { return _l; } function in class:Range 189 uint32_t _l; // lower 217 Rational& lower, Rational& upper); 1091 // just below and above the mid-point. By default the lower rational 1094 // to the lower value. This only occurs when the lower value has already 1119 Rational lower, upper, selected; local 1130 lower, uppe 1218 Rational lower, upper, selected; local 1362 double2Rational(double f, Range nRange, Range dRange, Rational& lower, Rational& upper) argument [all...] |
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
H A D | ColorCutQuantizer.java | 232 // lower and upper index are inclusive 424 final int lower, final int upper) { 431 for (int i = lower; i <= upper; i++) { 440 for (int i = lower; i <= upper; i++) { 423 modifySignificantOctet(final int[] a, final int dimension, final int lower, final int upper) argument
|
/frameworks/support/palette/src/main/java/androidx/palette/graphics/ |
H A D | ColorCutQuantizer.java | 215 // lower and upper index are inclusive 407 final int lower, final int upper) { 414 for (int i = lower; i <= upper; i++) { 423 for (int i = lower; i <= upper; i++) { 406 modifySignificantOctet(final int[] a, final int dimension, final int lower, final int upper) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | RemoteViewsAdapter.java | 580 // The lower and upper bounds of the preloaded range 1144 * Returns a sorted array of all integers between lower and upper. 1147 int lower = mVisibleWindowLowerBound; 1150 if ((lower == 0 && upper == 0) || lower < 0 || upper < 0) { 1155 if (lower <= upper) { 1156 window = new int[upper + 1 - lower]; 1157 for (int i = lower, j = 0; i <= upper; i++, j++){ 1161 // If the upper bound is less than the lower bound it means that the visible window 1163 count = Math.max(count, lower); [all...] |
/frameworks/ml/nn/common/include/ |
H A D | Utils.h | 147 inline size_t getSizeFromInts(int lower, int higher) { argument 148 return (uint32_t)(lower) + ((uint64_t)(uint32_t)(higher) << 32);
|
/frameworks/support/car/src/androidTest/java/androidx/car/widget/ |
H A D | DividerVisibilityManagerTest.java | 203 int lower = mPagedListView.getRecyclerView().getLayoutManager() 205 assertThat(lower - upper, is(greaterThan(0)));
|
/frameworks/ex/common/tools/ |
H A D | make-iana-tld-pattern.py | 161 domain = domain.lower()
|
/frameworks/layoutlib/rename_font/ |
H A D | build_font_single.py | 74 extension = os.path.splitext(input_path)[1].lower()
|
H A D | build_font.py | 84 extension = os.path.splitext(filename)[1].lower()
|
/frameworks/base/obex/javax/obex/ |
H A D | ObexHelper.java | 957 int lower = b[(2 * i) + 1]; 961 if (lower < 0) { 962 lower += 256; 964 // If upper and lower both equal 0, it should be the end of string. 966 if (upper == 0 && lower == 0) { 970 c[i] = (char)((upper << 8) | lower); 1091 throw new IllegalArgumentException(size + " is less that the lower limit: "
|
/frameworks/rs/tests/lldb/tests/ |
H A D | run_test.py | 273 truthy = lambda x: x.lower() in ('true', '1')
|
/frameworks/base/tools/apilint/ |
H A D | apilint.py | 369 if (m.name + "Listener").lower() != clazz.name.lower(): 387 if "_ACTION" in f.name or "ACTION_" in f.name or ".action." in f.value.lower(): 419 if "_EXTRA" in f.name or "EXTRA_" in f.name or ".extra" in f.value.lower(): 1285 expected = found.group(1).lower()
|