Home
last modified time | relevance | path

Searched refs:toIndex (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedStateListDrawable.java165 private boolean selectTransition(int toIndex) { in selectTransition() argument
169 if (toIndex == mTransitionToIndex) { in selectTransition()
172 } else if (toIndex == mTransitionFromIndex && currentTransition.canReverse()) { in selectTransition()
176 mTransitionFromIndex = toIndex; in selectTransition()
196 final int toId = state.getKeyframeIdAt(toIndex); in selectTransition()
230 mTransitionToIndex = toIndex; in selectTransition()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityRecordCompat.java57 public void setToIndex(Object record, int toIndex); in setToIndex() argument
263 public void setToIndex(Object record, int toIndex) { in setToIndex() argument
471 public void setToIndex(Object record, int toIndex) { in setToIndex() argument
472 AccessibilityRecordCompatIcs.setToIndex(record, toIndex); in setToIndex()
799 public void setToIndex(int toIndex) { in setToIndex() argument
800 IMPL.setToIndex(mRecord, toIndex); in setToIndex()
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
DAccessibilityRecordCompatIcs.java190 public static void setToIndex(Object record, int toIndex) { in setToIndex() argument
191 ((AccessibilityRecord) record).setToIndex(toIndex); in setToIndex()
/frameworks/base/core/java/android/widget/
DStackView.java233 void transformViewForTransition(int fromIndex, int toIndex, final View view, boolean animate) { in transformViewForTransition() argument
242 if (fromIndex == -1 && toIndex == getNumActiveViews() -1) { in transformViewForTransition()
243 transformViewAtIndex(toIndex, view, false); in transformViewForTransition()
246 } else if (fromIndex == 0 && toIndex == 1) { in transformViewForTransition()
268 } else if (fromIndex == 1 && toIndex == 0) { in transformViewForTransition()
288 } else if (toIndex == 0) { in transformViewForTransition()
292 } else if ((fromIndex == 0 || fromIndex == 1) && toIndex > 1) { in transformViewForTransition()
302 } else if (toIndex == -1) { in transformViewForTransition()
315 if (toIndex != -1) { in transformViewForTransition()
316 transformViewAtIndex(toIndex, view, animate); in transformViewForTransition()
DAdapterViewAnimator.java269 void transformViewForTransition(int fromIndex, int toIndex, View view, boolean animate) { in transformViewForTransition() argument
273 } else if (toIndex == -1) { in transformViewForTransition()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java397 public void setToIndex(int toIndex) { in setToIndex() argument
399 mToIndex = toIndex; in setToIndex()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java588 final int toIndex = Math.min(lastShownPage + halfPreloadCount + excessFromStart, in startPreload() local
591 for (int i = fromIndex; i <= toIndex; i++) { in startPreload()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java1464 final int toIndex; in computeSelectedPages() local
1473 toIndex = Integer.parseInt(fromString) - 1; in computeSelectedPages()
1475 toIndex = fromIndex; in computeSelectedPages()
1478 fromIndex = toIndex = Integer.parseInt(range) - 1; in computeSelectedPages()
1481 PageRange pageRange = new PageRange(Math.min(fromIndex, toIndex), in computeSelectedPages()
1482 Math.max(fromIndex, toIndex)); in computeSelectedPages()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java1574 View findOneVisibleChild(int fromIndex, int toIndex, boolean completelyVisible) { in findOneVisibleChild() argument
1577 final int next = toIndex > fromIndex ? 1 : -1; in findOneVisibleChild()
1578 for (int i = fromIndex; i != toIndex; i+=next) { in findOneVisibleChild()
DStaggeredGridLayoutManager.java2176 int findOneVisibleChild(int fromIndex, int toIndex, boolean completelyVisible) {
2179 final int next = toIndex > fromIndex ? 1 : -1;
2180 for (int i = fromIndex; i != toIndex; i += next) {
DRecyclerView.java5059 public void moveView(int fromIndex, int toIndex) { in moveView() argument
5066 attachView(view, toIndex); in moveView()
/frameworks/base/core/java/android/view/
DView.java8205 int fromIndex, int toIndex) {
8214 event.setToIndex(toIndex);