Home
last modified time | relevance | path

Searched refs:targetPos (Results 1 – 6 of 6) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DLevenshteinDistance.java109 int targetPos = trgLen; in getTargetOperations() local
112 while (targetPos > 0) { in getTargetOperations()
113 int editType = editTab[sourcePos][targetPos]; in getTargetOperations()
119 targetPos--; in getTargetOperations()
120 ops[targetPos] = new EditOperation(editType, sourcePos); in getTargetOperations()
124 targetPos--; in getTargetOperations()
126 ops[targetPos] = new EditOperation(editType, sourcePos); in getTargetOperations()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiSnapHelper.java171 int targetPos = currentPosition + deltaJump; in findTargetSnapPosition() local
172 if (targetPos < 0) { in findTargetSnapPosition()
173 targetPos = 0; in findTargetSnapPosition()
175 if (targetPos >= itemCount) { in findTargetSnapPosition()
176 targetPos = itemCount - 1; in findTargetSnapPosition()
178 return targetPos; in findTargetSnapPosition()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Ddynamic_pt_writing_utils.cpp111 const int targetPos, const int basePos, int *const offsetFieldPos) { in writeDictOffset() argument
112 int offset = targetPos - basePos; in writeDictOffset()
113 if (targetPos == NOT_A_DICT_POS) { in writeDictOffset()
Ddynamic_pt_writing_utils.h75 static bool writeDictOffset(BufferWithExtendableBuffer *const buffer, const int targetPos,
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DFastScroller.java96 int targetPos = getValueInRange(0, itemCount - 1, (int) scrolledPosition); in setRecyclerViewPosition() local
97 layoutManager.scrollToPositionWithOffset(targetPos, 0); in setRecyclerViewPosition()
98 container.setText(adapter.getHeaderString(targetPos)); in setRecyclerViewPosition()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/bigram/
Dbigram_list_read_write_utils.cpp54 const int targetPos = getBigramAddressAndAdvancePosition(buffer, bigramFlags, bigramEntryPos); in getBigramEntryPropertiesAndAdvancePosition() local
56 *outTargetPtNodePos = targetPos; in getBigramEntryPropertiesAndAdvancePosition()