Home
last modified time | relevance | path

Searched refs:index2 (Results 1 – 9 of 9) sorted by relevance

/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DGridActivity.java232 void swap(int index1, int index2) { in swap() argument
233 if (index1 == index2) { in swap()
235 } else if (index1 > index2) { in swap()
237 index1 = index2; in swap()
238 index2 = index; in swap()
241 mItemLengths[index1] = mItemLengths[index2]; in swap()
242 mItemLengths[index2] = value; in swap()
243 mGridView.getAdapter().notifyItemMoved(index1, index2); in swap()
244 mGridView.getAdapter().notifyItemMoved(index2 - 1, index1); in swap()
/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/media/libmediaplayerservice/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/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/mediaresourcemanager/test/
DResourceManagerService_test.cpp179 ssize_t index2 = map.indexOfKey(kTestPid2); in addResource() local
180 ASSERT_GE(index2, 0); in addResource()
181 const ResourceInfos &infos2 = map[index2]; in addResource()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp690 int index1 = -1, index2 = -1; in compareFormats() local
692 (i < ARRAY_SIZE(sPcmFormatCompareTable)) && ((index1 == -1) || (index2 == -1)); in compareFormats()
698 index2 = i; in compareFormats()
703 return index1 - index2; in compareFormats()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
DSetterStore.java91 final int index2 = o2.mKey.attributeIndices.get(attribute);
95 .findClass(o2.mKey.parameterTypes[index2], null);
100 if (o2.mCasts[index2] == null) {
105 } else if (o2.mCasts[index2] != null) {
109 if (o2.mConverters[index2] == null) {
114 } else if (o2.mConverters[index2] != null) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java2325 for(int index2 = 0; index2 < second.types.length; index2++) { in apnTypeSameAny()
2327 second.types[index2].equals(PhoneConstants.APN_TYPE_ALL) || in apnTypeSameAny()
2328 first.types[index1].equals(second.types[index2])) { in apnTypeSameAny()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...