Home
last modified time | relevance | path

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

12

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DRippleDrawableTest.java32 RippleDrawable drawable = in testAccessRadius() local
40 RippleDrawable drawable = in testRadiusAttr() local
DRotateDrawableTest.java93 Drawable drawable = mContext.getResources().getDrawable(R.drawable.pass); in testInvalidateDrawable() local
182 Drawable drawable = mContext.getResources().getDrawable(R.drawable.testimage); in testGetIntrinsicWidthAndHeight() local
DAnimatedVectorDrawableTest.java270 public void onAnimationStart(Drawable drawable) { in onAnimationStart()
275 public void onAnimationEnd(Drawable drawable) { in onAnimationEnd()
DAnimationDrawableTest.java201 Drawable drawable = mResources.getDrawable(R.drawable.testimage); in testGetFrame() local
DDrawableTest.java303 Drawable drawable = Drawable.createFromXml(mResources, parser); in testCreateFromXml() local
315 Drawable drawable = Drawable.createFromXmlInner(mResources, parser, attrs); in testCreateFromXmlInner() local
DInsetDrawableTest.java337 public MockInsetDrawable(Drawable drawable, int inset) { in MockInsetDrawable()
DClipDrawableTest.java338 public MockClipDrawable(Drawable drawable, int gravity, int orientation) { in MockClipDrawable()
/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.java186 Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetImageIcon() local
202 Drawable drawable = mActivity.getDrawable(R.drawable.testimage); in testSetImageResource() local
243 final Drawable drawable = mActivity.getResources().getDrawable(R.drawable.testimage); in testSetImageDrawable() local
290 PaintDrawable drawable = new PaintDrawable(); in testSetImageLevel() local
345 MockDrawable drawable = new MockDrawable(); in testSetColorFilter1() local
357 MockDrawable drawable = new MockDrawable(); in testClearColorFilter() local
369 MockDrawable drawable = new MockDrawable(); in testSetColorFilter2() local
382 MockDrawable drawable = new MockDrawable(); in testSetAlpha() local
395 MockDrawable drawable = new MockDrawable(); in testDrawableStateChanged() local
422 MockDrawable drawable = new MockDrawable(); in testOnDraw() local
[all …]
DToggleButtonTest.java101 Drawable drawable = resources.getDrawable(R.drawable.scenery); in testDrawableStateChanged() local
156 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.scenery); in testDrawableStateChanged() local
260 Drawable drawable; in testOnDraw() local
323 Drawable drawable = mContext.getResources().getDrawable(R.drawable.scenery); in testVerifyDrawable() local
DListPopupWindowTest.java75 Drawable drawable = new ColorDrawable(); in testAccessBackground() local
DFrameLayoutTest.java268 Drawable drawable = mActivity.getResources().getDrawable(R.drawable.scenery); in testVerifyDrawable() local
303 private static void assertCenterAligned(View container, Drawable drawable) { in assertCenterAligned()
DPopupWindowTest.java133 Drawable drawable = new ColorDrawable(); in testAccessBackground() local
781 Drawable drawable = new ColorDrawable(); in testSetTouchInterceptor() local
DToastTest.java182 Drawable drawable = mActivity.getResources().getDrawable(R.drawable.pass); in testAccessView() local
DAbsSeekBarTest.java101 MockDrawable drawable = new MockDrawable(); in testDrawableStateChanged() local
DExpandableListViewTest.java78 Drawable drawable = mContext.getResources().getDrawable(R.drawable.scenery); in testSetChildDivider() local
370 Drawable drawable = new BitmapDrawable(); in testSetGroupIndicator() local
/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/apps/CtsVerifier/src/android/support/wearable/view/
DBoxInsetLayout.java164 final Drawable drawable = getForeground(); in onMeasure() local
362 public void setForeground(Drawable drawable) { in setForeground()
/cts/tests/tests/app/src/android/app/cts/
DInstrumentationTest.java579 public void setBackgroundDrawable(Drawable drawable) { in setBackgroundDrawable()
583 public void setChildDrawable(int featureId, Drawable drawable) { in setChildDrawable()
603 public void setFeatureDrawable(int featureId, Drawable drawable) { in setFeatureDrawable()
/cts/tests/tests/view/src/android/view/cts/
DWindowTest.java916 public void setBackgroundDrawable(Drawable drawable) { in setBackgroundDrawable()
925 public void setFeatureDrawable(int featureId, Drawable drawable) { in setFeatureDrawable()
979 public void setChildDrawable(int featureId, Drawable drawable) { in setChildDrawable()
/cts/tests/tests/animation/src/android/animation/cts/
DAnimationActivity.java246 ShapeDrawable drawable = new ShapeDrawable(circle); in addBall() local

12