Home
last modified time | relevance | path

Searched refs:dr (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerTest.java59 MockDrawable dr = new MockDrawable(); in testDraw() local
60 addAndSelectDrawable(dr); in testDraw()
62 dr.reset(); in testDraw()
64 assertTrue(dr.hasDrawCalled()); in testDraw()
66 dr.reset(); in testDraw()
68 assertTrue(dr.hasDrawCalled()); in testDraw()
151 MockDrawable dr = new MockDrawable(); in testSetAlpha() local
152 addAndSelectDrawable(dr); in testSetAlpha()
155 dr.reset(); in testSetAlpha()
157 assertTrue(dr.hasSetAlphaCalled()); in testSetAlpha()
[all …]
DAnimationDrawableTest.java282 AnimationDrawable dr = new AnimationDrawable(); in testInflateCorrect() local
283 dr.inflate(mResources, parser, Xml.asAttributeSet(parser)); in testInflateCorrect()
285 assertFalse(dr.isVisible()); in testInflateCorrect()
287 assertTrue(dr.isOneShot()); in testInflateCorrect()
290 (DrawableContainerState) dr.getConstantState(); in testInflateCorrect()
292 assertEquals(2, dr.getNumberOfFrames()); in testInflateCorrect()
293 assertEquals(2000, dr.getDuration(0)); in testInflateCorrect()
294 assertEquals(1000, dr.getDuration(1)); in testInflateCorrect()
295 assertSame(dr.getFrame(0), dr.getCurrent()); in testInflateCorrect()
300 AnimationDrawable dr = new AnimationDrawable(); in testInflateMissingDrawable() local
[all …]
DClipDrawableTest.java131 MockDrawable dr; in testGetOpacity() local
134 dr = new MockDrawable(); in testGetOpacity()
135 dr.setOpacity(PixelFormat.OPAQUE); in testGetOpacity()
136 clipDrawable = new ClipDrawable(dr, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetOpacity()
147 dr = new MockDrawable(); in testGetOpacity()
148 dr.setOpacity(PixelFormat.TRANSLUCENT); in testGetOpacity()
149 clipDrawable = new ClipDrawable(dr, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetOpacity()
DDrawableWrapperTest.java37 public MyWrapper(Drawable dr) { in MyWrapper() argument
38 super(dr); in MyWrapper()
/cts/hostsidetests/theme/src/android/theme/cts/
DComparisonTask.java92 final int dr = (p1 & 0x000000FF) - (p2 & 0x000000FF); in compare() local
99 Math.abs(dr) > threshold || in compare()
/cts/tests/tests/widget/src/android/widget/cts/
DImageViewTest.java538 protected boolean verifyDrawable(Drawable dr) { in verifyDrawable() argument
539 return super.verifyDrawable(dr); in verifyDrawable()
/cts/tests/tests/media/assets/
DfileSequence1.ts3431 �K�G���dr���q������� ���A��� ld4�&41���;Ld�.�_�0L�t;8�"��
Dsegment000001.ts282 �6�*�Qldr
/cts/tests/tests/media/res/raw/
Dtestmp3_3.raw1 …BEYEG7fCiACAACAMyWb8CSTUCK4CmOcSelCEv7/6cKl6ixuCpLoFC93URXoYeL2830PTPX0Pb1+dr/t6v/5v26V56v1k40jQc/…