/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySavingStats.java | 62 static int fromIndex(int index) { in fromIndex() method 76 static int fromIndex(int index) { in fromIndex() method 91 static int fromIndex(int index) { in fromIndex() method 105 static int fromIndex(int index) { in fromIndex() method 228 return "BS=" + BatterySaverState.fromIndex(state) in stateToString() 229 + ",I=" + InteractiveState.fromIndex(state) in stateToString() 230 + ",D=" + DozeState.fromIndex(state) in stateToString() 231 + ",P=" + PlugState.fromIndex(state); in stateToString() 302 ? BatterySaverState.OFF : BatterySaverState.fromIndex(mCurrentState); in transitionStateLocked() 304 ? BatterySaverState.OFF : BatterySaverState.fromIndex(newState); in transitionStateLocked() [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderOperation.java | 583 private final int fromIndex; field in ContentProviderOperation.BackReference 586 private BackReference(int fromIndex, String fromKey) { in BackReference() argument 587 this.fromIndex = fromIndex; in BackReference() 592 this.fromIndex = src.readInt(); in BackReference() 601 if (fromIndex >= numBackRefs) { in resolve() 603 throw new ArrayIndexOutOfBoundsException("asked for back ref " + fromIndex in resolve() 606 ContentProviderResult backRef = backRefs[fromIndex]; in resolve() 620 dest.writeInt(fromIndex); in writeToParcel() 806 public @NonNull Builder withValueBackReference(@NonNull String key, int fromIndex) { in withValueBackReference() argument 808 setValue(key, new BackReference(fromIndex, null)); in withValueBackReference() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | SparseBitSet.cpp | 134 uint32_t SparseBitSet::nextSetBit(uint32_t fromIndex) const { in nextSetBit() 135 if (mData == nullptr || fromIndex >= mData->mMaxVal) { in nextSetBit() 138 uint32_t fromPage = fromIndex >> kLogValuesPerPage; in nextSetBit() 140 uint32_t offset = (fromIndex & kPageMask) >> kLogBitsPerEl; in nextSetBit() 141 element e = bitmap[offset] & (kElAllOnes >> (fromIndex & kElMask)); in nextSetBit() 143 return (fromIndex & ~kElMask) + CountLeadingZeros(e); in nextSetBit() 148 return (fromIndex & ~kPageMask) + (j << kLogBitsPerEl) + CountLeadingZeros(e); in nextSetBit()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | EventList.java | 66 int fromIndex = firstIndexOnOrAfter(fromTimestamp); in queryEvents() local 67 if (fromIndex == mEvents.size()) { in queryEvents() 71 if (toIndex < fromIndex) { in queryEvents() 75 for (int i = fromIndex; i < toIndex; i++) { in queryEvents()
|
/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() 285 validateIndex(fromIndex); 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/packages/SystemUI/src/com/android/systemui/qs/ |
D | PageIndicator.java | 178 int fromIndex = from >> 1; in animate() local 183 setIndex(fromIndex); in animate() 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/graphics/java/android/graphics/drawable/ |
D | AnimatedStateListDrawable.java | 163 final int fromIndex; in selectTransition() local 178 fromIndex = mTransitionToIndex; in selectTransition() 183 fromIndex = getCurrentIndex(); in selectTransition() 192 final int fromId = state.getKeyframeIdAt(fromIndex); in selectTransition() 232 mTransitionFromIndex = fromIndex; in selectTransition()
|
/frameworks/base/media/java/android/service/media/ |
D | MediaBrowserService.java | 775 int fromIndex = pageSize * page; in applyOptions() local 776 int toIndex = fromIndex + pageSize; in applyOptions() 777 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { in applyOptions() 783 return list.subList(fromIndex, toIndex); in applyOptions()
|
/frameworks/base/tools/codegen/src/com/android/codegen/ |
D | FileInfo.kt | 214 fromIndex = classBounds.range.start, in <lambda>() 225 fromIndex = nestedDataClass.range.endInclusive + 1, in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | AppsFilterImpl.java | 944 final int fromIndex = (pos >= 0 ? pos : ~pos); in removeShouldFilterCacheForUser() local 945 if (fromIndex >= size || UserHandle.getUserId(cacheUids[fromIndex]) != userId) { in removeShouldFilterCacheForUser() 947 + ", fromIndex=" + fromIndex); in removeShouldFilterCacheForUser() 952 if (fromIndex >= toIndex || UserHandle.getUserId(cacheUids[toIndex - 1]) != userId) { in removeShouldFilterCacheForUser() 954 + ", fromIndex=" + fromIndex + ", toIndex=" + toIndex); in removeShouldFilterCacheForUser() 957 mShouldFilterCache.removeRange(fromIndex, toIndex); in removeShouldFilterCacheForUser()
|
/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() 248 } else if (fromIndex == 0 && toIndex == 1) { in transformViewForTransition() 270 } else if (fromIndex == 1 && toIndex == 0) { in transformViewForTransition() 294 } else if ((fromIndex == 0 || fromIndex == 1) && toIndex > 1) { in transformViewForTransition() 301 } else if (fromIndex == -1) { in transformViewForTransition()
|
D | AdapterViewAnimator.java | 270 void transformViewForTransition(int fromIndex, int toIndex, View view, boolean animate) { in transformViewForTransition() argument 271 if (fromIndex == -1) { in transformViewForTransition()
|
D | TextView.java | 14501 int fromIndex, int removedCount, int addedCount) { in sendAccessibilityEventTypeViewTextChanged() argument 14504 event.setFromIndex(fromIndex); in sendAccessibilityEventTypeViewTextChanged() 14512 int fromIndex, int toIndex) { in sendAccessibilityEventTypeViewTextChanged() argument 14515 event.setFromIndex(fromIndex); in sendAccessibilityEventTypeViewTextChanged()
|
/frameworks/minikin/include/minikin/ |
D | SparseBitSet.h | 69 uint32_t nextSetBit(uint32_t fromIndex) const;
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 4419 int endIndex, fromIndex = 1; in splitRange() local 4422 endIndex = str.indexOf("),(", fromIndex); in splitRange() 4424 splitInt(str.substring(fromIndex, endIndex), range); in splitRange() 4426 fromIndex = endIndex + 3; in splitRange() 4445 int endIndex, fromIndex = 1; in splitArea() local 4448 endIndex = str.indexOf("),(", fromIndex); in splitArea() 4450 splitInt(str.substring(fromIndex, endIndex), array); in splitArea() 4453 fromIndex = endIndex + 3; in splitArea()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 474 public void setFromIndex(int fromIndex) { in setFromIndex() argument 476 mFromIndex = fromIndex; in setFromIndex()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/utils/ |
D | WatcherTest.java | 1170 final int fromIndex = (size / 2 < removeCounts ? 0 : size / 2 - removeCounts); in testWatchedSparseBooleanMatrix_removeRangeAndShrink() local 1171 final int toIndex = (fromIndex + removeCounts > size ? size : fromIndex + removeCounts); in testWatchedSparseBooleanMatrix_removeRangeAndShrink() 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/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PageContentRepository.java | 597 final int fromIndex = Math.max(firstVisiblePageIndex - halfPreloadCount, 0); in startPreload() local 601 Log.i(LOG_TAG, "fromIndex=" + fromIndex + " toIndex=" + toIndex); in startPreload() 608 int thisRangeStart = Math.max(0, fromIndex - previousRangeSizes); in startPreload()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | PasswordTextView.java | 373 void sendAccessibilityEventTypeViewTextChanged(CharSequence beforeText, int fromIndex, in sendAccessibilityEventTypeViewTextChanged() argument 379 event.setFromIndex(fromIndex); in sendAccessibilityEventTypeViewTextChanged()
|
/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 8098 View view = getChildAt(fromIndex); in moveView() 8101 + fromIndex); in moveView() 8103 detachViewAt(fromIndex); in moveView()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 15433 int fromIndex, int toIndex) { in sendViewTextTraversedAtGranularityEvent() argument 15441 event.setFromIndex(fromIndex); in sendViewTextTraversedAtGranularityEvent()
|