Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DComprehensionTlv.java122 int curIndex = startIndex; in decode() local
129 int temp = data[curIndex++] & 0xff; in decode()
135 ", startIndex=" + startIndex + " curIndex=" + curIndex + in decode()
142 tag = ((data[curIndex] & 0xff) << 8) in decode()
143 | (data[curIndex + 1] & 0xff); in decode()
146 curIndex += 2; in decode()
158 temp = data[curIndex++] & 0xff; in decode()
162 length = data[curIndex++] & 0xff; in decode()
167 " startIndex=" + startIndex + " curIndex=" + curIndex + in decode()
171 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.java163 int curIndex = 0; in DisplayDensityUtils() local
171 currentDensityIndex = curIndex; in DisplayDensityUtils()
173 entries[curIndex] = res.getString(SUMMARIES_SMALLER[i]); in DisplayDensityUtils()
174 values[curIndex] = density; in DisplayDensityUtils()
175 curIndex++; in DisplayDensityUtils()
180 currentDensityIndex = curIndex; in DisplayDensityUtils()
182 values[curIndex] = defaultDensity; in DisplayDensityUtils()
183 entries[curIndex] = res.getString(SUMMARY_DEFAULT); in DisplayDensityUtils()
184 curIndex++; in DisplayDensityUtils()
192 currentDensityIndex = curIndex; in DisplayDensityUtils()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/
DAssetTest.java41 int curIndex = 0; in verifyTextAsset() local
44 assertEquals("At index " + curIndex in verifyTextAsset()
45 + " expected " + expectedString.charAt(curIndex) in verifyTextAsset()
47 buffer[i], expectedString.charAt(curIndex)); in verifyTextAsset()
48 curIndex++; in verifyTextAsset()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberFormattingTextWatcher.java145 int curIndex = cursor - 1; in reformat() local
160 if (i == curIndex) { in reformat()
/frameworks/base/core/java/android/widget/
DListPopupWindow.java963 int curIndex = mDropDownList.getSelectedItemPosition();
982 if ((below && keyCode == KeyEvent.KEYCODE_DPAD_UP && curIndex <= firstItem) ||
983 (!below && keyCode == KeyEvent.KEYCODE_DPAD_DOWN && curIndex >= lastItem)) {
1024 if (curIndex == lastItem) {
1028 curIndex == firstItem) {
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java954 int curIndex = -1;
956 for (curIndex = 0; curIndex < mItems.size(); curIndex++) {
957 final ItemInfo ii = mItems.get(curIndex);
965 curItem = addNewItem(mCurItem, curIndex);
973 int itemIndex = curIndex - 1;
991 curIndex--;
1001 curIndex++;
1007 itemIndex = curIndex + 1;
1039 calculatePageOffsets(curItem, curIndex, oldCurInfo);
1113 private void calculatePageOffsets(ItemInfo curItem, int curIndex, ItemInfo oldCurInfo) {
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java7817 int curIndex = 0; in dumpLocked() local
7818 while ((dit=getDailyItemLocked(curIndex)) != null) { in dumpLocked()
7819 curIndex++; in dumpLocked()