/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | GradientDrawableTest.java | 295 GradientDrawable d2 = (GradientDrawable) resources.getDrawable(R.drawable.gradientdrawable); in testMutate() local 301 assertEquals(10, d2.getIntrinsicHeight()); in testMutate() 302 assertEquals(10, d2.getIntrinsicWidth()); in testMutate() 310 assertEquals(10, d2.getIntrinsicHeight()); in testMutate() 311 assertEquals(10, d2.getIntrinsicWidth()); in testMutate() 315 d2.setSize(40, 50); in testMutate() 318 assertEquals(50, d2.getIntrinsicHeight()); in testMutate() 319 assertEquals(40, d2.getIntrinsicWidth()); in testMutate()
|
D | AnimatedVectorDrawableTest.java | 168 AnimatedVectorDrawable d2 = (AnimatedVectorDrawable) mResources.getDrawable(mResId); in testMutate() local 170 int originalAlpha = d2.getAlpha(); in testMutate() 178 assertEquals(originalAlpha, d2.getAlpha()); in testMutate() 184 assertEquals(originalAlpha, d2.getAlpha()); in testMutate() 187 d2.setAlpha(0x20); in testMutate() 189 assertEquals(0x20, d2.getAlpha()); in testMutate()
|
D | VectorDrawableTest.java | 272 VectorDrawable d2 = (VectorDrawable) resources.getDrawable(R.drawable.vector_icon_create); in testMutate() local 274 int originalAlpha = d2.getAlpha(); in testMutate() 278 assertEquals(0x80, d2.getAlpha()); in testMutate() 284 assertEquals(0x80, d2.getAlpha()); in testMutate() 287 d2.setAlpha(0x20); in testMutate() 289 assertEquals(0x20, d2.getAlpha()); in testMutate() 292 d2.setAlpha(originalAlpha); in testMutate()
|
D | RotateDrawableTest.java | 214 RotateDrawable d2 = (RotateDrawable) resources.getDrawable(R.drawable.rotatedrawable); in testMutate() local 219 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 225 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 228 d2.setAlpha(50); in testMutate() 230 assertEquals(50, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate()
|
D | ScaleDrawableTest.java | 448 ScaleDrawable d2 = (ScaleDrawable) mContext.getDrawable(R.drawable.scaledrawable); in testMutate() local 453 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 459 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 462 d2.setAlpha(50); in testMutate() 464 assertEquals(50, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate()
|
D | BitmapDrawableTest.java | 425 BitmapDrawable d2 = (BitmapDrawable) resources.getDrawable(R.drawable.testimage); in testMutate() local 430 assertEquals(100, d2.getPaint().getAlpha()); in testMutate() 436 assertEquals(100, d2.getPaint().getAlpha()); in testMutate() 438 d2.setAlpha(50); in testMutate() 440 assertEquals(50, d2.getPaint().getAlpha()); in testMutate()
|
D | LevelListDrawableTest.java | 170 LevelListDrawable d2 = in testMutate() local 178 assertEquals(2, ((DrawableContainerState) d2.getConstantState()).getChildCount()); in testMutate()
|
D | LayerDrawableTest.java | 217 Drawable d2 = new BitmapDrawable(); in testAccessDrawable() local 219 layerDrawable.setDrawableByLayerId(20, d2); in testAccessDrawable() 221 assertEquals(d2, layerDrawable.getDrawable(1)); in testAccessDrawable() 1558 LayerDrawable d2 = (LayerDrawable) mContext.getDrawable(R.drawable.layerdrawable); in testMutate() local 1564 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1565 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1567 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1573 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1574 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1578 d2.setAlpha(50); in testMutate() [all …]
|
D | StateListDrawableTest.java | 229 StateListDrawable d2 = in testMutate() local 237 assertEquals(255, ((BitmapDrawable) d2.getCurrent()).getPaint().getAlpha()); in testMutate()
|
D | NinePatchDrawableTest.java | 339 NinePatchDrawable d2 = in testMutate() local 347 assertTrue(d2.getPaint().isDither()); in testMutate()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ComponentInfoTest.java | 78 Drawable d2 = null; in testLoadIcon() local 85 d2 = mComponentInfo.loadIcon(pm); in testLoadIcon() 86 assertNotNull(d2); in testLoadIcon() 87 assertNotSame(d, d2); in testLoadIcon() 89 ((BitmapDrawable) d2).getBitmap()); in testLoadIcon()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | vector.rs | 8 double2 d2 = { 1.0, 2.0 }; 61 _RS_ASSERT(d2.x == 2.99); 62 _RS_ASSERT(d2.y == 3.99);
|
D | ComputeTest.java | 79 Double2 d2 = new Double2(); in testJavaVectorTypes() local 80 d2.x = 1.0; in testJavaVectorTypes() 81 d2.y = 2.0; in testJavaVectorTypes() 82 d2 = new Double2(1.0, 2.0); in testJavaVectorTypes() 83 assertTrue(d2.x == 1.0); in testJavaVectorTypes() 84 assertTrue(d2.y == 2.0); in testJavaVectorTypes()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ProgressBarTest.java | 450 Drawable d2 = mContext.getResources().getDrawable(R.drawable.red); in testVerifyDrawable() local 456 assertFalse(mockProgressBar.verifyDrawable(d2)); in testVerifyDrawable() 459 mockProgressBar.setIndeterminateDrawable(d2); in testVerifyDrawable() 462 assertTrue(mockProgressBar.verifyDrawable(d2)); in testVerifyDrawable() 468 assertTrue(mockProgressBar.verifyDrawable(d2)); in testVerifyDrawable()
|
/cts/suite/cts/deviceTests/opengl/test/ |
D | MatrixTest.cpp | 115 float* d2 = m2.mData; in TEST() local 124 d2[i] = i; in TEST()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BundleTest.java | 319 final double d2 = 10.07; in testGetDouble2() local 322 mBundle.putDouble(KEY, d2); in testGetDouble2() 323 assertEquals(d2, mBundle.getDouble(KEY, d1)); in testGetDouble2() 325 assertEquals(d2, mBundle.getDouble(KEY, d1)); in testGetDouble2()
|
D | ParcelTest.java | 69 int d2; in testAppendFrom() local 75 d2 = p.dataPosition(); in testAppendFrom() 77 p2.appendFrom(p, d1, d2 - d1); in testAppendFrom() 233 byte[] d2 = new byte[c.length]; in testMarshall() 234 p2.readByteArray(d2); in testMarshall() 237 assertEquals(c[i], d2[i]); in testMarshall()
|
/cts/tests/tests/security/res/raw/ |
D | openssl_heartbleed_test_cert.pem | 75 1e:b8:0e:d9:a7:3c:e6:ac:d2:3e:f7:c6:36:32:87:17:f4:b7:
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 459 Drawable d2 = mResources.getDrawable(R.drawable.pass); in testAccessBackground() local 466 view.setBackgroundDrawable(d2); in testAccessBackground() 467 assertEquals(d2, view.getBackground()); in testAccessBackground() 516 Drawable d2 = mResources.getDrawable(R.drawable.pass); in testVerifyDrawable() local 524 assertFalse(view.verifyDrawable(d2)); in testVerifyDrawable() 2435 final Drawable d2 = mResources.getDrawable(R.drawable.pass); in testInvalidateDrawable() local 2455 view.invalidateDrawable(d2); in testInvalidateDrawable()
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | crypto.js | 473 var d1 = BI_FV/yt, d2 = (1<<BI_F1)/yt, e = 1<<BI_F2; 487 var qd = (r_array[--i]==y0)?BI_DM:Math.floor(r_array[i]*d1+(r_array[i-1]+e)*d2);
|
/cts/tests/tests/media/assets/ |
D | fileSequence1.ts | 2770 ju�<��4��P�Z%��t˂��%D8mK�e�0��+��O\�a!��s�t�2��d2�ɞ����݁�
|
D | segment000001.ts | 2432 …'?����Ў��Z�"T�6�}�+Vp�?�X1�%��X��5�y��ͮ�*�eb ���䛟���K�&�o��>�lߌ���d2�Y�$O3j�-�B\�v����7-…
|