Home
last modified time | relevance | path

Searched refs:index2 (Results 1 – 12 of 12) 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()
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 …]
/frameworks/av/camera/
DCameraParameters2.cpp163 ssize_t index2 = mMap.indexOfKey(String8(key2)); in compareSetOrder() local
167 } else if (index2 < 0) { in compareSetOrder()
172 *order = (index1 == index2) ? 0 : in compareSetOrder()
173 (index1 < index2) ? -1 : in compareSetOrder()
/frameworks/av/services/mediadrm/tests/
DDrmSessionManager_test.cpp108 ssize_t index2 = map.indexOfKey(kTestPid2); in addSession() local
109 ASSERT_GE(index2, 0); in addSession()
110 const SessionInfos& infos2 = map[index2]; in addSession()
/frameworks/av/media/libmediaplayerservice/tests/
DDrmSessionManager_test.cpp112 ssize_t index2 = map.indexOfKey(kTestPid2); in addSession() local
113 ASSERT_GE(index2, 0); in addSession()
114 const SessionInfos& infos2 = map[index2]; in addSession()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dd8_31pf.cpp167 Word16 index2, /* i : index for second pos in pos_index[] */ in decompress10() argument
242 pos_indx[index2] = 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()
271 index2 = i; in compareFormats()
276 return index1 - index2; in compareFormats()
/frameworks/base/core/java/android/view/textclassifier/
DSelectionSessionLogger.java295 final int index2 = signature.indexOf("|", index1); in getHash() local
296 if (index2 > 0) { in getHash()
297 return Integer.parseInt(signature.substring(index2)); in getHash()
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp183 ssize_t index2 = map.indexOfKey(kTestPid2); in addResource() local
184 ASSERT_GE(index2, 0); in addResource()
185 const ResourceInfos &infos2 = map[index2]; in addResource()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnSetting.java794 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()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
DSetterStore.java94 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) {
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DRecyclerViewLayoutTest.java2490 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() argument
2531 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 …]
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...