/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableTest.java | 144 final AnimatedVectorDrawable d1 = in testSingleFrameAnimation() local 150 d1.start(); in testSingleFrameAnimation() 151 d1.stop(); in testSingleFrameAnimation() 157 d1.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT); in testSingleFrameAnimation() 159 d1.draw(mCanvas); in testSingleFrameAnimation() 209 AnimatedVectorDrawable d1 = (AnimatedVectorDrawable) mResources.getDrawable(mResId); in testMutate() local 218 d1.setAlpha(newAlpha); in testMutate() 219 assertEquals(newAlpha, d1.getAlpha()); in testMutate() 223 d1.mutate(); in testMutate() 224 d1.setAlpha(0x40); in testMutate() [all …]
|
D | RotateDrawableTest.java | 267 RotateDrawable d1 = (RotateDrawable) resources.getDrawable(R.drawable.rotatedrawable); in testMutate() local 271 d1.setAlpha(100); in testMutate() 272 assertEquals(100, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha()); in testMutate() 276 d1.mutate(); in testMutate() 277 d1.setAlpha(200); in testMutate() 278 assertEquals(200, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha()); in testMutate() 283 assertEquals(200, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha()); in testMutate()
|
D | GradientDrawableTest.java | 467 GradientDrawable d1 = (GradientDrawable) resources.getDrawable(R.drawable.gradientdrawable); in testMutate() local 471 d1.setSize(10, 10); in testMutate() 472 assertEquals(10, d1.getIntrinsicHeight()); in testMutate() 473 assertEquals(10, d1.getIntrinsicWidth()); in testMutate() 479 d1.mutate(); in testMutate() 480 d1.setSize(20, 30); in testMutate() 481 assertEquals(30, d1.getIntrinsicHeight()); in testMutate() 482 assertEquals(20, d1.getIntrinsicWidth()); in testMutate() 489 assertEquals(30, d1.getIntrinsicHeight()); in testMutate() 490 assertEquals(20, d1.getIntrinsicWidth()); in testMutate()
|
D | LevelListDrawableTest.java | 168 LevelListDrawable d1 = in testMutate() local 176 d1.addLevel(100, 200, resources.getDrawable(R.drawable.testimage)); in testMutate() 177 assertEquals(3, ((DrawableContainerState) d1.getConstantState()).getChildCount()); in testMutate() 182 d1.mutate(); in testMutate()
|
D | VectorDrawableTest.java | 380 VectorDrawable d1 = (VectorDrawable) resources.getDrawable(R.drawable.vector_icon_create); in testMutate() local 385 d1.setAlpha(0x80); in testMutate() 386 assertEquals(0x80, d1.getAlpha()); in testMutate() 390 d1.mutate(); in testMutate() 391 d1.setAlpha(0x40); in testMutate() 392 assertEquals(0x40, d1.getAlpha()); in testMutate() 402 assertEquals(0x40, d1.getAlpha()); in testMutate()
|
D | ScaleDrawableTest.java | 470 ScaleDrawable d1 = (ScaleDrawable) mContext.getDrawable(R.drawable.scaledrawable); in testMutate() local 474 d1.setAlpha(100); in testMutate() 475 assertEquals(100, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha()); in testMutate() 479 d1.mutate(); in testMutate() 480 d1.setAlpha(200); in testMutate() 481 assertEquals(200, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha()); in testMutate() 486 assertEquals(200, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha()); in testMutate()
|
D | StateListDrawableTest.java | 303 StateListDrawable d1 = in testMutate() local 311 d1.getCurrent().setAlpha(100); in testMutate() 312 assertEquals(100, ((BitmapDrawable) d1.getCurrent()).getPaint().getAlpha()); in testMutate() 316 d1.mutate(); in testMutate()
|
D | BitmapDrawableTest.java | 484 BitmapDrawable d1 = (BitmapDrawable) resources.getDrawable(R.drawable.testimage); in testMutate() local 488 d1.setAlpha(100); in testMutate() 489 assertEquals(100, d1.getPaint().getAlpha()); in testMutate() 493 d1.mutate(); in testMutate() 494 d1.setAlpha(200); in testMutate() 495 assertEquals(200, d1.getPaint().getAlpha()); in testMutate() 499 assertEquals(200, d1.getPaint().getAlpha()); in testMutate()
|
D | LayerDrawableTest.java | 218 Drawable d1 = new ColorDrawable(Color.GREEN); in testAccessDrawable() local 220 layerDrawable.setDrawableByLayerId(10, d1); in testAccessDrawable() 222 assertEquals(d1, layerDrawable.getDrawable(0)); in testAccessDrawable() 225 assertFalse(layerDrawable.setDrawableByLayerId(30, d1)); in testAccessDrawable() 1660 LayerDrawable d1 = (LayerDrawable) mContext.getDrawable(R.drawable.layerdrawable); in testMutate() local 1664 d1.setAlpha(100); in testMutate() 1665 assertEquals(100, ((BitmapDrawable) d1.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1666 assertEquals(100, ((BitmapDrawable) d1.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1672 d1.mutate(); in testMutate() 1673 d1.setAlpha(200); in testMutate() [all …]
|
D | NinePatchDrawableTest.java | 361 NinePatchDrawable d1 = in testMutate() local 369 d1.setDither(false); in testMutate() 370 assertFalse(d1.getPaint().isDither()); in testMutate() 375 d1.mutate(); in testMutate()
|
D | AnimationDrawableTest.java | 374 AnimationDrawable d1 = (AnimationDrawable) mResources in testMutate() local 378 d1.mutate(); in testMutate()
|
/cts/tests/openglperf2/test/ |
D | MatrixTest.cpp | 63 float* d1 = m1.mData; in TEST() local 68 d1[i] = i; in TEST() 114 float* d1 = m1.mData; in TEST() local 123 d1[i] = i; in TEST()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ProgressBarTest.java | 439 Drawable d1 = mContext.getResources().getDrawable(R.drawable.blue); in testVerifyDrawable() local 443 mockProgressBar.setBackgroundDrawable(d1); in testVerifyDrawable() 445 assertTrue(mockProgressBar.verifyDrawable(d1)); in testVerifyDrawable() 451 assertTrue(mockProgressBar.verifyDrawable(d1)); in testVerifyDrawable() 457 assertTrue(mockProgressBar.verifyDrawable(d1)); in testVerifyDrawable()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BundleTest.java | 318 final double d1 = 10.06; in testGetDouble2() local 321 assertEquals(d1, mBundle.getDouble(KEY, d1)); in testGetDouble2() 323 assertEquals(d2, mBundle.getDouble(KEY, d1)); in testGetDouble2() 325 assertEquals(d2, mBundle.getDouble(KEY, d1)); in testGetDouble2()
|
D | ParcelTest.java | 68 int d1; in testAppendFrom() local 72 d1 = p.dataPosition(); in testAppendFrom() 77 p2.appendFrom(p, d1, d2 - d1); in testAppendFrom() 228 byte[] d1 = p1.marshall(); in testMarshall() 231 p2.unmarshall(d1, 0, d1.length); in testMarshall()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 599 Drawable d1 = mResources.getDrawable(R.drawable.scenery); in testAccessBackground() local 604 view.setBackgroundDrawable(d1); in testAccessBackground() 605 assertEquals(d1, view.getBackground()); in testAccessBackground() 656 Drawable d1 = mResources.getDrawable(R.drawable.scenery); in testVerifyDrawable() local 661 assertFalse(view.verifyDrawable(d1)); in testVerifyDrawable() 663 view.setBackgroundDrawable(d1); in testVerifyDrawable() 664 assertTrue(view.verifyDrawable(d1)); in testVerifyDrawable() 2797 final Drawable d1 = mResources.getDrawable(R.drawable.scenery); in testInvalidateDrawable() local 2804 view.setBackgroundDrawable(d1); in testInvalidateDrawable() 2805 view.invalidateDrawable(d1); in testInvalidateDrawable()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sparse_switch/d/ |
D | T_sparse_switch_12.dfh | 9 // parsed: offset 12, len 20: signature : 17df...83d1
|
/cts/tests/tests/media/assets/ |
D | fileSequence0.ts | 1807 …��mq�[<�`�|��%�.5-T���̛�>^+��9��MI�cR�C���Wg.��=��l2��.G���ӯ͡]��d1�TO�Q���D ��H��p�…
|
D | segment000000.ts | 4660 J�.�e�^]>=��v[x�T���F�d1`Y�Y�h)3s��y�����el��1�>�(�_4��g������M6���ݑ�+��v����GI��…
|
/cts/tests/tests/media/res/raw/ |
D | football_qvga.yuv | 56 …xwspmjhbaaejhikie_aegjnrqpppnqsrtuuutvvttusstttuxxwwyywutrqomjjj%1?D:6^d1-76329A:/38535:0/[|r… 82 …��tbX[_^^^_\\_behhgfeeefggghkjgihaa`\__^`epvx{������������������������}xst�d1+(?`\HXrppqokjiikjmon… 99 …87543744422.-,.4.)Pz~jNUz��������������Ҟa64\�������������������������������d1+r����w����I,,*! &+.+… 113 …_aacgjlnmorqstlhjov{|yz|�~wz�����������\Y���yV_����������{wusplid^^bhsu��d1+54( $"*NMARROQLMQWSK… 176 …kiea^YZ]dlpqonjhfebdhjhc[\m{���~}��vw�������������������yeH+(Ifjo}��nJr��d1`����������c@,-/47598… 273 …q^=&)"1Ypkcchv��wlmpjm�����h���f(.5:=<Rj]VZ\[ph2$)#+Qmxodejijoomq}{w{�d1#""Hojdcgxm9!"$')…
|