Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripLayoutHelper.java392 for (int positionInStrip = 0; positionInStrip < countInStrip; positionInStrip++) { in layoutAndReturnStartIndexOfMoreSuggestions()
393 if (positionInStrip != 0) { in layoutAndReturnStartIndexOfMoreSuggestions()
394 final View divider = mDividerViews.get(positionInStrip); in layoutAndReturnStartIndexOfMoreSuggestions()
400 final int width = getSuggestionWidth(positionInStrip, stripWidth); in layoutAndReturnStartIndexOfMoreSuggestions()
401 final TextView wordView = layoutWord(positionInStrip, width); in layoutAndReturnStartIndexOfMoreSuggestions()
403 setLayoutWeight(wordView, getSuggestionWeight(positionInStrip), in layoutAndReturnStartIndexOfMoreSuggestions()
408 layoutDebugInfo(positionInStrip, placerView, x); in layoutAndReturnStartIndexOfMoreSuggestions()
430 private TextView layoutWord(final int positionInStrip, final int width) { in layoutWord() argument
431 final TextView wordView = mWordViews.get(positionInStrip); in layoutWord()
433 if (positionInStrip == mCenterPositionInStrip && mMoreSuggestionsAvailable) { in layoutWord()
[all …]