Searched refs:getCompoundDrawables (Results 1 – 2 of 2) sorted by relevance
319 … Assert.assertEquals(6, shadowOf(textView.getCompoundDrawables()[0]).getLoadedFromResourceId()); in testSetCompountDrawablesWithIntrinsicBounds_int_shouldCreateDrawablesWithResourceIds()320 … Assert.assertEquals(7, shadowOf(textView.getCompoundDrawables()[1]).getLoadedFromResourceId()); in testSetCompountDrawablesWithIntrinsicBounds_int_shouldCreateDrawablesWithResourceIds()321 … Assert.assertEquals(8, shadowOf(textView.getCompoundDrawables()[2]).getLoadedFromResourceId()); in testSetCompountDrawablesWithIntrinsicBounds_int_shouldCreateDrawablesWithResourceIds()322 … Assert.assertEquals(9, shadowOf(textView.getCompoundDrawables()[3]).getLoadedFromResourceId()); in testSetCompountDrawablesWithIntrinsicBounds_int_shouldCreateDrawablesWithResourceIds()329 Assert.assertNull(textView.getCompoundDrawables()[0]); in testSetCompountDrawablesWithIntrinsicBounds_int_shouldNotCreateDrawablesForZero()330 Assert.assertNull(textView.getCompoundDrawables()[1]); in testSetCompountDrawablesWithIntrinsicBounds_int_shouldNotCreateDrawablesForZero()331 Assert.assertNull(textView.getCompoundDrawables()[2]); in testSetCompountDrawablesWithIntrinsicBounds_int_shouldNotCreateDrawablesForZero()332 Assert.assertNull(textView.getCompoundDrawables()[3]); in testSetCompountDrawablesWithIntrinsicBounds_int_shouldNotCreateDrawablesForZero()
255 public Drawable[] getCompoundDrawables() { in getCompoundDrawables() method in ShadowTextView