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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
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/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlWheel.java209 int endIndex; in getTouchIndicatorIndex() local
214 endIndex = mSecondLevelStartIndex - 1; in getTouchIndicatorIndex()
216 endIndex = getChildCount() - 1; in getTouchIndicatorIndex()
221 (delta <= (mChildRadians[endIndex] + halfTouchSectorRadians))) { in getTouchIndicatorIndex()
/packages/apps/Settings/src/com/android/settings/widget/
DDonutView.java245 int endIndex = startIndex + percentageSignString.length(); in getPercentageStringSpannable() local
250 endIndex = percentString.length(); in getPercentageStringSpannable()
256 endIndex, in getPercentageStringSpannable()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDonutView.java245 int endIndex = startIndex + percentageSignString.length(); in getPercentageStringSpannable() local
250 endIndex = percentString.length(); in getPercentageStringSpannable()
256 endIndex, in getPercentageStringSpannable()
/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/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/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/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/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.java624 final int endIndex = mIsRtl ? -1 : childCount; in getPageScrolls() local
634 for (int i = startIndex, childLeft = scrollOffsetLeft; i != endIndex; i += delta) { in getPageScrolls()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java1335 int endIndex = Math.min(startIndex + numItemsOnCurrentPage, allItems.size()); in getItemsOnPage() local
1338 for (int i = startIndex; i < endIndex; ++i) { in getItemsOnPage()