/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/graphics/src/android/graphics/drawable/cts/ |
D | VectorDrawableTest.java | 381 VectorDrawable d2 = (VectorDrawable) resources.getDrawable(R.drawable.vector_icon_create); in testMutate() local 383 int originalAlpha = d2.getAlpha(); in testMutate() 387 assertEquals(0x80, d2.getAlpha()); in testMutate() 393 assertEquals(0x80, d2.getAlpha()); in testMutate() 396 d2.setAlpha(0x00); in testMutate() 397 d2.mutate(); in testMutate() 399 assertEquals(0x00, d2.getAlpha()); in testMutate() 401 d2.setAlpha(0x20); in testMutate() 403 assertEquals(0x20, d2.getAlpha()); in testMutate()
|
D | AnimatedVectorDrawableTest.java | 210 AnimatedVectorDrawable d2 = (AnimatedVectorDrawable) mResources.getDrawable(mResId); in testMutate() local 212 int originalAlpha = d2.getAlpha(); in testMutate() 220 assertEquals(originalAlpha, d2.getAlpha()); in testMutate() 226 assertEquals(originalAlpha, d2.getAlpha()); in testMutate() 229 d2.setAlpha(0x20); in testMutate() 231 assertEquals(0x20, d2.getAlpha()); in testMutate()
|
D | RotateDrawableTest.java | 268 RotateDrawable d2 = (RotateDrawable) resources.getDrawable(R.drawable.rotatedrawable); in testMutate() local 273 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 279 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 282 d2.setAlpha(50); in testMutate() 284 assertEquals(50, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate()
|
D | GradientDrawableTest.java | 468 GradientDrawable d2 = (GradientDrawable) resources.getDrawable(R.drawable.gradientdrawable); in testMutate() local 474 assertEquals(10, d2.getIntrinsicHeight()); in testMutate() 475 assertEquals(10, d2.getIntrinsicWidth()); in testMutate() 483 assertEquals(10, d2.getIntrinsicHeight()); in testMutate() 484 assertEquals(10, d2.getIntrinsicWidth()); in testMutate() 488 d2.setSize(40, 50); in testMutate() 491 assertEquals(50, d2.getIntrinsicHeight()); in testMutate() 492 assertEquals(40, d2.getIntrinsicWidth()); in testMutate()
|
D | ScaleDrawableTest.java | 471 ScaleDrawable d2 = (ScaleDrawable) mContext.getDrawable(R.drawable.scaledrawable); in testMutate() local 476 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 482 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 485 d2.setAlpha(50); in testMutate() 487 assertEquals(50, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate()
|
D | LevelListDrawableTest.java | 170 LevelListDrawable d2 = in testMutate() local 178 assertEquals(2, ((DrawableContainerState) d2.getConstantState()).getChildCount()); in testMutate()
|
D | BitmapDrawableTest.java | 485 BitmapDrawable d2 = (BitmapDrawable) resources.getDrawable(R.drawable.testimage); in testMutate() local 490 assertEquals(100, d2.getPaint().getAlpha()); in testMutate() 496 assertEquals(100, d2.getPaint().getAlpha()); in testMutate() 498 d2.setAlpha(50); in testMutate() 500 assertEquals(50, d2.getPaint().getAlpha()); in testMutate()
|
D | LayerDrawableTest.java | 219 Drawable d2 = new BitmapDrawable(); in testAccessDrawable() local 221 layerDrawable.setDrawableByLayerId(20, d2); in testAccessDrawable() 223 assertEquals(d2, layerDrawable.getDrawable(1)); in testAccessDrawable() 1661 LayerDrawable d2 = (LayerDrawable) mContext.getDrawable(R.drawable.layerdrawable); in testMutate() local 1667 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1668 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1670 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1676 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1677 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1681 d2.setAlpha(50); in testMutate() [all …]
|
D | StateListDrawableTest.java | 305 StateListDrawable d2 = in testMutate() local 313 assertEquals(255, ((BitmapDrawable) d2.getCurrent()).getPaint().getAlpha()); in testMutate()
|
D | NinePatchDrawableTest.java | 363 NinePatchDrawable d2 = in testMutate() local 371 assertTrue(d2.getPaint().isDither()); in testMutate()
|
/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 | 440 Drawable d2 = mContext.getResources().getDrawable(R.drawable.red); in testVerifyDrawable() local 446 assertFalse(mockProgressBar.verifyDrawable(d2)); in testVerifyDrawable() 449 mockProgressBar.setIndeterminateDrawable(d2); in testVerifyDrawable() 452 assertTrue(mockProgressBar.verifyDrawable(d2)); in testVerifyDrawable() 458 assertTrue(mockProgressBar.verifyDrawable(d2)); in testVerifyDrawable()
|
/cts/tests/openglperf2/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:
|
D | drm_uaf.dm | 235 G�Y/�S�FQ�`<�"x���� 8��Y�o���U�d2�`[�<�)�+z>��/|��9�&����:�H�
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 600 Drawable d2 = mResources.getDrawable(R.drawable.pass); in testAccessBackground() local 607 view.setBackgroundDrawable(d2); in testAccessBackground() 608 assertEquals(d2, view.getBackground()); in testAccessBackground() 657 Drawable d2 = mResources.getDrawable(R.drawable.pass); in testVerifyDrawable() local 665 assertFalse(view.verifyDrawable(d2)); in testVerifyDrawable() 2798 final Drawable d2 = mResources.getDrawable(R.drawable.pass); in testInvalidateDrawable() local 2820 view.invalidateDrawable(d2); in testInvalidateDrawable()
|
/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-…
|
/cts/tests/tests/media/res/raw/ |
D | football_qvga.yuv | 121 …qqqqssrsrmf`\][SI<*!$&'&&())('),034.)3HOA64013:EO\ny|{uokiheejmmki_[ivzzz�d2?`icbd`ZJUhD7emPL[eoz… 142 …6435212356313303730/4.&Ou^H<@`gn{���������������������P���q��wF#a�������עd2&/00..-.<HEDILONLLJJO… 210 …omheb`cbeiifgkouzsaQS`b_^cmrstrrponoljknruvusrpquzs`Y^M>[{v����������������d2<EH6R��y����A&09'I��w… 225 …��{xyvsmjklmmntwvttuvwvuwyzywwx|}�����yk_^_aba`bfggecbceehkikngAR�������֘d2!'R������������������… 237 …kjjiffjms������������������������������������������zmYdw�������xvwvy���qz�d2!#$%$###$$#$&%#!,F… 260 …\WPMQWZ_flpponnmossqqrrnkhb```\\][[]^\[_ddfgffhfq��������������~~}yxuii��d2��Hu����������������…
|