HomeSort by relevance Sort by last modified time
    Searched refs:minLength (Results 1 - 25 of 261) sorted by null

1 2 3 4 5 6 7 8 91011

  /frameworks/layoutlib/bridge/src/dalvik/system/
VMRuntime_Delegate.java 32 int minLength) {
36 int size = ((minLength & 1) == 0) ? minLength + 1 : minLength;
39 int bytes = 20 + (2 * minLength);
45 int size = ((minLength & 1) == 0) ? minLength + 1 : minLength;
48 int bytes = 20 + minLength;
54 int bytes = 20 + minLength;
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
ScrollBarUtils.java 23 final int minLength = thickness * 2;
25 if (length < minLength) {
26 length = minLength;
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
Strings.java 73 * Returns a string, of length at least {@code minLength}, consisting of
85 * @param minLength the minimum length the resulting string must have. Can be
91 public static String padStart(String string, int minLength, char padChar) {
93 if (string.length() >= minLength) {
96 StringBuilder sb = new StringBuilder(minLength);
97 for (int i = string.length(); i < minLength; i++) {
105 * Returns a string, of length at least {@code minLength}, consisting of
117 * @param minLength the minimum length the resulting string must have. Can be
123 public static String padEnd(String string, int minLength, char padChar) {
125 if (string.length() >= minLength) {
    [all...]
  /external/guava/guava/src/com/google/common/base/
Strings.java 80 * Returns a string, of length at least {@code minLength}, consisting of
92 * @param minLength the minimum length the resulting string must have. Can be
98 public static String padStart(String string, int minLength, char padChar) {
100 if (string.length() >= minLength) {
103 StringBuilder sb = new StringBuilder(minLength);
104 for (int i = string.length(); i < minLength; i++) {
112 * Returns a string, of length at least {@code minLength}, consisting of
124 * @param minLength the minimum length the resulting string must have. Can be
130 public static String padEnd(String string, int minLength, char padChar) {
132 if (string.length() >= minLength) {
    [all...]
  /cts/tests/tests/transition/src/android/transition/cts/
PathMotionTest.java 36 float minLength = Math.min(expectedLength, pathMeasure.getLength());
40 float increment = minLength / 5f;
41 for (float along = 0; along <= minLength; along += increment) {
  /frameworks/support/transition/src/androidTest/java/androidx/transition/
PathMotionTest.java 38 float minLength = Math.min(expectedLength, pathMeasure.getLength());
42 float increment = minLength / 5f;
43 for (float along = 0; along <= minLength; along += increment) {
  /external/icu/icu4c/source/i18n/
sortkey.cpp 195 int32_t minLength = getLength();
197 if (minLength < targetLength) {
199 } else if (minLength == targetLength) {
202 minLength = targetLength;
206 if (minLength > 0) {
207 int diff = uprv_memcmp(src, tgt, minLength);
collationweights.h 99 UBool allocWeightsInShortRanges(int32_t n, int32_t minLength);
100 UBool allocWeightsInMinLengthRanges(int32_t n, int32_t minLength);
collationweights.cpp 392 CollationWeights::allocWeightsInShortRanges(int32_t n, int32_t minLength) {
393 // See if the first few minLength and minLength+1 ranges have enough weights.
394 for(int32_t i = 0; i < rangeCount && ranges[i].length <= (minLength + 1); ++i) {
396 // Use the first few minLength and minLength+1 ranges.
397 if(ranges[i].length > minLength) {
398 // Reduce the number of weights from the last minLength+1 range
399 // which might sort before some minLength ranges,
400 // so that we use all weights in the minLength ranges
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
CollationWeights.java 101 int minLength=ranges[0].length;
103 if(allocWeightsInShortRanges(n, minLength)) { break; }
105 if(minLength == 4) {
111 if(allocWeightsInMinLengthRanges(n, minLength)) { break; }
113 /* no good match, lengthen all minLength ranges and iterate */
114 // printf("lengthen the short ranges from %ld bytes to %ld and iterate\n", minLength, minLength+1);
115 for (int i = 0; i < rangeCount && ranges[i].length == minLength; ++i) {
461 private boolean allocWeightsInShortRanges(int n, int minLength) {
462 // See if the first few minLength and minLength+1 ranges have enough weights
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
CollationWeights.java 99 int minLength=ranges[0].length;
101 if(allocWeightsInShortRanges(n, minLength)) { break; }
103 if(minLength == 4) {
109 if(allocWeightsInMinLengthRanges(n, minLength)) { break; }
111 /* no good match, lengthen all minLength ranges and iterate */
112 // printf("lengthen the short ranges from %ld bytes to %ld and iterate\n", minLength, minLength+1);
113 for (int i = 0; i < rangeCount && ranges[i].length == minLength; ++i) {
459 private boolean allocWeightsInShortRanges(int n, int minLength) {
460 // See if the first few minLength and minLength+1 ranges have enough weights
    [all...]
  /packages/apps/Dialer/java/com/android/voicemail/
PinChanger.java 64 public int minLength;
  /external/guava/guava/src/com/google/common/primitives/
SignedBytes.java 192 int minLength = Math.min(left.length, right.length);
193 for (int i = 0; i < minLength; i++) {
Booleans.java 211 * has a length of at least {@code minLength}, it is returned directly.
212 * Otherwise, a new array of size {@code minLength + padding} is returned,
216 * @param minLength the minimum length the returned array must guarantee
219 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is
222 * minimum length {@code minLength}
225 boolean[] array, int minLength, int padding) {
226 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
228 return (array.length < minLength)
    [all...]
Chars.java 331 * has a length of at least {@code minLength}, it is returned directly.
332 * Otherwise, a new array of size {@code minLength + padding} is returned,
336 * @param minLength the minimum length the returned array must guarantee
339 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is
342 * minimum length {@code minLength}
345 char[] array, int minLength, int padding) {
346 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
348 return (array.length < minLength)
    [all...]
Floats.java 306 * has a length of at least {@code minLength}, it is returned directly.
307 * Otherwise, a new array of size {@code minLength + padding} is returned,
311 * @param minLength the minimum length the returned array must guarantee
314 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is
317 * minimum length {@code minLength}
320 float[] array, int minLength, int padding) {
321 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
323 return (array.length < minLength)
    [all...]
Shorts.java 375 * has a length of at least {@code minLength}, it is returned directly.
376 * Otherwise, a new array of size {@code minLength + padding} is returned,
380 * @param minLength the minimum length the returned array must guarantee
383 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is
386 * minimum length {@code minLength}
389 short[] array, int minLength, int padding) {
390 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
392 return (array.length < minLength)
    [all...]
Bytes.java 187 * has a length of at least {@code minLength}, it is returned directly.
188 * Otherwise, a new array of size {@code minLength + padding} is returned,
192 * @param minLength the minimum length the returned array must guarantee
195 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is
198 * minimum length {@code minLength}
201 byte[] array, int minLength, int padding) {
202 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
204 return (array.length < minLength)
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
Chars.java 280 * has a length of at least {@code minLength}, it is returned directly.
281 * Otherwise, a new array of size {@code minLength + padding} is returned,
285 * @param minLength the minimum length the returned array must guarantee
288 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is
291 * minimum length {@code minLength}
294 char[] array, int minLength, int padding) {
295 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
297 return (array.length < minLength)
    [all...]
Doubles.java 305 * has a length of at least {@code minLength}, it is returned directly.
306 * Otherwise, a new array of size {@code minLength + padding} is returned,
310 * @param minLength the minimum length the returned array must guarantee
313 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is
316 * minimum length {@code minLength}
319 double[] array, int minLength, int padding) {
320 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
322 return (array.length < minLength)
    [all...]
Floats.java 302 * has a length of at least {@code minLength}, it is returned directly.
303 * Otherwise, a new array of size {@code minLength + padding} is returned,
307 * @param minLength the minimum length the returned array must guarantee
310 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is
313 * minimum length {@code minLength}
316 float[] array, int minLength, int padding) {
317 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
319 return (array.length < minLength)
    [all...]
Shorts.java 323 * has a length of at least {@code minLength}, it is returned directly.
324 * Otherwise, a new array of size {@code minLength + padding} is returned,
328 * @param minLength the minimum length the returned array must guarantee
331 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is
334 * minimum length {@code minLength}
337 short[] array, int minLength, int padding) {
338 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
340 return (array.length < minLength)
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/params/
TonemapCurve.java 148 private static void checkArgumentArrayLengthNoLessThan(float[] array, int minLength,
150 if (array.length < minLength) {
152 + minLength);
  /libcore/ojluni/src/test/java/time/tck/java/time/
TCKMonth.java 398 // minLength()
402 assertEquals(Month.JANUARY.minLength(), 31);
403 assertEquals(Month.FEBRUARY.minLength(), 28);
404 assertEquals(Month.MARCH.minLength(), 31);
405 assertEquals(Month.APRIL.minLength(), 30);
406 assertEquals(Month.MAY.minLength(), 31);
407 assertEquals(Month.JUNE.minLength(), 30);
408 assertEquals(Month.JULY.minLength(), 31);
409 assertEquals(Month.AUGUST.minLength(), 31);
410 assertEquals(Month.SEPTEMBER.minLength(), 30)
    [all...]
  /frameworks/base/core/jni/android/graphics/
GraphicsJNI.h 224 int minLength = 0, JNIAccess = kRW_JNIAccess);
240 AutoJavaIntArray(JNIEnv* env, jintArray array, int minLength = 0);
256 int minLength = 0, JNIAccess = kRW_JNIAccess);
272 AutoJavaByteArray(JNIEnv* env, jbyteArray array, int minLength = 0);

Completed in 1121 milliseconds

1 2 3 4 5 6 7 8 91011