Lines Matching refs:iv
55 ImageView iv = mock(ImageView.class);
57 when(iv.isShown()).thenReturn(true);
61 when(iv.getDrawable()).thenReturn(null);
62 mIconView.updateIcon(iv, s);
68 when(iv.getDrawable()).thenReturn(mock(Drawable.class));
69 mIconView.updateIcon(iv, s);
76 ImageView iv = mock(ImageView.class);
80 when(iv.isShown()).thenReturn(true);
82 mIconView.setIcon(iv, s);
83 verify(iv).setImageTintList(argThat(stateList -> stateList.getColors()[0] == desiredColor));