Home
last modified time | relevance | path

Searched refs:getActionItem (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DMultiActionPreferenceTest.java81 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM1)) in onBindViewHolder_actionItemsNullByDefault()
83 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM2)) in onBindViewHolder_actionItemsNullByDefault()
85 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM3)) in onBindViewHolder_actionItemsNullByDefault()
107 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM1) in onBindViewHolder_toggleButtons_attributesVisible()
109 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM2) in onBindViewHolder_toggleButtons_attributesVisible()
111 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM3) in onBindViewHolder_toggleButtons_attributesVisible()
136 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM1) in onBindViewHolder_toggleButtons_attributesEnabled()
138 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM2) in onBindViewHolder_toggleButtons_attributesEnabled()
140 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM3) in onBindViewHolder_toggleButtons_attributesEnabled()
162 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM1) in onBindViewHolder_toggleButtons_attributesNotVisible()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceController.java112 ToggleButtonActionItem bluetoothItem = pref.getActionItem(BLUETOOTH_BUTTON); in createDevicePreference()
113 ToggleButtonActionItem phoneItem = pref.getActionItem(PHONE_BUTTON); in createDevicePreference()
114 ToggleButtonActionItem mediaItem = pref.getActionItem(MEDIA_BUTTON); in createDevicePreference()
193 preference.getActionItem(BLUETOOTH_BUTTON).setChecked(true); in setButtonsCheckedAndListeners()
212 ToggleButtonActionItem bluetoothItem = preference.getActionItem(BLUETOOTH_BUTTON); in setButtonsCheckedAndListeners()
239 ToggleButtonActionItem phoneItem = preference.getActionItem(PHONE_BUTTON); in setButtonsCheckedAndListeners()
258 ToggleButtonActionItem mediaItem = preference.getActionItem(MEDIA_BUTTON); in setButtonsCheckedAndListeners()
276 ToggleButtonActionItem bluetoothItem = preference.getActionItem(BLUETOOTH_BUTTON); in updateBluetoothActionItemAvailability()
286 ToggleButtonActionItem phoneItem = preference.getActionItem(PHONE_BUTTON); in updatePhoneActionItemAvailability()
298 ToggleButtonActionItem mediaItem = preference.getActionItem(MEDIA_BUTTON); in updateMediaActionItemAvailability()
[all …]
DBluetoothDevicePreference.java169 public ToggleButtonActionItem getActionItem(ActionItem actionItem) { in getActionItem() method in BluetoothDevicePreference
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceControllerTest.java217 ToggleButtonActionItem bluetoothButton = devicePreference.getActionItem( in bluetoothButtonClicked_connected_disconnectsFromDevice()
234 ToggleButtonActionItem bluetoothButton = devicePreference.getActionItem( in bluetoothButtonClicked_notConnected_connectsToDevice()
251 ToggleButtonActionItem phoneButton = devicePreference.getActionItem( in phoneButtonClicked_phoneProfile_enabled()
269 ToggleButtonActionItem mediaButton = devicePreference.getActionItem( in mediaButtonClicked_mediaProfile_enabled()
290 assertThat(devicePreference.getActionItem( in actionButtons_disallowConfigBluetooth_bluetoothActionStaysDisabled()
292 assertThat(devicePreference.getActionItem( in actionButtons_disallowConfigBluetooth_bluetoothActionStaysDisabled()
294 assertThat(devicePreference.getActionItem( in actionButtons_disallowConfigBluetooth_bluetoothActionStaysDisabled()
312 assertThat(devicePreference.getActionItem( in onUxRestrictionsChanged_hasRestrictions_actionButtonDisabled()
314 assertThat(devicePreference.getActionItem( in onUxRestrictionsChanged_hasRestrictions_actionButtonDisabled()
316 assertThat(devicePreference.getActionItem( in onUxRestrictionsChanged_hasRestrictions_actionButtonDisabled()
[all …]
DBluetoothDevicePreferenceTest.java83 assertThat(mPreference.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM1) in actionIsHiddenByDefault()
85 assertThat(mPreference.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM1) in actionIsHiddenByDefault()
87 assertThat(mPreference.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM1) in actionIsHiddenByDefault()
/packages/apps/Car/Settings/src/com/android/car/settings/display/
DThemeTogglePreferenceController.java145 BaseActionItem item = getPreference().getActionItem( in getAutoButton()
155 BaseActionItem item = getPreference().getActionItem( in getDayButton()
165 BaseActionItem item = getPreference().getActionItem( in getNightButton()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DEmbeddedSliceSwitchPreference.java116 mAction.getActionItem().fireAction(getContext(), i); in onClick()
118 mAction.getActionItem().fireAction(null, null); in onClick()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DMultiActionPreference.java184 public BaseActionItem getActionItem(ActionItem actionItem) { in getActionItem() method in MultiActionPreference