Searched refs:mockImageView (Results 1 – 1 of 1) sorted by relevance
525 MockImageView mockImageView = new MockImageView(mActivity); in testOnCreateDrawableState() local528 mockImageView.onCreateDrawableState(0)); in testOnCreateDrawableState()531 mockImageView.setImageState(expected, false); in testOnCreateDrawableState()532 assertArrayEquals(expected, mockImageView.onCreateDrawableState(1)); in testOnCreateDrawableState()534 mockImageView.setImageState(expected, true); in testOnCreateDrawableState()539 MockImageView mockImageView = (MockImageView) findImageViewById(R.id.imageview_custom); in testOnCreateDrawableStateInvalid() local540 mockImageView.setImageState(new int[] {1, 2, 3}, true); in testOnCreateDrawableStateInvalid()541 mockImageView.onCreateDrawableState(-1); in testOnCreateDrawableStateInvalid()547 MockImageView mockImageView = (MockImageView) findImageViewById(R.id.imageview_custom); in testOnDraw() local550 mockImageView.setImageDrawable(drawable); in testOnDraw()[all …]