Home
last modified time | relevance | path

Searched refs:b2 (Results 1 – 25 of 25) sorted by relevance

/cts/libs/deviceutil/src/android/cts/util/
DWidgetTestUtils.java41 public static void assertEquals(Bitmap b1, Bitmap b2) { in assertEquals() argument
42 if (b1 == b2) { in assertEquals()
46 if (b1 == null || b2 == null) { in assertEquals()
51 if (b1.getWidth() != b2.getWidth() || b1.getHeight() != b2.getHeight() in assertEquals()
52 || b1.getConfig() != b2.getConfig()) { in assertEquals()
63 b2.getPixels(pixels2, 0, w, 0, 0, w, h); in assertEquals()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPorterDuffXfermodeTest.java39 Bitmap b2 = Bitmap.createBitmap(WIDTH, HEIGHT / 2, Config.ARGB_8888); in testPorterDuffXfermode() local
40 b2.eraseColor(Color.BLUE); in testPorterDuffXfermode()
46 canvas.drawBitmap(b2, 0, HEIGHT / 2, p); in testPorterDuffXfermode()
55 canvas.drawBitmap(b2, 0, HEIGHT / 2, p); in testPorterDuffXfermode()
64 canvas.drawBitmap(b2, 0, HEIGHT / 2, p); in testPorterDuffXfermode()
DPorterDuffColorFilterTest.java36 Bitmap b2 = Bitmap.createBitmap(width, height / 2, Config.ARGB_8888); in testPorterDuffColorFilter() local
37 b2.eraseColor(Color.BLUE); in testPorterDuffColorFilter()
48 canvas.drawBitmap(b2, 0, height / 2, p); in testPorterDuffColorFilter()
61 canvas.drawBitmap(b2, 0, height / 2, p); in testPorterDuffColorFilter()
71 canvas.drawBitmap(b2, 0, height / 2, p); in testPorterDuffColorFilter()
DBitmapFactoryTest.java591 Bitmap b2 = Bitmap.CREATOR.createFromParcel(p); in testParcel() local
592 compareBitmaps(b, b2, 0, true, true); in testParcel()
598 assertTrue(b2.compress(Bitmap.CompressFormat.JPEG, 50, baos)); in testParcel()
/cts/tests/app/src/android/app/cts/
DTimePickerDialogTest.java137 Bundle b2 = timePickerDialog.onSaveInstanceState(); in testOnRestoreInstanceState() local
139 assertEquals(TARGET_HOUR, b2.getInt(HOUR)); in testOnRestoreInstanceState()
140 assertEquals(minute, b2.getInt(MINUTE)); in testOnRestoreInstanceState()
141 assertFalse(b2.getBoolean(IS_24_HOUR)); in testOnRestoreInstanceState()
/cts/tools/vm-tests-tf/src/dot/junit/verify/b2/d/
DT_b2_1.java17 package dot.junit.verify.b2.d;
DT_b2_2.d16 .class public dot.junit.verify.b2.d.T_b2_2
DT_b2_3.d16 .class public dot.junit.verify.b2.d.T_b2_3
DT_b2_4.d16 .class public dot.junit.verify.b2.d.T_b2_4
DT_b2_1.d16 .class public dot.junit.verify.b2.d.T_b2_1
DT_b2_5.d16 .class public dot.junit.verify.b2.d.T_b2_5
/cts/tools/vm-tests-tf/src/dot/junit/verify/b2/
DTest_b2.java17 package dot.junit.verify.b2;
/cts/tools/vm-tests-tf/src/dot/junit/verify/
DAllTests.java38 suite.addTestSuite(dot.junit.verify.b2.Test_b2.class); in suite()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dprimitives.rs73 _RS_ASSERT(avt->b2.x == 1);
74 _RS_ASSERT(avt->b2.y == 2);
DComputeTest.java54 Byte2 b2 = new Byte2(); in testJavaVectorTypes() local
55 b2.x = 1; in testJavaVectorTypes()
56 b2.y = 2; in testJavaVectorTypes()
57 b2 = new Byte2((byte)1, (byte)2); in testJavaVectorTypes()
58 assertTrue(b2.x == 1); in testJavaVectorTypes()
59 assertTrue(b2.y == 2); in testJavaVectorTypes()
265 avtItem.b2.x = 1; in initializeGlobals()
266 avtItem.b2.y = 2; in initializeGlobals()
DScriptGroupTest.java389 ScriptGroup.Binding b2 = new ScriptGroup.Binding(s.getFieldID_a(), unbound); in testBuilder2GatherScatterAcrossKernelsViaGlobals() local
395 b1, b2); in testBuilder2GatherScatterAcrossKernelsViaGlobals()
396 b2 = new ScriptGroup.Binding(s.getFieldID_a(), c.getReturn()); in testBuilder2GatherScatterAcrossKernelsViaGlobals()
446 ScriptGroup.Binding b2 = new ScriptGroup.Binding(s.getFieldID_a(), unbound); in testBuilder2KernelOutputToGlobal() local
452 b1, b2); in testBuilder2KernelOutputToGlobal()
453 b2 = new ScriptGroup.Binding(s.getFieldID_a(), in testBuilder2KernelOutputToGlobal()
DTypeTest.java195 Type.Builder b2 = new Type.Builder(mRS, Element.F32(mRS)); in testEquals() local
196 Type t2 = b2.setX(5).setY(5).create(); in testEquals()
202 t2 = b2.setX(4).create(); in testEquals()
Dstructs.rsh40 char2 b2;
DAllocationTest.java705 Type.Builder b2 = new Type.Builder(mRS, Element.I32(mRS)); in testCopyFromAllocation() local
715 Allocation srcE_bad = Allocation.createTyped(mRS, b2.setX(nElemsX).setY(nElemsY).create()); in testCopyFromAllocation()
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorManagerStaticTest.java475 int b1, b2, b3; // AXIS_X/Y/Z w/ or w/o MINUS in testRemapCoordinateSystem() local
497 b2 = a2 | (((k & 1) != 0) ? 0x80 : 0); in testRemapCoordinateSystem()
500 ( (((a2 + 3 - a1) % 3 == 2) ? 0x80 : 0) ^ (b1 & 0x80) ^ (b2 & 0x80)); in testRemapCoordinateSystem()
504 assertTrue(SensorManager.remapCoordinateSystem(R, b1, b2, Rout)); in testRemapCoordinateSystem()
506 assertTrue(SensorManager.remapCoordinateSystem(mat9to16(R), b1, b2, Rout2)); in testRemapCoordinateSystem() local
514 i, b1, b2, b3, mat9ToStr(R), mat9ToStr(Rout)); in testRemapCoordinateSystem()
523 v2 = mat9Axis(Rout, b2); in testRemapCoordinateSystem()
/cts/tools/cfassembler/src/dxconvext/
DClassFileParser.java193 byte b2 = allbytes[i + offset]; in processFileBytes()
194 if (b != b2) in processFileBytes()
/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java70 final Bundle b2 = new Bundle(b1); in testBundle() local
71 assertTrue(b2.getBoolean(KEY)); in testBundle()
185 final byte b2 = 7; in testGetByte2()
188 mBundle.putByte(KEY, b2); in testGetByte2()
189 assertEquals((Byte)b2, mBundle.getByte(KEY, b1)); in testGetByte2()
191 assertEquals((Byte)b2, mBundle.getByte(KEY, b1)); in testGetByte2()
/cts/tests/tests/net/src/android/net/cts/
DUriTest.java117 Uri b2 = Uri.parse("foo:b"); in testCompareTo() local
121 assertEquals(0, b.compareTo(b2)); in testCompareTo()
/cts/tests/tests/security/res/raw/
Dopenssl_heartbleed_test_cert.pem54 c3:68:2a:23:5b:dc:d8:b2:1f:29:d9:f3:8f:55:0c:
/cts/tests/tests/media/res/raw/
Dfootball_qvga.yuv193 …ca^]^]WNTm�s`WFIVYWW;"R����������������~t~~O;BC95y������o2*8,3��|qni5#7{�b2-@GS_nsk��RAsocZZfnp…
233 …�������A>H*eʷ��m4HUM9268998.%####.\��zF%)+*)+*&%"$(&):]dTB<;/ !17>i���b2%)*..010367;==>HYcfgg…
239 …U_isutqfq������������j1'6=,>�������bFJL<C������o60:+?��t}�_*367864&\�wov~b2(NRHL[syQ(D���vmswv…