/frameworks/base/core/java/com/android/internal/widget/ |
ScrollBarUtils.java | 23 final int minLength = thickness * 2; 25 if (length < minLength) { 26 length = 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) {
|
/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++) {
|
UnsignedBytes.java | 292 int minLength = Math.min(left.length, right.length); 293 for (int i = 0; i < minLength; i++) {
|
UnsignedInts.java | 162 int minLength = Math.min(left.length, right.length); 163 for (int i = 0; i < minLength; i++) {
|
UnsignedLongs.java | 164 int minLength = Math.min(left.length, right.length); 165 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...] |
/external/skia/tests/ |
PDFDeflateWStreamTest.cpp | 146 uint32_t minLength = SkTMin(size, 148 for (uint32_t i = 0; i < minLength; ++i) {
|
/external/icu/icu4c/source/common/ |
uinvchar.c | 452 int32_t minLength; 467 minLength= outLength<localLength ? outLength : localLength; 469 while(minLength>0) { 486 --minLength; 497 int32_t minLength; 512 minLength= outLength<localLength ? outLength : localLength; 514 while(minLength>0) { 533 --minLength;
|
ucnv_ext.cpp | 947 extSetUseMapping(UConverterUnicodeSet which, int32_t minLength, uint32_t value) { [all...] |
uidna.cpp | 77 int32_t minLength; 83 minLength = s1Len; 86 minLength = s2Len; 91 minLength = s1Len; 101 if(i == minLength) {
|
/external/icu/icu4c/source/i18n/ |
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.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...] |
/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...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
UResource.java | 224 int minLength = length <= csLength ? length : csLength; 225 for (int i = 0; i < minLength; ++i) {
|
/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/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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
UResource.java | 222 int minLength = length <= csLength ? length : csLength; 223 for (int i = 0; i < minLength; ++i) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
NgramContext.java | 244 final int minLength = Math.min(mPrevWordsCount, prevWordsInfo.mPrevWordsCount); 245 for (int i = 0; i < minLength; i++) { 259 for (int i = minLength; i < longerWordsInfoCount; i++) {
|