Home
last modified time | relevance | path

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

/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/ui/viewmodel/
DKeyguardQuickAffordancePickerViewModel.kt145 affordances.filter { affordance -> in <lambda>() method
146 selectedAffordanceIds.contains(affordance.id) in <lambda>()
235 affordances.map { affordance -> in <lambda>() method
236 val affordanceIcon = getAffordanceIcon(affordance.iconResourceId) in <lambda>()
239 .map { it.contains(affordance.id) } in <lambda>()
247 text = Text.Loaded(affordance.name), in <lambda>()
250 if (affordance.isEnabled) { in <lambda>()
260 affordanceId = affordance.id, in <lambda>()
263 shortcut = affordance.id, in <lambda>()
276 name = affordance.name, in <lambda>()
[all …]
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/quickaffordance/ui/viewmodel/
DKeyguardQuickAffordancePickerViewModelTest.kt130 fun `Select an affordance for each side`() = in <lambda>()
212 fun `Unselect - AKA selecting the none affordance - on one side`() = in <lambda>()
248 fun `Show enablement dialog when selecting a disabled affordance`() = in <lambda>()
305 fun `Start settings activity when long-pressing an affordance`() = in <lambda>()
334 fun `summary - affordance selected in both bottom-start and bottom-end`() = in <lambda>()
371 fun `summary - affordance selected only on bottom-start`() = in <lambda>()
395 fun `summary - affordance selected only on bottom-end`() = in <lambda>()
474 affordances?.forEach { affordance -> in <lambda>() method
478 affordance.text, in <lambda>()
481 val isSelected: Boolean? = collectLastValue(affordance.isSelected).invoke() in <lambda>()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DAffordanceHolderLayout.java26 import com.android.incallui.answer.impl.affordance.SwipeButtonHelper;
27 import com.android.incallui.answer.impl.affordance.SwipeButtonHelper.Callback;
28 import com.android.incallui.answer.impl.affordance.SwipeButtonView;
DAnswerFragment.java69 import com.android.incallui.answer.impl.affordance.SwipeButtonHelper.Callback;
70 import com.android.incallui.answer.impl.affordance.SwipeButtonView;
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/data/repository/
DKeyguardQuickAffordancePickerRepository.kt46 .map { affordances -> affordances.map { affordance -> affordance.toModel() } } in <lambda>() method
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/ui/binder/
DKeyguardQuickAffordancePickerBinder.kt122 combine(affordances.map { affordance -> affordance.isSelected }) { in <lambda>() method
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonView.java17 package com.android.incallui.answer.impl.affordance;
DSwipeButtonHelper.java17 package com.android.incallui.answer.impl.affordance;
/packages/apps/Dialer/
DAndroid.bp117 "--extra-packages com.android.incallui.answer.impl.affordance",
220 "java/com/android/incallui/answer/impl/affordance/res",