/cts/tests/tests/widget/src/android/widget/cts/ |
D | ProgressBarDrawableContainerTest.java | 59 DrawableContainer d2 = (DrawableContainer) newBar.getIndeterminateDrawable(); in testMutate() local 60 boolean newMirrored = d2.isAutoMirrored(); in testMutate()
|
D | ProgressBarTest.java | 627 Drawable d2 = mActivity.getDrawable(R.drawable.red); in testVerifyDrawable() local 632 assertFalse(mockProgressBar.verifyDrawable(d2)); in testVerifyDrawable() 635 mockProgressBar.setIndeterminateDrawable(d2); in testVerifyDrawable() 637 assertTrue(mockProgressBar.verifyDrawable(d2)); in testVerifyDrawable() 642 assertTrue(mockProgressBar.verifyDrawable(d2)); in testVerifyDrawable()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ComponentInfoTest.java | 88 Drawable d2 = null; in testLoadIcon() local 94 d2 = mComponentInfo.loadIcon(pm); in testLoadIcon() 95 assertNotNull(d2); in testLoadIcon() 96 assertNotSame(d, d2); in testLoadIcon() 97 WidgetTestUtils.assertEquals(createIconBitmap(d), createIconBitmap(d2)); in testLoadIcon()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableTest.java | 164 AnimatedVectorDrawable d2 = (AnimatedVectorDrawable) mResources.getDrawable(mResId); in testMutate() local 169 int originalAlpha = d2.getAlpha(); in testMutate() 177 assertEquals(originalAlpha, d2.getAlpha()); in testMutate() 183 assertEquals(originalAlpha, d2.getAlpha()); in testMutate() 186 d2.setAlpha(0x20); in testMutate() 188 assertEquals(0x20, d2.getAlpha()); in testMutate()
|
D | RotateDrawableTest.java | 293 RotateDrawable d2 = (RotateDrawable) mResources.getDrawable(R.drawable.rotatedrawable); in testMutate() local 302 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 308 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 311 d2.setAlpha(50); in testMutate() 313 assertEquals(50, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate()
|
D | VectorDrawableTest.java | 352 VectorDrawable d2 = (VectorDrawable) mResources.getDrawable(R.drawable.vector_icon_create); in testMutate() local 359 assertEquals(initialAlpha, d2.getAlpha()); in testMutate() 362 d2.mutate(); in testMutate() 363 d2.setAlpha(0x20); in testMutate() 365 assertEquals(0x20, d2.getAlpha()); in testMutate()
|
D | GradientDrawableTest.java | 635 GradientDrawable d2 = in testMutate() local 643 assertEquals(10, d2.getIntrinsicHeight()); in testMutate() 644 assertEquals(10, d2.getIntrinsicWidth()); in testMutate() 652 assertEquals(10, d2.getIntrinsicHeight()); in testMutate() 653 assertEquals(10, d2.getIntrinsicWidth()); in testMutate() 657 d2.setSize(40, 50); in testMutate() 660 assertEquals(50, d2.getIntrinsicHeight()); in testMutate() 661 assertEquals(40, d2.getIntrinsicWidth()); in testMutate()
|
D | ScaleDrawableTest.java | 480 ScaleDrawable d2 = (ScaleDrawable) mContext.getDrawable(R.drawable.scaledrawable); in testMutate() local 488 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 494 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 497 d2.setAlpha(50); in testMutate() 499 assertEquals(50, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate()
|
D | BitmapDrawableTest.java | 537 BitmapDrawable d2 = (BitmapDrawable) resources.getDrawable(R.drawable.testimage); in testMutate() local 545 assertEquals(100, d2.getPaint().getAlpha()); in testMutate() 551 assertEquals(100, d2.getPaint().getAlpha()); in testMutate() 553 d2.setAlpha(50); in testMutate() 555 assertEquals(50, d2.getPaint().getAlpha()); in testMutate()
|
D | LevelListDrawableTest.java | 194 LevelListDrawable d2 = in testMutate() local 202 assertEquals(2, ((DrawableContainerState) d2.getConstantState()).getChildCount()); in testMutate()
|
D | LayerDrawableTest.java | 264 Drawable d2 = new BitmapDrawable(); in testAccessDrawable() local 266 layerDrawable.setDrawableByLayerId(20, d2); in testAccessDrawable() 268 assertEquals(d2, layerDrawable.getDrawable(1)); in testAccessDrawable() 1648 LayerDrawable d2 = (LayerDrawable) mContext.getDrawable(R.drawable.layerdrawable); in testMutate() local 1657 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1658 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1660 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1666 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1667 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1671 d2.setAlpha(50); in testMutate() [all …]
|
D | StateListDrawableTest.java | 400 StateListDrawable d2 = in testMutate() local 408 assertEquals(255, ((BitmapDrawable) d2.getCurrent()).getPaint().getAlpha()); in testMutate()
|
D | NinePatchDrawableTest.java | 408 NinePatchDrawable d2 = in testMutate() local 416 assertTrue(d2.getPaint().isDither()); in testMutate()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | vector.rscript | 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/os/src/android/os/cts/ |
D | BundleTest.java | 322 final double d2 = 10.07; in testGetDouble2() local 325 mBundle.putDouble(KEY, d2); in testGetDouble2() 326 assertEquals(d2, mBundle.getDouble(KEY, d1)); in testGetDouble2() 328 assertEquals(d2, mBundle.getDouble(KEY, d1)); in testGetDouble2()
|
D | ParcelTest.java | 84 int d2; in testAppendFrom() local 90 d2 = p.dataPosition(); in testAppendFrom() 92 p2.appendFrom(p, d1, d2 - d1); in testAppendFrom() 248 byte[] d2 = new byte[c.length]; in testMarshall() 249 p2.readByteArray(d2); in testMarshall() 252 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 | 849 Drawable d2 = mResources.getDrawable(R.drawable.pass); in testAccessBackground() local 856 view.setBackgroundDrawable(d2); in testAccessBackground() 857 assertEquals(d2, view.getBackground()); in testAccessBackground() 910 Drawable d2 = mResources.getDrawable(R.drawable.pass); in testVerifyDrawable() local 918 assertFalse(view.verifyDrawable(d2)); in testVerifyDrawable() 3328 final Drawable d2 = mResources.getDrawable(R.drawable.pass); in testInvalidateDrawable() local 3339 mActivityRule.runOnUiThread(() -> view.invalidateDrawable(d2)); in testInvalidateDrawable()
|
/cts/tests/tests/media/assets/hls_variant/165340/ |
D | 09.ts | 616 …�h�"�$O3��(W���f~{Ɔ�@4�w�qM��j�)o��̖\��h��خ+��X��N��$c$� �;$R�^������d2��U�cW�2L�$��t�y5�…
|
/cts/tests/tests/media/assets/hls_variant/344388/ |
D | 10.ts | 1125 …u�gcd�U^0۸_�=öv����u��G��1�ș��2�7w�%V����_-��1��yOPw�j��1���9N�d2' ��]��� ���2�… 1225 ���a��QFD�r`jT�2��d2�� �~�qp%<~͕�n�L�g��N~7��g�/O����rr��� c��\�+�ȡz�� ��e��(���6I…
|
/cts/tests/tests/media/assets/hls_variant/387360/ |
D | 16.ts | 821 …�G���6�v� >$�nv7�9��5]{�]�CU��2]���D��j��p�Vk!;B┡�����O��w ���b�(�����'/�d2��u�@� 1079 …����I��o4_�\��+>hҋ���/��� �e��|�������Bb&��3]wҰ��>@��$���X1�S�d2����r1;��-���1JQ�ܚ)ސ…
|
D | 04.ts | 12 l^q��`�qW�?�d2aK;Ö�^>�i^r�8:�9N��H*��2�?��!hu���>�����.ă��$��#��Ki�I-��_����tQ�q#… 1451 …�"�U�q��0 ��m�M#e��HFG�m�+n�W��-����0�X�z0~������u��I��EfK��G�$`��1]X/d2%��o���H�.á%�����K���…
|
D | 14.ts | 12 l^q��`�qW�?�d2aK;Ö�^>�i^r�8:�9N��H*��2�?��!hu���>�����.ă��$��#��Ki�I-��_����tQ�q#… 1300 …GA�\��!�q� ��~ԛ� *�ߊ���j���}Wtfs.3�y����nϫp�Y��2��ر���SQd2
|
D | 23.ts | 702 …�w�}Ќ�F/>���0���,�x��<�L^��d�L�r�fyё<iӥF�����3��v9�vm���`��v�-�F@�'Ψ$�d2�@"�� �������X ���o… 1054 …����������������������������������������������������������FW�YIBW�+5�[d�a�d2���X�j�\����Sl�"�ML[…
|