Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_utils.h150 int insertPos = 0; in calculateProximities() local
151 proximities[insertPos++] = primaryKey; in calculateProximities()
153 for (int i = insertPos; i < MAX_PROXIMITY_CHARS_SIZE; ++i) { in calculateProximities()
171 proximities[insertPos++] = c; in calculateProximities()
172 if (insertPos >= MAX_PROXIMITY_CHARS_SIZE) { in calculateProximities()
183 proximities[insertPos++] = ADDITIONAL_PROXIMITY_CHAR_DELIMITER_CODE; in calculateProximities()
184 if (insertPos >= MAX_PROXIMITY_CHARS_SIZE) { in calculateProximities()
196 for (; k < insertPos; ++k) { in calculateProximities()
201 if (k < insertPos) { in calculateProximities()
204 proximities[insertPos++] = ac; in calculateProximities()
[all …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DScrollableImagePreviewView.kt331 val insertPos = previews.size in <lambda>() constant
337 if (pos >= 0) firstImagePos = insertPos + pos in <lambda>()
339 if (insertPos == 0) { in <lambda>()
343 notifyItemRangeInserted(insertPos, getItemCount()) in <lambda>()
345 notifyItemRangeInserted(insertPos, newPreviews.size) in <lambda>()