/external/proguard/src/proguard/ |
WordReader.java | 44 private int currentIndex; 134 currentIndex < currentLineLength && 135 Character.isWhitespace(currentLine.charAt(currentIndex))) 137 currentIndex++; 141 while (currentLine == null || currentIndex == currentLineLength) 167 currentIndex = 0; 168 while (currentIndex < currentLineLength && 169 Character.isWhitespace(currentLine.charAt(currentIndex))) 171 currentIndex++; 176 int startIndex = currentIndex; [all...] |
/external/hamcrest/src/org/hamcrest/internal/ |
ArrayIterator.java | 8 private int currentIndex = 0; 18 return currentIndex < Array.getLength(array); 22 return Array.get(array, currentIndex++);
|
/external/apache-http/src/org/apache/http/message/ |
BasicListHeaderIterator.java | 61 protected int currentIndex; 94 this.currentIndex = findNext(-1); 143 return (this.currentIndex >= 0); 157 final int current = this.currentIndex; 163 this.currentIndex = findNext(current); 194 this.currentIndex--; // adjust for the removed element
|
BasicHeaderIterator.java | 61 protected int currentIndex; 87 this.currentIndex = findNext(-1); 130 return (this.currentIndex >= 0); 144 final int current = this.currentIndex; 149 this.currentIndex = findNext(current);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
RelativeLayoutRuleTest.java | 30 int insertIndex, int currentIndex, String... graphicsFragments) { 44 secondDragPoint, insertIndex, currentIndex, graphicsFragments); 48 int insertIndex, int currentIndex, String[] extraFragments, 58 currentIndex, combined);
|
FrameLayoutRuleTest.java | 26 protected void dragInto(Rect dragBounds, Point dragPoint, int insertIndex, int currentIndex, 40 insertIndex, currentIndex, graphicsFragments);
|
AbsoluteLayoutRuleTest.java | 28 protected INode dragInto(Rect dragBounds, Point dragPoint, int insertIndex, int currentIndex, 42 insertIndex, currentIndex, graphicsFragments);
|
LayoutTestBase.java | 61 * @param currentIndex If the dragged widget is already in the canvas this 69 Point secondDropPoint, int insertIndex, int currentIndex, 72 String draggedButtonId = (currentIndex == -1) ? "@+id/DraggedButton" : targetNode 73 .getChildren()[currentIndex].getStringAttr(ANDROID_URI, ATTR_ID); 84 if (currentIndex != -1) { 129 if (currentIndex == -1) { 134 ((TestNode) targetNode).removeChild(currentIndex);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
AbstractQueueTest.java | 42 private int currentIndex = -1; 45 return size > 0 && currentIndex < size; 52 currentIndex++; 53 return (E) elements[currentIndex]; 57 if (-1 == currentIndex) { 60 for (int i = currentIndex; i < size - 1; i++) {
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/ |
AreaCodeMap.java | 152 int currentIndex = numOfEntries - 1; 160 currentIndex = binarySearch(0, currentIndex, phonePrefix); 161 if (currentIndex < 0) { 164 int currentPrefix = areaCodeMapStorage.getPrefix(currentIndex); 166 return areaCodeMapStorage.getDescription(currentIndex);
|
/external/chromium_org/third_party/icu/source/tools/gensprep/ |
store.c | 154 static int16_t currentIndex = 0; /* the current index into the data trie */ 271 indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION+mappingLength] = currentIndex; 276 limitIndex = currentIndex; 284 trieWord = currentIndex << 2; 318 if(currentIndex+value->length+1 > _SPREP_MAX_INDEX_VALUE){ 319 fprintf(stderr, "Too many entries in the mapping table %i. Maximum allowed is %i\n", currentIndex+value->length, _SPREP_MAX_INDEX_VALUE); 324 if(currentIndex+value->length+1 <= mappingDataCapacity){ 328 mappingData[currentIndex++] = (uint16_t) mappingLength; 331 uprv_memmove(mappingData+currentIndex, value->mapping, value->length*U_SIZEOF_UCHAR); 332 currentIndex += value->length [all...] |
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
WebBackForwardListChromium.java | 86 int currentIndex) { 88 mCurrentIndex = currentIndex;
|
/external/chromium_org/third_party/icu/source/common/ |
normlzr.cpp | 34 currentIndex(0), nextIndex(0), 43 currentIndex(0), nextIndex(0), 52 currentIndex(0), nextIndex(0), 61 currentIndex(copy.currentIndex), nextIndex(copy.nextIndex), 101 return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex; 288 currentIndex=nextIndex=text->setToStart(); 295 currentIndex=nextIndex=text->getIndex(); 314 currentIndex=nextIndex=text->setToEnd(); 335 return currentIndex; [all...] |
ulist.c | 30 int32_t currentIndex; 52 newList->currentIndex = -1; 66 list->currentIndex = 0; 118 list->currentIndex++; 155 list->currentIndex++; 171 list->currentIndex = 0;
|
/external/icu4c/common/ |
normlzr.cpp | 35 currentIndex(0), nextIndex(0), 44 currentIndex(0), nextIndex(0), 53 currentIndex(0), nextIndex(0), 62 currentIndex(copy.currentIndex), nextIndex(copy.nextIndex), 100 return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex; 287 currentIndex=nextIndex=text->setToStart(); 294 currentIndex=nextIndex=text->getIndex(); 313 currentIndex=nextIndex=text->setToEnd(); 334 return currentIndex; [all...] |
ulist.c | 30 int32_t currentIndex; 52 newList->currentIndex = -1; 66 list->currentIndex = 0; 118 list->currentIndex++; 155 list->currentIndex++; 171 list->currentIndex = 0;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
RichInputMethodManager.java | 136 final int currentIndex = getSubtypeIndexInList(currentSubtype, enabledSubtypes); 137 if (currentIndex == INDEX_NOT_FOUND) { 142 final int nextIndex = (currentIndex + 1) % enabledSubtypes.size(); 143 if (nextIndex <= currentIndex && !onlyCurrentIme) { 156 final int currentIndex = getImiIndexInList(mInputMethodInfoOfThisIme, enabledImis); 157 if (currentIndex == INDEX_NOT_FOUND) { 162 final InputMethodInfo nextImi = getNextNonAuxiliaryIme(currentIndex, enabledImis); 188 private static InputMethodInfo getNextNonAuxiliaryIme(final int currentIndex, 192 final int nextIndex = (currentIndex + i) % count; 198 return imiList.get(currentIndex); [all...] |
/external/icu4c/tools/gensprep/ |
store.c | 155 static int16_t currentIndex = 0; /* the current index into the data trie */ 269 indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION+mappingLength] = currentIndex; 274 limitIndex = currentIndex; 282 trieWord = currentIndex << 2; 316 if(currentIndex+value->length+1 > _SPREP_MAX_INDEX_VALUE){ 318 currentIndex+value->length, _SPREP_MAX_INDEX_VALUE); 326 mappingData[currentIndex++] = (uint16_t) mappingLength; 329 uprv_memmove(mappingData+currentIndex, value->mapping, value->length*U_SIZEOF_UCHAR); 330 currentIndex += value->length; 331 if (currentIndex > mappingDataCapacity) [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/ |
Path.java | 92 int currentIndex = 0; 95 if (index == -1 || index == currentIndex) { 98 currentIndex++;
|
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFCatalog.cpp | 81 uint32_t currentIndex = pos; 82 if (fCatalog[currentIndex].fObjNumAssigned) { 83 return currentIndex + 1; 92 if (fCatalog[currentIndex].fOnFirstPage) { 103 if (objNum - 1 != currentIndex) { 104 SkTSwap(fCatalog[objNum - 1], fCatalog[currentIndex]);
|
/external/skia/src/pdf/ |
SkPDFCatalog.cpp | 81 uint32_t currentIndex = pos; 82 if (fCatalog[currentIndex].fObjNumAssigned) { 83 return currentIndex + 1; 92 if (fCatalog[currentIndex].fOnFirstPage) { 103 if (objNum - 1 != currentIndex) { 104 SkTSwap(fCatalog[objNum - 1], fCatalog[currentIndex]);
|
/libcore/luni/src/test/java/tests/api/java/util/ |
AbstractQueueTest.java | 44 private int currentIndex = -1; 47 return size > 0 && currentIndex < size; 54 currentIndex++; 55 return (E) elements[currentIndex]; 59 if (-1 == currentIndex) { 62 for (int i = currentIndex; i < size - 1; i++) {
|
/external/chromium_org/third_party/WebKit/Source/core/frame/animation/ |
KeyframeAnimation.cpp | 89 size_t currentIndex = 0; 96 currentIndex = (lastIndex + firstIndex) >> 1; 97 double key = m_keyframes[currentIndex].key(); 98 distance = lastIndex - currentIndex; 102 currentIndex++; 103 firstIndex = currentIndex; 105 lastIndex = currentIndex; 113 for (size_t i = currentIndex; i < numKeyframes; ++i) { 122 for (int i = currentIndex; i >= 0; --i) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
FromAddressSpinner.java | 59 int currentIndex = 0; 63 setSelection(currentIndex, true); 66 currentIndex++;
|
/frameworks/base/libs/hwui/ |
PathTessellator.cpp | 167 int currentIndex = 0; 173 copyVertex(&buffer[currentIndex++], &perimeter[srcAindex]); 175 copyVertex(&buffer[currentIndex++], &perimeter[srcBindex]); 192 int currentIndex = 0; 207 Vertex::set(&buffer[currentIndex++], 211 Vertex::set(&buffer[currentIndex++], 221 copyVertex(&buffer[currentIndex++], &buffer[0]); 222 copyVertex(&buffer[currentIndex++], &buffer[1]); 228 const vec2& normal, Vertex* buffer, int& currentIndex, bool begin) { 237 Vertex::set(&buffer[currentIndex++], referencePoint + strokeOffset) [all...] |