/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | SparseLongArrayTest.java | 59 private void assertRemoved(int startIndex, int endIndex) { argument 61 if (i >= startIndex && i <= endIndex) { 147 final int endIndex = 200; 148 mSparseLongArray.removeAtRange(startIndex, endIndex - startIndex + 1); 149 for (int i = endIndex; i >= startIndex; i--) { 152 assertEquals(TEST_SIZE - (endIndex - startIndex + 1), mSparseLongArray.size()); 153 assertRemoved(startIndex, endIndex);
|
/frameworks/base/tools/split-select/ |
H A D | SplitDescription.cpp | 89 ssize_t endIndex = index; local 90 if (parts[endIndex] == "arm64") { 91 endIndex++; 92 if (endIndex < N) { 93 if (parts[endIndex] == "v8a") { 94 endIndex++; 98 } else if (parts[endIndex] == "armeabi") { 99 endIndex++; 101 if (endIndex < N) { 102 if (parts[endIndex] [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | PathKeyframes.java | 99 private PointF interpolateInRange(float fraction, int startIndex, int endIndex) { argument 101 int endBase = (endIndex * NUM_COMPONENTS);
|
H A D | AnimatorInflater.java | 896 int endIndex = i; 901 endIndex = j; 903 float gap = keyframeArray[endIndex + 1].getFraction() - 905 distributeKeyframes(keyframeArray, gap, startIndex, endIndex); 937 * - endIndex must be >= startIndex. 942 * @param endIndex The index of the last keyframe whose fraction must be set 945 int startIndex, int endIndex) { 946 int count = endIndex - startIndex + 2; 948 for (int i = startIndex; i <= endIndex; ++i) { 944 distributeKeyframes(Keyframe[] keyframes, float gap, int startIndex, int endIndex) argument
|
/frameworks/base/core/java/android/database/ |
H A D | MatrixCursor.java | 87 final int endIndex = rowCount * columnCount; 88 ensureCapacity(endIndex); 197 private final int endIndex; field in class:MatrixCursor.RowBuilder 204 this.endIndex = index + columnCount; 215 if (index == endIndex) {
|
/frameworks/base/core/java/android/service/textclassifier/ |
H A D | TextClassifierService.java | 280 @IntRange(from = 0) int endIndex, 288 text, startIndex, endIndex) 277 onClassifyText( @onNull CharSequence text, @IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex, @Nullable TextClassification.Options options, @NonNull CancellationSignal cancellationSignal, @NonNull Callback<TextClassification> callback) argument
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | CallbackRegistry.java | 176 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE); 178 notifyCallbacksLocked(sender, arg, arg2, startIndex, endIndex, bits); 183 * Notify callbacks from startIndex to endIndex, using bits as the bit status 186 * endIndex should be notified. 195 * @param endIndex One past the last index into mCallbacks to notify. 200 final int endIndex, final long bits) { 202 for (int i = startIndex; i < endIndex; i++) { 259 final int endIndex = startIndex + Long.SIZE; 262 for (int i = endIndex - 1; i >= startIndex; i--) { 199 notifyCallbacksLocked(T sender, int arg, A arg2, final int startIndex, final int endIndex, final long bits) argument
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
H A D | TextClassificationManagerTest.java | 83 int endIndex = startIndex + selected.length(); 87 text, startIndex, endIndex) 104 int endIndex = startIndex + selected.length(); 108 text, startIndex, endIndex) 124 int endIndex = startIndex + selected.length(); 126 text, startIndex, endIndex) 132 isTextSelection(startIndex, endIndex, NO_TYPE)); 142 int endIndex = startIndex + classifiedText.length(); 144 text, startIndex, endIndex) 159 int endIndex 373 isTextSelection( final int startIndex, final int endIndex, final String type) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Interpolator.cpp | 106 size_t endIndex = mX.size() - 1; local 108 while (endIndex > startIndex + 1) { 109 int midIndex = (startIndex + endIndex) / 2; 111 endIndex = midIndex; 117 float xRange = mX[endIndex] - mX[startIndex]; 126 float endY = mY[endIndex];
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyboardShortcutKeysLayout.java | 161 private void layoutChildrenOnRow(int startIndex, int endIndex, int fullRowWidth, int xPos, argument 167 for (int j = startIndex; j < endIndex; ++j) { 183 int nextChildWidth = j < endIndex - 1
|
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
H A D | CallbackRegistry.java | 173 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE); 175 notifyCallbacks(sender, arg, arg2, startIndex, endIndex, bits); 180 * Notify callbacks from startIndex to endIndex, using bits as the bit status 183 * endIndex should be notified. 192 * @param endIndex One past the last index into mCallbacks to notify. 197 final int endIndex, final long bits) { 199 for (int i = startIndex; i < endIndex; i++) { 260 final int endIndex = startIndex + Long.SIZE; 263 for (int i = endIndex - 1; i >= startIndex; i--) { 196 notifyCallbacks(T sender, int arg, A arg2, final int startIndex, final int endIndex, final long bits) argument
|
/frameworks/base/core/java/android/view/textclassifier/ |
H A D | TextSelection.java | 46 int startIndex, int endIndex, Map<String, Float> entityConfidence, String id) { 48 mEndIndex = endIndex; 110 "TextSelection {id=%s, startIndex=%d, endIndex=%d, entities=%s}", 128 * @param endIndex the end index of the text selection. Must be greater than startIndex 130 public Builder(@IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex) { argument 132 Preconditions.checkArgument(endIndex > startIndex); 134 mEndIndex = endIndex; 186 int endIndex, 191 mEndIndex = endIndex; 198 * sub sequence starting at startIndex and ending at endIndex) 45 TextSelection( int startIndex, int endIndex, Map<String, Float> entityConfidence, String id) argument 183 Request( CharSequence text, int startIndex, int endIndex, LocaleList defaultLocales, boolean darkLaunchAllowed) argument 258 Builder( @onNull CharSequence text, @IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex) argument [all...] |
H A D | TextClassifier.java | 266 * by the sub sequence starting at startIndex and ending at endIndex) 268 * @param endIndex end index of the text to classify 274 * endIndex is greater than text.length() or not greater than startIndex 283 @IntRange(from = 0) int endIndex, 286 text, startIndex, endIndex) 297 @IntRange(from = 0) int endIndex, 301 new TextClassification.Request.Builder(text, startIndex, endIndex).build()); 305 return classifyText(new TextClassification.Request.Builder(text, startIndex, endIndex) 542 * endIndex is greater than text.length() or is not greater than startIndex; 545 static void checkArgument(@NonNull CharSequence text, int startIndex, int endIndex) { argument 280 classifyText( @onNull CharSequence text, @IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex, @Nullable LocaleList defaultLocales) argument 294 classifyText( @onNull CharSequence text, @IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex, @Nullable TextClassification.Options options) argument [all...] |
H A D | TextClassifierImplNative.java | 190 int startIndex, int endIndex, ClassificationResult[] classification) { 192 mEndIndex = endIndex; 189 AnnotatedSpan( int startIndex, int endIndex, ClassificationResult[] classification) argument
|
H A D | TextClassification.java | 497 int endIndex, 502 mEndIndex = endIndex; 509 * by the sub sequence starting at startIndex and ending at endIndex) 564 * by the sub sequence starting at startIndex and ending at endIndex) 566 * @param endIndex end index of the text to classify 571 @IntRange(from = 0) int endIndex) { 572 Utils.checkArgument(text, startIndex, endIndex); 575 mEndIndex = endIndex; 494 Request( CharSequence text, int startIndex, int endIndex, LocaleList defaultLocales, ZonedDateTime referenceTime) argument 568 Builder( @onNull CharSequence text, @IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex) argument
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | TextViewActions.java | 179 * Returns an action that long presses then drags on text from startIndex to endIndex on the 188 * @param endIndex The index of the TextView's text to end the drag at 190 public static ViewAction longPressAndDragOnText(int startIndex, int endIndex) { argument 195 new TextCoordinates(endIndex), 201 * Returns an action that double taps then drags on text from startIndex to endIndex on the 210 * @param endIndex The index of the TextView's text to end the drag at 212 public static ViewAction doubleTapAndDragOnText(int startIndex, int endIndex) { argument 217 new TextCoordinates(endIndex), 223 * Returns an action that click then drags by mouse on text from startIndex to endIndex on the 232 * @param endIndex Th 234 mouseDragOnText(int startIndex, int endIndex) argument 256 mouseDoubleClickAndDragOnText(int startIndex, int endIndex) argument 278 mouseLongClickAndDragOnText(int startIndex, int endIndex) argument 300 mouseTripleClickAndDragOnText(int startIndex, int endIndex) argument 329 dragHandle(TextView textView, Handle handleType, int endIndex) argument 348 dragHandle(TextView textView, Handle handleType, int endIndex, boolean primary) argument [all...] |
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | ReorderBarrierDrawables.cpp | 53 const size_t endIndex = mChildren.size(); local 54 while (drawIndex < endIndex) { 85 const size_t endIndex = zChildren.size(); local 86 while (drawIndex < endIndex // draw only children with positive Z 92 while (shadowIndex < endIndex || drawIndex < endIndex) { 93 if (shadowIndex < endIndex) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | WspTypeDecoder.java | 607 * @param endIndex Valid seek area end point 612 public boolean seekXWapApplicationId(int startIndex, int endIndex) { argument 616 for (index = startIndex; index <= endIndex; ) { 632 if (index > endIndex) return false; 649 if (index + 1 >= endIndex) return false;
|
/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/ |
H A D | TextSelection.java | 46 int startIndex, int endIndex, @NonNull Map<String, Float> entityConfidence, 49 mEndIndex = endIndex; 112 "TextSelection {startIndex=%d, endIndex=%d, entities=%s, signature=%s}", 163 * @param endIndex the end index of the text selection. Must be greater than startIndex 165 public Builder(@IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex) { argument 167 Preconditions.checkArgument(endIndex > startIndex); 169 mEndIndex = endIndex; 45 TextSelection( int startIndex, int endIndex, @NonNull Map<String, Float> entityConfidence, @NonNull String signature) argument
|
/frameworks/support/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/ |
H A D | AnimatorInflaterCompat.java | 756 int endIndex = i; 761 endIndex = j; 763 float gap = keyframeArray[endIndex + 1].getFraction() 765 distributeKeyframes(keyframeArray, gap, startIndex, endIndex); 797 * - endIndex must be >= startIndex. 802 * @param endIndex The index of the last keyframe whose fraction must be set 805 int startIndex, int endIndex) { 806 int count = endIndex - startIndex + 2; 808 for (int i = startIndex; i <= endIndex; ++i) { 804 distributeKeyframes(Keyframe[] keyframes, float gap, int startIndex, int endIndex) argument
|
/frameworks/data-binding/internal-prebuilts/com/android/databinding/baseLibrary/1.0-rc3/ |
H A D | baseLibrary-1.0-rc3.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-baseLibrary.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |
/frameworks/base/core/java/android/app/ |
H A D | FragmentTransition.java | 81 * @param endIndex One past the last index into records and isRecordPop to execute 89 int startIndex, int endIndex, boolean isReordered) { 95 for (int i = startIndex; i < endIndex; i++) { 111 records, isRecordPop, startIndex, endIndex); 136 * @param endIndex One past the last index into records and isRecordPop to execute 143 int startIndex, int endIndex) { 145 for (int recordNum = endIndex - 1; recordNum >= startIndex; recordNum--) { 87 startTransitions(FragmentManagerImpl fragmentManager, ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex, boolean isReordered) argument 141 calculateNameOverrides(int containerId, ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex) argument
|
H A D | BackStackRecord.java | 727 boolean interactsWith(ArrayList<BackStackRecord> records, int startIndex, int endIndex) { argument 728 if (endIndex == startIndex) { 738 for (int i = startIndex; i < endIndex; i++) {
|
/frameworks/support/fragment/src/main/java/androidx/fragment/app/ |
H A D | FragmentTransition.java | 96 * @param endIndex One past the last index into records and isRecordPop to execute 104 int startIndex, int endIndex, boolean isReordered) { 111 for (int i = startIndex; i < endIndex; i++) { 127 records, isRecordPop, startIndex, endIndex); 153 * @param endIndex One past the last index into records and isRecordPop to execute 160 int startIndex, int endIndex) { 162 for (int recordNum = endIndex - 1; recordNum >= startIndex; recordNum--) { 102 startTransitions(FragmentManagerImpl fragmentManager, ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex, boolean isReordered) argument 158 calculateNameOverrides(int containerId, ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex) argument
|