Searched refs:imageFile (Results 1 – 4 of 4) sorted by relevance
183 File imageFile = new File(imageFilePath); in tearDown() local184 if (imageFile.exists()) { in tearDown()185 imageFile.delete(); in tearDown()323 private void testExifInterfaceCommon(File imageFile, ExpectedValue expectedValue) in testExifInterfaceCommon() argument325 String verboseTag = imageFile.getName(); in testExifInterfaceCommon()328 ExifInterface exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testExifInterfaceCommon()335 in = getContext().getAssets().open(imageFile.getName()); in testExifInterfaceCommon()345 in = new BufferedInputStream(new FileInputStream(imageFile.getAbsolutePath())); in testExifInterfaceCommon()355 fd = Os.open(imageFile.getAbsolutePath(), OsConstants.O_RDONLY, 0600); in testExifInterfaceCommon()365 private void testSaveAttributes_withFileName(File imageFile, ExpectedValue expectedValue) in testSaveAttributes_withFileName() argument[all …]
130 File imageFile = new File(mContext.getFilesDir(), "tempimage.jpg"); in testCreateFromPath() local131 assertTrue(imageFile.createNewFile()); in testCreateFromPath()132 assertTrue(imageFile.exists()); in testCreateFromPath()133 writeSampleImage(imageFile); in testCreateFromPath()135 final String path = imageFile.getPath(); in testCreateFromPath()138 assertTrue(imageFile.delete()); in testCreateFromPath()167 File imageFile = null; in testCreateFromStream() local182 imageFile = new File(mContext.getFilesDir(), "tempimage.jpg"); in testCreateFromStream()184 writeSampleImage(imageFile); in testCreateFromStream()186 inputStream = new FileInputStream(imageFile); in testCreateFromStream()[all …]
137 File imageFile = (File) getArguments().getSerializable(KEY_IMAGE_FILE); in onCreateDialog() local144 int orientationInDegree = getOrientationInDegreeFromImage(imageFile); in onCreateDialog()146 input = new FileInputStream(imageFile); in onCreateDialog()160 input = new FileInputStream(imageFile); in onCreateDialog()214 private static int getOrientationInDegreeFromImage(File imageFile) throws IOException { in getOrientationInDegreeFromImage() argument215 ExifInterface exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in getOrientationInDegreeFromImage()
205 File imageFile = new File(path); in testSetImageViewUri() local208 createSampleImage(imageFile, R.raw.testimage); in testSetImageViewUri()222 imageFile.delete(); in testSetImageViewUri()