Searched refs:obtainInputStream (Results 1 – 3 of 3) sorted by relevance
152 InputStream is = obtainInputStream(RES_IDS[i]); in testNewInstanceInputStream()217 InputStream is1 = obtainInputStream(RES_IDS[i]); in testDecodeRegionInputStream()219 InputStream is2 = obtainInputStream(RES_IDS[i]); in testDecodeRegionInputStream()245 InputStream is1 = obtainInputStream(RES_IDS[i]); in testDecodeRegionInputStreamInBitmap()247 InputStream is2 = obtainInputStream(RES_IDS[i]); in testDecodeRegionInputStreamInBitmap()330 InputStream is = obtainInputStream(RES_IDS[0]); in testRecycle()371 InputStream is = obtainInputStream(RES_IDS[i]); in testInBitmapReuse()439 InputStream is = obtainInputStream(RES_IDS[0]); in testDecodeHardwareBitmap()456 InputStream is1 = obtainInputStream(RES_IDS[i]); in testOutColorType()479 InputStream is1 = obtainInputStream(assetName); in testOutColorSpace()[all …]
39 private static InputStream obtainInputStream(int resId) { in obtainInputStream() method in Utils96 InputStream is = obtainInputStream(resId); in obtainFile()
161 InputStream is = obtainInputStream(); in testDecodeResourceStream()195 InputStream is = obtainInputStream(); in testDecodeStream1()208 InputStream is = obtainInputStream(); in testDecodeStream2()219 InputStream is = obtainInputStream(testImage.id); in testDecodeStream3()235 return decodeOpaqueImage(obtainInputStream(resId), options); in decodeOpaqueImage()286 InputStream iStreamPng = obtainInputStream(R.drawable.google_logo_1); in testDecodeStream5()294 InputStream iStreamWebP1 = obtainInputStream(R.drawable.google_logo_2); in testDecodeStream5()680 verifyUnscaled(BitmapFactory.decodeStream(obtainInputStream())); in testDecodeScaling()681 verifyUnscaled(BitmapFactory.decodeStream(obtainInputStream(), null, null)); in testDecodeScaling()682 verifyUnscaled(BitmapFactory.decodeStream(obtainInputStream(), null, unscaledOpt)); in testDecodeScaling()[all …]