Home
last modified time | relevance | path

Searched refs:locationVisibilities (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DGrantPermissionsViewHandlerImpl.kt104 private val locationVisibilities = BooleanArray(NEXT_LOCATION_DIALOG) { false } in <lambda>() constant in com.android.permissioncontroller.permission.ui.handheld.GrantPermissionsViewHandlerImpl
136 arguments.putBooleanArray(ARG_DIALOG_LOCATION_VISIBILITIES, locationVisibilities) in saveInstanceState()
167 locationVisibilities: BooleanArray? in updateUi()
177 setLocationVisibilities(locationVisibilities) in updateUi()
303 for (i in locationVisibilities.indices) { in setLocationVisibilities()
304 locationVisibilities[i] = in setLocationVisibilities()
350 locationVisibilities[LOCATION_ACCURACY_LAYOUT] && in updateButtons()
351 locationVisibilities[DIALOG_WITH_FINE_LOCATION_ONLY] in updateButtons()
364 locationVisibilities[LOCATION_ACCURACY_LAYOUT] && in updateButtons()
365 locationVisibilities[DIALOG_WITH_FINE_LOCATION_ONLY] in updateButtons()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearGrantPermissionsScreen.kt55 val locationVisibilities = viewModel.locationVisibilitiesLiveData.observeAsState(emptyList()) in WearGrantPermissionsScreen() constant
68 locationVisibilities.value.getOrElse(LOCATION_ACCURACY_LAYOUT) { false } && in WearGrantPermissionsScreen()
69 locationVisibilities.value.getOrElse(DIALOG_WITH_BOTH_LOCATIONS) { false } in WearGrantPermissionsScreen()
94 locationVisibilities.value, in WearGrantPermissionsScreen()
137 private fun getPrimaryText(pos: Int, locationVisibilities: List<Boolean>, default: String): String { in getPrimaryText()
139 locationVisibilities.getOrElse(LOCATION_ACCURACY_LAYOUT) { false } && in getPrimaryText()
140 locationVisibilities.getOrElse(DIALOG_WITH_FINE_LOCATION_ONLY) { false } in getPrimaryText()
DGrantPermissionsWearViewHandler.java151 boolean[] locationVisibilities) { in updateUi() argument
163 setLocationVisibilities(locationVisibilities); in updateUi()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DGrantPermissionsViewHandler.java101 boolean[] locationVisibilities); in updateUi() argument
DGrantPermissionsActivity.java792 boolean[] locationVisibilities = getLocationButtonsForPrompt(info.getPrompt()); in showNextRequest()
801 locationVisibilities); in showNextRequest() local
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DGrantPermissionsAutoViewHandler.java96 boolean[] locationVisibilities) { in updateUi() argument
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DGrantPermissionsViewHandlerImpl.java151 boolean[] locationVisibilities) { in updateUi() argument