Home
last modified time | relevance | path

Searched refs:getCompoundDrawables (Results 1 – 4 of 4) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DTextViewTest.java319 … 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()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTextViewTest.java352 …assertEquals(R.drawable.an_image, shadowOf(textView.getCompoundDrawables()[0]).getCreatedFromResId… in testSetCompountDrawablesWithIntrinsicBounds_int_shouldCreateDrawablesWithResourceIds()
353 …assertEquals(R.drawable.an_other_image, shadowOf(textView.getCompoundDrawables()[1]).getCreatedFro… in testSetCompountDrawablesWithIntrinsicBounds_int_shouldCreateDrawablesWithResourceIds()
354 …assertEquals(R.drawable.third_image, shadowOf(textView.getCompoundDrawables()[2]).getCreatedFromRe… in testSetCompountDrawablesWithIntrinsicBounds_int_shouldCreateDrawablesWithResourceIds()
355 …assertEquals(R.drawable.fourth_image, shadowOf(textView.getCompoundDrawables()[3]).getCreatedFromR… in testSetCompountDrawablesWithIntrinsicBounds_int_shouldCreateDrawablesWithResourceIds()
362 assertNull(textView.getCompoundDrawables()[0]); in testSetCompountDrawablesWithIntrinsicBounds_int_shouldNotCreateDrawablesForZero()
363 assertNull(textView.getCompoundDrawables()[1]); in testSetCompountDrawablesWithIntrinsicBounds_int_shouldNotCreateDrawablesForZero()
364 assertNull(textView.getCompoundDrawables()[2]); in testSetCompountDrawablesWithIntrinsicBounds_int_shouldNotCreateDrawablesForZero()
365 assertNull(textView.getCompoundDrawables()[3]); in testSetCompountDrawablesWithIntrinsicBounds_int_shouldNotCreateDrawablesForZero()
DShadowLayoutInflaterTest.java267 assertThat(view.getCompoundDrawables()[0]).isEqualTo(drawable(R.drawable.fourth_image)); in testTextViewCompoundDrawablesAreSet()
268 assertThat(view.getCompoundDrawables()[1]).isEqualTo(drawable(R.drawable.an_image)); in testTextViewCompoundDrawablesAreSet()
269 assertThat(view.getCompoundDrawables()[2]).isEqualTo(drawable(R.drawable.an_other_image)); in testTextViewCompoundDrawablesAreSet()
270 assertThat(view.getCompoundDrawables()[3]).isEqualTo(drawable(R.drawable.third_image)); in testTextViewCompoundDrawablesAreSet()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowTextView.java255 public Drawable[] getCompoundDrawables() { in getCompoundDrawables() method in ShadowTextView