Home
last modified time | relevance | path

Searched refs:b1 (Results 1 – 25 of 87) 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()
DParcelTest.java3434 IBinder b1 = new Binder();
3438 p.writeStrongBinder(b1);
3448 p.writeStrongBinder(b1);
3450 p.writeStrongBinder(b1);
3455 assertEquals("Object at the start of the parcel parcel should match the first binder", b1,
/cts/tests/tests/renderscript/src/android/renderscript/cts/
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()
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()
/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/graphics/res/raw/
Dsample_raf.raf772 �$��֛���g'���Üsڎq�ՠ��������I��8�Z�l�a��v�r�8�Ѐ:�ӈ�=�FF b1��Ol��y�`���c���(8���cp�i�F:�gq���…
1200 …ip��Z���OQސg���@;?(�Z2QM�����z�!�H�u�ϐ=>��N2Eh!��9��qa���&� ���b1��@���(r����z�Gǁ��=*…
1515 …�)9��|x�Ԋq<�G֐V#�sA�:��@!�M�� �����y����HA�g�5�5n��dY��u-ϝ�� X��b1�M��kF3���Ro�7�`�…
1634 …�w�XUr����n �Op}EX���Zp�� ����W��z��ؐ��Q��UJ��=kB"��|����������b1�r}k&[����JNNA5��…
1796 …\�)��`����~�?г�h$�HwrgJ�f��Z���<}���M�hS�G�ύ���?��=�M���C�����{W��9S�b1=�w�X�9����>�9Îǯ�~�…
2082 …�'�nݟ1�q�kԂ>S��$�zS�#�Z>���SH9\�҂��מ�8�������G�4��^�ֽ��r1��h'���ާ�(b1��0t�C�3�>������$�…
2158 …�@ޞ��x�}y�Qr��oj9��oʴݥ����q�q2D�����s_��'�e�pO�|w���b6���M���5�b1�����eYULt�+�[�����D…
2491 De���5�Xڃ]����b1��1����`��i�߽5�Tq�ADm��Ϧ) ��I�S�6��{�Z?���7�����^�����^9��&�pO�0���:�`�=N*"…
2787 …� �/ ���10��b)B0/B � ,�.� s R0%" ��R/B �� 0�/��0".!R ��7b1���b/0� � /�.� …
2789 s .b��,�/�� (r0��"!�0R�bb1� �2! �/*��1�-��� B0B��"/��b r.��R.�…
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTest.java2303 int b1 = buffered_test.read(); in compareStreams() local
2305 if (b1 != b2) { in compareStreams()
2306 Log.e(TAG, "streams differ at " + numread + ": " + b1 + "/" + b2); in compareStreams()
2309 if (b1 == -1) { in compareStreams()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1486 int b1 = in1.read(); in verifyServer() local
1488 assertEquals("CtsTestServer fail", b1, b2); in verifyServer()
1489 if (b1 < 0) { in verifyServer()
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutTest.java1473 int b1 = breaks[bi];
1483 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#��…

1234