Home
last modified time | relevance | path

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

/cts/tests/tests/transition/src/android/transition/cts/
DChangeImageTransformTest.java60 ImageView mImageView; field in ChangeImageTransformTest
70 mImageView = null; in setup()
129 assertEquals(mImage.getBounds().width(), mImageView.getWidth() in testNullAnimatorKeepsImagePadding()
130 - mImageView.getPaddingLeft() - mImageView.getPaddingRight()); in testNullAnimatorKeepsImagePadding()
131 assertEquals(mImage.getBounds().height(), mImageView.getHeight() in testNullAnimatorKeepsImagePadding()
132 - mImageView.getPaddingTop() - mImageView.getPaddingBottom()); in testNullAnimatorKeepsImagePadding()
137 int imageViewWidth = mImageView.getWidth(); in centerMatrix()
141 int imageViewHeight = mImageView.getHeight(); in centerMatrix()
151 int imageViewWidth = mImageView.getWidth(); in fitXYMatrix()
155 int imageViewHeight = mImageView.getHeight(); in fitXYMatrix()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DRemoteVirtualDisplayService.java170 private ImageView mImageView; field in RemoteVirtualDisplayService.VirtualDisplayPresentation.TestPresentation
182 mImageView = new ImageView(getContext()); in onCreate()
183 mImageView.setImageDrawable(new ColorDrawable(0)); in onCreate()
184 mImageView.setLayoutParams(new LayoutParams( in onCreate()
186 setContentView(mImageView); in onCreate()
190 mImageView.setImageDrawable(new ColorDrawable(color)); in doRendering()
DEncodeVirtualDisplayWithCompositionTestImpl.java1223 private ImageView mImageView; field in EncodeVirtualDisplayWithCompositionTestImpl.TestPresentation
1232 mImageView = new ImageView(getContext()); in onCreate()
1233 mImageView.setImageDrawable(new ColorDrawable(COLOR_RED)); in onCreate()
1234 mImageView.setLayoutParams(new LayoutParams( in onCreate()
1236 setContentView(mImageView); in onCreate()
1243 mImageView.setImageDrawable(new ColorDrawable(color)); in doRendering()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedImageDrawableTest.java71 private ImageView mImageView; field in AnimatedImageDrawableTest
96 mImageView = mActivity.findViewById(R.id.animated_image); in setupActivity()
240 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mImageView, () -> { in testUnregisterCallback()
241 mImageView.setImageDrawable(drawable); in testUnregisterCallback()
266 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mImageView, () -> { in testLifeCycle()
267 mImageView.setImageDrawable(drawable); in testLifeCycle()
276 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mImageView, () -> { in testLifeCycle()
343 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mImageView, () -> { in testAddCallbackAfterStart()
344 mImageView.setImageDrawable(drawable); in testAddCallbackAfterStart()
364 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mImageView, () -> { in testStop()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java107 private ImageView mImageView; field in CameraBokehActivity
214 mImageView = (ImageView) findViewById(R.id.image_view); in onCreate()
545 mImageView.setColorFilter(mCurrentColorFilter); in onImageAvailable()
549 mImageView.clearColorFilter(); in onImageAvailable()
551 mImageView.setImageBitmap(bitmap); in onImageAvailable()