Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DAbsSeekBarTest.java115 Drawable drawable1 = mActivity.getDrawable(R.drawable.scenery); in testAccessThumb() local
118 assertFalse(myAbsSeekBar.verifyDrawable(drawable1)); in testAccessThumb()
121 absSeekBar.setThumb(drawable1); in testAccessThumb()
122 assertSame(drawable1, absSeekBar.getThumb()); in testAccessThumb()
123 assertTrue(myAbsSeekBar.verifyDrawable(drawable1)); in testAccessThumb()
128 assertFalse(myAbsSeekBar.verifyDrawable(drawable1)); in testAccessThumb()
139 Drawable drawable1 = mActivity.getDrawable(R.drawable.black); in testAccessTickMark() local
142 assertFalse(myAbsSeekBar.verifyDrawable(drawable1)); in testAccessTickMark()
145 absSeekBar.setTickMark(drawable1); in testAccessTickMark()
146 assertSame(drawable1, absSeekBar.getTickMark()); in testAccessTickMark()
[all …]
DImageViewTest.java251 final PaintDrawable drawable1 = new PaintDrawable(); in testGetDrawable() local
256 mImageViewRegular.setImageDrawable(drawable1); in testGetDrawable()
257 assertEquals(drawable1, mImageViewRegular.getDrawable()); in testGetDrawable()
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/
DTestUtils.java37 Drawable drawable1 = icon1.loadDrawable(context); in compareIcons() local
39 if (drawable1 instanceof BitmapDrawable) { in compareIcons()
41 Bitmap bitmap1 = ((BitmapDrawable) drawable1).getBitmap(); in compareIcons()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DStateListDrawableTest.java380 ColorDrawable drawable1 = new ColorDrawable(Color.CYAN); in testGetStateDrawableIndex() local
387 stateList.addState(stateSet1, drawable1); in testGetStateDrawableIndex()