/frameworks/base/tools/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...] |
/external/libxml2/test/schemas/ |
hexbinary_1.xml | 10 <!-- minLength and maxLength -->
|
hexbinary_0.xml | 13 <!-- minLength and maxLength -->
|
hexbinary_0.xsd | 19 <xsd:minLength value="1"/>
|
/packages/apps/Settings/src/com/android/settings/ |
SetupChooseLockPassword.java | 36 int minLength, final int maxLength, boolean requirePasswordToDecrypt, 38 Intent intent = ChooseLockPassword.createIntent(context, quality, minLength, 46 int minLength, final int maxLength, boolean requirePasswordToDecrypt, String password) { 47 Intent intent = ChooseLockPassword.createIntent(context, quality, minLength, maxLength, 55 int minLength, final int maxLength, boolean requirePasswordToDecrypt, long challenge) { 56 Intent intent = ChooseLockPassword.createIntent(context, quality, minLength, maxLength,
|
SetupChooseLockGeneric.java | 183 int minLength, final int maxLength, 185 final Intent intent = SetupChooseLockPassword.createIntent(context, quality, minLength, 193 int minLength, final int maxLength, 195 final Intent intent = SetupChooseLockPassword.createIntent(context, quality, minLength, 202 protected Intent getLockPasswordIntent(Context context, int quality, int minLength, 204 final Intent intent = SetupChooseLockPassword.createIntent(context, quality, minLength,
|
/cts/tests/tests/transition/src/android/transition/cts/ |
PathMotionTest.java | 31 float minLength = Math.min(expectedLength, pathMeasure.getLength()); 35 float increment = minLength / 5f; 36 for (float along = 0; along <= minLength; along += increment) {
|
/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/icu/android_icu4j/src/main/java/android/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; 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...] |
/external/icu/icu4c/source/i18n/ |
collationweights.cpp | 390 CollationWeights::allocWeightsInShortRanges(int32_t n, int32_t minLength) { 391 // See if the first few minLength and minLength+1 ranges have enough weights. 392 for(int32_t i = 0; i < rangeCount && ranges[i].length <= (minLength + 1); ++i) { 394 // Use the first few minLength and minLength+1 ranges. 395 if(ranges[i].length > minLength) { 396 // Reduce the number of weights from the last minLength+1 range 397 // which might sort before some minLength ranges, 398 // so that we use all weights in the minLength ranges [all...] |
sortkey.cpp | 193 int32_t minLength = getLength(); 195 if (minLength < targetLength) { 197 } else if (minLength == targetLength) { 200 minLength = targetLength; 204 if (minLength > 0) { 205 int diff = uprv_memcmp(src, tgt, minLength);
|
collationweights.h | 97 UBool allocWeightsInShortRanges(int32_t n, int32_t minLength); 98 UBool allocWeightsInMinLengthRanges(int32_t n, int32_t minLength);
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
CollationWeights.java | 97 int minLength=ranges[0].length; 99 if(allocWeightsInShortRanges(n, minLength)) { break; } 101 if(minLength == 4) { 107 if(allocWeightsInMinLengthRanges(n, minLength)) { break; } 109 /* no good match, lengthen all minLength ranges and iterate */ 110 // printf("lengthen the short ranges from %ld bytes to %ld and iterate\n", minLength, minLength+1); 111 for(int i=0; ranges[i].length==minLength; ++i) { 457 private boolean allocWeightsInShortRanges(int n, int minLength) { 458 // See if the first few minLength and minLength+1 ranges have enough weights [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...] |
/external/guava/guava/src/com/google/common/primitives/ |
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...] |
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...] |
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...] |
Doubles.java | 310 * has a length of at least {@code minLength}, it is returned directly. 311 * Otherwise, a new array of size {@code minLength + padding} is returned, 315 * @param minLength the minimum length the returned array must guarantee 318 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 321 * minimum length {@code minLength} 324 double[] array, int minLength, int padding) { 325 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 327 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...] |
Ints.java | 377 * has a length of at least {@code minLength}, it is returned directly. 378 * Otherwise, a new array of size {@code minLength + padding} is returned, 382 * @param minLength the minimum length the returned array must guarantee 385 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 388 * minimum length {@code minLength} 391 int[] array, int minLength, int padding) { 392 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 394 return (array.length < minLength) [all...] |
Longs.java | 409 * has a length of at least {@code minLength}, it is returned directly. 410 * Otherwise, a new array of size {@code minLength + padding} is returned, 414 * @param minLength the minimum length the returned array must guarantee 417 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 420 * minimum length {@code minLength} 423 long[] array, int minLength, int padding) { 424 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 426 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...] |
/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...] |