/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedImageDrawableTest.java | 127 Drawable drawable = ImageDecoder.decodeDrawable(source); in createFromImageDecoder() local 151 Drawable drawable = createFromImageDecoder(RES_ID); in testDecodeAnimatedImageDrawable() local 164 public void onAnimationStart(Drawable drawable) { in onAnimationStart() 171 public void onAnimationEnd(Drawable drawable) { in onAnimationEnd() 180 AnimatedImageDrawable drawable = createFromImageDecoder(R.drawable.animated); in testRegisterWithoutLooper() local 191 AnimatedImageDrawable drawable = createFromImageDecoder(R.drawable.animated); in testRegisterCallback() local 207 AnimatedImageDrawable drawable = createFromImageDecoder(R.drawable.animated); in testClearCallbacks() local 237 AnimatedImageDrawable drawable = createFromImageDecoder(R.drawable.animated); in testUnregisterCallback() local 260 AnimatedImageDrawable drawable = createFromImageDecoder(RES_ID); in testLifeCycle() local 294 AnimatedImageDrawable drawable = createFromImageDecoder(RES_ID); in testLifeCycleSoftware() local [all …]
|
D | RippleDrawableTest.java | 65 RippleDrawable drawable = in testAccessRadius() local 74 RippleDrawable drawable = in testRadiusAttr() local 92 RippleDrawable drawable = in testEffectColor() local 101 RippleDrawable drawable = in testEffectColorInflation() local
|
D | GradientDrawableTest.java | 467 GradientDrawable drawable = new GradientDrawable(); in testGradientPadding() local 481 GradientDrawable drawable = new GradientDrawable(); in testGradientThickness() local 511 GradientDrawable drawable = new GradientDrawable(); in testGradientThicknessRatio() local 521 GradientDrawable drawable = new GradientDrawable(); in testGradientInnerRadius() local 550 GradientDrawable drawable = new GradientDrawable(); in testGradientInnerRadiusRatio() local 690 GradientDrawable drawable = in testOpticalInsets() local 703 GradientDrawable drawable = (GradientDrawable) in testInflationWithThemeAndNonThemeResources() local 722 GradientDrawable drawable = (GradientDrawable) in testRadialInflationWithThemeAndNonThemeResources() local 784 GradientDrawable drawable = (GradientDrawable) in testGradientNoAngle() local 799 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 | 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/uirendering/src/android/uirendering/cts/testclasses/ |
D | AnimatedImageDrawableTest.kt | 85 class Client(val drawable: Drawable) : CanvasClient { in <lambda>() constant in android.uirendering.cts.testclasses.AnimatedImageDrawableTest.internalTestBoundsAndListener.Client 106 drawable, width, height -> in <lambda>() method 112 drawable, width, height -> in <lambda>() method 118 drawable, width, height -> in <lambda>() method 126 drawable, width, height -> in <lambda>() method 134 drawable, width, height -> in <lambda>() method 142 drawable, width, height -> in <lambda>() method 149 drawable, width, height -> in <lambda>() method 158 drawable, width, height -> in <lambda>() method 165 drawable, width, height -> in <lambda>() method [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ImageViewTest.java | 271 Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetImageIcon() local 287 Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetImageResource() local 326 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetImageDrawable() local 376 PaintDrawable drawable = new PaintDrawable(); in testSetImageLevel() local 431 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testAccessBaseline() local 451 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetColorFilter1() local 465 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetColorFilterTintBlendMode() local 479 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testClearColorFilter() local 493 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetColorFilter2() local 549 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 | 202 Drawable drawable = mActivity.getDrawable(R.drawable.statelistdrawable); in testDrawableStateChanged() local 317 Drawable drawable; in testOnDraw() local 382 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/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | LauncherAppsTest.java | 100 Drawable drawable = launcherApps.getShortcutIconDrawable(shortcuts.get(0), DENSITY_DEFAULT); in shortcutIconDrawable_currentToOtherProfile_withUsersFullPermission_isNotNull() local 120 Drawable drawable = launcherApps.getShortcutIconDrawable(shortcuts.get(0), DENSITY_DEFAULT); in shortcutIconDrawable_currentToOtherProfile_withoutUsersFullPermission_isNull() local
|
/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 | 614 public void setBackgroundDrawable(Drawable drawable) { in setBackgroundDrawable() 618 public void setChildDrawable(int featureId, Drawable drawable) { in setChildDrawable() 638 public void setFeatureDrawable(int featureId, Drawable drawable) { in setFeatureDrawable() 732 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/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 | 433 ColorDrawable drawable = new ColorDrawable(0); in testSetBackgroundDrawable() local 920 public void setBackgroundDrawable(Drawable drawable) { in setBackgroundDrawable() 929 public void setFeatureDrawable(int featureId, Drawable drawable) { in setFeatureDrawable() 983 public void setChildDrawable(int featureId, Drawable drawable) { in setChildDrawable() 1037 public void setResizingCaptionDrawable(Drawable drawable) { in setResizingCaptionDrawable()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ImageDecoderTest.java | 299 Drawable drawable = ImageDecoder.decodeDrawable(src); in testDecodeDrawable() local 612 Drawable drawable = ImageDecoder.decodeDrawable(src, l); in testPostProcessorOverridesNinepatch() local 746 Drawable drawable = ImageDecoder.decodeDrawable(src, (decoder, info, s) -> { in testPostProcessorAndScale() local 1007 Drawable drawable = ImageDecoder.decodeDrawable(src, (decoder, info, s) -> { in testOnPartialImage() local 1251 Drawable drawable = ImageDecoder.decodeDrawable(src, l); in testTargetSize() local 1267 Drawable drawable = ImageDecoder.decodeDrawable(src, l); in testTargetSize() local 1409 Drawable drawable = ImageDecoder.decodeDrawable(src, l); in testCrop() local 2174 Drawable drawable = ImageDecoder.decodeDrawable(src); in testOffsetByteArray() local 2207 Drawable drawable = ImageDecoder.decodeDrawable(src); in testResourceSource() local 2217 Drawable drawable = ImageDecoder.decodeDrawable(src); in decodeBitmapDrawable() local [all …]
|