Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DMediaRecommendationsViewBinder.kt126 val gutsViewHolder = viewHolder.gutsViewHolder in <lambda>() constant
129 gutsViewHolder.gutsText.text = gutsViewModel.gutsText in <lambda>()
130 gutsViewHolder.dismissText.visibility = View.VISIBLE in <lambda>()
131 gutsViewHolder.dismiss.isEnabled = true in <lambda>()
132 gutsViewHolder.dismiss.setOnClickListener { in <lambda>()
138 gutsViewHolder.cancelText.background = gutsViewModel.cancelTextBackground in <lambda>()
139 gutsViewHolder.cancel.setOnClickListener { in <lambda>()
145 gutsViewHolder.settings.setOnClickListener { in <lambda>()
151 gutsViewHolder.setDismissible(gutsViewModel.isDismissEnabled) in <lambda>()
152 gutsViewHolder.setTextPrimaryColor(gutsViewModel.textPrimaryColor) in <lambda>()
[all …]
DMediaControlViewBinder.kt216 val gutsViewHolder = viewHolder.gutsViewHolder in <lambda>() constant
218 with(gutsViewHolder) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DRecommendationViewHolder.kt62 val gutsViewHolder = GutsViewHolder(itemView) in <lambda>() constant
67 background.registerLightSource(gutsViewHolder.cancel) in <lambda>()
68 background.registerLightSource(gutsViewHolder.dismiss) in <lambda>()
69 background.registerLightSource(gutsViewHolder.settings) in <lambda>()
74 gutsViewHolder.marquee(start, delay, TAG) in <lambda>()
DMediaViewHolder.kt64 val gutsViewHolder = GutsViewHolder(itemView) constant
99 gutsViewHolder.marquee(start, delay, TAG) in marquee()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/animation/
DColorSchemeTransitionTest.kt64 @Mock private lateinit var gutsViewHolder: GutsViewHolder in <lambda>() variable in com.android.systemui.media.controls.ui.animation.ColorSchemeTransitionTest
72 whenever(mediaViewHolder.gutsViewHolder).thenReturn(gutsViewHolder) in <lambda>()
161 verify(gutsViewHolder).colorScheme = colorScheme in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/animation/
DColorSchemeTransition.kt131 mediaViewHolder.gutsViewHolder.setSurfaceColor(surfaceColor) in surfaceColor()
140 mediaViewHolder.gutsViewHolder.setAccentPrimaryColor(accentPrimary) in accentPrimary()
190 mediaViewHolder.gutsViewHolder.setTextPrimaryColor(textPrimary) in textPrimary()
245 colorScheme?.let { mediaViewHolder.gutsViewHolder.colorScheme = colorScheme } in updateColorScheme()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaViewControllerTest.kt123 @Mock private lateinit var gutsViewHolder: GutsViewHolder in <lambda>() variable in com.android.systemui.media.controls.ui.controller.MediaViewControllerTest
574 whenever(gutsViewHolder.gutsText).thenReturn(gutsText) in <lambda>()
575 whenever(gutsViewHolder.settings).thenReturn(settings) in <lambda>()
576 whenever(gutsViewHolder.cancel).thenReturn(cancel) in <lambda>()
577 whenever(gutsViewHolder.cancelText).thenReturn(cancelText) in <lambda>()
578 whenever(gutsViewHolder.dismiss).thenReturn(dismiss) in <lambda>()
579 whenever(gutsViewHolder.dismissText).thenReturn(dismissText) in <lambda>()
620 whenever(viewHolder.gutsViewHolder).thenReturn(gutsViewHolder) in <lambda>()
DMediaControlPanelTest.kt152 @Mock private lateinit var gutsViewHolder: GutsViewHolder in <lambda>() variable in com.android.systemui.media.controls.ui.controller.MediaControlPanelTest
320 whenever(gutsViewHolder.gutsText).thenReturn(gutsText) in <lambda>()
321 whenever(gutsViewHolder.settings).thenReturn(settings) in <lambda>()
322 whenever(gutsViewHolder.cancel).thenReturn(cancel) in <lambda>()
323 whenever(gutsViewHolder.cancelText).thenReturn(cancelText) in <lambda>()
324 whenever(gutsViewHolder.dismiss).thenReturn(dismiss) in <lambda>()
325 whenever(gutsViewHolder.dismissText).thenReturn(dismissText) in <lambda>()
427 whenever(viewHolder.gutsViewHolder).thenReturn(gutsViewHolder) in <lambda>()
488 whenever(recommendationViewHolder.gutsViewHolder).thenReturn(gutsViewHolder) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanel.java1683 GutsViewHolder gutsViewHolder,
1692 gutsViewHolder.getGutsText().setText(text);
1695 gutsViewHolder.getDismissText().setVisibility(isDismissible ? View.VISIBLE : View.GONE);
1696 gutsViewHolder.getDismiss().setEnabled(isDismissible);
1697 gutsViewHolder.getDismiss().setOnClickListener(v -> {
1706 TextView cancelText = gutsViewHolder.getCancelText();
1712 gutsViewHolder.getCancel().setOnClickListener(v -> {
1717 gutsViewHolder.setDismissible(isDismissible);
1720 gutsViewHolder.getSettings().setOnClickListener(v -> {