Searched refs:mImageView (Results 1 – 3 of 3) sorted by relevance
59 private ImageView mImageView; field in ImageViewTest107 mImageView = null; in setUp()178 mImageView = findImageViewById(R.id.imageview); in testSetImageIcon()179 mImageView.setImageIcon(null); in testSetImageIcon()180 assertNull(mImageView.getDrawable()); in testSetImageIcon()183 mImageView.setImageIcon(icon); in testSetImageIcon()184 assertTrue(mImageView.isLayoutRequested()); in testSetImageIcon()185 assertNotNull(mImageView.getDrawable()); in testSetImageIcon()188 Drawable imageViewDrawable = mImageView.getDrawable(); in testSetImageIcon()195 mImageView = findImageViewById(R.id.imageview); in testSetImageResource()[all …]
170 private ImageView mImageView; field in RemoteVirtualDisplayService.VirtualDisplayPresentation.TestPresentation183 mImageView = new ImageView(getContext()); in onCreate()184 mImageView.setImageDrawable(new ColorDrawable(0)); in onCreate()185 mImageView.setLayoutParams(new LayoutParams( in onCreate()187 setContentView(mImageView); in onCreate()191 mImageView.setImageDrawable(new ColorDrawable(color)); in doRendering()
1157 private ImageView mImageView; field in EncodeVirtualDisplayWithCompositionTest.TestPresentation1166 mImageView = new ImageView(getContext()); in onCreate()1167 mImageView.setImageDrawable(new ColorDrawable(COLOR_RED)); in onCreate()1168 mImageView.setLayoutParams(new LayoutParams( in onCreate()1170 setContentView(mImageView); in onCreate()1177 mImageView.setImageDrawable(new ColorDrawable(color)); in doRendering()