Searched refs:defaultIndex (Results 1 – 4 of 4) sorted by relevance
84 final int defaultIndex = mController.getDefaultModeIndex(); in verifyResourceSizeAndRange() local85 assertThat(mPreference.getValue()).isEqualTo(mListValues[defaultIndex]); in verifyResourceSizeAndRange()86 assertThat(mPreference.getEntry()).isEqualTo(mListEntries[defaultIndex]); in verifyResourceSizeAndRange()87 assertThat(mPreference.getSummary()).isEqualTo(mListEntries[defaultIndex]); in verifyResourceSizeAndRange()
39 final int defaultIndex = density.getCurrentIndex(); in ScreenZoomPreference() local40 if (defaultIndex < 0) { in ScreenZoomPreference()
130 int defaultIndex = 0; in updateCurrentKeyboardPreference() local138 defaultIndex = values.size() - 1; in updateCurrentKeyboardPreference()145 currentKeyboardPref.setValueIndex(defaultIndex); in updateCurrentKeyboardPreference()
1256 private int getStringIndex(String arr[], String toBeFound, int defaultIndex) { in getStringIndex() argument1257 if (TextUtils.isEmpty(toBeFound)) return defaultIndex; in getStringIndex()1261 return defaultIndex; in getStringIndex()