Searched defs:startIndex (Results 1 - 19 of 19) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DSearchUtil.java28 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/java/src/com/android/inputmethod/latin/utils/
H A DSpannableStringUtils.java118 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 DStringUtils.java167 * @param startIndex the start index inside the string in java chars, inclusive.
169 * @return a new array of code points. At most endIndex - startIndex, but possibly less.
172 final int startIndex, final int endIndex) {
178 new int[Character.codePointCount(charSequence, startIndex, endIndex)];
179 copyCodePointsAndReturnCodePointCount(codePoints, charSequence, startIndex, endIndex,
197 * @param startIndex the start index inside the string in java chars, inclusive.
203 final CharSequence charSequence, final int startIndex, final int endIndex,
206 for (int index = startIndex; index < endIndex;
171 toCodePointArray(final CharSequence charSequence, final int startIndex, final int endIndex) argument
202 copyCodePointsAndReturnCodePointCount(final int[] destination, final CharSequence charSequence, final int startIndex, final int endIndex, final boolean downCase) argument
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DClusterAlbum.java98 protected int enumerateMediaItems(ItemConsumer consumer, int startIndex) { argument
99 mDataManager.mapMediaItems(mPaths, consumer, startIndex);
H A DMediaSet.java202 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 DDataManager.java216 // startIndex).
218 int startIndex) {
232 group.add(new PathId(path, i + startIndex));
217 mapMediaItems(ArrayList<Path> list, ItemConsumer consumer, int startIndex) argument
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DHtmlUtils.java160 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/TvSettings/Settings/src/com/android/tv/settings/util/
H A DUriUtils.java231 * @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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DGestureTrailDrawingPoints.java178 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DContactsBinaryDictionary.java255 * 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
H A DBinaryDictionary.java205 LanguageModelParam[] languageModelParams, int startIndex);
204 addMultipleDictionaryEntriesNative(long dict, LanguageModelParam[] languageModelParams, int startIndex) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
H A DMoreSuggestions.java103 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/native/jni/src/suggest/core/layout/
H A Dproximity_info.cpp119 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 Dproximity_info_utils.h157 const int startIndex = getStartIndexFromCoordinates(x, y, cellHeight, cellWidth, gridWidth); local
158 if (startIndex >= 0) {
160 const int c = proximityCharsArray[startIndex + i];
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DDialogActivity.java158 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/native/jni/
H A Dcom_android_inputmethod_latin_BinaryDictionary.cpp420 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/DeskClock/src/com/android/deskclock/widget/sgv/
H A DStaggeredGridView.java1205 * Recycle views within the range starting from startIndex (inclusive) until the last
1208 private void recycleViewsInRange(int startIndex, int endIndex) { argument
1209 for (int i = endIndex; i >= startIndex; i--) {
/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java2319 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...]
/packages/apps/ContactsCommon/libs/
H A Dlibphonenumber-6.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/i18n/ com/google/i18n/phonenumbers/ ...

Completed in 1256 milliseconds