Home
last modified time | relevance | path

Searched refs:dontAskAgain (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/wear/model/
DWearRequestRoleViewModel.kt26 val dontAskAgain = MutableLiveData<Boolean>(false) constant
31 fun dontAskAgain(): Boolean { in dontAskAgain() method in com.android.permissioncontroller.role.ui.wear.model.WearRequestRoleViewModel
32 return dontAskAgain.value ?: false in dontAskAgain()
36 outState.putBoolean(STATE_DONT_ASK_AGAIN, dontAskAgain()) in onSaveInstanceState()
42 dontAskAgain.value = savedInstanceState.getBoolean(STATE_DONT_ASK_AGAIN) in onRestoreInstanceState()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/wear/
DWearRequestRoleScreen.kt55 val dontAskAgain = helper.wearViewModel.dontAskAgain.observeAsState(false) in <lambda>() constant
72 helper.wearViewModel.dontAskAgain.value = checked in <lambda>()
83 dontAskAgain.value, in <lambda>()
102 dontAskAgain: Boolean, in WearRequestRoleContent()
151 checked = dontAskAgain, in WearRequestRoleContent()
171 onClick = { onSetAsDefault(dontAskAgain, selectedPackageName) }, in WearRequestRoleContent()
DWearRequestRoleHelper.kt67 if (!wearViewModel.dontAskAgain()) { in <lambda>()
96 if (!wearViewModel.dontAskAgain()) { in <lambda>()
112 return enabled && (wearViewModel.dontAskAgain() || !wearViewModel.isHolderChecked) in <lambda>()
DWearRequestRoleFragment.kt123 val onSetAsDefault: (Boolean, String?) -> Unit = { dontAskAgain, selectedPackageName -> in <lambda>() method
125 if (dontAskAgain) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRequestRoleFragment.java179 boolean dontAskAgain = savedInstanceState.getBoolean(STATE_DONT_ASK_AGAIN); in onCreateDialog()
180 mDontAskAgainCheck.setChecked(dontAskAgain); in onCreateDialog()
181 mAdapter.setDontAskAgain(dontAskAgain); in onCreateDialog()
356 boolean dontAskAgain = mDontAskAgainCheck != null && mDontAskAgainCheck.isChecked(); in updateUi()
357 mAdapter.setDontAskAgain(dontAskAgain); in updateUi()
361 && (dontAskAgain || !mAdapter.isHolderApplicationChecked())); in updateUi()
515 public void setDontAskAgain(boolean dontAskAgain) { in setDontAskAgain() argument
516 if (mDontAskAgain == dontAskAgain) { in setDontAskAgain()
519 mDontAskAgain = dontAskAgain; in setDontAskAgain()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategorySelectorFragment.java390 public void onPermissionsDenied(boolean dontAskAgain) { in onClick()
391 if (dontAskAgain) { in onClick()
597 public void onPermissionsDenied(boolean dontAskAgain) { in onClickListenerForCreativeCategory()
598 if (dontAskAgain) { in onClickListenerForCreativeCategory()
771 public void onPermissionsDenied(boolean dontAskAgain) { in onPermissionsDenied() argument
772 if (!dontAskAgain) { in onPermissionsDenied()
895 public void onPermissionsDenied(boolean dontAskAgain) { in onPermissionsDenied() argument
896 if (!dontAskAgain) { in onPermissionsDenied()
DMyPhotosStarter.java48 void onPermissionsDenied(boolean dontAskAgain); in onPermissionsDenied() argument
DWallpaperPickerDelegate.java128 public void onPermissionsDenied(boolean dontAskAgain) { in requestCustomPhotoPicker()
129 listener.onPermissionsDenied(dontAskAgain); in requestCustomPhotoPicker()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DMyPhotosViewHolder.java142 public void onPermissionsDenied(boolean dontAskAgain) { in onPermissionsDenied() argument