Home
last modified time | relevance | path

Searched refs:endIndex (Results 1 – 23 of 23) 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/Dialer/java/com/android/dialer/compat/
DPathInterpolatorCompat.java96 int endIndex = mX.length - 1; in getInterpolation() local
97 while (endIndex - startIndex > 1) { in getInterpolation()
98 int midIndex = (startIndex + endIndex) / 2; in getInterpolation()
100 endIndex = midIndex; in getInterpolation()
106 final float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation()
115 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/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DUnicodeEscaper.java216 int endIndex = destIndex + charsSkipped; in escapeSlow() local
217 if (dest.length < endIndex) { in escapeSlow()
218 dest = growBuffer(dest, destIndex, endIndex); in escapeSlow()
221 destIndex = endIndex; in escapeSlow()
/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/Launcher2/src/com/android/launcher2/
DPagedView.java656 final int endIndex = isRtl ? -1 : childCount; in onLayout() local
659 for (int i = startIndex; i != endIndex; i += delta) { in onLayout()
747 final int endIndex = isRtl ? index : index; in getChildOffset() local
750 for (int i = startIndex; i != endIndex; i += delta) { in getChildOffset()
791 int endIndex = isRtl ? 0 : pageCount - 1; in getVisiblePages() local
794 while (leftScreen != endIndex && in getVisiblePages()
802 while (rightScreen != endIndex && in getVisiblePages()
1454 final int endIndex = isRtl ? -1 : childCount; in getChildIndexForRelativeOffset() local
1456 for (int i = startIndex; i != endIndex; i += delta) { in getChildIndexForRelativeOffset()
DFocusHelper.java634 int endIndex = (lineDelta < 0) ? -1 : views.size(); in getClosestIconOnLine() local
635 while (index != endIndex) { in getClosestIconOnLine()
648 if (index <= endIndex) { in getClosestIconOnLine()
DAppsCustomizePagedView.java1022 int endIndex = Math.min(startIndex + numCells, mApps.size()); in syncAppsPageItems() local
1028 for (int i = startIndex; i < endIndex; ++i) { in syncAppsPageItems()
/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/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/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/ExactCalculator/src/com/android/calculator2/
DEvaluator.java1100 int endIndex = len - extraDigs; in getString() local
1101 if (endIndex < 1) { in getString()
1104 int startIndex = Math.max(endIndex + deficit - maxDigs, 0); in getString()
1106 String result = ei.mResultString.substring(startIndex, endIndex); in getString()
1928 final long endIndex = getMaxIndex(); in historyAsString() local
/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.java389 final int endIndex = cursor.getColumnIndex(Instances.END); in scheduleNextAlarmLocked() local
413 final long endTime = cursor.getLong(endIndex); in scheduleNextAlarmLocked()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageNotificationState.java450 int endIndex = MAX_CHARACTERS_IN_GROUP_NAME; in truncateGroupMessageName() local
454 endIndex = i; in truncateGroupMessageName()
458 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/Launcher3/src/com/android/launcher3/
DPagedView.java785 final int endIndex = mIsRtl ? -1 : childCount; in onLayout() local
798 for (int i = startIndex; i != endIndex; i += delta) { in onLayout()
822 if (next != endIndex) { in onLayout()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java2931 int endIndex = endDay - firstDay; in drawAllDayEvents() local
2943 event.right = computeDayLeftPosition(endIndex + 1) - DAY_GAP; in drawAllDayEvents()
2951 incrementSkipCount(mSkippedAlldayEvents, startIndex, endIndex); in drawAllDayEvents()
2955 incrementSkipCount(mSkippedAlldayEvents, startIndex, endIndex); in drawAllDayEvents()
3001 private void incrementSkipCount(int[] counts, int startIndex, int endIndex) { in incrementSkipCount() argument
3002 if (counts == null || startIndex < 0 || endIndex > counts.length) { in incrementSkipCount()
3005 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/TV/libs/
Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...