Home
last modified time | relevance | path

Searched refs:drawableCaptor (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DBigPictureIconManagerTest.kt62 private val drawableCaptor = argumentCaptor<Drawable>() constant in com.android.systemui.statusbar.notification.row.BigPictureIconManagerTest
110 verify(mockConsumer).setImageDrawable(drawableCaptor.capture()) in onIconUpdated_supportedType_placeholderLoaded()
111 assertIsPlaceHolder(drawableCaptor.value) in onIconUpdated_supportedType_placeholderLoaded()
112 assertSize(drawableCaptor.value) in onIconUpdated_supportedType_placeholderLoaded()
122 verify(mockConsumer).setImageDrawable(drawableCaptor.capture()) in onIconUpdated_unsupportedType_fullImageLoaded()
123 assertIsFullImage(drawableCaptor.value) in onIconUpdated_unsupportedType_fullImageLoaded()
124 assertSize(drawableCaptor.value) in onIconUpdated_unsupportedType_fullImageLoaded()
159 verify(newConsumer).setImageDrawable(drawableCaptor.capture()) in onIconUpdated_consumerAlreadySet_newConsumerIsUpdatedWithPlaceholder()
160 assertIsPlaceHolder(drawableCaptor.value) in onIconUpdated_consumerAlreadySet_newConsumerIsUpdatedWithPlaceholder()
161 assertSize(drawableCaptor.value) in onIconUpdated_consumerAlreadySet_newConsumerIsUpdatedWithPlaceholder()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewContextMenuTest.java203 ArgumentCaptor<Drawable> drawableCaptor = ArgumentCaptor.forClass(Drawable.class); in testAdjustIconSpaces() local
204 verify(mockNoIconMenu).setIcon(drawableCaptor.capture()); in testAdjustIconSpaces()
206 Drawable paddingDrawable = drawableCaptor.getValue(); in testAdjustIconSpaces()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanelTest.kt688 val drawableCaptor = argumentCaptor<Drawable>() in <lambda>() constant
689 verify(albumView, times(2)).setImageDrawable(drawableCaptor.capture()) in <lambda>()
690 assertTrue(drawableCaptor.allValues[1] is TransitionDrawable) in <lambda>()