/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PorterDuffXfermodeTest.java | 46 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()
|
D | PorterDuffColorFilterTest.java | 45 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/ |
D | WidgetTestUtils.java | 59 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/ |
D | WidgetTestUtils.java | 59 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/tests/tests/util/src/android/util/cts/ |
D | InstallUtilTest.java | 104 TestApp b2 = new TestApp(TestApp.B2.toString(), TestApp.B2.getPackageName(), in testNativeFilePathTestApp() local 110 assertSameResource(TestApp.B2, b2); in testNativeFilePathTestApp() 115 assertThat(b2.toString()).isEqualTo(TestApp.B2.toString()); in testNativeFilePathTestApp() 116 assertThat(b2.getPackageName()).isEqualTo(TestApp.B2.getPackageName()); in testNativeFilePathTestApp() 117 assertThat(b2.getVersionCode()).isEqualTo(TestApp.B2.getVersionCode()); in testNativeFilePathTestApp() 119 Install.multi(a1, b2).addInstallFlags(PackageManager.INSTALL_REPLACE_EXISTING).commit(); in testNativeFilePathTestApp()
|
/cts/tests/app/src/android/app/cts/ |
D | TimePickerDialogTest.java | 161 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/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/ |
D | ShortcutManagerPreUpgradeTest.java | 49 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/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BlendModeColorFilterTest.java | 66 final Bitmap b2 = Bitmap.createBitmap(TEST_WIDTH, in BlendModeColorFilterClient() local 68 b2.eraseColor(Color.BLUE); in BlendModeColorFilterClient() 70 mB2 = b2; in BlendModeColorFilterClient()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorManagerStaticTest.java | 475 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/ |
D | ComputeTest.java | 54 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()
|
D | ScriptGroupTest.java | 436 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()
|
D | TypeTest.java | 195 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()
|
D | primitives.rscript | 73 _RS_ASSERT(avt->b2.x == 1); 74 _RS_ASSERT(avt->b2.y == 2);
|
D | structs.rsh | 40 char2 b2;
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/b2/d/ |
D | T_b2_1.java | 17 package dot.junit.verify.b2.d;
|
D | T_b2_4.smali | 15 .class public Ldot/junit/verify/b2/d/T_b2_4;
|
D | T_b2_1.smali | 15 .class public Ldot/junit/verify/b2/d/T_b2_1;
|
D | T_b2_3.smali | 15 .class public Ldot/junit/verify/b2/d/T_b2_3;
|
D | T_b2_2.smali | 15 .class public Ldot/junit/verify/b2/d/T_b2_2;
|
D | T_b2_5.smali | 15 .class public Ldot/junit/verify/b2/d/T_b2_5;
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/b2/ |
D | Test_b2.java | 17 package dot.junit.verify.b2;
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/ |
D | AllTests.java | 38 suite.addTestSuite(dot.junit.verify.b2.Test_b2.class); in suite()
|
/cts/tools/cfassembler/src/dxconvext/ |
D | ClassFileParser.java | 193 byte b2 = allbytes[i + offset]; in processFileBytes() 194 if (b != b2) in processFileBytes()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BundleTest.java | 73 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/ |
D | UriTest.java | 167 Uri b2 = Uri.parse("foo:b"); in testCompareTo() local 171 assertEquals(0, b.compareTo(b2)); in testCompareTo()
|