Searched refs:fromIndex (Results 1 – 6 of 6) sorted by relevance
/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/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
D | MimeUtility.java | 163 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/ |
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 | 397 public void notifyDataChange(int[] fromIndex, int prevBound, int nextBound) { in notifyDataChange() argument 406 if (fromIndex[i] == k) { in notifyDataChange() 430 mPositionController.moveBox(fromIndex, mPrevBound < 0, mNextBound > 0, in notifyDataChange()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoDataAdapter.java | 259 int fromIndex[] = new int[N]; in fireDataChange() local 274 fromIndex[i] = Integer.MAX_VALUE; in fireDataChange() 285 fromIndex[i] = (j < N) ? j - SCREEN_NAIL_MAX : Integer.MAX_VALUE; in fireDataChange() 288 mPhotoView.notifyDataChange(fromIndex, -mCurrentIndex, in fireDataChange()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachine.java | 1677 static private int findChar(char ch, String input, int fromIndex) { in findChar() argument 1678 for (int i = fromIndex; i < input.length(); i++) { in findChar()
|