Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DImageViewTest.java471 MockImageView mockImageView = new MockImageView(mActivity); in testOnCreateDrawableState() local
474 mockImageView.onCreateDrawableState(0)); in testOnCreateDrawableState()
477 mockImageView.setImageState(expected, false); in testOnCreateDrawableState()
478 assertArrayEquals(expected, mockImageView.onCreateDrawableState(1)); in testOnCreateDrawableState()
480 mockImageView.setImageState(expected, true); in testOnCreateDrawableState()
485 MockImageView mockImageView = (MockImageView) findImageViewById(R.id.imageview_custom); in testOnCreateDrawableStateInvalid() local
486 mockImageView.setImageState(new int[] {1, 2, 3}, true); in testOnCreateDrawableStateInvalid()
487 mockImageView.onCreateDrawableState(-1); in testOnCreateDrawableStateInvalid()
493 MockImageView mockImageView = (MockImageView) findImageViewById(R.id.imageview_custom); in testOnDraw() local
496 mockImageView.setImageDrawable(drawable); in testOnDraw()
[all …]