Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DImageViewTest.java59 private ImageView mImageView; field in ImageViewTest
107 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 …]
/cts/tests/tests/media/src/android/media/cts/
DRemoteVirtualDisplayService.java170 private ImageView mImageView; field in RemoteVirtualDisplayService.VirtualDisplayPresentation.TestPresentation
183 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()
DEncodeVirtualDisplayWithCompositionTest.java1157 private ImageView mImageView; field in EncodeVirtualDisplayWithCompositionTest.TestPresentation
1166 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()