Home
last modified time | relevance | path

Searched defs:drawable (Results 1 – 25 of 32) sorted by relevance

12

/cts/tests/tests/text/src/android/text/style/cts/
DDrawableMarginSpanTest.java43 Drawable drawable = mContext.getResources().getDrawable(R.drawable.scenery); in testGetLeadingMargin() local
55 Drawable drawable = mContext.getResources().getDrawable(R.drawable.scenery); in testDrawLeadingMargin() local
97 Drawable drawable = mContext.getResources().getDrawable(R.drawable.scenery); in testChooseHeight() local
DImageSpanTest.java88 Drawable drawable = mContext.getResources().getDrawable(R.drawable.pass); in testGetDrawable() local
/cts/tests/tests/widget/src/android/widget/cts/
DImageViewTest.java199 Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetImageIcon() local
215 Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetImageResource() local
256 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetImageDrawable() local
303 PaintDrawable drawable = new PaintDrawable(); in testSetImageLevel() local
359 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testAccessBaseline() local
380 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetColorFilter1() local
395 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testClearColorFilter() local
410 final Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetColorFilter2() local
458 Drawable drawable = spy(mActivity.getDrawable(R.drawable.icon_red)); in testOnDraw() local
491 Drawable drawable = new ColorDrawable(0xFFFF0000); in testVerifyDrawable() local
[all …]
DToggleButtonTest.java100 StateListDrawable drawable = new StateListDrawable(); in testDrawableStateChanged() local
161 Drawable drawable = mContext.getResources().getDrawable(R.drawable.scenery); in testSetBackgroundDrawable() local
DImageSwitcherTest.java68 Drawable drawable = resources.getDrawable(R.drawable.scenery); in testSetImageResource() local
138 Drawable drawable = resources.getDrawable(R.drawable.scenery); in testSetImageDrawable() local
DCompoundButtonTest.java175 Drawable drawable = mResources.getDrawable(R.drawable.statelistdrawable); in testDrawableStateChanged() local
260 Drawable drawable; in testOnDraw() local
323 Drawable drawable = mContext.getResources().getDrawable(R.drawable.scenery); in testVerifyDrawable() local
DFrameLayoutTest.java270 Drawable drawable = mActivity.getResources().getDrawable(R.drawable.scenery); in testVerifyDrawable() local
305 private static void assertCenterAligned(View container, Drawable drawable) { in assertCenterAligned()
DToastTest.java182 Drawable drawable = mActivity.getResources().getDrawable(R.drawable.pass); in testAccessView() local
DExpandableListViewTest.java78 Drawable drawable = mContext.getResources().getDrawable(R.drawable.scenery); in testSetChildDivider() local
370 Drawable drawable = new BitmapDrawable(); in testSetGroupIndicator() local
DAbsSeekBarTest.java118 MockDrawable drawable = new MockDrawable(); in testDrawableStateChanged() local
DPopupWindowTest.java187 Drawable drawable = new ColorDrawable(); in testAccessBackground() local
1017 Drawable drawable = new ColorDrawable(); in testSetTouchInterceptor() local
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DRippleDrawableTest.java43 RippleDrawable drawable = in testAccessRadius() local
51 RippleDrawable drawable = in testRadiusAttr() local
DAnimatedVectorDrawableTest.java126 AnimatedVectorDrawable drawable = new AnimatedVectorDrawable(); in testInflate() local
397 public void onAnimationStart(Drawable drawable) { in onAnimationStart()
402 public void onAnimationEnd(Drawable drawable) { in onAnimationEnd()
DRotateDrawableTest.java147 Drawable drawable = mContext.getResources().getDrawable(R.drawable.pass); in testInvalidateDrawable() local
236 Drawable drawable = mContext.getResources().getDrawable(R.drawable.testimage); in testGetIntrinsicWidthAndHeight() local
DDrawableTest.java307 Drawable drawable = Drawable.createFromXml(mResources, parser); in testCreateFromXml() local
319 Drawable drawable = Drawable.createFromXml(mResources, parser, theme); in testCreateFromXmlThemed() local
333 Drawable drawable = Drawable.createFromXmlInner(mResources, parser, attrs); in testCreateFromXmlInner() local
349 Drawable drawable = Drawable.createFromXmlInner(mResources, parser, attrs, theme); in testCreateFromXmlInnerThemed() local
DAnimationDrawableTest.java215 Drawable drawable = mResources.getDrawable(R.drawable.testimage); in testGetFrame() local
DInsetDrawableTest.java415 public MockInsetDrawable(Drawable drawable, int inset) { in MockInsetDrawable()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodIconSamplerActivity.java63 Drawable drawable = getPackageManager().getUserBadgedIcon(getAppIcon(), userHandle); in sampleImage() local
/cts/tests/tests/preference2/src/android/preference2/cts/
DDialogPreferenceTest.java57 Drawable drawable = mDialogPreference.getDialogIcon(); in testGetDialogIcon() local
/cts/tests/tests/view/src/android/view/cts/
DViewOverlayTest.java205 final ColorDrawable drawable = new ColorDrawable(Color.RED); in testOverlayDynamicChangesToDrawable() local
DWindowTest.java922 public void setBackgroundDrawable(Drawable drawable) { in setBackgroundDrawable()
931 public void setFeatureDrawable(int featureId, Drawable drawable) { in setFeatureDrawable()
985 public void setChildDrawable(int featureId, Drawable drawable) { in setChildDrawable()
1039 public void setResizingCaptionDrawable(Drawable drawable) { in setResizingCaptionDrawable()
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java580 public void setBackgroundDrawable(Drawable drawable) { in setBackgroundDrawable()
584 public void setChildDrawable(int featureId, Drawable drawable) { in setChildDrawable()
604 public void setFeatureDrawable(int featureId, Drawable drawable) { in setFeatureDrawable()
698 public void setResizingCaptionDrawable(Drawable drawable) { in setResizingCaptionDrawable()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DBoxInsetLayout.java162 final Drawable drawable = getForeground(); in onMeasure() local
360 public void setForeground(Drawable drawable) { in setForeground()
/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtils.java136 public static void assertAllPixelsOfColor(String failMessagePrefix, @NonNull Drawable drawable, in assertAllPixelsOfColor()
/cts/tests/tests/animation/src/android/animation/cts/
DAnimationActivity.java246 ShapeDrawable drawable = new ShapeDrawable(circle); in addBall() local

12