/frameworks/base/services/core/java/com/android/server/utils/ |
D | WatchedSparseBooleanMatrix.java | 277 public void removeRange(int fromIndex, int toIndex) { in removeRange() argument 278 if (toIndex < fromIndex) { in removeRange() 281 final int num = toIndex - fromIndex; in removeRange() 286 validateIndex(toIndex - 1); in removeRange() 287 for (int i = fromIndex; i < toIndex; i++) { in removeRange() 290 System.arraycopy(mKeys, toIndex, mKeys, fromIndex, mSize - toIndex); in removeRange() 291 System.arraycopy(mMap, toIndex, mMap, fromIndex, mSize - toIndex); in removeRange()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | EventList.java | 70 int toIndex = firstIndexOnOrAfter(toTimestamp); in queryEvents() local 71 if (toIndex < fromIndex) { in queryEvents() 75 for (int i = fromIndex; i < toIndex; i++) { in queryEvents()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/ |
D | ShadeViewDifferLogger.kt | 70 fun logMovingChild(key: String, parent: String, toIndex: Int) { in logMovingChild() 74 int1 = toIndex in logMovingChild()
|
/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/packages/SystemUI/src/com/android/systemui/qs/ |
D | PageIndicator.java | 179 int toIndex = to >> 1; in animate() local 187 int firstIndex = Math.min(fromIndex, toIndex); in animate() 188 int secondIndex = Math.max(fromIndex, toIndex); in animate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | TimeLimitedMotionEventBuffer.java | 185 public List<MotionEvent> subList(int fromIndex, int toIndex) { in subList() argument 186 return mMotionEvents.subList(fromIndex, toIndex); in subList()
|
/frameworks/libs/net/common/testutils/hostdevice/com/android/net/module/util/ |
D | TrackRecord.kt | 91 override fun subList(fromIndex: Int, toIndex: Int): List<E> = lock.withLock { in listIterator() 92 elements.subList(fromIndex, toIndex) in listIterator()
|
/frameworks/base/core/java/android/widget/ |
D | StackView.java | 235 void transformViewForTransition(int fromIndex, int toIndex, final View view, boolean animate) { in transformViewForTransition() argument 244 if (fromIndex == -1 && toIndex == getNumActiveViews() -1) { in transformViewForTransition() 245 transformViewAtIndex(toIndex, view, false); in transformViewForTransition() 248 } else if (fromIndex == 0 && toIndex == 1) { in transformViewForTransition() 270 } else if (fromIndex == 1 && toIndex == 0) { in transformViewForTransition() 290 } else if (toIndex == 0) { in transformViewForTransition() 294 } else if ((fromIndex == 0 || fromIndex == 1) && toIndex > 1) { in transformViewForTransition() 304 } else if (toIndex == -1) { in transformViewForTransition() 317 if (toIndex != -1) { in transformViewForTransition() 318 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()
|
D | TextView.java | 12825 int fromIndex, int toIndex) { in sendAccessibilityEventTypeViewTextChanged() argument 12829 event.setToIndex(toIndex); in sendAccessibilityEventTypeViewTextChanged()
|
/frameworks/base/media/java/android/service/media/ |
D | MediaBrowserService.java | 776 int toIndex = fromIndex + pageSize; in applyOptions() local 780 if (toIndex > list.size()) { in applyOptions() 781 toIndex = list.size(); in applyOptions() 783 return list.subList(fromIndex, toIndex); in applyOptions()
|
/frameworks/base/tools/codegen/src/com/android/codegen/ |
D | FileInfo.kt | 215 toIndex = findLowerBound( in <lambda>() 226 toIndex = findLowerBound( in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | AppsFilterImpl.java | 805 final int toIndex = (pos >= 0 ? pos + 1 : ~pos); in removeShouldFilterCacheForUser() local 806 if (fromIndex >= toIndex || UserHandle.getUserId(cacheUids[toIndex - 1]) != userId) { in removeShouldFilterCacheForUser() 808 + ", fromIndex=" + fromIndex + ", toIndex=" + toIndex); in removeShouldFilterCacheForUser() 811 mShouldFilterCache.removeRange(fromIndex, toIndex); in removeShouldFilterCacheForUser()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 475 public void setToIndex(int toIndex) { in setToIndex() argument 477 mToIndex = toIndex; in setToIndex()
|
/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/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/utils/ |
D | WatcherTest.java | 1171 final int toIndex = (fromIndex + removeCounts > size ? size : fromIndex + removeCounts); in testWatchedSparseBooleanMatrix_removeRangeAndShrink() local 1172 for (int index = fromIndex; index < toIndex; index++) { in testWatchedSparseBooleanMatrix_removeRangeAndShrink() 1181 matrix.removeRange(fromIndex, toIndex); in testWatchedSparseBooleanMatrix_removeRangeAndShrink() 1182 assertEquals(matrix.size(), size - (toIndex - fromIndex)); in testWatchedSparseBooleanMatrix_removeRangeAndShrink()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppProfiler.java | 2319 int toIndex = 0; in getAppProfileStatsForDebugging() local 2321 int nextIndex = stats.indexOf('\n', toIndex); in getAppProfileStatsForDebugging() 2323 toIndex = stats.length(); in getAppProfileStatsForDebugging() 2326 toIndex = nextIndex + 1; in getAppProfileStatsForDebugging() 2328 return new Pair(cpuLoad, stats.substring(0, toIndex)); in getAppProfileStatsForDebugging()
|
/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 | 8097 public void moveView(int fromIndex, int toIndex) { in moveView() argument 8104 attachView(view, toIndex); in moveView()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 14821 int fromIndex, int toIndex) { in sendViewTextTraversedAtGranularityEvent() argument 14830 event.setToIndex(toIndex); in sendViewTextTraversedAtGranularityEvent()
|