Home
last modified time | relevance | path

Searched refs:index1 (Results 1 – 13 of 13) sorted by relevance

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridActivity.java255 void swap(int index1, int index2) { in swap() argument
256 if (index1 == index2) { in swap()
258 } else if (index1 > index2) { in swap()
259 int index = index1; in swap()
260 index1 = index2; in swap()
263 int value = mItemLengths[index1]; in swap()
264 mItemLengths[index1] = mItemLengths[index2]; in swap()
266 mGridView.getAdapter().notifyItemMoved(index1, index2); in swap()
267 mGridView.getAdapter().notifyItemMoved(index2 - 1, index1); in swap()
270 void moveItem(int index1, int index2, boolean notify) { in moveItem() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnSetting.java779 for (int index1 = 0; index1 < first.types.length; index1++) { in typeSameAny()
780 apnType1.append(first.types[index1]); in typeSameAny()
785 for (int index1 = 0; index1 < second.types.length; index1++) { in typeSameAny()
786 apnType2.append(second.types[index1]); in typeSameAny()
793 for (int index1 = 0; index1 < first.types.length; index1++) { in typeSameAny()
795 if (first.types[index1].equals(PhoneConstants.APN_TYPE_ALL) in typeSameAny()
797 || first.types[index1].equals(second.types[index2])) { in typeSameAny()
/frameworks/av/camera/
DCameraParameters2.cpp162 ssize_t index1 = mMap.indexOfKey(String8(key1)); in compareSetOrder() local
164 if (index1 < 0) { in compareSetOrder()
172 *order = (index1 == index2) ? 0 : in compareSetOrder()
173 (index1 < index2) ? -1 : in compareSetOrder()
/frameworks/av/services/mediadrm/tests/
DDrmSessionManager_test.cpp102 ssize_t index1 = map.indexOfKey(kTestPid1); in addSession() local
103 ASSERT_GE(index1, 0); in addSession()
104 const SessionInfos& infos1 = map[index1]; in addSession()
/frameworks/av/media/libmediaplayerservice/tests/
DDrmSessionManager_test.cpp106 ssize_t index1 = map.indexOfKey(kTestPid1); in addSession() local
107 ASSERT_GE(index1, 0); in addSession()
108 const SessionInfos& infos1 = map[index1]; in addSession()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dd8_31pf.cpp166 Word16 index1, /* i : index for first pos in pos_index[] */ in decompress10() argument
226 pos_indx[index1] = ib + (ic & 1); in decompress10()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp263 int index1 = -1, index2 = -1; in compareFormats() local
265 (i < ARRAY_SIZE(sPcmFormatCompareTable)) && ((index1 == -1) || (index2 == -1)); in compareFormats()
268 index1 = i; in compareFormats()
276 return index1 - index2; in compareFormats()
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp177 ssize_t index1 = map.indexOfKey(kTestPid1); in addResource() local
178 ASSERT_GE(index1, 0); in addResource()
179 const ResourceInfos &infos1 = map[index1]; in addResource()
/frameworks/base/core/java/android/view/textclassifier/
DSelectionSessionLogger.java294 final int index1 = signature.indexOf("|"); in getHash() local
295 final int index2 = signature.indexOf("|", index1); in getHash()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DRuimRecords.java542 for(int index1 = 0; index1 < naiLength; index1++) { in onRecordLoaded()
543 naiCharArray[index1] = (char)(bitStream.read(8) & 0xFF); in onRecordLoaded()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DRecyclerViewLayoutTest.java2489 int index1 = mRecyclerView.indexOfChild(hidden.itemView); in duplicateAdapterPositionTest()
2491 if (index1 < index2) { in duplicateAdapterPositionTest()
2493 swapViewsAtIndices(recyclerView, index1, index2); in duplicateAdapterPositionTest()
2505 swapViewsAtIndices(recyclerView, index1, index2); in duplicateAdapterPositionTest()
2530 private void swapViewsAtIndices(TestRecyclerView recyclerView, int index1, int index2) { in swapViewsAtIndices() argument
2531 if (index1 == index2) { in swapViewsAtIndices()
2534 if (index2 < index1) { in swapViewsAtIndices()
2535 int tmp = index1; in swapViewsAtIndices()
2536 index1 = index2; in swapViewsAtIndices()
2539 final View v1 = recyclerView.getChildAt(index1); in swapViewsAtIndices()
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
DSetterStore.java93 final int index1 = o1.mKey.attributeIndices.get(attribute);
96 .findClass(o1.mKey.parameterTypes[index1], null);
102 if (o1.mCasts[index1] != null) {
111 if (o1.mConverters[index1] != null) {
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...