Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DImageViewTest.java94 private ImageView mImageViewRegular; field in ImageViewTest
103 mImageViewRegular = (ImageView) mActivity.findViewById(R.id.imageview_regular); in setup()
163 mImageViewRegular.invalidateDrawable(null); in testInvalidateDrawable()
169 mImageViewRegular.setScaleType(ScaleType.FIT_XY); in testSetAdjustViewBounds()
171 mImageViewRegular.setAdjustViewBounds(false); in testSetAdjustViewBounds()
172 assertFalse(mImageViewRegular.getAdjustViewBounds()); in testSetAdjustViewBounds()
173 assertEquals(ScaleType.FIT_XY, mImageViewRegular.getScaleType()); in testSetAdjustViewBounds()
175 mImageViewRegular.setAdjustViewBounds(true); in testSetAdjustViewBounds()
176 assertTrue(mImageViewRegular.getAdjustViewBounds()); in testSetAdjustViewBounds()
177 assertEquals(ScaleType.FIT_CENTER, mImageViewRegular.getScaleType()); in testSetAdjustViewBounds()
[all …]