Home
last modified time | relevance | path

Searched refs:obtainPath (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java203 File file = new File(obtainPath()); in testCreateFromFileByFileReference()
228 Typeface typeface = Typeface.createFromFile(obtainPath()); in testCreateFromFileByFileName()
232 private String obtainPath() throws IOException { in obtainPath() method in TypefaceTest
404 File file = new File(obtainPath()); in testTypefaceBuilder_FileSource()
405 Typeface typeface1 = new Typeface.Builder(obtainPath()).build(); in testTypefaceBuilder_FileSource()
426 final File validFile = new File(obtainPath()); in testTypefaceBuilder_fallback()
514 try (FileInputStream fis = new FileInputStream(obtainPath())) { in testTypefaceBuilder_FileSourceFD()
DBitmapFactoryTest.java295 ParcelFileDescriptor pfd = obtainParcelDescriptor(obtainPath()); in testDecodeFileDescriptor1()
309 ParcelFileDescriptor pfd = obtainParcelDescriptor(obtainPath()); in testDecodeFileDescriptor2()
333 String path = obtainPath(RES_ID, actualOffset); in testDecodeFileDescriptor3()
365 Bitmap b = BitmapFactory.decodeFile(obtainPath(), mOpt1); in testDecodeFile1()
371 assertNull(BitmapFactory.decodeFile(obtainPath(), mOpt2)); in testDecodeFile1()
376 Bitmap b = BitmapFactory.decodeFile(obtainPath()); in testDecodeFile2()
991 private String obtainPath() throws IOException { in obtainPath() method in BitmapFactoryTest
992 return obtainPath(R.drawable.start, 0); in obtainPath()
1002 private String obtainPath(int resId, long offset) throws IOException { in obtainPath() method in BitmapFactoryTest
DBitmapRegionDecoderTest.java186 String filepath = obtainPath(i); in testNewInstanceStringAndFileDescriptor()
298 String filepath = obtainPath(i); in testDecodeRegionStringAndFileDescriptor()
725 private String obtainPath(int idx) throws IOException { in obtainPath() method in BitmapRegionDecoderTest