Searched refs:autoDeleteRange (Results 1 – 7 of 7) sorted by relevance
45 private var autoDeleteRange: AutoDeleteRange, variable85 setCheckedRadioButton(radioGroup, autoDeleteRange) in onBindViewHolder()119 private fun setCheckedRadioButton(radioGroup: RadioGroup, autoDeleteRange: AutoDeleteRange) { in setCheckedRadioButton()120 when (autoDeleteRange) { in setCheckedRadioButton()144 autoDeleteRange)) in setToNeverOrAskConfirmation()152 autoDeleteRange = newAutoDeleteRange in updateAutoDeleteRange()
79 fun updateAutoDeleteRange(autoDeleteRange: AutoDeleteRange) { in updateAutoDeleteRange()81 when (val result = updateAutoDeleteUseCase.invoke(autoDeleteRange.numberOfMonths)) { in updateAutoDeleteRange()83 _storedAutoDeleteRange.postValue(AutoDeleteState.WithData(autoDeleteRange)) in updateAutoDeleteRange()104 data class WithData(val autoDeleteRange: AutoDeleteRange) : AutoDeleteState() constant in com.android.healthconnect.controller.autodelete.AutoDeleteViewModel.AutoDeleteState.WithData
79 private fun buildTitle(autoDeleteRange: AutoDeleteRange): String { in <lambda>()80 val count = autoDeleteRange.numberOfMonths in <lambda>()86 private fun buildMessage(autoDeleteRange: AutoDeleteRange): String { in <lambda>()87 val count = autoDeleteRange.numberOfMonths in <lambda>()
53 private fun buildMessage(autoDeleteRange: AutoDeleteRange): String { in buildMessage()54 val count = autoDeleteRange.numberOfMonths in buildMessage()
86 state.autoDeleteRange, in <lambda>()94 autoDeletePreference.updateAutoDeleteRange(state.autoDeleteRange) in <lambda>()
114 private fun buildSummary(autoDeleteRange: AutoDeleteRange): String { in <lambda>()115 return when (autoDeleteRange) { in <lambda>()131 private fun iconAttribute(autoDeleteRange: AutoDeleteRange): Int { in <lambda>()132 return when (autoDeleteRange) { in <lambda>()182 mAutoDelete?.summary = buildSummary(state.autoDeleteRange) in <lambda>()185 requireContext(), iconAttribute(state.autoDeleteRange))) in <lambda>()
112 mAutoDeletePreference?.summary = buildSummary(state.autoDeleteRange) in <lambda>()118 private fun buildSummary(autoDeleteRange: AutoDeleteRange): String { in <lambda>()119 return when (autoDeleteRange) { in <lambda>()