Home
last modified time | relevance | path

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

1234

/cts/tests/tests/graphics/src/android/graphics/cts/
DPorterDuffXfermodeTest.java46 Bitmap b2 = Bitmap.createBitmap(WIDTH, HEIGHT / 2, Config.ARGB_8888); in testPorterDuffXfermode() local
47 b2.eraseColor(Color.BLUE); in testPorterDuffXfermode()
53 canvas.drawBitmap(b2, 0, HEIGHT / 2, p); in testPorterDuffXfermode()
62 canvas.drawBitmap(b2, 0, HEIGHT / 2, p); in testPorterDuffXfermode()
71 canvas.drawBitmap(b2, 0, HEIGHT / 2, p); in testPorterDuffXfermode()
DPorterDuffColorFilterTest.java45 Bitmap b2 = Bitmap.createBitmap(width, height / 2, Config.ARGB_8888); in testPorterDuffColorFilter() local
46 b2.eraseColor(Color.BLUE); in testPorterDuffColorFilter()
57 canvas.drawBitmap(b2, 0, height / 2, p); in testPorterDuffColorFilter()
70 canvas.drawBitmap(b2, 0, height / 2, p); in testPorterDuffColorFilter()
80 canvas.drawBitmap(b2, 0, height / 2, p); in testPorterDuffColorFilter()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DWidgetTestUtils.java59 public static void assertEquals(Bitmap b1, Bitmap b2) { in assertEquals() argument
60 if (b1 == b2) { in assertEquals()
64 if (b1 == null || b2 == null) { in assertEquals()
69 if (b1.getWidth() != b2.getWidth() || b1.getHeight() != b2.getHeight() in assertEquals()
70 || b1.getConfig() != b2.getConfig()) { in assertEquals()
81 b2.getPixels(pixels2, 0, w, 0, 0, w, h); in assertEquals()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DWidgetTestUtils.java59 public static void assertEquals(Bitmap b1, Bitmap b2) { in assertEquals() argument
60 if (b1 == b2) { in assertEquals()
64 if (b1 == null || b2 == null) { in assertEquals()
69 if (b1.getWidth() != b2.getWidth() || b1.getHeight() != b2.getHeight() in assertEquals()
70 || b1.getConfig() != b2.getConfig()) { in assertEquals()
81 b2.getPixels(pixels2, 0, w, 0, 0, w, h); in assertEquals()
/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/tests/app/src/android/app/cts/
DTimePickerDialogTest.java161 Bundle b2 = timePickerDialog.onSaveInstanceState(); in testOnRestoreInstanceState() local
163 assertEquals(TARGET_HOUR, b2.getInt(HOUR)); in testOnRestoreInstanceState()
164 assertEquals(minute, b2.getInt(MINUTE)); in testOnRestoreInstanceState()
165 assertFalse(b2.getBoolean(IS_24_HOUR)); in testOnRestoreInstanceState()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBlendModeColorFilterTest.java66 final Bitmap b2 = Bitmap.createBitmap(TEST_WIDTH, in BlendModeColorFilterClient() local
68 b2.eraseColor(Color.BLUE); in BlendModeColorFilterClient()
70 mB2 = b2; in BlendModeColorFilterClient()
/cts/tools/vm-tests-tf/src/dot/junit/verify/b2/d/
DT_b2_1.java17 package dot.junit.verify.b2.d;
DT_b2_2.smali15 .class public Ldot/junit/verify/b2/d/T_b2_2;
DT_b2_3.smali15 .class public Ldot/junit/verify/b2/d/T_b2_3;
DT_b2_1.smali15 .class public Ldot/junit/verify/b2/d/T_b2_1;
DT_b2_4.smali15 .class public Ldot/junit/verify/b2/d/T_b2_4;
DT_b2_5.smali15 .class public Ldot/junit/verify/b2/d/T_b2_5;
/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/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;
/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/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.java73 final Bundle b2 = new Bundle(b1); in testBundle() local
74 assertTrue(b2.getBoolean(KEY)); in testBundle()
188 final byte b2 = 7; in testGetByte2()
191 mBundle.putByte(KEY, b2); in testGetByte2()
192 assertEquals((Byte)b2, mBundle.getByte(KEY, b1)); in testGetByte2()
194 assertEquals((Byte)b2, mBundle.getByte(KEY, b1)); in testGetByte2()
/cts/tests/tests/net/src/android/net/cts/
DUriTest.java167 Uri b2 = Uri.parse("foo:b"); in testCompareTo() local
171 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:

1234