Home
last modified time | relevance | path

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

/frameworks/data-binding/library/src/main/java/android/databinding/
DObservableArrayList.java111 protected void removeRange(int fromIndex, int toIndex) { in removeRange() argument
112 super.removeRange(fromIndex, toIndex); in removeRange()
113 notifyRemove(fromIndex, toIndex - fromIndex); in removeRange()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedStateListDrawable.java159 private boolean selectTransition(int toIndex) { in selectTransition() argument
163 if (toIndex == mTransitionToIndex) { in selectTransition()
166 } else if (toIndex == mTransitionFromIndex && currentTransition.canReverse()) { in selectTransition()
170 mTransitionFromIndex = toIndex; in selectTransition()
190 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/base/core/java/android/widget/
DStackView.java232 void transformViewForTransition(int fromIndex, int toIndex, final View view, boolean animate) { in transformViewForTransition() argument
241 if (fromIndex == -1 && toIndex == getNumActiveViews() -1) { in transformViewForTransition()
242 transformViewAtIndex(toIndex, view, false); in transformViewForTransition()
245 } else if (fromIndex == 0 && toIndex == 1) { in transformViewForTransition()
267 } else if (fromIndex == 1 && toIndex == 0) { in transformViewForTransition()
287 } else if (toIndex == 0) { in transformViewForTransition()
291 } else if ((fromIndex == 0 || fromIndex == 1) && toIndex > 1) { in transformViewForTransition()
301 } else if (toIndex == -1) { in transformViewForTransition()
314 if (toIndex != -1) { in transformViewForTransition()
315 transformViewAtIndex(toIndex, view, animate); in transformViewForTransition()
DAdapterViewAnimator.java267 void transformViewForTransition(int fromIndex, int toIndex, View view, boolean animate) { in transformViewForTransition() argument
271 } else if (toIndex == -1) { in transformViewForTransition()
/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/view/accessibility/
DAccessibilityRecord.java403 public void setToIndex(int toIndex) { in setToIndex() argument
405 mToIndex = toIndex; in setToIndex()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java548 final int toIndex = Math.min(lastShownPage + halfPreloadCount + excessFromStart, in startPreload() local
551 for (int i = fromIndex; i <= toIndex; i++) { in startPreload()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java1617 final int toIndex; in computeSelectedPages() local
1626 toIndex = Integer.parseInt(fromString) - 1; in computeSelectedPages()
1628 toIndex = fromIndex; in computeSelectedPages()
1631 fromIndex = toIndex = Integer.parseInt(range) - 1; in computeSelectedPages()
1634 PageRange pageRange = new PageRange(Math.min(fromIndex, toIndex), in computeSelectedPages()
1635 Math.max(fromIndex, toIndex)); in computeSelectedPages()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java1688 View findOneVisibleChild(int fromIndex, int toIndex, boolean completelyVisible, in findOneVisibleChild() argument
1693 final int next = toIndex > fromIndex ? 1 : -1; in findOneVisibleChild()
1695 for (int i = fromIndex; i != toIndex; i+=next) { in findOneVisibleChild()
DStaggeredGridLayoutManager.java2344 int findOneVisibleChild(int fromIndex, int toIndex, boolean completelyVisible) {
2347 final int next = toIndex > fromIndex ? 1 : -1;
2348 for (int i = fromIndex; i != toIndex; i += next) {
DRecyclerView.java6537 public void moveView(int fromIndex, int toIndex) { in moveView() argument
6544 attachView(view, toIndex); in moveView()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/base/core/java/android/view/
DView.java9101 int fromIndex, int toIndex) {
9110 event.setToIndex(toIndex);