Searched refs:targetPos (Results 1 – 5 of 5) sorted by relevance
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | LevenshteinDistance.java | 109 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/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | dynamic_pt_writing_utils.cpp | 111 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()
|
D | dynamic_pt_writing_utils.h | 75 static bool writeDictOffset(BufferWithExtendableBuffer *const buffer, const int targetPos,
|
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/ |
D | FastScroller.java | 96 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/ |
D | bigram_list_read_write_utils.cpp | 54 const int targetPos = getBigramAddressAndAdvancePosition(buffer, bigramFlags, bigramEntryPos); in getBigramEntryPropertiesAndAdvancePosition() local 56 *outTargetPtNodePos = targetPos; in getBigramEntryPropertiesAndAdvancePosition()
|