Home
last modified time | relevance | path

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

1234

/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()
74 int w = b1.getWidth(); in assertEquals()
75 int h = b1.getHeight(); in assertEquals()
80 b1.getPixels(pixels1, 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()
74 int w = b1.getWidth(); in assertEquals()
75 int h = b1.getHeight(); in assertEquals()
80 b1.getPixels(pixels1, 0, w, 0, 0, w, h); in assertEquals()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPorterDuffXfermodeTest.java44 Bitmap b1 = Bitmap.createBitmap(WIDTH / 2, HEIGHT, Config.ARGB_8888); in testPorterDuffXfermode() local
45 b1.eraseColor(Color.RED); in testPorterDuffXfermode()
51 canvas.drawBitmap(b1, 0, 0, p); in testPorterDuffXfermode()
60 canvas.drawBitmap(b1, 0, 0, p); in testPorterDuffXfermode()
69 canvas.drawBitmap(b1, 0, 0, p); in testPorterDuffXfermode()
DPorterDuffColorFilterTest.java43 Bitmap b1 = Bitmap.createBitmap(width / 2, height, Config.ARGB_8888); in testPorterDuffColorFilter() local
44 b1.eraseColor(Color.RED); in testPorterDuffColorFilter()
55 canvas.drawBitmap(b1, 0, 0, p); in testPorterDuffColorFilter()
68 canvas.drawBitmap(b1, 0, 0, p); in testPorterDuffColorFilter()
78 canvas.drawBitmap(b1, 0, 0, p); in testPorterDuffColorFilter()
/cts/tests/app/src/android/app/cts/
DTimePickerDialogTest.java152 Bundle b1 = new Bundle(); in testOnRestoreInstanceState() local
153 b1.putInt(HOUR, TARGET_HOUR); in testOnRestoreInstanceState()
154 b1.putInt(MINUTE, minute); in testOnRestoreInstanceState()
155 b1.putBoolean(IS_24_HOUR, false); in testOnRestoreInstanceState()
158 timePickerDialog.onRestoreInstanceState(b1); in testOnRestoreInstanceState()
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/
DShortcutManagerPreUpgradeTest.java40 final PersistableBundle b1 = new PersistableBundle(); in testPreUpgrade() local
41 b1.putInt(Consts.EXTRA_ICON_RES_ID, R.drawable.black_32x32); in testPreUpgrade()
46 .setExtras(b1) in testPreUpgrade()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBlendModeColorFilterTest.java63 final Bitmap b1 = Bitmap.createBitmap(TEST_WIDTH / 2, in BlendModeColorFilterClient() local
65 b1.eraseColor(Color.RED); in BlendModeColorFilterClient()
69 mB1 = b1; in BlendModeColorFilterClient()
/cts/tests/tests/slice/src/android/slice/cts/
DSliceProvider.java109 Bundle b1 = new Bundle(); in onBindSlice() local
110 b1.putParcelable("a", new TestParcel()); in onBindSlice()
111 return new Slice.Builder(sliceUri, SPEC).addBundle(b1, "bundle", in onBindSlice()
/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
496 b1 = a1 | (((k & 2) != 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()
517 v2 = mat9Axis(Rout, b1); in testRemapCoordinateSystem()
/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java68 final Bundle b1 = new Bundle(); in testBundle() local
69 assertTrue(b1.isEmpty()); in testBundle()
70 b1.putBoolean(KEY, true); in testBundle()
71 assertFalse(b1.isEmpty()); in testBundle()
73 final Bundle b2 = new Bundle(b1); in testBundle()
187 final byte b1 = 6; in testGetByte2()
190 assertEquals((Byte)b1, mBundle.getByte(KEY, b1)); 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/renderscript/src/android/renderscript/cts/
DTypeTest.java192 Type.Builder b1 = new Type.Builder(mRS, Element.F32(mRS)); in testEquals() local
193 Type t1 = b1.setX(5).setY(5).create(); in testEquals()
DScriptGroupTest.java438 ScriptGroup.Binding b1 = new ScriptGroup.Binding(s.getFieldID_reduction_stride(), in testBuilder2GatherScatterAcrossKernelsViaGlobals() local
442 b1, b2); in testBuilder2GatherScatterAcrossKernelsViaGlobals()
498 ScriptGroup.Binding b1 = new ScriptGroup.Binding(s.getFieldID_reduction_stride(), in testBuilder2KernelOutputToGlobal() local
502 b1, b2); in testBuilder2KernelOutputToGlobal()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/
DCardPresenter.java87 Target<GlideDrawable> target, boolean b, boolean b1) { in onBindViewHolder()
/cts/tests/tests/security/res/raw/
Dopenssl_heartbleed_test_cert.pem44 3d:ca:b1:a2:c4:06:cf:64:d4:bb:18:aa:05:46:7a:
/cts/tests/vr/jni/
DVrExtensionsJni.cpp357 float b1 = ((color1 >> 16) & 0xff) / 255.0f; in LerpColor() local
361 uint32_t b8 = (b0 * (1.0f - t) + b1 * t) * 255.0f; in LerpColor()
/cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/
DT_f1_8.dfh9 // parsed: offset 12, len 20: signature : 1091...62b1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_instance/d/
DT_new_instance_6.dfh9 // parsed: offset 12, len 20: signature : 71b1...5136
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTest.java2290 int b1 = buffered_test.read(); in compareStreams() local
2292 if (b1 != b2) { in compareStreams()
2293 Log.e(TAG, "streams differ at " + numread + ": " + b1 + "/" + b2); in compareStreams()
2296 if (b1 == -1) { in compareStreams()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1095 int b1 = in1.read(); in verifyServer() local
1097 assertEquals("CtsTestServer fail", b1, b2); in verifyServer()
1098 if (b1 < 0) { in verifyServer()
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutTest.java1472 int b1 = breaks[bi];
1482 new LayoutParam(b1, f1, p1, dir1),
/cts/tests/tests/media/assets/hls_variant/165340/
D06.ts485 …�a���G���?���,@�Wk������M��� �}�@�eh��� ��@H�����g��H���.y�ٟ��b1�?�43�u�?7��XLW��\…
605 E�<F`�_5�a_r\����� ��/@H-��&\�n�����9��/�%��b1'����xC�B��h�N"I`<�����|���jcT�…
D18.ts272 …f���%J�����C ���dNN���Gu�JԘy"> ��ES3�*�ȈD9B�8��/ 2�>?���`�I������b1�8ߖ.����6^�s���؜�c…
D14.ts158 ��h"��eTx����K9&�/������/����W�X�jI��-��cI%�섰�����@X���`�C�b1��E�R9�����dq-����h�P#��…
/cts/tests/tests/media/assets/hls_variant/387360/
D19.ts977 …��������������������GA����i��!���� �����ԛ��0�7��N�c&�q+�6&����t8��{���Y'�Q��)�b1%
1331 1%��%b1��� ���A����i�[|,p[6+V �Iz��#�,��Db�cŒj�����}JvҜ�(!���/$�H_��^�����{`��+
/cts/tests/tests/media/assets/hls_variant/344388/
D08.ts67 …����K��?�ֽ!�7���`�EqG���QK ��� S_a���|�А_�� E���+J+�7r`J���ۋ�;F�fL�b1�]�^��h���;Z5��u�R3$w…
1404 …������������������������������������������������ �'/��\�@���#B��g_>�bs�b1���ϡ�GA�������!�…

1234