Home
last modified time | relevance | path

Searched refs:bm (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DBoringLayout_MetricsTest.java33 BoringLayout.Metrics bm = new BoringLayout.Metrics(); in testMetrics() local
34 assertNotNull(bm.toString()); in testMetrics()
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java300 Bitmap bm = ImageDecoder.decodeBitmap(src); in testDecodeBitmap() local
301 assertNotNull(bm); in testDecodeBitmap()
302 assertEquals(record.width, bm.getWidth()); in testDecodeBitmap()
303 assertEquals(record.height, bm.getHeight()); in testDecodeBitmap()
304 assertFalse(bm.isMutable()); in testDecodeBitmap()
306 assertEquals(Bitmap.Config.HARDWARE, bm.getConfig()); in testDecodeBitmap()
381 Bitmap bm = null; in testSetAllocatorDecodeBitmap() local
383 bm = ImageDecoder.decodeBitmap(src, l); in testSetAllocatorDecodeBitmap()
388 assertNotNull(bm); in testSetAllocatorDecodeBitmap()
396 assertNotEquals(Bitmap.Config.HARDWARE, bm.getConfig()); in testSetAllocatorDecodeBitmap()
[all …]
/cts/tests/pdf/src/android/graphics/pdf/cts/
DPdfRendererTest.java225 private @NonNull int[] getColorProbes(@NonNull Bitmap bm) { in getColorProbes() argument
230 probes[row * 4 + column] = bm.getPixel((int) (bm.getWidth() * (column + 0.5) / 4), in getColorProbes()
231 (int) (bm.getHeight() * (row + 0.5) / 4)); in getColorProbes()
247 Bitmap bm = renderWithTransform(A4_WIDTH_PTS, A4_HEIGHT_PTS, A4_PORTRAIT, null, null, in renderNoTransformationAndComparePoints() local
249 int[] probes = getColorProbes(bm); in renderNoTransformationAndComparePoints()
DUtils.java123 Bitmap bm = Bitmap.createBitmap(bmWidth, bmHeight, Bitmap.Config.ARGB_8888); in renderWithTransform() local
125 page.render(bm, clipping, transformation, renderMode); in renderWithTransform()
127 return bm; in renderWithTransform()
/cts/hostsidetests/incident/src/com/android/server/cts/
DBatteryStatsIncidentTest.java346 UidProto.BluetoothMisc bm = u.getBluetoothMisc(); in testUidProto() local
347 testTimerProto(bm.getApportionedBleScan()); in testUidProto()
348 testTimerProto(bm.getBackgroundBleScan()); in testUidProto()
349 testTimerProto(bm.getUnoptimizedBleScan()); in testUidProto()
350 testTimerProto(bm.getBackgroundUnoptimizedBleScan()); in testUidProto()
351 assertTrue(0 <= bm.getBleScanResultCount()); in testUidProto()
352 assertTrue(0 <= bm.getBackgroundBleScanResultCount()); in testUidProto()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/
DChargingConstraintTestActivity.java115 BatteryManager bm = (BatteryManager) getSystemService(BATTERY_SERVICE); in startTestImpl() local
116 if (bm.isCharging()) { in startTestImpl()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DAppStandbyTests.java300 final BatteryManager bm = mContext.getSystemService(BatteryManager.class); in setBatteryCharging() local
304 assertTrue("Battery could not be unplugged", waitUntil(() -> !bm.isCharging(), 5_000)); in setBatteryCharging()
/cts/tests/tests/print/src/android/print/cts/
DPrintServicesTest.java427 Bitmap bm = BitmapFactory.decodeResource(getActivity().getResources(),
430 mIcon = Icon.createWithBitmap(bm);
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedImageDrawableTest.java283 Bitmap bm = Bitmap.createBitmap(drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight(), in testLifeCycleSoftware() local
285 Canvas canvas = new Canvas(bm); in testLifeCycleSoftware()
/cts/tests/camera/src/android/hardware/camera2/cts/
DStillCaptureTest.java853 Bitmap bm[] = new Bitmap[MAX_ALLOCATED_BITMAPS]; in takePictureTestByCamera() local
855 bm[i] = Bitmap.createBitmap( in takePictureTestByCamera()
857 assertNotNull("Created bitmap #" + i + " shouldn't be null", bm[i]); in takePictureTestByCamera()
/cts/tests/tests/media/assets/
DfileSequence1.ts3028 c�N�q�eW l�sG�-�� N>����bm��V�0i0�/� �M$� A��f�!wA"h�����`���\��]B���