Searched refs:mCenterSuggestionWeight (Results 1 – 1 of 1) sorted by relevance
92 private final float mCenterSuggestionWeight; field in SuggestionStripLayoutHelper141 mCenterSuggestionWeight = ResourceUtils.getFraction(a, in SuggestionStripLayoutHelper()483 return mCenterSuggestionWeight; in getSuggestionWeight()486 return (1.0f - mCenterSuggestionWeight) / (mSuggestionsCountInStrip - 1); in getSuggestionWeight()560 final int wordWidth = (int)(width * mCenterSuggestionWeight); in layoutAddToDictionaryHint()565 setLayoutWeight(wordView, mCenterSuggestionWeight, ViewGroup.LayoutParams.MATCH_PARENT); in layoutAddToDictionaryHint()590 hintWeight = 1.0f - mCenterSuggestionWeight; in layoutAddToDictionaryHint()