Searched refs:endIndex (Results 1 - 25 of 55) sorted by relevance

123

/frameworks/base/tools/split-select/
H A DSplitDescription.cpp89 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/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DFreePathInterpolator.java100 int endIndex = mX.length - 1;
106 return mY[endIndex];
110 while (endIndex - startIndex > 1) {
111 int midIndex = (startIndex + endIndex) / 2;
113 endIndex = midIndex;
119 float xRange = mX[endIndex] - mX[startIndex];
128 float endY = mY[endIndex];
139 int endIndex = mY.length - 1;
143 return mX[endIndex];
149 while (endIndex
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DKernelWakelockReader.java118 int endIndex;
123 startIndex = endIndex = i + 1;
127 while (endIndex < len) {
128 for (endIndex=startIndex;
129 endIndex < len && wlBuffer[endIndex] != '\n' && wlBuffer[endIndex] != '\0';
130 endIndex++);
132 // write to wlBuffer[endIndex]
133 if (endIndex > (le
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DComprehensionTlv.java91 int endIndex = data.length;
92 while (startIndex < endIndex) {
117 int endIndex = data.length;
130 " endIndex=" + endIndex);
162 " endIndex=" + endIndex);
173 " endIndex=" + endIndex);
185 " endIndex
[all...]
H A DBerTlv.java80 int endIndex = data.length;
98 " curIndex=" + curIndex + " endIndex=" + endIndex);
107 " endIndex=" + endIndex);
118 " curIndex=" + curIndex + " endIndex=" + endIndex);
124 if (endIndex - curIndex < length) {
126 "Command had extra data endIndex=" + endIndex
[all...]
/frameworks/support/compat/ics/android/support/v4/view/animation/
H A DPathInterpolatorApi14.java74 int endIndex = mX.length - 1;
75 while (endIndex - startIndex > 1) {
76 int midIndex = (startIndex + endIndex) / 2;
78 endIndex = midIndex;
84 final float xRange = mX[endIndex] - mX[startIndex];
93 final float endY = mY[endIndex];
/frameworks/base/core/java/android/view/textclassifier/
H A DTextLanguage.java41 int startIndex, int endIndex, @NonNull EntityConfidence<Locale> languageConfidence) {
43 mEndIndex = endIndex;
114 * @param endIndex the end index of the detected languages in the text provided
117 public Builder(@IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex) { argument
119 Preconditions.checkArgument(endIndex > startIndex);
121 mEndIndex = endIndex;
40 TextLanguage( int startIndex, int endIndex, @NonNull EntityConfidence<Locale> languageConfidence) argument
H A DTextSelection.java40 int startIndex, int endIndex, @NonNull EntityConfidence<String> entityConfidence,
43 mEndIndex = endIndex;
122 * @param endIndex the end index of the text selection. Must be greater than startIndex
124 public Builder(@IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex) { argument
126 Preconditions.checkArgument(endIndex > startIndex);
128 mEndIndex = endIndex;
39 TextSelection( int startIndex, int endIndex, @NonNull EntityConfidence<String> entityConfidence, @NonNull String logSource) argument
H A DTextClassifier.java67 CharSequence text, int startIndex, int endIndex, LocaleList defaultLocales) {
101 * by the sub sequence starting at startIndex and ending at endIndex)
103 * @param endIndex end index of the text to classify
110 * endIndex is greater than text.length() or not greater than startIndex
117 @IntRange(from = 0) int endIndex,
114 classifyText( @onNull CharSequence text, @IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex, @Nullable LocaleList defaultLocales) argument
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
H A DTextClassificationManagerTest.java64 int endIndex = startIndex + selected.length();
68 assertThat(mClassifier.suggestSelection(text, startIndex, endIndex, LOCALES),
80 int endIndex = startIndex + selected.length();
85 assertThat(mClassifier.suggestSelection(text, startIndex, endIndex, nullLocales),
97 int endIndex = startIndex + selected.length();
101 assertThat(mClassifier.suggestSelection(text, startIndex, endIndex, LOCALES),
112 int endIndex = startIndex + selected.length();
114 assertThat(mClassifier.suggestSelection(text, startIndex, endIndex, LOCALES),
115 isTextSelection(startIndex, endIndex, NO_TYPE));
125 int endIndex
204 isTextSelection( final int startIndex, final int endIndex, final String type) argument
[all...]
/frameworks/base/libs/hwui/
H A DInterpolator.cpp100 size_t endIndex = mX.size() - 1; local
102 while (endIndex > startIndex + 1) {
103 int midIndex = (startIndex + endIndex) / 2;
105 endIndex = midIndex;
111 float xRange = mX[endIndex] - mX[startIndex];
120 float endY = mY[endIndex];
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPathInterpolatorBuilder.java128 int endIndex = mX.length - 1;
130 while (endIndex - startIndex > 1) {
131 int midIndex = (startIndex + endIndex) / 2;
133 endIndex = midIndex;
139 float xRange = mX[endIndex] - mX[startIndex];
148 float endY = mY[endIndex];
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewActions.java163 * Returns an action that long presses then drags on text from startIndex to endIndex on the
172 * @param endIndex The index of the TextView's text to end the drag at
174 public static ViewAction longPressAndDragOnText(int startIndex, int endIndex) { argument
179 new TextCoordinates(endIndex),
185 * Returns an action that double taps then drags on text from startIndex to endIndex on the
194 * @param endIndex The index of the TextView's text to end the drag at
196 public static ViewAction doubleTapAndDragOnText(int startIndex, int endIndex) { argument
201 new TextCoordinates(endIndex),
207 * Returns an action that click then drags by mouse on text from startIndex to endIndex on the
216 * @param endIndex Th
218 mouseDragOnText(int startIndex, int endIndex) argument
240 mouseDoubleClickAndDragOnText(int startIndex, int endIndex) argument
262 mouseLongClickAndDragOnText(int startIndex, int endIndex) argument
284 mouseTripleClickAndDragOnText(int startIndex, int endIndex) argument
313 dragHandle(TextView textView, Handle handleType, int endIndex) argument
332 dragHandle(TextView textView, Handle handleType, int endIndex, boolean primary) argument
[all...]
/frameworks/base/libs/hwui/pipeline/skia/
H A DReorderBarrierDrawables.cpp58 const size_t endIndex = mChildren.size(); local
59 while (drawIndex < endIndex) {
91 const size_t endIndex = zChildren.size(); local
92 while (drawIndex < endIndex //draw only children with positive Z
97 while (shadowIndex < endIndex || drawIndex < endIndex) {
98 if (shadowIndex < endIndex) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIntRangeManager.java275 for (int endIndex = startIndex+1; endIndex < len; endIndex++) {
276 IntRange endRange = mRanges.get(endIndex);
285 // coalesce range with following ranges up to endIndex-1
291 for (int i = joinIndex; i < endIndex; i++) {
310 // coalesce range with following ranges up to endIndex
316 for (int i = joinIndex; i <= endIndex; i++) {
362 int endIndex = startIndex;
368 endIndex
[all...]
/frameworks/base/core/java/android/view/animation/
H A DPathInterpolator.java213 int endIndex = mX.length - 1;
215 while (endIndex - startIndex > 1) {
216 int midIndex = (startIndex + endIndex) / 2;
218 endIndex = midIndex;
224 float xRange = mX[endIndex] - mX[startIndex];
233 float endY = mY[endIndex];
/frameworks/base/core/java/com/android/internal/util/
H A DCallbackRegistry.java176 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/data-binding/baseLibrary/src/main/java/android/databinding/
H A DCallbackRegistry.java173 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/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DPathInterpolatorCompat.java201 int endIndex = mX.length - 1;
203 while (endIndex - startIndex > 1) {
204 int midIndex = (startIndex + endIndex) / 2;
206 endIndex = midIndex;
212 float xRange = mX[endIndex] - mX[startIndex];
221 float endY = mY[endIndex];
/frameworks/base/core/java/android/database/
H A DMatrixCursor.java87 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/data-binding/internal-prebuilts/com/android/databinding/baseLibrary/1.0-rc3/
H A DbaseLibrary-1.0-rc3.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-baseLibrary.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/base/services/core/java/com/android/server/am/
H A DRecentTasks.java416 int endIndex = topIndex;
418 while (endIndex < recentsCount) {
419 TaskRecord cur = get(endIndex);
421 + endIndex + " " + cur);
425 Slog.wtf(TAG, "Bad chain @" + endIndex
434 Slog.wtf(TAG, "Bad chain @" + endIndex
435 + ": middle task " + cur + " @" + endIndex
446 Slog.wtf(TAG, "Bad chain @" + endIndex
451 if (DEBUG_RECENTS) Slog.d(TAG_RECENTS, "addRecent: end of chain @" + endIndex);
456 Slog.wtf(TAG, "Bad chain @" + endIndex
[all...]
/frameworks/base/core/java/android/animation/
H A DPathKeyframes.java99 private PointF interpolateInRange(float fraction, int startIndex, int endIndex) { argument
101 int endBase = (endIndex * NUM_COMPONENTS);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyboardShortcutKeysLayout.java161 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

Completed in 839 milliseconds

123