/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | GestureTrailDrawingPoints.java | 178 int startIndex; in drawGestureTrailLocked() local 179 for (startIndex = mTrailStartIndex; startIndex < trailSize; startIndex++) { in drawGestureTrailLocked() 180 final int elapsedTime = sinceDown - eventTimes[startIndex]; in drawGestureTrailLocked() 186 mTrailStartIndex = startIndex; in drawGestureTrailLocked() 188 if (startIndex < trailSize) { in drawGestureTrailLocked() 192 int p1x = getXCoordValue(xCoords[startIndex]); in drawGestureTrailLocked() 193 int p1y = yCoords[startIndex]; in drawGestureTrailLocked() 194 final int lastTime = sinceDown - eventTimes[startIndex]; in drawGestureTrailLocked() 196 for (int i = startIndex + 1; i < trailSize; i++) { in drawGestureTrailLocked() 226 debugDrawPoints(canvas, startIndex, trailSize, paint); in drawGestureTrailLocked() [all …]
|
/packages/apps/PhoneCommon/src/com/android/phone/common/compat/ |
D | PathInterpolatorCompat.java | 80 int startIndex = 0; in getInterpolation() local 82 while (endIndex - startIndex > 1) { in getInterpolation() 83 int midIndex = (startIndex + endIndex) / 2; in getInterpolation() 87 startIndex = midIndex; in getInterpolation() 91 final float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation() 93 return mY[startIndex]; in getInterpolation() 96 final float tInRange = t - mX[startIndex]; in getInterpolation() 99 final float startY = mY[startIndex]; in getInterpolation()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | IndicatorControlWheel.java | 208 int startIndex = (mCurrentLevel == 0) ? 0 : mSecondLevelStartIndex; in getTouchIndicatorIndex() local 213 if (mZoomControl != null) startIndex++; in getTouchIndicatorIndex() 220 if ((delta >= (mChildRadians[startIndex] - halfTouchSectorRadians)) && in getTouchIndicatorIndex() 224 index = (int) ((delta - mChildRadians[startIndex]) in getTouchIndicatorIndex() 227 if (index > sectors) return (startIndex + sectors); in getTouchIndicatorIndex() 229 if (index < 0) return startIndex; in getTouchIndicatorIndex() 231 if (delta <= (mChildRadians[startIndex + index] in getTouchIndicatorIndex() 233 return (startIndex + index); in getTouchIndicatorIndex() 235 if (delta >= (mChildRadians[startIndex + index + 1] in getTouchIndicatorIndex() 237 return (startIndex + index + 1); in getTouchIndicatorIndex() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | int_array_view.h | 145 size_t startIndex = 0; variable 148 result.emplace_back(mPtr + startIndex, i - startIndex); 149 startIndex = i + 1; 155 result.emplace_back(mPtr + startIndex, mSize - startIndex);
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | AttendeesView.java | 290 final int startIndex = 0; in addOneAttendee() local 293 addView(mDividerForYes, startIndex); in addOneAttendee() 297 index = startIndex + mYes; in addOneAttendee() 301 final int startIndex = (mYes == 0 ? 0 : 1 + mYes); in addOneAttendee() local 304 addView(mDividerForNo, startIndex); in addOneAttendee() 308 index = startIndex + mNo; in addOneAttendee() 312 final int startIndex = (mYes == 0 ? 0 : 1 + mYes) + (mNo == 0 ? 0 : 1 + mNo); in addOneAttendee() local 315 addView(mDividerForMaybe, startIndex); in addOneAttendee() 319 index = startIndex + mMaybe; in addOneAttendee() 323 final int startIndex = (mYes == 0 ? 0 : 1 + mYes) + (mNo == 0 ? 0 : 1 + mNo) in addOneAttendee() local [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | SearchUtil.java | 28 public int startIndex = -1; field in SearchUtil.MatchedLine 35 ", startIndex=" + startIndex + in toString() 72 matched.startIndex = index - (start + 1); in findMatchingLine() 135 static int findNextTokenStart(String line, int startIndex) { in findNextTokenStart() argument 136 int index = startIndex; in findNextTokenStart()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | HtmlUtils.java | 160 final int start = lastSeen.startIndex; in handleEnd() 171 final int start = wrapper.startIndex; in handleFont() 217 final int startIndex; field in HtmlUtils.SpannedConverter.TagWrapper 219 TagWrapper(HtmlDocument.Tag tag, int startIndex) { in TagWrapper() argument 221 this.startIndex = startIndex; in TagWrapper()
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/ |
D | SearchUtilTest.java | 35 assertEquals(5, matched.startIndex); in testFindMatchingLine() 40 assertEquals(0, matched.startIndex); in testFindMatchingLine() 45 assertEquals(0, matched.startIndex); in testFindMatchingLine() 50 assertEquals(9, matched.startIndex); in testFindMatchingLine()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | MediaSet.java | 202 protected int enumerateMediaItems(ItemConsumer consumer, int startIndex) { in enumerateMediaItems() argument 210 consumer.consume(startIndex + start + i, item); in enumerateMediaItems() 220 ItemConsumer consumer, int startIndex) { in enumerateTotalMediaItems() argument 222 start += enumerateMediaItems(consumer, startIndex); in enumerateTotalMediaItems() 226 consumer, startIndex + start); in enumerateTotalMediaItems()
|
D | ClusterAlbum.java | 98 protected int enumerateMediaItems(ItemConsumer consumer, int startIndex) { in enumerateMediaItems() argument 99 mDataManager.mapMediaItems(mPaths, consumer, startIndex); in enumerateMediaItems()
|
D | DataManager.java | 218 int startIndex) { in mapMediaItems() argument 232 group.add(new PathId(path, i + startIndex)); in mapMediaItems()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info.cpp | 112 const int startIndex = ProximityInfoUtils::getStartIndexFromCoordinates(x, y, in hasSpaceProximity() local 115 AKLOGI("hasSpaceProximity: index %d, %d, %d", startIndex, x, y); in hasSpaceProximity() 120 AKLOGI("Index: %d", mProximityCharsArray[startIndex + i]); in hasSpaceProximity() 122 if (proximityCharsArray[startIndex + i] == KEYCODE_SPACE) { in hasSpaceProximity()
|
D | proximity_info_utils.h | 158 const int startIndex = getStartIndexFromCoordinates(x, y, cellHeight, cellWidth, gridWidth); in calculateProximities() local 159 if (startIndex >= 0) { in calculateProximities() 161 const int c = proximityCharsArray[startIndex + i]; in calculateProximities()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ContactsDictionaryUtils.java | 32 final int startIndex) { in getWordEndPosition() argument 35 for (end = startIndex + 1; end < len; end += Character.charCount(cp)) { in getWordEndPosition()
|
/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 113 int index = startIndex; in calcurateMaxRowWidth()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | BaseActionFragment.java | 117 int startIndex = mFragment.getArguments().getInt(EXTRA_INDEX, -1); in onCreate() local 118 if (startIndex != -1) { in onCreate() 121 mIndexToSelect = startIndex; in onCreate()
|
D | DialogActivity.java | 156 int startIndex) { in createIntent() argument 164 intent.putExtra(EXTRA_DIALOG_ACTIONS_START_INDEX, startIndex); in createIntent()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | PlainTextEditText.java | 57 final int startIndex = selectionStart - 1; in onTextContextMenuItem() local 60 if (pasteStringLength == 1 && text.charAt(startIndex) == OBJECT_UNICODE) { in onTextContextMenuItem()
|
/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/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/UnifiedEmail/src/com/android/mail/browse/ |
D | SendersView.java | 220 int startIndex = sb.length(); in appendMessageInfo() local 225 startIndex, sb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in appendMessageInfo() 228 startIndex = sb.length(); in appendMessageInfo() 230 sb.setSpan(span, startIndex, sb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in appendMessageInfo()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedView.java | 655 final int startIndex = isRtl ? childCount - 1 : 0; in onLayout() local 658 int childLeft = getRelativeChildOffset(startIndex); in onLayout() 659 for (int i = startIndex; i != endIndex; i += delta) { in onLayout() 746 final int startIndex = isRtl ? getChildCount() - 1 : 0; in getChildOffset() local 749 int offset = getRelativeChildOffset(startIndex); in getChildOffset() 750 for (int i = startIndex; i != endIndex; i += delta) { in getChildOffset() 1453 final int startIndex = isRtl ? childCount - 1 : 0; in getChildIndexForRelativeOffset() local 1456 for (int i = startIndex; i != endIndex; i += delta) { in getChildIndexForRelativeOffset()
|
/packages/apps/UnifiedEmail/assets/ |
D | script.js | 716 function replaceSuperCollapsedBlock(startIndex) { argument 719 block = document.querySelector(".mail-super-collapsed-block[index='" + startIndex + "']"); 721 console.log("can't expand super collapsed block at index: " + startIndex);
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | Evaluator.java | 818 int startIndex = Math.max(endIndex + deficit - maxDigs, 0); in getString() local 819 truncated[0] = (startIndex > getMsdIndex()); in getString() 820 String result = mResultString.substring(startIndex, endIndex); in getString()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 457 jlong dict, jobjectArray inputEvents, jint startIndex) { in latinime_BinaryDictionary_updateEntriesForInputEvents() argument 463 if (inputEventCount == 0 || startIndex >= inputEventCount) { in latinime_BinaryDictionary_updateEntriesForInputEvents() 479 for (int i = startIndex; i < inputEventCount; ++i) { in latinime_BinaryDictionary_updateEntriesForInputEvents()
|