Searched refs:preference1 (Results 1 – 8 of 8) sorted by relevance
126 final Preference preference1 = new Preference(mContext); in isShowEmptyImage_hasVisiblePreference_returnFalse() local127 screen.addPreference(preference1); in isShowEmptyImage_hasVisiblePreference_returnFalse()139 final Preference preference1 = new Preference(mContext); in isShowEmptyImage_hasNoVisiblePreference_returnTrue() local140 preference1.setVisible(false); in isShowEmptyImage_hasNoVisiblePreference_returnTrue()141 screen.addPreference(preference1); in isShowEmptyImage_hasNoVisiblePreference_returnTrue()
203 final BluetoothDevicePreference preference1 = new BluetoothDevicePreference( in onDeviceAdded_addDevicePreference_displayIt() local206 mPreConnectedDeviceController.onDeviceAdded(preference1); in onDeviceAdded_addDevicePreference_displayIt()223 final BluetoothDevicePreference preference1 = new BluetoothDevicePreference( in onDeviceAdded_addFourDevicePreference_onlyDisplayThree() local234 mPreConnectedDeviceController.onDeviceAdded(preference1); in onDeviceAdded_addFourDevicePreference_onlyDisplayThree()257 final BluetoothDevicePreference preference1 = new BluetoothDevicePreference( in onDeviceRemoved_removeLastDevice_showSeeAllPreference() local261 mPreferenceGroup.addPreference(preference1); in onDeviceRemoved_removeLastDevice_showSeeAllPreference()264 mPreConnectedDeviceController.onDeviceRemoved(preference1); in onDeviceRemoved_removeLastDevice_showSeeAllPreference()
237 final BluetoothDevicePreference preference1 = new BluetoothDevicePreference(mContext, in compareTo_sortTypeFIFO() local241 mPreferenceList.add(preference1); in compareTo_sortTypeFIFO()251 .isEqualTo(preference1.getCachedDevice().getAddress()); in compareTo_sortTypeFIFO()262 final BluetoothDevicePreference preference1 = new BluetoothDevicePreference(mContext, in compareTo_sortTypeDefault() local266 mPreferenceList.add(preference1); in compareTo_sortTypeDefault()272 .isEqualTo(preference1.getCachedDevice().getAddress()); in compareTo_sortTypeDefault()
118 CarUiPreference preference1 = mock(CarUiPreference.class); in onUxRestrictionsChanged_restricted_preferenceGroup_preferencesRestricted() local120 preferenceScreen.addPreference(preference1); in onUxRestrictionsChanged_restricted_preferenceGroup_preferencesRestricted()126 Mockito.reset(preference1); in onUxRestrictionsChanged_restricted_preferenceGroup_preferencesRestricted()130 verify((UxRestrictablePreference) preference1).setUxRestricted(true); in onUxRestrictionsChanged_restricted_preferenceGroup_preferencesRestricted()
137 ProgressBarPreference preference1 = in onDataLoaded_statsLoaded_hasOnePreference() local142 assertThat(preference1.getProgress()).isEqualTo(100); in onDataLoaded_statsLoaded_hasOnePreference()
300 preference.setOnPreferenceClickListener(preference1 -> { in addOrUpdateGroupToggle()301 final boolean allowGroup = ((SwitchPreference) preference1).isChecked(); in addOrUpdateGroupToggle()
207 preference1 -> { in setUpAddAccountPrefIntent()
116 preference.setOnPreferenceChangeListener((preference1, newValue) -> { in bindLayout()