Home
last modified time | relevance | path

Searched refs:ActionButtonInfo (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/common/
DActionButtonInfo.java39 public class ActionButtonInfo { class
40 private static final Logger LOG = new Logger(ActionButtonInfo.class);
54 ActionButtonInfo(Context context, ButtonInfoChangeListener changeListener) { in ActionButtonInfo() method in ActionButtonInfo
64 public ActionButtonInfo setVisible(boolean isVisible) { in setVisible()
75 public ActionButtonInfo setText(@StringRes int textResId) { in setText()
87 public ActionButtonInfo setIcon(@DrawableRes int iconResId) { in setIcon()
106 public ActionButtonInfo setEnabled(boolean isEnabled) { in setEnabled()
117 public ActionButtonInfo setOnClickListener( in setOnClickListener()
126 ActionButtonInfo setButtonView(View view) { in setButtonView()
131 ActionButtonInfo setButtonTextView(TextView textView) { in setButtonTextView()
[all …]
DActionButtonsPreference.java44 ActionButtonInfo.ButtonInfoChangeListener {
56 private ActionButtonInfo mButton1Info;
57 private ActionButtonInfo mButton2Info;
58 private ActionButtonInfo mButton3Info;
59 private ActionButtonInfo mButton4Info;
95 mButton1Info = new ActionButtonInfo(context, /* changeListener= */ this); in init()
96 mButton2Info = new ActionButtonInfo(context, /* changeListener= */ this); in init()
97 mButton3Info = new ActionButtonInfo(context, /* changeListener= */ this); in init()
98 mButton4Info = new ActionButtonInfo(context, /* changeListener= */ this); in init()
140 public void onButtonInfoChange(ActionButtonInfo buttonInfo) { in onButtonInfoChange()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfileDetailsActionButtonsPreferenceController.java29 import com.android.car.settings.common.ActionButtonInfo;
123 ActionButtonInfo renameButton = getPreference().getButton(ActionButtons.BUTTON1); in onStartInternal()
124 ActionButtonInfo makeAdminButton = getPreference().getButton(ActionButtons.BUTTON2); in onStartInternal()
125 ActionButtonInfo profilesButton = getPreference().getButton(ActionButtons.BUTTON3); in onStartInternal()
126 ActionButtonInfo deleteButton = getPreference().getButton(ActionButtons.BUTTON4); in onStartInternal()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDeviceActionButtonsPreferenceController.java25 import com.android.car.settings.common.ActionButtonInfo;
58 private void updateConnectionButton(ActionButtonInfo button) { in updateConnectionButton()
69 private void updateForgetButton(ActionButtonInfo button) { in updateForgetButton()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothDeviceActionButtonsPreferenceControllerTest.java35 import com.android.car.settings.common.ActionButtonInfo;
175 private ActionButtonInfo findForgetButton() { in findForgetButton()
179 private ActionButtonInfo findConnectionButton() { in findConnectionButton()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DProfileDetailsActionButtonsPreferenceControllerTest.java43 import com.android.car.settings.common.ActionButtonInfo;
390 private ActionButtonInfo getRenameButton() { in getRenameButton()
394 private ActionButtonInfo getMakeAdminButton() { in getMakeAdminButton()
398 private ActionButtonInfo getProfilesButton() { in getProfilesButton()
402 private ActionButtonInfo getDeleteButton() { in getDeleteButton()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageApplicationActionButtonsPreferenceController.java37 import com.android.car.settings.common.ActionButtonInfo;
78 private ActionButtonInfo mClearStorageButton;
79 private ActionButtonInfo mClearCacheButton;
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/
DStorageApplicationActionButtonsPreferenceControllerTest.java49 import com.android.car.settings.common.ActionButtonInfo;
424 private ActionButtonInfo getClearCacheButton() { in getClearCacheButton()
428 private ActionButtonInfo getClearStorageButton() { in getClearStorageButton()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceControllerTest.java62 import com.android.car.settings.common.ActionButtonInfo;
734 private ActionButtonInfo getForceStopButton() { in getForceStopButton()
738 private ActionButtonInfo getDisableButton() { in getDisableButton()
743 private ActionButtonInfo getUninstallButton() { in getUninstallButton()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceController.java49 import com.android.car.settings.common.ActionButtonInfo;
372 ActionButtonInfo uninstallButton = getPreference().getButton(ActionButtons.BUTTON1); in updateUninstallButtonInner()