/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/ |
D | WearAppPermissionScreen.kt | 31 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 …]
|
D | WearAppPermissionFragment.kt | 51 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/ |
D | AutoAppPermissionFragment.java | 218 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/ |
D | AppPermissionFragment.java | 72 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/ |
D | AppPermissionFragment.java | 81 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/ |
D | Utils.java | 75 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/ |
D | AppPermissionViewModel.kt | 69 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/ |
D | RemoteAuthEnrollIntroduction.kt | 53 .setButtonType(FooterButton.ButtonType.OPT_IN) in <lambda>() 62 .setButtonType(FooterButton.ButtonType.NEXT) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppQrCodeBaseFragment.java | 60 .setButtonType(FooterButton.ButtonType.CANCEL) in onViewCreated() 66 .setButtonType(FooterButton.ButtonType.NEXT) in onViewCreated()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilitySetupWizardUtils.java | 101 .setButtonType(FooterButton.ButtonType.DONE) in setPrimaryButton() 122 .setButtonType(FooterButton.ButtonType.CLEAR) in setSecondaryButton()
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | InstallCaCertificateWarning.java | 63 .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/ |
D | FingerprintEnrollConfirmationV2Fragment.kt | 68 .setButtonType(FooterButton.ButtonType.SKIP) in <lambda>() 79 .setButtonType(FooterButton.ButtonType.NEXT) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/privatespace/ |
D | PrivateProfileCreationError.java | 55 .setButtonType(FooterButton.ButtonType.NEXT) in onCreateView() 62 .setButtonType(FooterButton.ButtonType.CANCEL) in onCreateView()
|
D | PrivateSpaceAccountLoginError.java | 59 .setButtonType(FooterButton.ButtonType.NEXT) in onCreateView() 66 .setButtonType(FooterButton.ButtonType.CANCEL) in onCreateView()
|
D | PrivateSpaceEducation.java | 64 .setButtonType(FooterButton.ButtonType.NEXT) in onCreateView() 71 .setButtonType(FooterButton.ButtonType.CANCEL) in onCreateView()
|
D | PrivateSpaceSetLockFragment.java | 73 .setButtonType(FooterButton.ButtonType.NEXT) in onCreateView() 80 .setButtonType(FooterButton.ButtonType.SKIP) in onCreateView()
|
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/ |
D | FingerprintEnrollFinishFragment.kt | 104 .setButtonType(FooterButton.ButtonType.NEXT) in FragmentActivity() 111 .setButtonType(FooterButton.ButtonType.SKIP) in FragmentActivity()
|
D | FingerprintEnrollFindUdfpsFragment.kt | 106 .setButtonType(FooterButton.ButtonType.SKIP) in FragmentActivity() 113 .setButtonType(FooterButton.ButtonType.NEXT) in FragmentActivity()
|
/packages/apps/Settings/src/com/android/settings/remoteauth/enrolling/ |
D | RemoteAuthEnrollEnrolling.kt | 81 .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/ |
D | RfpsEnrollFindSensorFragment.kt | 113 .setButtonType(FooterButton.ButtonType.SKIP) in <lambda>() 126 .setButtonType(FooterButton.ButtonType.NEXT) in <lambda>()
|
D | UdfpsEnrollFindSensorFragment.kt | 109 .setButtonType(FooterButton.ButtonType.SKIP) in <lambda>() 122 .setButtonType(FooterButton.ButtonType.NEXT) in <lambda>()
|
D | SfpsEnrollFindSensorFragment.kt | 108 .setButtonType(FooterButton.ButtonType.SKIP) in <lambda>() 121 .setButtonType(FooterButton.ButtonType.NEXT) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/biometrics/activeunlock/ |
D | ActiveUnlockRequireBiometricSetup.java | 90 .setButtonType(FooterButton.ButtonType.CANCEL) in onCreate() 99 .setButtonType(FooterButton.ButtonType.NEXT) in onCreate()
|
/packages/apps/Settings/src/com/android/settings/privatespace/delete/ |
D | PrivateSpaceDeleteFragment.java | 113 .setButtonType(FooterButton.ButtonType.OTHER) in onCreateView() 120 .setButtonType(FooterButton.ButtonType.CANCEL) in onCreateView()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceEnrollEducation.java | 139 .setButtonType(FooterButton.ButtonType.SKIP) in onCreate() 149 .setButtonType(FooterButton.ButtonType.CANCEL) in onCreate() 159 .setButtonType(FooterButton.ButtonType.NEXT) in onCreate()
|