Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/development/
DAbstractBluetoothA2dpPreferenceController.java80 mPreference.setValue(mListValues[getDefaultIndex()]); in displayPreference()
81 mPreference.setSummary(mListSummaries[getDefaultIndex()]); in displayPreference()
105 if (index == getDefaultIndex()) { in onPreferenceChange()
130 if (index == getDefaultIndex()) { in updateState()
188 protected abstract int getDefaultIndex(); in getDefaultIndex() method in AbstractBluetoothA2dpPreferenceController
/packages/apps/Settings/src/com/android/settings/development/bluetooth/
DBaseBluetoothDialogPreference.java137 return index == getDefaultIndex() ? mSummaryStrings.get(getDefaultIndex()) : in generateSummary()
147 protected int getDefaultIndex() { in getDefaultIndex() method in BaseBluetoothDialogPreference
DBluetoothSampleRateDialogPreferenceController.java97 selectableIndex.add(getDefaultIndex()); in getSelectableIndex()
113 int index = getDefaultIndex(); in convertCfgToBtnIndex()
DBluetoothChannelModeDialogPreferenceController.java91 selectableIndex.add(getDefaultIndex()); in getSelectableIndex()
107 int index = getDefaultIndex(); in convertCfgToBtnIndex()
DBluetoothBitPerSampleDialogPreferenceController.java94 selectableIndex.add(getDefaultIndex()); in getSelectableIndex()
110 int index = getDefaultIndex(); in convertCfgToBtnIndex()
DAbstractBluetoothDialogPreferenceController.java103 return getDefaultIndex(); in getCurrentConfigIndex()
145 protected int getDefaultIndex() { in getDefaultIndex() method in AbstractBluetoothDialogPreferenceController
146 return ((BaseBluetoothDialogPreference) mPreference).getDefaultIndex(); in getDefaultIndex()
DBluetoothCodecDialogPreferenceController.java75 index.add(getDefaultIndex()); in getSelectableIndex()
181 int index = getDefaultIndex(); in convertCfgToBtnIndex()
DBluetoothQualityDialogPreference.java58 protected int getDefaultIndex() { in getDefaultIndex() method in BluetoothQualityDialogPreference
DBluetoothQualityDialogPreferenceController.java115 index = getDefaultIndex(); in convertCfgToBtnIndex()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DAbstractBluetoothA2dpPreferenceControllerTest.java157 protected int getDefaultIndex() { in getDefaultIndex() method in AbstractBluetoothA2dpPreferenceControllerTest.AbstractBluetoothA2dpPreferenceControllerImpl
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/bluetooth/
DBluetoothSampleRateDialogPreferenceControllerTest.java155 indexList.add(mController.getDefaultIndex()); in getSelectableIndex_verifyList()
DBluetoothChannelModeDialogPreferenceControllerTest.java141 indexList.add(mPreference.getDefaultIndex()); in getSelectableIndex_verifyList()
DBluetoothBitPerSampleDialogPreferenceControllerTest.java144 indexList.add(mPreference.getDefaultIndex()); in getSelectableIndex_verifyList()
DAbstractBluetoothDialogPreferenceControllerTest.java141 assertThat(mController.getCurrentConfigIndex()).isEqualTo(mPreference.getDefaultIndex()); in getCurrentConfigIndex_noCodecConfig_returnDefaultIndex()