Searched refs:locationVisibilities (Results 1 – 7 of 7) sorted by relevance
104 private val locationVisibilities = BooleanArray(NEXT_LOCATION_DIALOG) { false } in <lambda>() constant in com.android.permissioncontroller.permission.ui.handheld.GrantPermissionsViewHandlerImpl136 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 …]
55 val locationVisibilities = viewModel.locationVisibilitiesLiveData.observeAsState(emptyList()) in WearGrantPermissionsScreen() constant68 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()
151 boolean[] locationVisibilities) { in updateUi() argument163 setLocationVisibilities(locationVisibilities); in updateUi()
101 boolean[] locationVisibilities); in updateUi() argument
792 boolean[] locationVisibilities = getLocationButtonsForPrompt(info.getPrompt()); in showNextRequest()801 locationVisibilities); in showNextRequest() local
96 boolean[] locationVisibilities) { in updateUi() argument
151 boolean[] locationVisibilities) { in updateUi() argument