/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedStateListDrawable.java | 162 private boolean selectTransition(int toIndex) { in selectTransition() argument 166 if (toIndex == mTransitionToIndex) { in selectTransition() 169 } else if (toIndex == mTransitionFromIndex && currentTransition.canReverse()) { in selectTransition() 173 mTransitionFromIndex = toIndex; in selectTransition() 193 final int toId = state.getKeyframeIdAt(toIndex); in selectTransition() 233 mTransitionToIndex = toIndex; in selectTransition()
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
D | SatelliteInfo.java | 144 private int setRange(int targetValue, int value, int fromIndex, int toIndex) { in setRange() argument 145 int rangeLen = toIndex - fromIndex; in setRange()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PageIndicator.java | 116 int toIndex = to >> 1; in animate() local 124 int firstIndex = Math.min(fromIndex, toIndex); in animate() 125 int secondIndex = Math.max(fromIndex, toIndex); in animate()
|
/frameworks/libs/net/common/hostdevice/com/android/net/module/util/ |
D | TrackRecord.kt | 90 override fun subList(fromIndex: Int, toIndex: Int): List<E> = lock.withLock { in listIterator() 91 elements.subList(fromIndex, toIndex) in listIterator()
|
/frameworks/base/core/java/android/widget/ |
D | StackView.java | 233 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()
|
D | AdapterViewAnimator.java | 270 void transformViewForTransition(int fromIndex, int toIndex, View view, boolean animate) { in transformViewForTransition() argument 274 } else if (toIndex == -1) { in transformViewForTransition()
|
/frameworks/base/media/java/android/service/media/ |
D | MediaBrowserService.java | 724 int toIndex = fromIndex + pageSize; in applyOptions() local 728 if (toIndex > list.size()) { in applyOptions() 729 toIndex = list.size(); in applyOptions() 731 return list.subList(fromIndex, toIndex); in applyOptions()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 434 public void setToIndex(int toIndex) { in setToIndex() argument 436 mToIndex = toIndex; in setToIndex()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | TimeLimitedMotionEventBuffer.java | 185 public List<MotionEvent> subList(int fromIndex, int toIndex) { in subList() argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PageContentRepository.java | 598 final int toIndex = lastVisiblePageIndex + halfPreloadCount; in startPreload() local 601 Log.i(LOG_TAG, "fromIndex=" + fromIndex + " toIndex=" + toIndex); in startPreload() 609 int thisRangeEnd = Math.min(range.getSize(), toIndex - previousRangeSizes + 1); in startPreload()
|
/frameworks/ml/nn/runtime/ |
D | ExecutionBuilder.cpp | 963 uint32_t toIndex = indexMapping[i]; in updateOutputShapes() local 964 NN_RET_CHECK_GT(to->size(), toIndex); in updateOutputShapes() 965 NN_RET_CHECK(isUpdatable(to->at(toIndex).dimensions, from[i].dimensions)); in updateOutputShapes() 966 (*to)[toIndex] = from[i]; in updateOutputShapes()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LinearLayoutManager.java | 1858 View findOneVisibleChild(int fromIndex, int toIndex, boolean completelyVisible, in findOneVisibleChild() argument 1863 final int next = toIndex > fromIndex ? 1 : -1; in findOneVisibleChild() 1865 for (int i = fromIndex; i != toIndex; i += next) { in findOneVisibleChild()
|
D | RecyclerView.java | 7976 public void moveView(int fromIndex, int toIndex) { in moveView() argument 7983 attachView(view, toIndex); in moveView()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 13727 int fromIndex, int toIndex) { 13736 event.setToIndex(toIndex);
|