Home
last modified time | relevance | path

Searched refs:fromIndex (Results 1 – 16 of 16) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameLookupBuilder.java239 private void insertNameVariants(long rawContactId, long dataId, int fromIndex, int toIndex, in insertNameVariants() argument
241 if (fromIndex == toIndex) { in insertNameVariants()
250 String firstToken = mNames[fromIndex]; in insertNameVariants()
251 for (int i = fromIndex; i < toIndex; i++) { in insertNameVariants()
252 mNames[fromIndex] = mNames[i]; in insertNameVariants()
255 insertNameVariants(rawContactId, dataId, fromIndex + 1, toIndex, in insertNameVariants()
256 initiallyExact && i == fromIndex, buildCollationKey); in insertNameVariants()
258 mNames[i] = mNames[fromIndex]; in insertNameVariants()
259 mNames[fromIndex] = firstToken; in insertNameVariants()
302 private void insertNicknamePermutations(long rawContactId, long dataId, int fromIndex, in insertNicknamePermutations() argument
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java56 public int layout(final SuggestedWords suggestedWords, final int fromIndex, in layout() argument
66 int index = fromIndex; in layout()
67 int rowStartIndex = fromIndex; in layout()
98 minWidth, calcurateMaxRowWidth(fromIndex, index)); in layout()
100 return index - fromIndex; in layout()
190 public Builder layout(final SuggestedWords suggestedWords, final int fromIndex, in layout() argument
197 final int count = mParams.layout(suggestedWords, fromIndex, maxWidth, minWidth, maxRow, in layout()
199 mFromIndex = fromIndex; in layout()
200 mToIndex = fromIndex + count; in layout()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DSentenceLevelAdapter.java91 public int getEndOfWord(final CharSequence sequence, final int fromIndex) { in getEndOfWord() argument
93 int index = fromIndex < 0 ? 0 : Character.offsetByCodePoints(sequence, fromIndex, 1); in getEndOfWord()
116 public int getBeginningOfNextWord(final CharSequence sequence, final int fromIndex) {
118 if (fromIndex >= length) {
121 int index = fromIndex < 0 ? 0 : Character.offsetByCodePoints(sequence, fromIndex, 1);
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DInputPointers.java42 final int fromIndex = mTimes.getLength(); in fillWithLastTimeUntil() local
45 if (fromIndex <= 0) { in fillWithLastTimeUntil()
48 final int fillLength = index - fromIndex + 1; in fillWithLastTimeUntil()
52 final int lastTime = mTimes.get(fromIndex - 1); in fillWithLastTimeUntil()
53 mTimes.fill(lastTime, fromIndex, fillLength); in fillWithLastTimeUntil()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DStringUtil.java147 CharSequence string, CharSequence chars, int fromIndex) { in indexOfChars() argument
148 if (fromIndex >= string.length()) { in indexOfChars()
172 for (int i = Math.max(fromIndex, 0); i < string.length(); i++) { in indexOfChars()
683 public static int lastIndexNotOf(String str, String chars, int fromIndex) { in lastIndexNotOf() argument
684 fromIndex = Math.min(fromIndex, str.length() - 1); in lastIndexNotOf()
686 for (int pos = fromIndex; pos >= 0; pos--) { in lastIndexNotOf()
1943 int fromIndex = 0;
1945 while ((pos = in.indexOf(delimiter, fromIndex)) >= 0) {
1946 String interim = in.substring(fromIndex, pos);
1954 fromIndex = pos + delimiter.length();
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderUtils.java177 static int writeCharArray(final int[] codePoints, final byte[] buffer, final int fromIndex, in writeCharArray() argument
179 int index = fromIndex; in writeCharArray()
DBinaryDictEncoderUtils.java482 /* package */ static int writeChildrenPosition(final byte[] buffer, final int fromIndex, in writeChildrenPosition() argument
484 int index = fromIndex; in writeChildrenPosition()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeUtility.java164 private static int indexOfWsp(String s, int fromIndex) { in indexOfWsp() argument
166 for (int index = fromIndex; index < len; index++) { in indexOfWsp()
/packages/services/Telephony/src/com/android/phone/common/mail/internet/
DMimeUtility.java163 private static int indexOfWsp(String s, int fromIndex) { in indexOfWsp() argument
165 for (int index = fromIndex; index < len; index++) { in indexOfWsp()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java985 private void debugMoveBox(int fromIndex[]) { in debugMoveBox() argument
987 for (int i = 0; i < fromIndex.length; i++) { in debugMoveBox()
988 int j = fromIndex[i]; in debugMoveBox()
993 s.append(fromIndex[i]); in debugMoveBox()
1016 public void moveBox(int fromIndex[], boolean hasPrev, boolean hasNext, in moveBox() argument
1022 RangeIntArray from = new RangeIntArray(fromIndex, -BOX_MAX, BOX_MAX); in moveBox()
DPhotoView.java403 public void notifyDataChange(int[] fromIndex, int prevBound, int nextBound) { in notifyDataChange() argument
412 if (fromIndex[i] == k) { in notifyDataChange()
436 mPositionController.moveBox(fromIndex, mPrevBound < 0, mNextBound > 0, in notifyDataChange()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java258 int fromIndex[] = new int[N]; in fireDataChange() local
273 fromIndex[i] = Integer.MAX_VALUE; in fireDataChange()
284 fromIndex[i] = (j < N) ? j - SCREEN_NAIL_MAX : Integer.MAX_VALUE; in fireDataChange()
287 mPhotoView.notifyDataChange(fromIndex, -mCurrentIndex, in fireDataChange()
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java2989 static private int findChar(char ch, String input, int fromIndex) { in findChar() argument
2990 for (int i = fromIndex; i < input.length(); i++) { in findChar()
/packages/apps/TV/usbtuner/libs/
Dexoplayer_1.5.6.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...