Home
last modified time | relevance | path

Searched refs:endIndex (Results 1 – 19 of 19) sorted by relevance

/packages/apps/PhoneCommon/src/com/android/phone/common/compat/
DPathInterpolatorCompat.java81 int endIndex = mX.length - 1; in getInterpolation() local
82 while (endIndex - startIndex > 1) { in getInterpolation()
83 int midIndex = (startIndex + endIndex) / 2; in getInterpolation()
85 endIndex = midIndex; in getInterpolation()
91 final float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation()
100 final float endY = mY[endIndex]; in getInterpolation()
/packages/apps/Settings/src/com/android/settings/
DLinkifyUtils.java58 final int endIndex = text.indexOf(PLACE_HOLDER_LINK_END); in linkify() local
59 if (endIndex == -1) { in linkify()
63 text.delete(endIndex, endIndex + PLACE_HOLDER_LINK_END.length()); in linkify()
80 spannableContent.setSpan(spannableLink, beginIndex, endIndex, in linkify()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java103 private boolean fitInWidth(final int startIndex, final int endIndex, final int width) { in fitInWidth() argument
104 for (int index = startIndex; index < endIndex; index++) { in fitInWidth()
111 private int calcurateMaxRowWidth(final int startIndex, final int endIndex) { in calcurateMaxRowWidth() argument
117 while (index < endIndex && mRowNumbers[index] == row) { in calcurateMaxRowWidth()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DStringUtils.java248 final int startIndex, final int endIndex) { in toCodePointArray() argument
254 new int[Character.codePointCount(charSequence, startIndex, endIndex)]; in toCodePointArray()
255 copyCodePointsAndReturnCodePointCount(codePoints, charSequence, startIndex, endIndex, in toCodePointArray()
279 @Nonnull final CharSequence charSequence, final int startIndex, final int endIndex, in copyCodePointsAndReturnCodePointCount() argument
282 for (int index = startIndex; index < endIndex; in copyCodePointsAndReturnCodePointCount()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DQueryStyle.java78 int endIndex = digitsOnlyNumberInfo.second.get(digitsOnlyEndIndex); in getStringWithQueryInSpecialStyle() local
79 spannableString.setSpan(mTextAppearanceSpan, startIndex, endIndex + 1, in getStringWithQueryInSpecialStyle()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlWheel.java216 int endIndex; in getTouchIndicatorIndex() local
221 endIndex = mSecondLevelStartIndex - 1; in getTouchIndicatorIndex()
223 endIndex = getChildCount() - 1; in getTouchIndicatorIndex()
228 (delta <= (mChildRadians[endIndex] + halfTouchSectorRadians))) { in getTouchIndicatorIndex()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSpannableStringUtils.java124 final int startIndex, final int endIndex) { in hasUrlSpans() argument
131 final URLSpan[] spans = spanned.getSpans(startIndex - 1, endIndex + 1, URLSpan.class); in hasUrlSpans()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/common/
DQueryStyleTest.java198 int endIndex = startIndex == -1 ? -1 : startIndex + length + specialCharNumber; in checkCorrectness() local
201 assertThat(testString.getSpanEnd(textAppearanceSpan)).isEqualTo(endIndex); in checkCorrectness()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduParser.java460 int endIndex = str.indexOf("/"); in parseHeaders() local
461 if (endIndex > 0) { in parseHeaders()
462 str = str.substring(0, endIndex); in parseHeaders()
542 int endIndex = str.indexOf("/"); in parseHeaders() local
543 if (endIndex > 0) { in parseHeaders()
544 str = str.substring(0, endIndex); in parseHeaders()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduParser.java486 int endIndex = str.indexOf("/"); in parseHeaders() local
487 if (endIndex > 0) { in parseHeaders()
488 str = str.substring(0, endIndex); in parseHeaders()
568 int endIndex = str.indexOf("/"); in parseHeaders() local
569 if (endIndex > 0) { in parseHeaders()
570 str = str.substring(0, endIndex); in parseHeaders()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureTrailDrawingPoints.java255 private void debugDrawPoints(final Canvas canvas, final int startIndex, final int endIndex, in debugDrawPoints() argument
263 for (int i = startIndex; i < endIndex; i++) { in debugDrawPoints()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarAlarmManager.java369 final int endIndex = cursor.getColumnIndex(Instances.END); in scheduleNextAlarmLocked() local
393 final long endTime = cursor.getLong(endIndex); in scheduleNextAlarmLocked()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageNotificationState.java449 int endIndex = MAX_CHARACTERS_IN_GROUP_NAME; in truncateGroupMessageName() local
453 endIndex = i; in truncateGroupMessageName()
457 return conversationName.substring(0, endIndex) + '\u2026'; in truncateGroupMessageName()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputLogicTests.java499 int endIndex = mEditText.getText().length(); in testAutoCorrectByUserHistory() local
501 "qpmz ", mEditText.getText().subSequence(startIndex, endIndex).toString()); in testAutoCorrectByUserHistory()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java2562 int endIndex = endDay - firstDay; in drawAllDayEvents() local
2574 event.right = computeDayLeftPosition(endIndex + 1) - DAY_GAP; in drawAllDayEvents()
2582 incrementSkipCount(mSkippedAlldayEvents, startIndex, endIndex); in drawAllDayEvents()
2586 incrementSkipCount(mSkippedAlldayEvents, startIndex, endIndex); in drawAllDayEvents()
2632 private void incrementSkipCount(int[] counts, int startIndex, int endIndex) { in incrementSkipCount() argument
2633 if (counts == null || startIndex < 0 || endIndex > counts.length) { in incrementSkipCount()
2636 for (int i = startIndex; i <= endIndex; i++) { in incrementSkipCount()
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java670 int endIndex = Math.min(endRow * mColumns, mCount); in paintDecoration() local
675 for (int i = startIndex; i < endIndex; i++) { in paintDecoration()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java671 final int endIndex = mIsRtl ? -1 : childCount; in getPageScrolls() local
680 for (int i = startIndex, childStart = scrollOffsetStart; i != endIndex; i += delta) { in getPageScrolls()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java1436 int endIndex = Math.min(startIndex + numItemsOnCurrentPage, allItems.size()); in getItemsOnPage() local
1439 for (int i = startIndex; i < endIndex; ++i) { in getItemsOnPage()
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt3782 Landroid/icu/text/Normalizer;->endIndex()I
4596 Landroid/icu/text/SearchIterator$Search;->endIndex()I