Home
last modified time | relevance | path

Searched refs:d3 (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DGradientDrawableTest.java296 GradientDrawable d3 = (GradientDrawable) resources.getDrawable(R.drawable.gradientdrawable); in testMutate() local
303 assertEquals(10, d3.getIntrinsicHeight()); in testMutate()
304 assertEquals(10, d3.getIntrinsicWidth()); in testMutate()
312 assertEquals(10, d3.getIntrinsicHeight()); in testMutate()
313 assertEquals(10, d3.getIntrinsicWidth()); in testMutate()
320 assertEquals(50, d3.getIntrinsicHeight()); in testMutate()
321 assertEquals(40, d3.getIntrinsicWidth()); in testMutate()
DAnimatedVectorDrawableTest.java169 AnimatedVectorDrawable d3 = (AnimatedVectorDrawable) mResources.getDrawable(mResId); in testMutate() local
179 assertEquals(originalAlpha, d3.getAlpha()); in testMutate()
185 assertEquals(originalAlpha, d3.getAlpha()); in testMutate()
190 assertEquals(originalAlpha, d3.getAlpha()); in testMutate()
DRotateDrawableTest.java215 RotateDrawable d3 = (RotateDrawable) resources.getDrawable(R.drawable.rotatedrawable); in testMutate() local
220 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate()
226 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate()
231 assertEquals(50, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate()
DVectorDrawableTest.java273 VectorDrawable d3 = (VectorDrawable) resources.getDrawable(R.drawable.vector_icon_create); in testMutate() local
279 assertEquals(0x80, d3.getAlpha()); in testMutate()
285 assertEquals(0x80, d3.getAlpha()); in testMutate()
290 assertEquals(0x20, d3.getAlpha()); in testMutate()
DLevelListDrawableTest.java172 LevelListDrawable d3 = in testMutate() local
179 assertEquals(2, ((DrawableContainerState) d3.getConstantState()).getChildCount()); in testMutate()
DScaleDrawableTest.java449 ScaleDrawable d3 = (ScaleDrawable) mContext.getDrawable(R.drawable.scaledrawable); in testMutate() local
454 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate()
460 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate()
465 assertEquals(50, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate()
DBitmapDrawableTest.java426 BitmapDrawable d3 = (BitmapDrawable) resources.getDrawable(R.drawable.testimage); in testMutate() local
431 assertEquals(100, d3.getPaint().getAlpha()); in testMutate()
437 assertEquals(100, d3.getPaint().getAlpha()); in testMutate()
441 assertEquals(50, d3.getPaint().getAlpha()); in testMutate()
DStateListDrawableTest.java231 StateListDrawable d3 = in testMutate() local
238 assertEquals(255, ((BitmapDrawable) d3.getCurrent()).getPaint().getAlpha()); in testMutate()
DNinePatchDrawableTest.java341 NinePatchDrawable d3 = in testMutate() local
348 assertTrue(d3.getPaint().isDither()); in testMutate()
DLayerDrawableTest.java1559 LayerDrawable d3 = (LayerDrawable) mContext.getDrawable(R.drawable.layerdrawable); in testMutate() local
1566 assertEquals(100, ((BitmapDrawable) d3.getDrawable(0)).getPaint().getAlpha()); in testMutate()
1575 assertEquals(100, ((BitmapDrawable) d3.getDrawable(0)).getPaint().getAlpha()); in testMutate()
1576 assertEquals(100, ((BitmapDrawable) d3.getDrawable(0)).getPaint().getAlpha()); in testMutate()
1583 assertEquals(50, ((BitmapDrawable) d3.getDrawable(0)).getPaint().getAlpha()); in testMutate()
1584 assertEquals(50, ((BitmapDrawable) d3.getDrawable(0)).getPaint().getAlpha()); in testMutate()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dvector.rs9 double3 d3 = { 1.0, 2.0, 3.0 };
64 _RS_ASSERT(d3.x == 2.99);
65 _RS_ASSERT(d3.y == 3.99);
66 _RS_ASSERT(d3.z == 4.99);
DComputeTest.java85 Double3 d3 = new Double3(); in testJavaVectorTypes() local
86 d3.x = 1.0; in testJavaVectorTypes()
87 d3.y = 2.0; in testJavaVectorTypes()
88 d3.z = 3.0; in testJavaVectorTypes()
89 d3 = new Double3(1.0, 2.0, 3.0); in testJavaVectorTypes()
90 assertTrue(d3.x == 1.0); in testJavaVectorTypes()
91 assertTrue(d3.y == 2.0); in testJavaVectorTypes()
92 assertTrue(d3.z == 3.0); in testJavaVectorTypes()
/cts/tests/tests/widget/src/android/widget/cts/
DProgressBarTest.java451 Drawable d3 = mContext.getResources().getDrawable(R.drawable.yellow); in testVerifyDrawable() local
457 assertFalse(mockProgressBar.verifyDrawable(d3)); in testVerifyDrawable()
463 assertFalse(mockProgressBar.verifyDrawable(d3)); in testVerifyDrawable()
465 mockProgressBar.setProgressDrawable(d3); in testVerifyDrawable()
469 assertTrue(mockProgressBar.verifyDrawable(d3)); in testVerifyDrawable()
/cts/tests/tests/media/assets/
DfileSequence0.ts2717 }�o�t���%Ht��k�H,%�P����2�3��O��{�Bݶ�ܕ�C=�I?��G�������v���ͽ�vd3�̾��F?k� 'co�y�C{�-� …
Dsegment000000.ts2565 …! ���O/}���e�ʨ��_��_�5(�DN�P��V{ס���4�@�q� �S(5aV�@|]�f�{���� m��P��d3�1(�D���Z��wu�N…