Searched refs:mImagesDir (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | AvatarPhotoControllerTest.java | 66 private File mImagesDir; field in AvatarPhotoControllerTest 80 mImagesDir = new File( in setUp() 82 mImagesDir.mkdir(); in setUp() 92 String[] entries = mImagesDir.list(); in tearDown() 94 new File(mImagesDir, entry).delete(); in tearDown() 96 mImagesDir.delete(); in tearDown() 117 new File(mImagesDir, "file.txt").createNewFile(); in takePhotoIsFollowedByCrop() 131 new File(mImagesDir, "file.txt").createNewFile(); in takePhotoIsNotFollowedByCropWhenResultCodeNotOk() 145 new File(mImagesDir, "TakeEditUserPhoto.jpg").createNewFile(); in takePhotoIsFollowedByCropWhenTakePhotoUriReturned() 158 new File(mImagesDir, "file.txt").createNewFile(); in choosePhotoIsFollowedByCrop() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | EditUserPhotoController.java | 75 private final File mImagesDir; field in EditUserPhotoController 92 mImagesDir = new File(activity.getCacheDir(), IMAGES_DIR); in EditUserPhotoController() 93 mImagesDir.mkdir(); in EditUserPhotoController() 214 File file = new File(mImagesDir, NEW_USER_PHOTO_FILE_NAME); in saveNewUserPhotoBitmap() 231 new File(mImagesDir, NEW_USER_PHOTO_FILE_NAME).delete(); in removeNewUserPhotoBitmapFile()
|
/frameworks/base/packages/SettingsLib/AvatarPicker/src/ |
D | AvatarPhotoController.java | 100 private final File mImagesDir; field in AvatarPhotoController 109 mImagesDir = new File(mContextInjector.getCacheDir(), IMAGES_DIR); in AvatarPhotoController() 110 mImagesDir.mkdir(); in AvatarPhotoController() 112 .createTempImageUri(mImagesDir, PRE_CROP_PICTURE_FILE_NAME, !waiting); in AvatarPhotoController() 114 mContextInjector.createTempImageUri(mImagesDir, CROP_PICTURE_FILE_NAME, !waiting); in AvatarPhotoController() 116 mContextInjector.createTempImageUri(mImagesDir, TAKE_PICTURE_FILE_NAME, !waiting); in AvatarPhotoController() 269 saveBitmapToFile(croppedImage, new File(mImagesDir, CROP_PICTURE_FILE_NAME)); in onPhotoNotCropped()
|