/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
H A D | ObservableArrayList.java | 111 protected void removeRange(int fromIndex, int toIndex) { argument 112 super.removeRange(fromIndex, toIndex); 113 notifyRemove(fromIndex, toIndex - fromIndex);
|
/frameworks/minikin/libs/minikin/ |
H A D | SparseBitSet.cpp | 107 uint32_t SparseBitSet::nextSetBit(uint32_t fromIndex) const { 108 if (fromIndex >= mMaxVal) { 111 uint32_t fromPage = fromIndex >> kLogValuesPerPage; 113 uint32_t offset = (fromIndex & kPageMask) >> kLogBitsPerEl; 114 element e = bitmap[offset] & (kElAllOnes >> (fromIndex & kElMask)); 116 return (fromIndex & ~kElMask) + CountLeadingZeros(e); 121 return (fromIndex & ~kPageMask) + (j << kLogBitsPerEl) + CountLeadingZeros(e);
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
H A D | SatelliteInfo.java | 139 * Set the bit in the range [fromIndex, toIndex), index start from the lowest bit. 144 private int setRange(int targetValue, int value, int fromIndex, int toIndex) { argument 145 int rangeLen = toIndex - fromIndex; 148 value = value << fromIndex; 149 valueMask = valueMask << fromIndex;
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
H A D | BatterySavingStats.java | 66 static int fromIndex(int index) { method in interface:BatterySavingStats.BatterySaverState 80 static int fromIndex(int index) { method in interface:BatterySavingStats.InteractiveState 95 static int fromIndex(int index) { method in interface:BatterySavingStats.DozeState 232 return "BS=" + BatterySaverState.fromIndex(state) 233 + ",I=" + InteractiveState.fromIndex(state) 234 + ",D=" + DozeState.fromIndex(state); 313 BatterySaverState.fromIndex(mCurrentState) != BatterySaverState.OFF; 315 BatterySaverState.fromIndex(newState) != BatterySaverState.OFF; 360 BatterySaverState.fromIndex(mCurrentState), 361 InteractiveState.fromIndex(mCurrentStat [all...] |
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | ViewBoundsCheck.java | 198 * Returns the first view starting from fromIndex to toIndex in views whose bounds lie within 203 * @param fromIndex The view position index to start the search from. 214 View findOneViewWithinBoundFlags(int fromIndex, int toIndex, argument 219 final int next = toIndex > fromIndex ? 1 : -1; 221 for (int i = fromIndex; i != toIndex; i += next) {
|
H A D | LinearLayoutManager.java | 1922 View findOneVisibleChild(int fromIndex, int toIndex, boolean completelyVisible, argument 1939 .findOneViewWithinBoundFlags(fromIndex, toIndex, preferredBoundsFlag, 1941 .findOneViewWithinBoundFlags(fromIndex, toIndex, preferredBoundsFlag, 1945 View findOnePartiallyOrCompletelyInvisibleChild(int fromIndex, int toIndex) { argument 1947 final int next = toIndex > fromIndex ? 1 : (toIndex < fromIndex ? -1 : 0); 1949 return getChildAt(fromIndex); 1953 if (mOrientationHelper.getDecoratedStart(getChildAt(fromIndex)) 1966 .findOneViewWithinBoundFlags(fromIndex, toIndex, preferredBoundsFlag, 1968 .findOneViewWithinBoundFlags(fromIndex, toInde [all...] |
H A D | StaggeredGridLayoutManager.java | 2741 * @param fromIndex The child position index to start the search from. 2754 int findOnePartiallyOrCompletelyVisibleChild(int fromIndex, int toIndex, argument 2760 final int next = toIndex > fromIndex ? 1 : -1; 2761 for (int i = fromIndex; i != toIndex; i += next) { 2788 int findOneVisibleChild(int fromIndex, int toIndex, boolean completelyVisible) { argument 2789 return findOnePartiallyOrCompletelyVisibleChild(fromIndex, toIndex, completelyVisible, 2793 int findOnePartiallyVisibleChild(int fromIndex, int toIndex, argument 2795 return findOnePartiallyOrCompletelyVisibleChild(fromIndex, toIndex, false, false,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | PageIndicator.java | 115 int fromIndex = from >> 1; 120 setIndex(fromIndex); 124 int firstIndex = Math.min(fromIndex, toIndex); 125 int secondIndex = Math.max(fromIndex, toIndex);
|
/frameworks/minikin/include/minikin/ |
H A D | SparseBitSet.h | 59 // The next set bit starting at fromIndex, inclusive, or kNotFound 61 uint32_t nextSetBit(uint32_t fromIndex) const;
|
/frameworks/support/compat/src/main/java/androidx/core/view/accessibility/ |
H A D | AccessibilityRecordCompat.java | 375 * @param fromIndex The index of the first character or selection 383 public void setFromIndex(int fromIndex) { argument 384 mRecord.setFromIndex(fromIndex);
|
/frameworks/support/media/src/androidTest/java/androidx/media/ |
H A D | MockMediaLibraryService2.java | 213 int fromIndex = (page - 1) * pageSize; 218 // The case of (fromIndex >= totalItemCount) will throw exception below. 219 paginatedResult = items.subList(fromIndex, toIndex);
|
H A D | MediaBrowser2Test.java | 201 int fromIndex = (page - 1) * pageSize; 205 for (int originalIndex = fromIndex; originalIndex < toIndex; originalIndex++) { 206 int relativeIndex = originalIndex - fromIndex; 295 int fromIndex = (page - 1) * pageSize; 300 for (int originalIndex = fromIndex; originalIndex < toIndex; originalIndex++) { 301 int relativeIndex = originalIndex - fromIndex;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedStateListDrawable.java | 160 final int fromIndex; 175 fromIndex = mTransitionToIndex; 180 fromIndex = getCurrentIndex(); 189 final int fromId = state.getKeyframeIdAt(fromIndex); 229 mTransitionFromIndex = fromIndex;
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/ |
H A D | MediaBrowserServiceSupport.java | 295 int fromIndex = page == -1 ? 0 : page * pageSize; 317 toIndex = page == -1 ? genres.size() : Math.min(fromIndex + pageSize, genres.size()); 319 for (int i = fromIndex; i < toIndex; i++) { 338 toIndex = page == -1 ? tracks.size() : Math.min(fromIndex + pageSize, tracks.size()); 340 for (int i = fromIndex; i < toIndex; i++) {
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/ |
H A D | MediaBrowserServiceSupport.java | 295 int fromIndex = page == -1 ? 0 : page * pageSize; 317 toIndex = page == -1 ? genres.size() : Math.min(fromIndex + pageSize, genres.size()); 319 for (int i = fromIndex; i < toIndex; i++) { 338 toIndex = page == -1 ? tracks.size() : Math.min(fromIndex + pageSize, tracks.size()); 340 for (int i = fromIndex; i < toIndex; i++) {
|
/frameworks/base/media/java/android/service/media/ |
H A D | MediaBrowserService.java | 723 int fromIndex = pageSize * page; 724 int toIndex = fromIndex + pageSize; 725 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { 731 return list.subList(fromIndex, toIndex);
|
/frameworks/base/core/java/android/widget/ |
H A D | StackView.java | 231 void transformViewForTransition(int fromIndex, int toIndex, final View view, boolean animate) { argument 240 if (fromIndex == -1 && toIndex == getNumActiveViews() -1) { 244 } else if (fromIndex == 0 && toIndex == 1) { 266 } else if (fromIndex == 1 && toIndex == 0) { 290 } else if ((fromIndex == 0 || fromIndex == 1) && toIndex > 1) { 297 } else if (fromIndex == -1) {
|
H A D | AdapterViewAnimator.java | 261 * @param fromIndex The relative index within the window that the view was in, -1 if it wasn't 267 void transformViewForTransition(int fromIndex, int toIndex, View view, boolean animate) { argument 268 if (fromIndex == -1) {
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 4395 int endIndex, fromIndex = 1; 4398 endIndex = str.indexOf("),(", fromIndex); 4400 splitInt(str.substring(fromIndex, endIndex), range); 4402 fromIndex = endIndex + 3; 4420 int endIndex, fromIndex = 1; 4423 endIndex = str.indexOf("),(", fromIndex); 4425 splitInt(str.substring(fromIndex, endIndex), array); 4428 fromIndex = endIndex + 3;
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityRecord.java | 405 * @param fromIndex The index of the first character or selection 410 public void setFromIndex(int fromIndex) { argument 412 mFromIndex = fromIndex;
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | PasswordTextView.java | 326 void sendAccessibilityEventTypeViewTextChanged(CharSequence beforeText, int fromIndex, argument 332 event.setFromIndex(fromIndex);
|
/frameworks/support/media/src/main/java/androidx/media/ |
H A D | MediaBrowserServiceCompat.java | 1524 int fromIndex = pageSize * page; 1525 int toIndex = fromIndex + pageSize; 1526 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { 1532 return list.subList(fromIndex, toIndex);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | PageContentRepository.java | 597 final int fromIndex = Math.max(firstVisiblePageIndex - halfPreloadCount, 0); 601 Log.i(LOG_TAG, "fromIndex=" + fromIndex + " toIndex=" + toIndex); 608 int thisRangeStart = Math.max(0, fromIndex - previousRangeSizes);
|
/frameworks/support/media/src/main/java/android/support/v4/media/ |
H A D | MediaBrowserCompat.java | 806 int fromIndex = pageSize * page; 807 int toIndex = fromIndex + pageSize; 808 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { 814 return list.subList(fromIndex, toIndex);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LinearLayoutManager.java | 1858 View findOneVisibleChild(int fromIndex, int toIndex, boolean completelyVisible, argument 1863 final int next = toIndex > fromIndex ? 1 : -1; 1865 for (int i = fromIndex; i != toIndex; i += next) {
|