/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableParameterizedTest.java | 125 final ImageView[] imageView = new ImageView[1]; in testAnimationOnLayer() local 128 imageView[0] = (ImageView) mActivity.findViewById(R.id.imageview); in testAnimationOnLayer() 130 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, imageView[0], in testAnimationOnLayer() 132 imageView[0].setImageDrawable( in testAnimationOnLayer() 134 imageView[0].setLayerType(mLayerType, null); in testAnimationOnLayer() 136 (AnimatedVectorDrawable) imageView[0].getDrawable(); in testAnimationOnLayer() 141 waitWhilePumpingFrames(5, imageView[0], 200); in testAnimationOnLayer() 146 imageView[0].getGlobalVisibleRect(srcRect); in testAnimationOnLayer() 182 AnimatedVectorDrawable avd = (AnimatedVectorDrawable) imageView[0].getDrawable(); in testAnimationOnLayer() 217 ImageView imageView = (ImageView) mActivity.findViewById(R.id.avd_view); in testSingleFrameAnimation() local [all …]
|
D | AnimatedVectorDrawableTest.java | 250 ImageView imageView = (ImageView) mActivity.findViewById(mImageViewId); in testAddCallbackBeforeStart() local 251 AnimatedVectorDrawable d1 = (AnimatedVectorDrawable) imageView.getDrawable(); in testAddCallbackBeforeStart() 268 ImageView imageView = (ImageView) mActivity.findViewById(mImageViewId); in testAddCallbackAfterTrigger() local 269 AnimatedVectorDrawable d1 = (AnimatedVectorDrawable) imageView.getDrawable(); in testAddCallbackAfterTrigger() 290 ImageView imageView = (ImageView) mActivity.findViewById(mImageViewId); in testAddCallbackAfterStart() local 291 AnimatedVectorDrawable d1 = (AnimatedVectorDrawable) imageView.getDrawable(); in testAddCallbackAfterStart() 310 ImageView imageView = (ImageView) mActivity.findViewById(mImageViewId); in testRemoveCallback() local 311 AnimatedVectorDrawable d1 = (AnimatedVectorDrawable) imageView.getDrawable(); in testRemoveCallback() 331 ImageView imageView = (ImageView) mActivity.findViewById(mImageViewId); in testClearCallback() local 332 AnimatedVectorDrawable d1 = (AnimatedVectorDrawable) imageView.getDrawable(); in testClearCallback()
|
D | AnimationDrawableTest.java | 84 ImageView imageView = (ImageView) activity.findViewById(R.id.imageview); in setup() 85 imageView.setBackgroundResource(R.drawable.animationdrawable); in setup() 86 mAnimationDrawable = (AnimationDrawable) imageView.getBackground(); in setup()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ImageViewTest.java | 164 ImageView imageView = new ImageView(mActivity); in testConstructorImportantForAutofill() local 165 assertEquals(View.IMPORTANT_FOR_AUTOFILL_NO, imageView.getImportantForAutofill()); in testConstructorImportantForAutofill() 166 assertFalse(imageView.isImportantForAutofill()); in testConstructorImportantForAutofill() 168 imageView = new ImageView(mActivity, null); in testConstructorImportantForAutofill() 169 assertEquals(View.IMPORTANT_FOR_AUTOFILL_NO, imageView.getImportantForAutofill()); in testConstructorImportantForAutofill() 170 assertFalse(imageView.isImportantForAutofill()); in testConstructorImportantForAutofill() 172 imageView = mActivity.findViewById(R.id.imageview_important_auto); in testConstructorImportantForAutofill() 173 assertEquals(View.IMPORTANT_FOR_AUTOFILL_NO, imageView.getImportantForAutofill()); in testConstructorImportantForAutofill() 174 assertFalse(imageView.isImportantForAutofill()); in testConstructorImportantForAutofill() 176 imageView = mActivity.findViewById(R.id.imageview_important_no); in testConstructorImportantForAutofill() [all …]
|
D | GridViewTest.java | 801 ImageView imageView; in getView() local 803 imageView = new ImageView(mContext); in getView() 805 imageView.setLayoutParams(new GridView.LayoutParams(layoutSize, layoutSize)); in getView() 806 imageView.setAdjustViewBounds(false); in getView() 807 imageView.setScaleType(ImageView.ScaleType.CENTER); in getView() 808 imageView.setPadding(0, 0, 0, 0); in getView() 810 imageView = (ImageView) convertView; in getView() 813 imageView.setImageResource(mThumbIds[position]); in getView() 815 return imageView; in getView()
|
D | ToastTest.java | 369 final ImageView imageView = new ImageView(mContext); in testAccessView_whenCustomToast() local 371 imageView.setImageDrawable(drawable); in testAccessView_whenCustomToast() 373 runOnMainAndDrawSync(imageView, () -> { in testAccessView_whenCustomToast() 374 mToast.setView(imageView); in testAccessView_whenCustomToast() 377 assertSame(imageView, mToast.getView()); in testAccessView_whenCustomToast() 378 assertCustomToastShownAndHidden(imageView); in testAccessView_whenCustomToast()
|
D | RemoteViewsTest.java | 1004 ImageView imageView = mResult.findViewById(R.id.remoteView_image); in testSetBlendMode() local 1008 assertEquals(BlendMode.PLUS, imageView.getImageTintBlendMode()); in testSetBlendMode() 1012 assertEquals(BlendMode.SRC_IN, imageView.getImageTintBlendMode()); in testSetBlendMode() 1016 assertNull(imageView.getImageTintBlendMode()); in testSetBlendMode()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | VectorDrawableScaleTest.java | 49 ImageView imageView = (ImageView) view.findViewById(R.id.imageview1); in setupImageViews() local 50 imageView.setImageResource(R.drawable.vector_icon_create); in setupImageViews() 51 imageView = (ImageView) view.findViewById(R.id.imageview2); in setupImageViews() 52 imageView.setImageResource(R.drawable.vector_icon_create); in setupImageViews()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_DefaultFocusHighlightTest.java | 119 final ImageView imageView = in testIsDefaultFocusHighlightNeeded() local 152 imageView.setImageDrawable(drawables[k]); in testIsDefaultFocusHighlightNeeded() 156 imageView.setDefaultFocusHighlightEnabled(true); in testIsDefaultFocusHighlightNeeded() 157 isNeeded = imageView.isDefaultFocusHighlightNeeded(drawables[i], drawables[j]); in testIsDefaultFocusHighlightNeeded() 161 imageView.setDefaultFocusHighlightEnabled(false); in testIsDefaultFocusHighlightNeeded() 162 isNeeded = imageView.isDefaultFocusHighlightNeeded(drawables[i], drawables[j]); in testIsDefaultFocusHighlightNeeded()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeImageTransformTest.java | 275 final ImageView imageView = enterImageViewScene(startScale, customImage, applyPadding); in transformImage() local 276 final List<Matrix> matrices = watchImageMatrix(imageView); in transformImage() 279 imageView.invalidate(); in transformImage() 288 imageView.getLayoutParams().height /= 2; in transformImage() 289 imageView.requestLayout(); in transformImage() 291 imageView.setScaleType(endScale); in transformImage() 292 imageView.invalidate(); in transformImage()
|
D | FadeTest.java | 149 ImageView imageView = (ImageView) view; in testFadeOutTransition() 150 BitmapDrawable bitmapDrawable = (BitmapDrawable) imageView.getDrawable(); in testFadeOutTransition()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodPresentMediaDialog.java | 139 ImageView imageView = (ImageView) dialog.findViewById(R.id.imageView); in onCreateDialog() local 140 imageView.setVisibility(View.VISIBLE); in onCreateDialog() 169 imageView.setImageBitmap(scaled); in onCreateDialog()
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | CtsBaseInputMethod.java | 99 final ImageView imageView = new ImageView(this); in createInputViewInternal() local 101 imageView.setImageBitmap(bitmap); in createInputViewInternal() 102 layout.addView(imageView, new FrameLayout.LayoutParams( in createInputViewInternal()
|
/cts/tests/tests/widget29/src/android/widget/cts29/ |
D | ToastTest.java | 205 final ImageView imageView = new ImageView(mContext); in testAccessView() local 207 imageView.setImageDrawable(drawable); in testAccessView() 209 runOnMainAndDrawSync(imageView, () -> { in testAccessView() 210 mToast.setView(imageView); in testAccessView() 213 assertSame(imageView, mToast.getView()); in testAccessView() 214 assertShowAndHide(imageView); in testAccessView()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/mtp/ |
D | MtpHostTestActivity.java | 428 final ImageView imageView = (ImageView) view.findViewById(R.id.status); 431 imageView.setImageResource(R.drawable.fs_good); 434 imageView.setImageResource(R.drawable.fs_error); 437 imageView.setImageResource(R.drawable.fs_indeterminate);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVRecordActivity.java | 230 ImageView imageView = (ImageView) findViewById(R.id.cam_overlay); in switchAxis() local 235 imageView.setImageResource(prompts[axis-1]); in switchAxis() 237 imageView.setRotation(90); in switchAxis() 243 imageView.setImageDrawable(null); in switchAxis()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 661 final ImageView imageView = new ImageView(getContext()); in KeyboardLayoutView() local 663 imageView.setImageBitmap(bitmap); in KeyboardLayoutView() 664 secondaryLayout.addView(imageView, in KeyboardLayoutView()
|
/cts/tests/tests/graphics/jni/ |
D | VulkanPreTransformTestHelpers.cpp | 376 for (auto& imageView : mImageViews) { in ~Renderer() local 377 vkDestroyImageView(mDeviceInfo->device(), imageView, nullptr); in ~Renderer()
|
D | VulkanTestHelpers.cpp | 1076 .imageView = view, in renderImageAndReadback()
|