Searched refs:curIndex (Results 1 – 10 of 10) sorted by relevance
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ComprehensionTlv.java | 116 int curIndex = startIndex; in decode() local 123 int temp = data[curIndex++] & 0xff; in decode() 129 ", startIndex=" + startIndex + " curIndex=" + curIndex + in decode() 136 tag = ((data[curIndex] & 0xff) << 8) in decode() 137 | (data[curIndex + 1] & 0xff); in decode() 140 curIndex += 2; in decode() 152 temp = data[curIndex++] & 0xff; in decode() 156 length = data[curIndex++] & 0xff; in decode() 161 " startIndex=" + startIndex + " curIndex=" + curIndex + in decode() 165 length = ((data[curIndex] & 0xff) << 8) in decode() [all …]
|
D | BerTlv.java | 79 int curIndex = 0; in decode() local 86 tag = data[curIndex++] & 0xff; in decode() 89 int temp = data[curIndex++] & 0xff; in decode() 93 temp = data[curIndex++] & 0xff; in decode() 98 " curIndex=" + curIndex + " endIndex=" + endIndex); in decode() 106 " byte= " + Integer.toHexString(temp) + " curIndex=" + curIndex + in decode() 112 curIndex = 0; in decode() 118 " curIndex=" + curIndex + " endIndex=" + endIndex); in decode() 124 if (endIndex - curIndex < length) { in decode() 126 "Command had extra data endIndex=" + endIndex + " curIndex=" + curIndex + in decode() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
D | DisplayDensityUtils.java | 114 int curIndex = 0; in DisplayDensityUtils() local 122 currentDensityIndex = curIndex; in DisplayDensityUtils() 124 entries[curIndex] = res.getString(SUMMARIES_SMALLER[i]); in DisplayDensityUtils() 125 values[curIndex] = density; in DisplayDensityUtils() 126 curIndex++; in DisplayDensityUtils() 131 currentDensityIndex = curIndex; in DisplayDensityUtils() 133 values[curIndex] = defaultDensity; in DisplayDensityUtils() 134 entries[curIndex] = res.getString(SUMMARY_DEFAULT); in DisplayDensityUtils() 135 curIndex++; in DisplayDensityUtils() 143 currentDensityIndex = curIndex; in DisplayDensityUtils() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | AssetTest.java | 40 int curIndex = 0; in verifyTextAsset() local 43 assertEquals("At index " + curIndex in verifyTextAsset() 44 + " expected " + expectedString.charAt(curIndex) in verifyTextAsset() 46 buffer[i], expectedString.charAt(curIndex)); in verifyTextAsset() 47 curIndex++; in verifyTextAsset()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberFormattingTextWatcher.java | 130 int curIndex = cursor - 1; in reformat() local 145 if (i == curIndex) { in reformat()
|
/frameworks/base/core/java/android/widget/ |
D | ListPopupWindow.java | 901 int curIndex = mDropDownList.getSelectedItemPosition(); 920 if ((below && keyCode == KeyEvent.KEYCODE_DPAD_UP && curIndex <= firstItem) || 921 (!below && keyCode == KeyEvent.KEYCODE_DPAD_DOWN && curIndex >= lastItem)) { 961 if (curIndex == lastItem) { 965 curIndex == firstItem) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 974 int curIndex = -1; 976 for (curIndex = 0; curIndex < mItems.size(); curIndex++) { 977 final ItemInfo ii = mItems.get(curIndex); 985 curItem = addNewItem(mCurItem, curIndex); 993 int itemIndex = curIndex - 1; 1011 curIndex--; 1021 curIndex++; 1027 itemIndex = curIndex + 1; 1059 calculatePageOffsets(curItem, curIndex, oldCurInfo); 1133 private void calculatePageOffsets(ItemInfo curItem, int curIndex, ItemInfo oldCurInfo) { [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ListPopupWindow.java | 947 int curIndex = mDropDownList.getSelectedItemPosition(); 966 if ((below && keyCode == KeyEvent.KEYCODE_DPAD_UP && curIndex <= firstItem) || 967 (!below && keyCode == KeyEvent.KEYCODE_DPAD_DOWN && curIndex >= lastItem)) { 1007 if (curIndex == lastItem) { 1011 curIndex == firstItem) {
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | ViewPager.java | 1138 int curIndex = -1; 1140 for (curIndex = 0; curIndex < mItems.size(); curIndex++) { 1141 final ItemInfo ii = mItems.get(curIndex); 1149 curItem = addNewItem(mCurItem, curIndex); 1157 int itemIndex = curIndex - 1; 1175 curIndex--; 1185 curIndex++; 1191 itemIndex = curIndex + 1; 1223 calculatePageOffsets(curItem, curIndex, oldCurInfo); 1288 private void calculatePageOffsets(ItemInfo curItem, int curIndex, ItemInfo oldCurInfo) { [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 5367 int curIndex = 0; in dumpLocked() local 5368 while ((dit=getDailyItemLocked(curIndex)) != null) { in dumpLocked() 5369 curIndex++; in dumpLocked()
|