/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | NameLookupBuilder.java | 239 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/ |
D | MoreSuggestions.java | 56 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/ |
D | SentenceLevelAdapter.java | 91 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/ |
D | InputPointers.java | 42 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/ThemePicker/src/com/android/customization/widget/ |
D | PageIndicator.java | 171 int fromIndex = from >> 1; in animate() local 176 setIndex(fromIndex); in animate() 180 int firstIndex = Math.min(fromIndex, toIndex); in animate() 181 int secondIndex = Math.max(fromIndex, toIndex); in animate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PositionController.java | 985 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()
|
D | PhotoView.java | 403 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/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeUtility.java | 155 private static int indexOfWsp(String s, int fromIndex) { in indexOfWsp() argument 157 for (int index = fromIndex; index < len; index++) { in indexOfWsp()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictDecoderUtils.java | 177 static int writeCharArray(final int[] codePoints, final byte[] buffer, final int fromIndex, in writeCharArray() argument 179 int index = fromIndex; in writeCharArray()
|
D | BinaryDictEncoderUtils.java | 482 /* package */ static int writeChildrenPosition(final byte[] buffer, final int fromIndex, in writeChildrenPosition() argument 484 int index = fromIndex; in writeChildrenPosition()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoDataAdapter.java | 258 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/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachine.java | 1779 private static int findChar(char ch, String input, int fromIndex) { in findChar() argument 1780 for (int i = fromIndex; i < input.length(); i++) { in findChar()
|