/aosp14/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
H A 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() 364 BatterySaverState.fromIndex(mCurrentState), 365 InteractiveState.fromIndex(mCurrentState), [all …]
|
/aosp14/frameworks/base/core/java/android/content/ |
H A 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() 606 ContentProviderResult backRef = backRefs[fromIndex]; in resolve() 620 dest.writeInt(fromIndex); in writeToParcel() 808 setValue(key, new BackReference(fromIndex, null)); in withValueBackReference() 827 setValue(key, new BackReference(fromIndex, fromKey)); in withValueBackReference() 872 setExtra(key, new BackReference(fromIndex, null)); in withExtraBackReference() [all …]
|
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/ |
H A 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()
|
/aosp14/frameworks/base/services/core/java/com/android/server/utils/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | TimeLimitedMotionEventBuffer.java | 185 public List<MotionEvent> subList(int fromIndex, int toIndex) { in subList() argument 186 return mMotionEvents.subList(fromIndex, toIndex); in subList()
|
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/ |
H A 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()
|
/aosp14/frameworks/base/media/java/android/service/media/ |
H A 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()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A 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()
|
/aosp14/frameworks/base/tools/codegen/src/com/android/codegen/ |
H A D | FileInfo.kt | 214 fromIndex = classBounds.range.start, 225 fromIndex = nestedDataClass.range.endInclusive + 1,
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A 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()
|
H A D | AdapterViewAnimator.java | 270 void transformViewForTransition(int fromIndex, int toIndex, View view, boolean animate) { in transformViewForTransition() argument 271 if (fromIndex == -1) { in transformViewForTransition()
|
H A 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()
|
/aosp14/frameworks/base/core/java/android/hardware/ |
H A 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()
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/utils/ |
H A 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()
|
/aosp14/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityRecord.java | 474 public void setFromIndex(int fromIndex) { in setFromIndex() argument 476 mFromIndex = fromIndex; in setFromIndex()
|
/aosp14/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | PasswordTextView.java | 373 void sendAccessibilityEventTypeViewTextChanged(CharSequence beforeText, int fromIndex, in sendAccessibilityEventTypeViewTextChanged() argument 379 event.setFromIndex(fromIndex); in sendAccessibilityEventTypeViewTextChanged()
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A 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()
|
H A 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()
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/aosp14/frameworks/base/core/java/android/view/ |
H A D | View.java | 15433 int fromIndex, int toIndex) { in sendViewTextTraversedAtGranularityEvent() argument 15441 event.setFromIndex(fromIndex); in sendViewTextTraversedAtGranularityEvent()
|