Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridActivity.java251 void swap(int index1, int index2) { in swap() argument
252 if (index1 == index2) { in swap()
254 } else if (index1 > index2) { in swap()
255 int index = index1; in swap()
256 index1 = index2; in swap()
259 int value = mItemLengths[index1]; in swap()
260 mItemLengths[index1] = mItemLengths[index2]; in swap()
262 mGridView.getAdapter().notifyItemMoved(index1, index2); in swap()
263 mGridView.getAdapter().notifyItemMoved(index2 - 1, index1); in swap()
266 void moveItem(int index1, int index2, boolean notify) { in moveItem() argument
[all …]
/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.cpp257 int index1 = -1, index2 = -1; in compareFormats() local
259 (i < ARRAY_SIZE(sPcmFormatCompareTable)) && ((index1 == -1) || (index2 == -1)); in compareFormats()
262 index1 = i; in compareFormats()
270 return index1 - index2; in compareFormats()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
DomxVCM4P10_DequantTransformResidualFromPairAndAdd_s.s100 index1 RN 10 label
250 LDR index1,=0x03020504
254 VDUP dindexRow1,index1
/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/opt/telephony/src/java/com/android/internal/telephony/uicc/
DRuimRecords.java538 for(int index1 = 0; index1 < naiLength; index1++) { in onRecordLoaded()
539 naiCharArray[index1] = (char)(bitStream.read(8) & 0xFF); in onRecordLoaded()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java3483 for(int index1 = 0; index1 < first.types.length; index1++) { in apnTypeSameAny()
3484 apnType1.append(first.types[index1]); in apnTypeSameAny()
3489 for(int index1 = 0; index1 < second.types.length; index1++) { in apnTypeSameAny()
3490 apnType2.append(second.types[index1]); in apnTypeSameAny()
3497 for(int index1 = 0; index1 < first.types.length; index1++) { in apnTypeSameAny()
3499 if(first.types[index1].equals(PhoneConstants.APN_TYPE_ALL) || in apnTypeSameAny()
3501 first.types[index1].equals(second.types[index2])) { in apnTypeSameAny()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewLayoutTest.java1967 int index1 = mRecyclerView.indexOfChild(hidden.itemView); in duplicateAdapterPositionTest()
1969 if (index1 < index2) { in duplicateAdapterPositionTest()
1971 swapViewsAtIndices(recyclerView, index1, index2); in duplicateAdapterPositionTest()
1983 swapViewsAtIndices(recyclerView, index1, index2); in duplicateAdapterPositionTest()
2008 private void swapViewsAtIndices(TestRecyclerView recyclerView, int index1, int index2) { in swapViewsAtIndices() argument
2009 if (index1 == index2) { in swapViewsAtIndices()
2012 if (index2 < index1) { in swapViewsAtIndices()
2013 int tmp = index1; in swapViewsAtIndices()
2014 index1 = index2; in swapViewsAtIndices()
2017 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/ ...