Searched refs:index2 (Results 1 – 12 of 12) sorted by relevance
255 void swap(int index1, int index2) { in swap() argument256 if (index1 == index2) { in swap()258 } else if (index1 > index2) { in swap()260 index1 = index2; in swap()261 index2 = index; in swap()264 mItemLengths[index1] = mItemLengths[index2]; in swap()265 mItemLengths[index2] = value; 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 …]
163 ssize_t index2 = mMap.indexOfKey(String8(key2)); in compareSetOrder() local167 } else if (index2 < 0) { in compareSetOrder()172 *order = (index1 == index2) ? 0 : in compareSetOrder()173 (index1 < index2) ? -1 : in compareSetOrder()
108 ssize_t index2 = map.indexOfKey(kTestPid2); in addSession() local109 ASSERT_GE(index2, 0); in addSession()110 const SessionInfos& infos2 = map[index2]; in addSession()
112 ssize_t index2 = map.indexOfKey(kTestPid2); in addSession() local113 ASSERT_GE(index2, 0); in addSession()114 const SessionInfos& infos2 = map[index2]; in addSession()
167 Word16 index2, /* i : index for second pos in pos_index[] */ in decompress10() argument242 pos_indx[index2] = ib + (ic >> 1); in decompress10()
263 int index1 = -1, index2 = -1; in compareFormats() local265 (i < ARRAY_SIZE(sPcmFormatCompareTable)) && ((index1 == -1) || (index2 == -1)); in compareFormats()271 index2 = i; in compareFormats()276 return index1 - index2; in compareFormats()
295 final int index2 = signature.indexOf("|", index1); in getHash() local296 if (index2 > 0) { in getHash()297 return Integer.parseInt(signature.substring(index2)); in getHash()
183 ssize_t index2 = map.indexOfKey(kTestPid2); in addResource() local184 ASSERT_GE(index2, 0); in addResource()185 const ResourceInfos &infos2 = map[index2]; in addResource()
794 for (int index2 = 0; index2 < second.types.length; index2++) { in typeSameAny()796 || second.types[index2].equals(PhoneConstants.APN_TYPE_ALL) in typeSameAny()797 || first.types[index1].equals(second.types[index2])) { in typeSameAny()
94 final int index2 = o2.mKey.attributeIndices.get(attribute);98 .findClass(o2.mKey.parameterTypes[index2], null);103 if (o2.mCasts[index2] == null) {108 } else if (o2.mCasts[index2] != null) {112 if (o2.mConverters[index2] == null) {117 } else if (o2.mConverters[index2] != null) {
2490 int index2 = mRecyclerView.indexOfChild(updated.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() argument2531 if (index1 == index2) { in swapViewsAtIndices()2534 if (index2 < index1) { in swapViewsAtIndices()2536 index1 = index2; in swapViewsAtIndices()2537 index2 = tmp; in swapViewsAtIndices()2540 final View v2 = recyclerView.getChildAt(index2); in swapViewsAtIndices()[all …]
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...