Searched refs:drawable1 (Results 1 – 4 of 4) sorted by relevance
115 Drawable drawable1 = mActivity.getDrawable(R.drawable.scenery); in testAccessThumb() local118 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() local142 assertFalse(myAbsSeekBar.verifyDrawable(drawable1)); in testAccessTickMark()145 absSeekBar.setTickMark(drawable1); in testAccessTickMark()146 assertSame(drawable1, absSeekBar.getTickMark()); in testAccessTickMark()[all …]
251 final PaintDrawable drawable1 = new PaintDrawable(); in testGetDrawable() local256 mImageViewRegular.setImageDrawable(drawable1); in testGetDrawable()257 assertEquals(drawable1, mImageViewRegular.getDrawable()); in testGetDrawable()
37 Drawable drawable1 = icon1.loadDrawable(context); in compareIcons() local39 if (drawable1 instanceof BitmapDrawable) { in compareIcons()41 Bitmap bitmap1 = ((BitmapDrawable) drawable1).getBitmap(); in compareIcons()
380 ColorDrawable drawable1 = new ColorDrawable(Color.CYAN); in testGetStateDrawableIndex() local387 stateList.addState(stateSet1, drawable1); in testGetStateDrawableIndex()