Home
last modified time | relevance | path

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

/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/graphics/src/android/graphics/drawable/cts/
DGradientDrawableTest.java469 GradientDrawable d3 = (GradientDrawable) resources.getDrawable(R.drawable.gradientdrawable); in testMutate() local
476 assertEquals(10, d3.getIntrinsicHeight()); in testMutate()
477 assertEquals(10, d3.getIntrinsicWidth()); in testMutate()
485 assertEquals(10, d3.getIntrinsicHeight()); in testMutate()
486 assertEquals(10, d3.getIntrinsicWidth()); in testMutate()
493 assertEquals(50, d3.getIntrinsicHeight()); in testMutate()
494 assertEquals(40, d3.getIntrinsicWidth()); in testMutate()
DRotateDrawableTest.java269 RotateDrawable d3 = (RotateDrawable) resources.getDrawable(R.drawable.rotatedrawable); in testMutate() local
274 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate()
280 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate()
285 assertEquals(50, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate()
DVectorDrawableTest.java382 VectorDrawable d3 = (VectorDrawable) resources.getDrawable(R.drawable.vector_icon_create); in testMutate() local
388 assertEquals(0x80, d3.getAlpha()); in testMutate()
394 assertEquals(0x80, d3.getAlpha()); in testMutate()
404 assertEquals(0x00, d3.getAlpha()); in testMutate()
406 d3.setAlpha(originalAlpha); in testMutate()
DAnimatedVectorDrawableTest.java211 AnimatedVectorDrawable d3 = (AnimatedVectorDrawable) mResources.getDrawable(mResId); in testMutate() local
221 assertEquals(originalAlpha, d3.getAlpha()); in testMutate()
227 assertEquals(originalAlpha, d3.getAlpha()); in testMutate()
232 assertEquals(originalAlpha, d3.getAlpha()); in testMutate()
DLevelListDrawableTest.java172 LevelListDrawable d3 = in testMutate() local
179 assertEquals(2, ((DrawableContainerState) d3.getConstantState()).getChildCount()); in testMutate()
DScaleDrawableTest.java472 ScaleDrawable d3 = (ScaleDrawable) mContext.getDrawable(R.drawable.scaledrawable); in testMutate() local
477 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate()
483 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate()
488 assertEquals(50, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate()
DBitmapDrawableTest.java486 BitmapDrawable d3 = (BitmapDrawable) resources.getDrawable(R.drawable.testimage); in testMutate() local
491 assertEquals(100, d3.getPaint().getAlpha()); in testMutate()
497 assertEquals(100, d3.getPaint().getAlpha()); in testMutate()
501 assertEquals(50, d3.getPaint().getAlpha()); in testMutate()
DStateListDrawableTest.java307 StateListDrawable d3 = in testMutate() local
314 assertEquals(255, ((BitmapDrawable) d3.getCurrent()).getPaint().getAlpha()); in testMutate()
DLayerDrawableTest.java1662 LayerDrawable d3 = (LayerDrawable) mContext.getDrawable(R.drawable.layerdrawable); in testMutate() local
1669 assertEquals(100, ((BitmapDrawable) d3.getDrawable(0)).getPaint().getAlpha()); in testMutate()
1678 assertEquals(100, ((BitmapDrawable) d3.getDrawable(0)).getPaint().getAlpha()); in testMutate()
1679 assertEquals(100, ((BitmapDrawable) d3.getDrawable(0)).getPaint().getAlpha()); in testMutate()
1686 assertEquals(50, ((BitmapDrawable) d3.getDrawable(0)).getPaint().getAlpha()); in testMutate()
1687 assertEquals(50, ((BitmapDrawable) d3.getDrawable(0)).getPaint().getAlpha()); in testMutate()
DNinePatchDrawableTest.java365 NinePatchDrawable d3 = in testMutate() local
372 assertTrue(d3.getPaint().isDither()); in testMutate()
/cts/tests/tests/widget/src/android/widget/cts/
DProgressBarTest.java441 Drawable d3 = mContext.getResources().getDrawable(R.drawable.yellow); in testVerifyDrawable() local
447 assertFalse(mockProgressBar.verifyDrawable(d3)); in testVerifyDrawable()
453 assertFalse(mockProgressBar.verifyDrawable(d3)); in testVerifyDrawable()
455 mockProgressBar.setProgressDrawable(d3); in testVerifyDrawable()
459 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…