Home
last modified time | relevance | path

Searched refs:firstIndex (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactDelta.java455 final int firstIndex = buildInto.size(); in buildDiff() local
493 builder.withValueBackReference(Data.RAW_CONTACT_ID, firstIndex); in buildDiff()
506 final boolean addedOperations = buildInto.size() > firstIndex; in buildDiff()
510 buildInto.add(firstIndex, builder.build()); in buildDiff()
520 builder.withSelectionBackReference(0, firstIndex); in buildDiff()
530 final int firstIndex = buildInto.size(); in buildDiffWrapper() local
566 bw.getBuilder().withValueBackReference(Data.RAW_CONTACT_ID, firstIndex); in buildDiffWrapper()
579 final boolean addedOperations = buildInto.size() > firstIndex; in buildDiffWrapper()
584 buildInto.add(firstIndex, new CPOWrapper(builder.build(), CompatUtils.TYPE_UPDATE)); in buildDiffWrapper()
594 builder.withSelectionBackReference(0, firstIndex); in buildDiffWrapper()
/packages/modules/Connectivity/tests/unit/java/com/android/internal/util/
DRingBufferTest.java109 int firstIndex = 0; in testRingBufferWithWrapping() local
112 expected2[firstIndex] = "e"; in testRingBufferWithWrapping()
120 expected2[firstIndex] = "x"; in testRingBufferWithWrapping()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DPageIndicator.java180 int firstIndex = Math.min(fromIndex, toIndex); in animate()
182 if (secondIndex == firstIndex) { in animate()
185 ImageView first = (ImageView) getChildAt(firstIndex); in animate()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DDynamicAdaptiveIconDrawable.java868 int firstIndex = -1; in getOpacity() local
871 firstIndex = i; in getOpacity()
877 if (firstIndex >= 0) { in getOpacity()
878 op = array[firstIndex].mDrawable.getOpacity(); in getOpacity()
884 for (int i = firstIndex + 1; i < N_CHILDREN; i++) { in getOpacity()
/packages/apps/Calendar/src/com/android/calendar/
DEventLoader.java104 int firstIndex = Math.max(firstDay - startDay, 0); in processRequest() local
107 for(int i = firstIndex; i <= lastIndex; i++) { in processRequest()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java920 int firstIndex = firstExpandableIndex();
921 View child = getChildAt(firstIndex);
925 View nextChild = getChildAt(firstIndex + mItemsOnOffAxis);
942 int childIndex = firstIndex + i;
2581 int firstIndex = firstExpandableIndex();
2582 View firstView = getChildAt(firstIndex);
2600 for (int idx = firstIndex; idx < lastIndex; idx += mItemsOnOffAxis) {