HomeSort by relevance Sort by last modified time
    Searched defs:currentIndex (Results 1 - 25 of 414) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/internal/
ArrayIterator.java 8 private int currentIndex = 0;
19 return currentIndex < Array.getLength(array);
24 return Array.get(array, currentIndex++);
  /packages/apps/Settings/src/com/android/settings/display/
ScreenZoomPreference.java 44 final int currentIndex = density.getCurrentIndex();
45 setSummary(entries[currentIndex]);
  /external/apache-http/src/org/apache/http/message/
BasicHeaderIterator.java 66 protected int currentIndex;
92 this.currentIndex = findNext(-1);
135 return (this.currentIndex >= 0);
149 final int current = this.currentIndex;
154 this.currentIndex = findNext(current);
BasicListHeaderIterator.java 66 protected int currentIndex;
99 this.currentIndex = findNext(-1);
148 return (this.currentIndex >= 0);
162 final int current = this.currentIndex;
168 this.currentIndex = findNext(current);
199 this.currentIndex--; // adjust for the removed element
  /external/icu/icu4c/source/common/unicode/
normlzr.h 762 // of the source in [currentIndex..nextIndex[ .
763 int32_t currentIndex, nextIndex;
  /cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
SequenceMatcher.java 76 final int currentIndex = mSequence.size();
77 if (currentIndex >= mPredicates.length) {
81 if (mPredicates[currentIndex].test(element)) {
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
ReplaceableUCharacterIterator.java 41 this.currentIndex = 0;
53 this.currentIndex = 0;
65 this.currentIndex = 0;
90 if (currentIndex < replaceable.length()) {
91 return replaceable.charAt(currentIndex);
134 * Gets the current currentIndex in text.
135 * @return current currentIndex in text.
139 return currentIndex;
143 * Returns next UTF16 character and increments the iterator's currentIndex by 1.
144 * If the resulting currentIndex is greater or equal to the text length, th
    [all...]
CharacterIteratorWrapper.java 114 int currentIndex = iterator.getIndex();
122 iterator.setIndex(currentIndex);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
ReplaceableUCharacterIterator.java 39 this.currentIndex = 0;
51 this.currentIndex = 0;
63 this.currentIndex = 0;
88 if (currentIndex < replaceable.length()) {
89 return replaceable.charAt(currentIndex);
132 * Gets the current currentIndex in text.
133 * @return current currentIndex in text.
137 return currentIndex;
141 * Returns next UTF16 character and increments the iterator's currentIndex by 1.
142 * If the resulting currentIndex is greater or equal to the text length, th
    [all...]
CharacterIteratorWrapper.java 112 int currentIndex = iterator.getIndex();
120 iterator.setIndex(currentIndex);
  /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/skia/src/sksl/ir/
SkSLConstructor.h 182 int currentIndex = 0;
185 ASSERT(targetIndex >= currentIndex);
187 if (currentIndex + arg->fType.columns() > targetIndex) {
193 return &((Constructor&) *arg).getVecComponent(targetIndex - currentIndex);
196 currentIndex += arg->fType.columns();
  /external/skqp/src/sksl/ir/
SkSLConstructor.h 182 int currentIndex = 0;
185 ASSERT(targetIndex >= currentIndex);
187 if (currentIndex + arg->fType.columns() > targetIndex) {
193 return &((Constructor&) *arg).getVecComponent(targetIndex - currentIndex);
196 currentIndex += arg->fType.columns();
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
Correlation.java 113 int currentIndex = 0;
115 for (int i = 0; i<N && currentIndex<mBlockSize; i++) {
118 currentIndex++;
122 if (currentIndex>=mBlockSize) {
128 dataDownsampled[currentIndex] += value;
  /dalvik/dx/src/com/android/dx/dex/code/
MultiCstInsn.java 245 final int currentIndex = getIndex(i);
246 if (currentIndex < 65536) {
247 sb.append(Hex.u2(currentIndex));
249 sb.append(Hex.u4(currentIndex));
  /external/freetype/src/gxvalid/
gxvmorx1.c 118 FT_Short currentIndex;
136 currentIndex = (FT_Short)( glyphOffset_p->ul );
147 GXV_TRACE(( "markIndex = %d, currentIndex = %d\n",
148 markIndex, currentIndex ));
154 if ( optdata->substitutionTable_num_lookupTables < currentIndex + 1 )
156 (FT_UShort)( currentIndex + 1 );
  /external/jline/src/src/main/java/jline/
History.java 22 private int currentIndex = 0;
80 currentIndex = 0;
99 currentIndex = history.size();
129 if (lastEntry >= 0 && lastEntry != currentIndex) {
130 currentIndex = history.size() - 1;
142 currentIndex = history.size();
178 return this.currentIndex;
185 if (currentIndex >= history.size()) {
189 return (String) history.get(currentIndex);
198 if (currentIndex <= 0)
    [all...]
  /external/proguard/src/proguard/
WordReader.java 44 private int currentIndex;
138 while (currentIndex < currentLineLength &&
139 Character.isWhitespace(currentLine.charAt(currentIndex)))
141 currentIndex++;
145 if (currentIndex < currentLineLength &&
146 isComment(currentLine.charAt(currentIndex)))
148 currentIndex = currentLineLength;
153 while (currentLine == null || currentIndex == currentLineLength)
164 currentIndex = 0;
165 while (currentIndex < currentLineLength &
    [all...]
  /frameworks/base/libs/hwui/
PathParser.cpp 58 int currentIndex = start;
63 for (; currentIndex < end; currentIndex++) {
66 char currentChar = s[currentIndex];
74 if (currentIndex != start && !isPrevExponential) {
99 *outEndPosition = currentIndex;
  /packages/apps/UnifiedEmail/src/com/android/mail/compose/
FromAddressSpinner.java 59 int currentIndex = 0;
63 setSelection(currentIndex, true);
66 currentIndex++;
  /external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
Correlation.java 138 int currentIndex = 0;
140 for (int i = 0; i < N && currentIndex < mBlockSize; i++) {
143 currentIndex++;
147 if (currentIndex >= mBlockSize) {
153 dataDownsampled[currentIndex] += value;
  /external/icu/icu4c/source/tools/gensprep/
store.c 157 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){
320 currentIndex+value->length, _SPREP_MAX_INDEX_VALUE);
328 mappingData[currentIndex++] = (uint16_t) mappingLength;
331 u_memmove(mappingData+currentIndex, value->mapping, value->length);
332 currentIndex += value->length;
333 if (currentIndex > mappingDataCapacity)
    [all...]
  /external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
PhonePrefixMap.java 153 int currentIndex = numOfEntries - 1;
161 currentIndex = binarySearch(0, currentIndex, phonePrefix);
162 if (currentIndex < 0) {
165 int currentPrefix = phonePrefixMapStorage.getPrefix(currentIndex);
167 return phonePrefixMapStorage.getDescription(currentIndex);
  /packages/apps/Car/Launcher/src/com/android/car/carlauncher/
AppGridActivity.java 199 int currentIndex = 0;
203 while (itemsAdded < itemCount && currentIndex < statsSize) {
204 String packageName = stats.get(currentIndex).getPackageName();
205 currentIndex++;
  /packages/apps/TV/src/com/android/tv/menu/
ChannelsRowAdapter.java 185 int currentIndex = 1;
186 if (updateItem(needToShowSetupItem(), ChannelsRowItem.SETUP_ITEM, currentIndex)) {
187 ++currentIndex;
189 if (updateItem(needToShowDvrItem(), ChannelsRowItem.DVR_ITEM, currentIndex)) {
190 ++currentIndex;
192 if (updateItem(needToShowAppLinkItem(), ChannelsRowItem.APP_LINK_ITEM, currentIndex)) {
198 notifyItemChanged(currentIndex);
200 ++currentIndex;
202 int numOldChannels = items.size() - currentIndex;
204 while (items.size() > currentIndex) {
    [all...]

Completed in 1079 milliseconds

1 2 3 4 5 6 7 8 91011>>