Home
last modified time | relevance | path

Searched refs:fromPosition (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleDragAndDropAdapter.java186 void onItemMove(int fromPosition, int toPosition) { in onItemMove() argument
187 if (fromPosition >= 0 && toPosition >= 0) { in onItemMove()
188 final LocaleStore.LocaleInfo saved = mFeedItemList.get(fromPosition); in onItemMove()
189 mFeedItemList.remove(fromPosition); in onItemMove()
195 "Negative position in onItemMove %d -> %d", fromPosition, toPosition)); in onItemMove()
197 notifyItemChanged(fromPosition); // to update the numbers in onItemMove()
199 notifyItemMoved(fromPosition, toPosition); in onItemMove()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictEncoderUtils.java166 static int writeUIntToBuffer(final byte[] buffer, final int fromPosition, final int value, in writeUIntToBuffer() argument
168 int position = fromPosition; in writeUIntToBuffer()