/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/ContactsCommon/src/com/android/contacts/common/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/apps/ContactsCommon/tests/src/com/android/contacts/common/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/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/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/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/util/ |
H A D | UriUtils.java | 231 * @param startIndex the focused action in actions list when started. 235 int startIndex) { 236 return getSubactionDialogUri(uri, dialogTitle, dialogDescription, null, startIndex); 263 * @param startIndex the focused action in actions list when started. 269 String startName, int startIndex) { 284 if (startIndex != -1) { 286 Integer.toString(startIndex)); 234 getSubactionDialogUri(Uri uri, String dialogTitle, String dialogDescription, int startIndex) argument 268 getSubactionDialogUri(Uri uri, String dialogTitle, String dialogDescription, String startName, 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;
|
H A D | DialogActivity.java | 158 int startIndex) { 166 intent.putExtra(EXTRA_DIALOG_ACTIONS_START_INDEX, startIndex); 155 createIntent(Context context, String title, String breadcrumb, String description, String imageUri, int imageBackground, ArrayList<Action> actions, Class<? extends DialogActivity> activityClass, int startIndex) argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | SpannableStringUtils.java | 118 final int startIndex, final int endIndex) { 124 // trick, and works in all cases even if startIndex <= 0 or endIndex >= text.length(). 125 final URLSpan[] spans = spanned.getSpans(startIndex - 1, endIndex + 1, URLSpan.class); 117 hasUrlSpans(final CharSequence text, final int startIndex, final int endIndex) argument
|
H A D | StringUtils.java | 169 * @param startIndex the start index inside the string in java chars, inclusive. 171 * @return a new array of code points. At most endIndex - startIndex, but possibly less. 174 final int startIndex, final int endIndex) { 180 new int[Character.codePointCount(charSequence, startIndex, endIndex)]; 181 copyCodePointsAndReturnCodePointCount(codePoints, charSequence, startIndex, endIndex, 199 * @param startIndex the start index inside the string in java chars, inclusive. 205 final CharSequence charSequence, final int startIndex, final int endIndex, 208 for (int index = startIndex; index < endIndex; 173 toCodePointArray(final CharSequence charSequence, final int startIndex, final int endIndex) argument 204 copyCodePointsAndReturnCodePointCount(final int[] destination, final CharSequence charSequence, final int startIndex, final int endIndex, final boolean downCase) argument
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
H A D | proximity_info.cpp | 119 const int startIndex = ProximityInfoUtils::getStartIndexFromCoordinates(x, y, local 122 AKLOGI("hasSpaceProximity: index %d, %d, %d", startIndex, x, y); 127 AKLOGI("Index: %d", mProximityCharsArray[startIndex + i]); 129 if (proximityCharsArray[startIndex + i] == KEYCODE_SPACE) {
|
H A D | proximity_info_utils.h | 157 const int startIndex = getStartIndexFromCoordinates(x, y, cellHeight, cellWidth, gridWidth); local 158 if (startIndex >= 0) { 160 const int c = proximityCharsArray[startIndex + i];
|
/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/java/src/com/android/inputmethod/latin/ |
H A D | ContactsBinaryDictionary.java | 255 * Returns the index of the last letter in the word, starting from position startIndex. 258 final int startIndex) { 261 for (end = startIndex + 1; end < len; end += Character.charCount(cp)) { 257 getWordEndPosition(final String string, final int len, final int startIndex) argument
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
H A D | InputLogicTests.java | 441 int startIndex = 0; 448 startIndex = mEditText.getText().length(); 453 mEditText.getText().subSequence(startIndex, endIndex).toString()); 458 startIndex = mEditText.getText().length(); 463 CORRECTED_RESULT, mEditText.getText().subSequence(startIndex, endIndex).toString());
|
/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/UnifiedEmail/assets/ |
H A D | script.js | 716 function replaceSuperCollapsedBlock(startIndex) { 719 block = document.querySelector(".mail-super-collapsed-block[index='" + startIndex + "']"); 721 console.log("can't expand super collapsed block at index: " + startIndex);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PagedView.java | 655 final int startIndex = isRtl ? childCount - 1 : 0; 658 int childLeft = getRelativeChildOffset(startIndex); 659 for (int i = startIndex; i != endIndex; i += delta) { 746 final int startIndex = isRtl ? getChildCount() - 1 : 0; 749 int offset = getRelativeChildOffset(startIndex); 750 for (int i = startIndex; i != endIndex; i += delta) { 1453 final int startIndex = isRtl ? childCount - 1 : 0; 1456 for (int i = startIndex; i != endIndex; i += delta) {
|
H A D | AppsCustomizePagedView.java | 1021 int startIndex = page * numCells; 1022 int endIndex = Math.min(startIndex + numCells, mApps.size()); 1028 for (int i = startIndex; i < endIndex; ++i) { 1038 int index = i - startIndex;
|
/packages/inputmethods/LatinIME/native/jni/ |
H A D | com_android_inputmethod_latin_BinaryDictionary.cpp | 420 jlong dict, jobjectArray languageModelParams, jint startIndex) { 426 if (languageModelParamCount == 0 || startIndex >= languageModelParamCount) { 451 for (int i = startIndex; i < languageModelParamCount; ++i) { 419 latinime_BinaryDictionary_addMultipleDictionaryEntries(JNIEnv *env, jclass clazz, jlong dict, jobjectArray languageModelParams, jint startIndex) argument
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | DayView.java | 2319 int startIndex = -1; 2324 startIndex = 0; 2327 startIndex = todayIndex + 1; 2330 if (startIndex >= 0) { 2334 r.left = computeDayLeftPosition(startIndex) + 1; 2930 int startIndex = startDay - firstDay; 2942 event.left = computeDayLeftPosition(startIndex); 2951 incrementSkipCount(mSkippedAlldayEvents, startIndex, endIndex); 2955 incrementSkipCount(mSkippedAlldayEvents, startIndex, endIndex); 3001 private void incrementSkipCount(int[] counts, int startIndex, in argument [all...] |