Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DBluetoothSnoopLogPreferenceControllerTest.java84 final int defaultIndex = mController.getDefaultModeIndex(); in verifyResourceSizeAndRange() local
85 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()
/packages/apps/Settings/src/com/android/settings/display/
DScreenZoomPreference.java39 final int defaultIndex = density.getCurrentIndex(); in ScreenZoomPreference() local
40 if (defaultIndex < 0) { in ScreenZoomPreference()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DKeyboardFragment.java130 int defaultIndex = 0; in updateCurrentKeyboardPreference() local
138 defaultIndex = values.size() - 1; in updateCurrentKeyboardPreference()
145 currentKeyboardPref.setValueIndex(defaultIndex); in updateCurrentKeyboardPreference()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiEnterpriseConfig.java1256 private int getStringIndex(String arr[], String toBeFound, int defaultIndex) { in getStringIndex() argument
1257 if (TextUtils.isEmpty(toBeFound)) return defaultIndex; in getStringIndex()
1261 return defaultIndex; in getStringIndex()