Home
last modified time | relevance | path

Searched refs:ButtonType (Results 1 – 25 of 49) sorted by relevance

12

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearAppPermissionScreen.kt31 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType in <lambda>()
48 onGrantedStateChanged: (ButtonType, Boolean) -> Unit, in <lambda>()
95 buttonState: Map<ButtonType, ButtonState>?, in WearAppPermissionContent()
100 onGrantedStateChanged: (ButtonType, Boolean) -> Unit, in WearAppPermissionContent()
104 buttonState?.get(ButtonType.LOCATION_ACCURACY)?.let { in WearAppPermissionContent()
155 ButtonType.ALLOW,
156 ButtonType.ALLOW_ALWAYS,
157 ButtonType.ALLOW_FOREGROUND,
158 ButtonType.ASK_ONCE,
159 ButtonType.ASK,
[all …]
DWearAppPermissionFragment.kt51 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType in <lambda>()
172 val onGrantedStateChanged: (ButtonType, Boolean) -> Unit = { buttonType, checked -> in <lambda>()
288 fun getGrantedStateChangeParam(buttonType: ButtonType) = in <lambda>()
290 ButtonType.ALLOW -> in <lambda>()
298 ButtonType.ALLOW_ALWAYS -> in <lambda>()
306 ButtonType.ALLOW_FOREGROUND -> in <lambda>()
314 ButtonType.ASK -> in <lambda>()
322 ButtonType.DENY -> in <lambda>()
330 ButtonType.DENY_FOREGROUND -> in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAppPermissionFragment.java218 checkOnlyOneButtonOverride(AppPermissionViewModel.ButtonType.ALLOW); in onViewCreated()
225 checkOnlyOneButtonOverride(AppPermissionViewModel.ButtonType.ALLOW_ALWAYS); in onViewCreated()
232 checkOnlyOneButtonOverride(AppPermissionViewModel.ButtonType.ALLOW_FOREGROUND); in onViewCreated()
239 checkOnlyOneButtonOverride(AppPermissionViewModel.ButtonType.DENY); in onViewCreated()
450 Map<AppPermissionViewModel.ButtonType, AppPermissionViewModel.ButtonState> states) { in setRadioButtonsState() argument
452 states.get(AppPermissionViewModel.ButtonType.ALLOW)); in setRadioButtonsState()
454 states.get(AppPermissionViewModel.ButtonType.ALLOW_ALWAYS)); in setRadioButtonsState()
456 states.get(AppPermissionViewModel.ButtonType.ALLOW_FOREGROUND)); in setRadioButtonsState()
458 states.get(AppPermissionViewModel.ButtonType.DENY)); in setRadioButtonsState()
477 private void checkOnlyOneButtonOverride(AppPermissionViewModel.ButtonType buttonType) { in checkOnlyOneButtonOverride()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAppPermissionFragment.java72 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType;
272 private void setRadioButtonsState(Map<ButtonType, ButtonState> states) { in setRadioButtonsState() argument
335 setButtonState(mAllowButton, states.get(ButtonType.ALLOW)); in setRadioButtonsState()
336 setButtonState(mAllowAlwaysButton, states.get(ButtonType.ALLOW_ALWAYS)); in setRadioButtonsState()
337 setButtonState(mAllowForegroundButton, states.get(ButtonType.ALLOW_FOREGROUND)); in setRadioButtonsState()
338 setButtonState(mAskOneTimeButton, states.get(ButtonType.ASK_ONCE)); in setRadioButtonsState()
339 setButtonState(mAskButton, states.get(ButtonType.ASK)); in setRadioButtonsState()
340 setButtonState(mDenyButton, states.get(ButtonType.DENY)); in setRadioButtonsState()
341 setButtonState(mDenyForegroundButton, states.get(ButtonType.DENY_FOREGROUND)); in setRadioButtonsState()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DAppPermissionFragment.java81 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType;
398 private void setRadioButtonsState(Map<ButtonType, ButtonState> states) { in setRadioButtonsState() argument
445 ButtonState selectState = states.get(ButtonType.SELECT_PHOTOS); in setRadioButtonsState()
481 setButtonState(mAllowButton, states.get(ButtonType.ALLOW)); in setRadioButtonsState()
482 setButtonState(mAllowAlwaysButton, states.get(ButtonType.ALLOW_ALWAYS)); in setRadioButtonsState()
483 setButtonState(mAllowForegroundButton, states.get(ButtonType.ALLOW_FOREGROUND)); in setRadioButtonsState()
484 setButtonState(mAskOneTimeButton, states.get(ButtonType.ASK_ONCE)); in setRadioButtonsState()
485 setButtonState(mAskButton, states.get(ButtonType.ASK)); in setRadioButtonsState()
486 setButtonState(mDenyButton, states.get(ButtonType.DENY)); in setRadioButtonsState()
487 setButtonState(mDenyForegroundButton, states.get(ButtonType.DENY_FOREGROUND)); in setRadioButtonsState()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java75 import com.google.android.setupcompat.template.FooterButton.ButtonType;
815 return setPrimaryButton(layout, listener, ButtonType.NEXT, R.string.next); in addNextButton()
823 return setPrimaryButton(layout, listener, ButtonType.NEXT, R.string.encrypt); in addEncryptButton()
828 return setPrimaryButton(layout, listener, ButtonType.NEXT, R.string.accept_and_continue); in addAcceptAndContinueButton()
834 return setPrimaryButton(layout, listener, ButtonType.CANCEL, in addResetButton()
839 @ButtonType int buttonType, @StringRes int label) { in setPrimaryButton()
854 final int buttonType = ButtonType.CANCEL; in addAbortAndResetButton()
862 @ButtonType int buttonType, @StringRes int buttonLabel) { in addSecondaryButton()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionViewModel.kt69 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.ALLOW in <lambda>()
70 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.ALLOW… in <lambda>()
71 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.ALLOW… in <lambda>()
72 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.ASK in <lambda>()
73 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.ASK_O… in <lambda>()
74 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.DENY in <lambda>()
75 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.DENY_… in <lambda>()
76 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.LOCAT… in <lambda>()
77 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.SELEC… in <lambda>()
157 enum class ButtonType(val type: Int) { in <lambda>() class
[all …]
/packages/apps/Settings/src/com/android/settings/remoteauth/introduction/
DRemoteAuthEnrollIntroduction.kt53 .setButtonType(FooterButton.ButtonType.OPT_IN) in <lambda>()
62 .setButtonType(FooterButton.ButtonType.NEXT) in <lambda>()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppQrCodeBaseFragment.java60 .setButtonType(FooterButton.ButtonType.CANCEL) in onViewCreated()
66 .setButtonType(FooterButton.ButtonType.NEXT) in onViewCreated()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySetupWizardUtils.java101 .setButtonType(FooterButton.ButtonType.DONE) in setPrimaryButton()
122 .setButtonType(FooterButton.ButtonType.CLEAR) in setSecondaryButton()
/packages/apps/Settings/src/com/android/settings/security/
DInstallCaCertificateWarning.java63 .setButtonType(FooterButton.ButtonType.OTHER) in onCreate()
73 .setButtonType(FooterButton.ButtonType.NEXT) in onCreate()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/fragment/
DFingerprintEnrollConfirmationV2Fragment.kt68 .setButtonType(FooterButton.ButtonType.SKIP) in <lambda>()
79 .setButtonType(FooterButton.ButtonType.NEXT) in <lambda>()
/packages/apps/Settings/src/com/android/settings/privatespace/
DPrivateProfileCreationError.java55 .setButtonType(FooterButton.ButtonType.NEXT) in onCreateView()
62 .setButtonType(FooterButton.ButtonType.CANCEL) in onCreateView()
DPrivateSpaceAccountLoginError.java59 .setButtonType(FooterButton.ButtonType.NEXT) in onCreateView()
66 .setButtonType(FooterButton.ButtonType.CANCEL) in onCreateView()
DPrivateSpaceEducation.java64 .setButtonType(FooterButton.ButtonType.NEXT) in onCreateView()
71 .setButtonType(FooterButton.ButtonType.CANCEL) in onCreateView()
DPrivateSpaceSetLockFragment.java73 .setButtonType(FooterButton.ButtonType.NEXT) in onCreateView()
80 .setButtonType(FooterButton.ButtonType.SKIP) in onCreateView()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollFinishFragment.kt104 .setButtonType(FooterButton.ButtonType.NEXT) in FragmentActivity()
111 .setButtonType(FooterButton.ButtonType.SKIP) in FragmentActivity()
DFingerprintEnrollFindUdfpsFragment.kt106 .setButtonType(FooterButton.ButtonType.SKIP) in FragmentActivity()
113 .setButtonType(FooterButton.ButtonType.NEXT) in FragmentActivity()
/packages/apps/Settings/src/com/android/settings/remoteauth/enrolling/
DRemoteAuthEnrollEnrolling.kt81 .setButtonType(FooterButton.ButtonType.NEXT) in initializePrimaryFooterButton()
90 .setButtonType(FooterButton.ButtonType.SKIP) in initializeSecondaryFooterButton()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/fragment/education/
DRfpsEnrollFindSensorFragment.kt113 .setButtonType(FooterButton.ButtonType.SKIP) in <lambda>()
126 .setButtonType(FooterButton.ButtonType.NEXT) in <lambda>()
DUdfpsEnrollFindSensorFragment.kt109 .setButtonType(FooterButton.ButtonType.SKIP) in <lambda>()
122 .setButtonType(FooterButton.ButtonType.NEXT) in <lambda>()
DSfpsEnrollFindSensorFragment.kt108 .setButtonType(FooterButton.ButtonType.SKIP) in <lambda>()
121 .setButtonType(FooterButton.ButtonType.NEXT) in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/activeunlock/
DActiveUnlockRequireBiometricSetup.java90 .setButtonType(FooterButton.ButtonType.CANCEL) in onCreate()
99 .setButtonType(FooterButton.ButtonType.NEXT) in onCreate()
/packages/apps/Settings/src/com/android/settings/privatespace/delete/
DPrivateSpaceDeleteFragment.java113 .setButtonType(FooterButton.ButtonType.OTHER) in onCreateView()
120 .setButtonType(FooterButton.ButtonType.CANCEL) in onCreateView()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollEducation.java139 .setButtonType(FooterButton.ButtonType.SKIP) in onCreate()
149 .setButtonType(FooterButton.ButtonType.CANCEL) in onCreate()
159 .setButtonType(FooterButton.ButtonType.NEXT) in onCreate()

12