Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppDisableButtonTest.kt105 val actionButton = setDisableButton(app) in getActionButton_signedWithPlatformKey_cannotDisable() constant
107 assertThat(actionButton.enabled).isFalse() in getActionButton_signedWithPlatformKey_cannotDisable()
116 val actionButton = setDisableButton(app) in getActionButton_isResourceOverlay_cannotDisable() constant
118 assertThat(actionButton.enabled).isFalse() in getActionButton_isResourceOverlay_cannotDisable()
126 val actionButton = setDisableButton(app) in getActionButton_isKeepEnabledPackages_cannotDisable() constant
128 assertThat(actionButton.enabled).isFalse() in getActionButton_isKeepEnabledPackages_cannotDisable()
138 val actionButton = setDisableButton(app) in getActionButton_isEssentialPackage_cannotDisable() constant
140 assertThat(actionButton.enabled).isFalse() in getActionButton_isEssentialPackage_cannotDisable()
149 val actionButton = setDisableButton(app) in getActionButton_isProfileOrDeviceOwner_cannotDisable() constant
151 assertThat(actionButton.enabled).isFalse() in getActionButton_isProfileOrDeviceOwner_cannotDisable()
[all …]
DAppArchiveButtonTest.kt80 val actionButton = setContent(app) in appArchiveButton_whenIsArchived_isDisabled() constant
82 assertThat(actionButton.enabled).isFalse() in appArchiveButton_whenIsArchived_isDisabled()
93 val actionButton = setContent(app) in appArchiveButton_whenIsNotAppArchivable_isDisabled() constant
95 assertThat(actionButton.enabled).isFalse() in appArchiveButton_whenIsNotAppArchivable_isDisabled()
120 val actionButton = setContent(app) in appArchiveButton_whenPackageIsNotFound_isDisabled() constant
122 assertThat(actionButton.enabled).isFalse() in appArchiveButton_whenPackageIsNotFound_isDisabled()
133 val actionButton = setContent(app) in appArchiveButton_displaysRightTextAndIcon() constant
135 assertThat(actionButton.text).isEqualTo(context.getString(R.string.archive)) in appArchiveButton_displaysRightTextAndIcon()
136 assertThat(actionButton.imageVector).isEqualTo(Icons.Outlined.CloudUpload) in appArchiveButton_displaysRightTextAndIcon()
147 val actionButton = setContent(app) in appArchiveButton_clicked() constant
[all …]
DAppRestoreButtonTest.kt74 val actionButton = setContent(app) in appRestoreButton_whenIsNotArchived_isDisabled() constant
76 assertThat(actionButton.enabled).isFalse() in appRestoreButton_whenIsNotArchived_isDisabled()
86 val actionButton = setContent(app) in appRestoreButton_whenIsArchived_isEnabled() constant
88 assertThat(actionButton.enabled).isTrue() in appRestoreButton_whenIsArchived_isEnabled()
98 val actionButton = setContent(app) in appRestoreButton_displaysRightTextAndIcon() constant
100 assertThat(actionButton.text).isEqualTo(context.getString(R.string.restore)) in appRestoreButton_displaysRightTextAndIcon()
101 assertThat(actionButton.imageVector).isEqualTo(Icons.Outlined.CloudDownload) in appRestoreButton_displaysRightTextAndIcon()
112 val actionButton = setContent(app) in appRestoreButton_clicked() constant
113 actionButton.onClick() in appRestoreButton_clicked()
122 lateinit var actionButton: ActionButton in setContent() variable
[all …]
DAppForceStopButtonTest.kt142 val actionButton = appForceStopButton.getActionButton(app) in setForceStopButton() constant
143 Button(onClick = {}, enabled = actionButton.enabled) { in setForceStopButton()
144 Text(actionButton.text) in setForceStopButton()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditorCurves.java64 public void setUtilityPanelUI(View actionButton, View editControl) { in setUtilityPanelUI() argument
65 super.setUtilityPanelUI(actionButton,editControl); in setUtilityPanelUI()
DEditor.java94 public void setUpEditorUI(View actionButton, View editControl, in setUpEditorUI() argument
100 setUtilityPanelUI(actionButton, editControl); in setUpEditorUI()
111 public void setUtilityPanelUI(View actionButton, View editControl) { in setUtilityPanelUI() argument
DEditorCrop.java148 public void setUtilityPanelUI(View actionButton, View editControl) { in setUtilityPanelUI() argument
149 super.setUtilityPanelUI(actionButton,editControl); in setUtilityPanelUI()
DEditorColorBorder.java188 public void setUtilityPanelUI(View actionButton, View editControl) { in setUtilityPanelUI() argument
190 super.setUtilityPanelUI(actionButton, editControl); in setUtilityPanelUI()
DParametricEditor.java167 public void setUtilityPanelUI(View actionButton, View editControl) { in setUtilityPanelUI() argument
168 mActionButton = actionButton; in setUtilityPanelUI()
DEditorDraw.java244 public void setUtilityPanelUI(View actionButton, View editControl) { in setUtilityPanelUI() argument
246 super.setUtilityPanelUI(actionButton, editControl); in setUtilityPanelUI()
/packages/apps/Settings/src/com/android/settings/spa/network/
DSimOnboardingSelectSim.kt48 actionButton = BottomAppBarButton( in <lambda>()
DSimOnboardingLabelSim.kt57 actionButton = BottomAppBarButton( in SimOnboardingLabelSimImpl()
DSimOnboardingPrimarySim.kt56 actionButton = BottomAppBarButton( in <lambda>()