Home
last modified time | relevance | path

Searched refs:BUTTON2 (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DActionButtonsPreferenceTest.java79 mPref.getButton(ActionButtons.BUTTON2).setText(R.string.settings_label); in onBindViewHolder_setTitle_shouldShowButtonByDefault()
98 mPref.getButton(ActionButtons.BUTTON2).setIcon(R.drawable.ic_lock); in onBindViewHolder_setIcon_shouldShowButtonByDefault()
131 mPref.getButton(ActionButtons.BUTTON2).setText(R.string.settings_label).setVisible(false); in onBindViewHolder_setVisibleIsGoneAndSetTitle_shouldNotShowButton()
150 mPref.getButton(ActionButtons.BUTTON2).setIcon(R.drawable.ic_lock).setVisible(false); in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton()
169 mPref.getButton(ActionButtons.BUTTON2).setText(R.string.settings_label).setVisible(false); in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility()
185 mPref.getButton(ActionButtons.BUTTON2).setVisible(true); in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility()
204 mPref.getButton(ActionButtons.BUTTON2).setEnabled(false); in onBindViewHolder_setEnabled_shouldEnableButton()
227 mPref.getButton(ActionButtons.BUTTON2).setText(R.string.settings_label); in onBindViewHolder_setText_shouldShowSameText()
257 mPref.getButton(ActionButtons.BUTTON2).setEnabled(false); in onButtonClicked_shouldOnlyTriggerListenerIfEnabled()
262 mPref.getButton(ActionButtons.BUTTON2).setOnClickListener(disabledListener); in onButtonClicked_shouldOnlyTriggerListenerIfEnabled()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/details/
DWifiDetailsActionButtonsPreferenceControllerTest.java100 assertThat(mActionButtonsPreference.getButton(ActionButtons.BUTTON2).isVisible()).isTrue(); in updateState_connectNotNeeded_disconnectButtonShown()
101 assertThat(mActionButtonsPreference.getButton(ActionButtons.BUTTON2).getText().toString()) in updateState_connectNotNeeded_disconnectButtonShown()
112 assertThat(mActionButtonsPreference.getButton(ActionButtons.BUTTON2).isVisible()).isTrue(); in updateState_needConnect_connectButtonShown()
113 assertThat(mActionButtonsPreference.getButton(ActionButtons.BUTTON2).getText().toString()) in updateState_needConnect_connectButtonShown()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/bluetooth/
DBaseBluetoothDialogPreferenceTest.java53 private static final String BUTTON2 = "Test button2"; field in BaseBluetoothDialogPreferenceTest
87 mPreference.mRadioButtonStrings.add(BUTTON2); in setup()
111 assertThat(mRadioButton2.getText()).isNotEqualTo(BUTTON2); in onBindDialogView_checkRadioButtonsText()
115 assertThat(mRadioButton2.getText()).isEqualTo(BUTTON2); in onBindDialogView_checkRadioButtonsText()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DActionButtonsPreference.java51 BUTTON2, enumConstant
151 case BUTTON2: in getButton()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDeviceActionButtonsPreferenceController.java50 updateForgetButton(getPreference().getButton(ActionButtons.BUTTON2)); in onCreateInternal()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceController.java285 getPreference().getButton(ActionButtons.BUTTON2) in onCreateInternal()
368 getPreference().getButton(ActionButtons.BUTTON2).setEnabled(enabled); in updateForceStopButtonInner()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiDetailsActionButtonsPreferenceController.java66 .getButton(ActionButtons.BUTTON2) in updateState()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothDeviceActionButtonsPreferenceControllerTest.java176 return mActionButtonsPreference.getButton(ActionButtons.BUTTON2); in findForgetButton()
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfileDetailsActionButtonsPreferenceController.java124 ActionButtonInfo makeAdminButton = getPreference().getButton(ActionButtons.BUTTON2); in onStartInternal()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageApplicationActionButtonsPreferenceController.java168 mClearCacheButton = getPreference().getButton(ActionButtons.BUTTON2); in onCreateInternal()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/
DStorageApplicationActionButtonsPreferenceControllerTest.java425 return mActionButtonsPreference.getButton(ActionButtons.BUTTON2); in getClearCacheButton()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DProfileDetailsActionButtonsPreferenceControllerTest.java395 return mPreference.getButton(ActionButtons.BUTTON2); in getMakeAdminButton()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceControllerTest.java735 return mActionButtonsPreference.getButton(ActionButtons.BUTTON2); in getForceStopButton()