/packages/apps/PhoneCommon/src/com/android/phone/common/compat/ |
D | PathInterpolatorCompat.java | 81 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/ |
D | LinkifyUtils.java | 58 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/ |
D | LinkifyUtils.java | 58 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/ |
D | MoreSuggestions.java | 103 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/ |
D | StringUtils.java | 248 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/ |
D | IndicatorControlWheel.java | 209 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/ |
D | DonutView.java | 245 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/ |
D | DonutView.java | 245 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/ |
D | SpannableStringUtils.java | 124 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/ |
D | PduParser.java | 460 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/ |
D | PduParser.java | 486 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/ |
D | GestureTrailDrawingPoints.java | 255 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/ |
D | CalendarAlarmManager.java | 369 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/ |
D | MessageNotificationState.java | 449 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/ |
D | DayView.java | 2562 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/ |
D | InputLogicTests.java | 499 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/ |
D | GridViewSpecial.java | 670 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/ |
D | PagedView.java | 624 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/ |
D | Folder.java | 1335 int endIndex = Math.min(startIndex + numItemsOnCurrentPage, allItems.size()); in getItemsOnPage() local 1338 for (int i = startIndex; i < endIndex; ++i) { in getItemsOnPage()
|