/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedImageDrawableTest.java | 124 Drawable drawable = ImageDecoder.decodeDrawable(source); in createFromImageDecoder() local 135 Drawable drawable = createFromImageDecoder(RES_ID); in testDecodeAnimatedImageDrawable() local 148 public void onAnimationStart(Drawable drawable) { in onAnimationStart() 155 public void onAnimationEnd(Drawable drawable) { in onAnimationEnd() 164 AnimatedImageDrawable drawable = createFromImageDecoder(R.drawable.animated); in testRegisterWithoutLooper() local 174 AnimatedImageDrawable drawable = createFromImageDecoder(R.drawable.animated); in testRegisterCallback() local 189 AnimatedImageDrawable drawable = createFromImageDecoder(R.drawable.animated); in testClearCallbacks() local 223 private void setContentView(AnimatedImageDrawable drawable) { in setContentView() 231 AnimatedImageDrawable drawable = createFromImageDecoder(R.drawable.animated); in testUnregisterCallback() local 253 AnimatedImageDrawable drawable = createFromImageDecoder(RES_ID); in testLifeCycle() local [all …]
|
D | GradientDrawableTest.java | 464 GradientDrawable drawable = new GradientDrawable(); in testGradientPadding() local 478 GradientDrawable drawable = new GradientDrawable(); in testGradientThickness() local 508 GradientDrawable drawable = new GradientDrawable(); in testGradientThicknessRatio() local 518 GradientDrawable drawable = new GradientDrawable(); in testGradientInnerRadius() local 547 GradientDrawable drawable = new GradientDrawable(); in testGradientInnerRadiusRatio() local 687 GradientDrawable drawable = in testOpticalInsets() local 700 GradientDrawable drawable = (GradientDrawable) in testInflationWithThemeAndNonThemeResources() local 719 GradientDrawable drawable = (GradientDrawable) in testRadialInflationWithThemeAndNonThemeResources() local 748 GradientDrawable drawable = (GradientDrawable) in testGradientNegativeAngle() local 755 GradientDrawable drawable = new GradientDrawable(Orientation.TOP_BOTTOM, null); in testGradientDrawableOrientationConstructor() local [all …]
|
D | Animatable2Callback.java | 69 public void onAnimationStart(Drawable drawable) { in onAnimationStart() 79 public void onAnimationEnd(Drawable drawable) { in onAnimationEnd()
|
D | RippleDrawableTest.java | 64 RippleDrawable drawable = in testAccessRadius() local 73 RippleDrawable drawable = in testRadiusAttr() local
|
D | RotateDrawableTest.java | 179 Drawable drawable = mResources.getDrawable(R.drawable.pass); in testInvalidateDrawable() local 264 Drawable drawable = mResources.getDrawable(R.drawable.testimage); in testGetIntrinsicWidthAndHeight() local
|
D | VectorDrawableSizeTest.java | 71 VectorDrawable drawable = (VectorDrawable) mResources.getDrawable(mResId, null); in testVectorDrawableSize() local
|
D | InsetDrawableTest.java | 463 InsetDrawable drawable = new InsetDrawable(mPassDrawable, 1, 2, 3, 4); in testOpticalInsets() local 515 public MockInsetDrawable(Drawable drawable, float inset) { in MockInsetDrawable() 519 public MockInsetDrawable(Drawable drawable, int inset) { in MockInsetDrawable()
|
D | DrawableTest.java | 392 Drawable drawable = Drawable.createFromStream(is, null); in testImageIntrinsicScaledForDensity() local 406 Drawable drawable = Drawable.createFromResourceStream( in testImageIntrinsicScaledForDensityWithBitmapOptions() local 420 Drawable drawable = Drawable.createFromXml(mResources, parser); in testCreateFromXml() local 433 Drawable drawable = Drawable.createFromXml(mResources, parser, theme); in testCreateFromXmlThemed() local 448 Drawable drawable = Drawable.createFromXmlInner(mResources, parser, attrs); in testCreateFromXmlInner() local 465 Drawable drawable = Drawable.createFromXmlInner(mResources, parser, attrs, theme); in testCreateFromXmlInnerThemed() local
|
D | AnimatedVectorDrawableTest.java | 97 AnimatedVectorDrawable drawable = new AnimatedVectorDrawable(); in testInflate() local 117 AnimatedVectorDrawable drawable = new AnimatedVectorDrawable(); in testGetOpticalInsets() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ImageViewTest.java | 217 Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetImageIcon() local 233 Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetImageResource() local 272 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetImageDrawable() local 322 PaintDrawable drawable = new PaintDrawable(); in testSetImageLevel() local 377 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testAccessBaseline() local 397 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetColorFilter1() local 411 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetColorFilterTintBlendMode() local 425 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testClearColorFilter() local 439 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetColorFilter2() local 495 Drawable drawable = spy(mActivity.getDrawable(R.drawable.icon_red)); in testOnDraw() local [all …]
|
D | ImageSwitcherTest.java | 98 Drawable drawable = resources.getDrawable(R.drawable.scenery); in testSetImageResource() local 169 Drawable drawable = resources.getDrawable(R.drawable.scenery); in testSetImageDrawable() local
|
D | ToggleButtonTest.java | 130 final StateListDrawable drawable = new StateListDrawable(); in testDrawableStateChanged() local 201 final Drawable drawable = mActivity.getDrawable(R.drawable.scenery); in testSetBackgroundDrawable() local
|
D | CompoundButtonTest.java | 200 Drawable drawable = mActivity.getDrawable(R.drawable.statelistdrawable); in testDrawableStateChanged() local 282 Drawable drawable; in testOnDraw() local 347 Drawable drawable = mActivity.getDrawable(R.drawable.scenery); in testVerifyDrawable() local
|
D | FrameLayoutTest.java | 266 Drawable drawable = mActivity.getResources().getDrawable(R.drawable.scenery); in testVerifyDrawable() local 310 private static void assertCenterAligned(View container, Drawable drawable) { in assertCenterAligned()
|
/cts/tests/app/src/android/app/cts/ |
D | WallpaperColorsTest.java | 94 ColorDrawable drawable = new ColorDrawable(Color.GREEN); in fromDrawableTest() local 104 ColorDrawable drawable = new ColorDrawable(Color.GREEN); in fromDrawableDoesntMutateBounds() local
|
D | InstrumentationTest.java | 627 public void setBackgroundDrawable(Drawable drawable) { in setBackgroundDrawable() 631 public void setChildDrawable(int featureId, Drawable drawable) { in setChildDrawable() 651 public void setFeatureDrawable(int featureId, Drawable drawable) { in setFeatureDrawable() 745 public void setResizingCaptionDrawable(Drawable drawable) { in setResizingCaptionDrawable()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodIconSamplerActivity.java | 63 Drawable drawable = getPackageManager().getUserBadgedIcon(getAppIcon(), userHandle); in sampleImage() local
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | SharedElementCallbackTest.java | 68 Drawable drawable = finalView.getDrawable(); in testSnapshot() local
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | ImageSpanTest.java | 114 Drawable drawable = mContext.getDrawable(R.drawable.pass); in testGetDrawable() local
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | DialogPreferenceTest.java | 55 Drawable drawable = mDialogPreference.getDialogIcon(); in testGetDialogIcon() local
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ImageDecoderTest.java | 292 Drawable drawable = ImageDecoder.decodeDrawable(src); in testDecodeDrawable() local 587 Drawable drawable = ImageDecoder.decodeDrawable(src, l); in testPostProcessorOverridesNinepatch() local 722 Drawable drawable = ImageDecoder.decodeDrawable(src, (decoder, info, s) -> { in testPostProcessorAndScale() local 981 Drawable drawable = ImageDecoder.decodeDrawable(src, (decoder, info, s) -> { in testOnPartialImage() local 1230 Drawable drawable = ImageDecoder.decodeDrawable(src, l); in testTargetSize() local 1248 Drawable drawable = ImageDecoder.decodeDrawable(src, l); in testTargetSize() local 1393 Drawable drawable = ImageDecoder.decodeDrawable(src, l); in testCrop() local 1942 Drawable drawable = ImageDecoder.decodeDrawable( in testZeroLengthByteBuffer() local 2025 Drawable drawable = ImageDecoder.decodeDrawable(src); in testOffsetByteArray() local 2041 Drawable drawable = ImageDecoder.decodeDrawable(src); in testResourceSource() local [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewOverlayTest.java | 211 final ColorDrawable drawable = new ColorDrawable(Color.RED); in testOverlayDynamicChangesToDrawable() local
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowTest.java | 426 ColorDrawable drawable = new ColorDrawable(0); in testSetBackgroundDrawable() local 858 public void setBackgroundDrawable(Drawable drawable) { in setBackgroundDrawable() 867 public void setFeatureDrawable(int featureId, Drawable drawable) { in setFeatureDrawable() 921 public void setChildDrawable(int featureId, Drawable drawable) { in setChildDrawable() 975 public void setResizingCaptionDrawable(Drawable drawable) { in setResizingCaptionDrawable()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageItemInfoIconTest.java | 175 private Bitmap drawableToBitmap(Drawable drawable) { in drawableToBitmap()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | BoxInsetLayout.java | 162 final Drawable drawable = getForeground(); in onMeasure() local 360 public void setForeground(Drawable drawable) { in setForeground()
|