Home
last modified time | relevance | path

Searched refs:curIndex (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DComprehensionTlv.java116 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 …]
DBerTlv.java79 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/
DDisplayDensityUtils.java118 int curIndex = 0; in DisplayDensityUtils() local
126 currentDensityIndex = curIndex; in DisplayDensityUtils()
128 entries[curIndex] = res.getString(SUMMARIES_SMALLER[i]); in DisplayDensityUtils()
129 values[curIndex] = density; in DisplayDensityUtils()
130 curIndex++; in DisplayDensityUtils()
135 currentDensityIndex = curIndex; in DisplayDensityUtils()
137 values[curIndex] = defaultDensity; in DisplayDensityUtils()
138 entries[curIndex] = res.getString(SUMMARY_DEFAULT); in DisplayDensityUtils()
139 curIndex++; in DisplayDensityUtils()
147 currentDensityIndex = curIndex; in DisplayDensityUtils()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/
DAssetTest.java40 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/
DPhoneNumberFormattingTextWatcher.java130 int curIndex = cursor - 1; in reformat() local
145 if (i == curIndex) { in reformat()
/frameworks/base/core/java/android/widget/
DListPopupWindow.java927 int curIndex = mDropDownList.getSelectedItemPosition();
946 if ((below && keyCode == KeyEvent.KEYCODE_DPAD_UP && curIndex <= firstItem) ||
947 (!below && keyCode == KeyEvent.KEYCODE_DPAD_DOWN && curIndex >= lastItem)) {
987 if (curIndex == lastItem) {
991 curIndex == firstItem) {
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java948 int curIndex = -1;
950 for (curIndex = 0; curIndex < mItems.size(); curIndex++) {
951 final ItemInfo ii = mItems.get(curIndex);
959 curItem = addNewItem(mCurItem, curIndex);
967 int itemIndex = curIndex - 1;
985 curIndex--;
995 curIndex++;
1001 itemIndex = curIndex + 1;
1033 calculatePageOffsets(curItem, curIndex, oldCurInfo);
1107 private void calculatePageOffsets(ItemInfo curItem, int curIndex, ItemInfo oldCurInfo) {
[all …]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DListPopupWindow.java965 int curIndex = mDropDownList.getSelectedItemPosition();
984 if ((below && keyCode == KeyEvent.KEYCODE_DPAD_UP && curIndex <= firstItem) ||
985 (!below && keyCode == KeyEvent.KEYCODE_DPAD_DOWN && curIndex >= lastItem)) {
1025 if (curIndex == lastItem) {
1029 curIndex == firstItem) {
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/
DViewPager.java1147 int curIndex = -1;
1149 for (curIndex = 0; curIndex < mItems.size(); curIndex++) {
1150 final ItemInfo ii = mItems.get(curIndex);
1158 curItem = addNewItem(mCurItem, curIndex);
1166 int itemIndex = curIndex - 1;
1184 curIndex--;
1194 curIndex++;
1200 itemIndex = curIndex + 1;
1232 calculatePageOffsets(curItem, curIndex, oldCurInfo);
1297 private void calculatePageOffsets(ItemInfo curItem, int curIndex, ItemInfo oldCurInfo) {
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java6941 int curIndex = 0; in dumpLocked() local
6942 while ((dit=getDailyItemLocked(curIndex)) != null) { in dumpLocked()
6943 curIndex++; in dumpLocked()