/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | GestureTrailDrawingPoints.java | 178 int startIndex; 179 for (startIndex = mTrailStartIndex; startIndex < trailSize; startIndex++) { 180 final int elapsedTime = sinceDown - eventTimes[startIndex]; 186 mTrailStartIndex = startIndex; 188 if (startIndex < trailSize) { 192 int p1x = getXCoordValue(xCoords[startIndex]); 193 int p1y = yCoords[startIndex]; 194 final int lastTime = sinceDown - eventTimes[startIndex]; 255 debugDrawPoints(final Canvas canvas, final int startIndex, final int endIndex, final Paint paint) argument [all...] |
/packages/apps/Dialer/java/com/android/dialer/compat/ |
H A D | PathInterpolatorCompat.java | 95 int startIndex = 0; 97 while (endIndex - startIndex > 1) { 98 int midIndex = (startIndex + endIndex) / 2; 102 startIndex = midIndex; 106 final float xRange = mX[endIndex] - mX[startIndex]; 108 return mY[startIndex]; 111 final float tInRange = t - mX[startIndex]; 114 final float startY = mY[startIndex];
|
/packages/apps/PhoneCommon/src/com/android/phone/common/compat/ |
H A D | PathInterpolatorCompat.java | 80 int startIndex = 0; 82 while (endIndex - startIndex > 1) { 83 int midIndex = (startIndex + endIndex) / 2; 87 startIndex = midIndex; 91 final float xRange = mX[endIndex] - mX[startIndex]; 93 return mY[startIndex]; 96 final float tInRange = t - mX[startIndex]; 99 final float startY = mY[startIndex];
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | ContactsDictionaryUtils.java | 29 * Returns the index of the last letter in the word, starting from position startIndex. 32 final int startIndex) { 35 for (end = startIndex + 1; end < len; end += Character.charCount(cp)) { 31 getWordEndPosition(final String string, final int len, final int startIndex) argument
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | SearchUtil.java | 28 public int startIndex = -1; field in class:SearchUtil.MatchedLine 35 ", startIndex=" + startIndex + 46 * @return A MatchedLine object containing the matching line and the startIndex of the substring 72 matched.startIndex = index - (start + 1); 131 * @param startIndex The index to start searching. 0 based indexing. 135 static int findNextTokenStart(String line, int startIndex) { argument 136 int index = startIndex;
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
H A D | int_array_view.h | 145 size_t startIndex = 0; 148 result.emplace_back(mPtr + startIndex, i - startIndex); 149 startIndex = i + 1; 155 result.emplace_back(mPtr + startIndex, mSize - startIndex);
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
H A D | SearchUtilTest.java | 35 assertEquals(5, matched.startIndex); 40 assertEquals(0, matched.startIndex); 45 assertEquals(0, matched.startIndex); 50 assertEquals(9, matched.startIndex);
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
H A D | SearchUtil.java | 29 * @return A MatchedLine object containing the matching line and the startIndex of the substring 55 matched.startIndex = index - (start + 1); 114 * @param startIndex The index to start searching. 0 based indexing. 118 static int findNextTokenStart(String line, int startIndex) { argument 119 int index = startIndex; 190 public int startIndex = -1; field in class:SearchUtil.MatchedLine 195 return "MatchedLine{" + "line='" + line + '\'' + ", startIndex=" + startIndex + '}';
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | IndicatorControlWheel.java | 208 int startIndex = (mCurrentLevel == 0) ? 0 : mSecondLevelStartIndex; 213 if (mZoomControl != null) startIndex++; 220 if ((delta >= (mChildRadians[startIndex] - halfTouchSectorRadians)) && 224 index = (int) ((delta - mChildRadians[startIndex]) 227 if (index > sectors) return (startIndex + sectors); 229 if (index < 0) return startIndex; 231 if (delta <= (mChildRadians[startIndex + index] 233 return (startIndex + index); 235 if (delta >= (mChildRadians[startIndex + index + 1] 237 return (startIndex [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | PlainTextEditText.java | 57 final int startIndex = selectionStart - 1; 60 if (pasteStringLength == 1 && text.charAt(startIndex) == OBJECT_UNICODE) {
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | AttendeesView.java | 290 final int startIndex = 0; 293 addView(mDividerForYes, startIndex); 297 index = startIndex + mYes; 301 final int startIndex = (mYes == 0 ? 0 : 1 + mYes); 304 addView(mDividerForNo, startIndex); 308 index = startIndex + mNo; 312 final int startIndex = (mYes == 0 ? 0 : 1 + mYes) + (mNo == 0 ? 0 : 1 + mNo); 315 addView(mDividerForMaybe, startIndex); 319 index = startIndex + mMaybe; 323 final int startIndex [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | HtmlUtils.java | 160 final int start = lastSeen.startIndex; 171 final int start = wrapper.startIndex; 217 final int startIndex; field in class:HtmlUtils.SpannedConverter.TagWrapper 219 TagWrapper(HtmlDocument.Tag tag, int startIndex) { argument 221 this.startIndex = startIndex;
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
H A D | UriUtils.java | 241 * @param startIndex the focused action in actions list when started. 245 int startIndex) { 246 return getSubactionDialogUri(uri, dialogTitle, dialogDescription, null, startIndex); 273 * @param startIndex the focused action in actions list when started. 279 String startName, int startIndex) { 294 if (startIndex != -1) { 296 Integer.toString(startIndex)); 244 getSubactionDialogUri(Uri uri, String dialogTitle, String dialogDescription, int startIndex) argument 278 getSubactionDialogUri(Uri uri, String dialogTitle, String dialogDescription, String startName, int startIndex) argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | MediaSet.java | 202 protected int enumerateMediaItems(ItemConsumer consumer, int startIndex) { argument 210 consumer.consume(startIndex + start + i, item); 220 ItemConsumer consumer, int startIndex) { 222 start += enumerateMediaItems(consumer, startIndex); 226 consumer, startIndex + start); 219 enumerateTotalMediaItems( ItemConsumer consumer, int startIndex) argument
|
H A D | ClusterAlbum.java | 98 protected int enumerateMediaItems(ItemConsumer consumer, int startIndex) { argument 99 mDataManager.mapMediaItems(mPaths, consumer, startIndex);
|
H A D | DataManager.java | 216 // startIndex). 218 int startIndex) { 232 group.add(new PathId(path, i + startIndex)); 217 mapMediaItems(ArrayList<Path> list, ItemConsumer consumer, int startIndex) argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
H A D | BaseActionFragment.java | 117 int startIndex = mFragment.getArguments().getInt(EXTRA_INDEX, -1); 118 if (startIndex != -1) { 121 mIndexToSelect = startIndex;
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
H A D | OverviewScreenAccessibilityDelegate.java | 91 int startIndex = mWorkspace.numCustomPages() + (FeatureFlags.QSB_ON_FIRST_SCREEN ? 1 : 0); 92 if (index > startIndex) {
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
H A D | proximity_info.cpp | 112 const int startIndex = ProximityInfoUtils::getStartIndexFromCoordinates(x, y, local 115 AKLOGI("hasSpaceProximity: index %d, %d, %d", startIndex, x, y); 120 AKLOGI("Index: %d", mProximityCharsArray[startIndex + i]); 122 if (proximityCharsArray[startIndex + i] == KEYCODE_SPACE) {
|
H A D | proximity_info_utils.h | 158 const int startIndex = getStartIndexFromCoordinates(x, y, cellHeight, cellWidth, gridWidth); local 159 if (startIndex >= 0) { 161 const int c = proximityCharsArray[startIndex + i];
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | SpannableStringUtils.java | 124 final int startIndex, final int endIndex) { 130 // trick, and works in all cases even if startIndex <= 0 or endIndex >= text.length(). 131 final URLSpan[] spans = spanned.getSpans(startIndex - 1, endIndex + 1, URLSpan.class); 123 hasUrlSpans(final CharSequence text, final int startIndex, final int endIndex) argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
H A D | MoreSuggestions.java | 103 private boolean fitInWidth(final int startIndex, final int endIndex, final int width) { argument 104 for (int index = startIndex; index < endIndex; index++) { 111 private int calcurateMaxRowWidth(final int startIndex, final int endIndex) { argument 113 int index = startIndex;
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
H A D | StringUtils.java | 242 * @param startIndex the start index inside the string in java chars, inclusive. 244 * @return a new array of code points. At most endIndex - startIndex, but possibly less. 248 final int startIndex, final int endIndex) { 254 new int[Character.codePointCount(charSequence, startIndex, endIndex)]; 255 copyCodePointsAndReturnCodePointCount(codePoints, charSequence, startIndex, endIndex, 273 * @param startIndex the start index inside the string in java chars, inclusive. 279 @Nonnull final CharSequence charSequence, final int startIndex, final int endIndex, 282 for (int index = startIndex; index < endIndex; 247 toCodePointArray(@onnull final CharSequence charSequence, final int startIndex, final int endIndex) argument 278 copyCodePointsAndReturnCodePointCount(@onnull final int[] destination, @Nonnull final CharSequence charSequence, final int startIndex, final int endIndex, final boolean downCase) argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | SendersView.java | 220 int startIndex = sb.length(); 225 startIndex, sb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); 228 startIndex = sb.length(); 230 sb.setSpan(span, startIndex, sb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
H A D | BaseModelUpdateTaskTestCase.java | 150 private Object initItem(Class clazz, String[] fieldDef, int startIndex) throws Exception { argument 166 for (int i = startIndex; i < fieldDef.length; i++) {
|