Home
last modified time | relevance | path

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

12

/cts/tests/tests/graphics/src/android/graphics/cts/
DPorterDuffXfermodeTest.java45 Bitmap b2 = Bitmap.createBitmap(WIDTH, HEIGHT / 2, Config.ARGB_8888); in testPorterDuffXfermode() local
46 b2.eraseColor(Color.BLUE); in testPorterDuffXfermode()
52 canvas.drawBitmap(b2, 0, HEIGHT / 2, p); in testPorterDuffXfermode()
61 canvas.drawBitmap(b2, 0, HEIGHT / 2, p); in testPorterDuffXfermode()
70 canvas.drawBitmap(b2, 0, HEIGHT / 2, p); in testPorterDuffXfermode()
DPorterDuffColorFilterTest.java44 Bitmap b2 = Bitmap.createBitmap(width, height / 2, Config.ARGB_8888); in testPorterDuffColorFilter() local
45 b2.eraseColor(Color.BLUE); in testPorterDuffColorFilter()
56 canvas.drawBitmap(b2, 0, height / 2, p); in testPorterDuffColorFilter()
69 canvas.drawBitmap(b2, 0, height / 2, p); in testPorterDuffColorFilter()
79 canvas.drawBitmap(b2, 0, height / 2, p); in testPorterDuffColorFilter()
DBitmapFactoryTest.java635 Bitmap b2 = Bitmap.CREATOR.createFromParcel(p); in testParcel() local
636 compareBitmaps(b, b2, 0, true, true); in testParcel()
642 assertTrue(b2.compress(Bitmap.CompressFormat.JPEG, 50, baos)); in testParcel()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DWidgetTestUtils.java56 public static void assertEquals(Bitmap b1, Bitmap b2) { in assertEquals() argument
57 if (b1 == b2) { in assertEquals()
61 if (b1 == null || b2 == null) { in assertEquals()
66 if (b1.getWidth() != b2.getWidth() || b1.getHeight() != b2.getHeight() in assertEquals()
67 || b1.getConfig() != b2.getConfig()) { in assertEquals()
78 b2.getPixels(pixels2, 0, w, 0, 0, w, h); in assertEquals()
/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/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/
DShortcutManagerPreUpgradeTest.java49 final PersistableBundle b2 = new PersistableBundle(); in testPreUpgrade() local
50 b2.putInt(Consts.EXTRA_ICON_RES_ID, R.drawable.black_64x64); in testPreUpgrade()
55 .setExtras(b2) in testPreUpgrade()
/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()
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()
DScriptGroupTest.java436 ScriptGroup.Binding b2 = new ScriptGroup.Binding(s.getFieldID_a(), unbound); in testBuilder2GatherScatterAcrossKernelsViaGlobals() local
442 b1, b2); in testBuilder2GatherScatterAcrossKernelsViaGlobals()
443 b2 = new ScriptGroup.Binding(s.getFieldID_a(), c.getReturn()); in testBuilder2GatherScatterAcrossKernelsViaGlobals()
496 ScriptGroup.Binding b2 = new ScriptGroup.Binding(s.getFieldID_a(), unbound); in testBuilder2KernelOutputToGlobal() local
502 b1, b2); in testBuilder2KernelOutputToGlobal()
503 b2 = new ScriptGroup.Binding(s.getFieldID_a(), in testBuilder2KernelOutputToGlobal()
Dstructs.rsh40 char2 b2;
DAllocationTest.java738 Type.Builder b2 = new Type.Builder(mRS, Element.I32(mRS)); in testCopyFromAllocation() local
748 Allocation srcE_bad = Allocation.createTyped(mRS, b2.setX(nElemsX).setY(nElemsY).create()); in testCopyFromAllocation()
/cts/tests/sensor/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:

12