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.java117 int curIndex = 0; in DisplayDensityUtils() local
125 currentDensityIndex = curIndex; in DisplayDensityUtils()
127 entries[curIndex] = res.getString(SUMMARIES_SMALLER[i]); in DisplayDensityUtils()
128 values[curIndex] = density; in DisplayDensityUtils()
129 curIndex++; in DisplayDensityUtils()
134 currentDensityIndex = curIndex; in DisplayDensityUtils()
136 values[curIndex] = defaultDensity; in DisplayDensityUtils()
137 entries[curIndex] = res.getString(SUMMARY_DEFAULT); in DisplayDensityUtils()
138 curIndex++; in DisplayDensityUtils()
146 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.java901 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/
DViewPager.java947 int curIndex = -1;
949 for (curIndex = 0; curIndex < mItems.size(); curIndex++) {
950 final ItemInfo ii = mItems.get(curIndex);
958 curItem = addNewItem(mCurItem, curIndex);
966 int itemIndex = curIndex - 1;
984 curIndex--;
994 curIndex++;
1000 itemIndex = curIndex + 1;
1032 calculatePageOffsets(curItem, curIndex, oldCurInfo);
1106 private void calculatePageOffsets(ItemInfo curItem, int curIndex, ItemInfo oldCurInfo) {
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DListPopupWindow.java947 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/core-ui/java/android/support/v4/view/
DViewPager.java1174 int curIndex = -1;
1176 for (curIndex = 0; curIndex < mItems.size(); curIndex++) {
1177 final ItemInfo ii = mItems.get(curIndex);
1185 curItem = addNewItem(mCurItem, curIndex);
1193 int itemIndex = curIndex - 1;
1211 curIndex--;
1221 curIndex++;
1227 itemIndex = curIndex + 1;
1259 calculatePageOffsets(curItem, curIndex, oldCurInfo);
1324 private void calculatePageOffsets(ItemInfo curItem, int curIndex, ItemInfo oldCurInfo) {
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java5486 int curIndex = 0; in dumpLocked() local
5487 while ((dit=getDailyItemLocked(curIndex)) != null) { in dumpLocked()
5488 curIndex++; in dumpLocked()