Searched refs:ImageExporter (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ImageExporterTest.java | 19 import static com.android.systemui.screenshot.ImageExporter.createSystemFileDisplayName; 94 ImageExporter.createFilename(CAPTURE_TIME, CompressFormat.PNG, in testImageFilename() 101 ImageExporter.createFilename(CAPTURE_TIME, CompressFormat.PNG, /* displayId= */ 1)); in testImageFilename_secondaryDisplay1() 107 ImageExporter.createFilename(CAPTURE_TIME, CompressFormat.PNG, /* displayId= */ 2)); in testImageFilename_secondaryDisplay2() 114 ImageExporter.updateExifAttributes(exifInterface, in testUpdateExifAttributes_timeZoneUTC() 128 ImageExporter exporter = new ImageExporter(contentResolver, mFeatureFlags); in testImageExport() 133 ListenableFuture<ImageExporter.Result> direct = in testImageExport() 138 ImageExporter.Result result = direct.get(); in testImageExport() 194 ImageExporter exporter = new ImageExporter(contentResolver, mFeatureFlags); in testImageExport_customizedFileName() 199 ListenableFuture<ImageExporter.Result> direct = in testImageExport_customizedFileName() [all …]
|
D | SaveImageInBackgroundTaskTest.kt | 44 private val imageExporter = mock<ImageExporter>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/ |
D | AppClipsViewModel.java | 40 import com.android.systemui.screenshot.ImageExporter; 55 private final ImageExporter mImageExporter; 66 ImageExporter imageExporter, @Main Executor mainExecutor, in AppClipsViewModel() 120 ListenableFuture<ImageExporter.Result> exportFuture = mImageExporter.export(mBgExecutor, in saveScreenshotThenFinish() 126 ImageExporter.Result result = exportFuture.get(); in saveScreenshotThenFinish() 155 private final ImageExporter mImageExporter; 162 Factory(AppClipsCrossProcessHelper appClipsCrossProcessHelper, ImageExporter imageExporter, in Factory()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/ |
D | AppClipsViewModelTest.java | 41 import com.android.systemui.screenshot.ImageExporter; 65 @Mock private ImageExporter mImageExporter; 119 Futures.immediateFuture(new ImageExporter.Result())); in saveScreenshot_failsSilently_shouldUpdateErrorWithFailed() 131 ImageExporter.Result result = new ImageExporter.Result(); in saveScreenshot_succeeds_shouldUpdateResultWithUri()
|
D | AppClipsActivityTest.java | 52 import com.android.systemui.screenshot.ImageExporter; 84 private ImageExporter mImageExporter; 122 ImageExporter.Result result = new ImageExporter.Result(); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | HeadlessScreenshotHandler.kt | 41 private val imageExporter: ImageExporter, 67 val future: ListenableFuture<ImageExporter.Result> = in handleScreenshot()
|
D | SaveImageInBackgroundTask.java | 72 private final ImageExporter mImageExporter; 78 ImageExporter exporter, in SaveImageInBackgroundTask() 134 ListenableFuture<ImageExporter.Result> future = in doInBackground() 137 ImageExporter.Result result = future.get(); in doInBackground()
|
D | ImageExporter.java | 64 public class ImageExporter { class 65 private static final String TAG = LogConfig.logTag(ImageExporter.class); 100 public ImageExporter(ContentResolver resolver, FeatureFlags flags) { in ImageExporter() method in ImageExporter
|
D | ScreenshotController.java | 198 private final ImageExporter mImageExporter; 260 ImageExporter imageExporter, in ScreenshotController() 849 ListenableFuture<ImageExporter.Result> future = mImageExporter.export(mBgExecutor, in saveScreenshotInBackground() 854 ImageExporter.Result result = future.get(); in saveScreenshotInBackground()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/ |
D | LongScreenshotActivity.java | 56 import com.android.systemui.screenshot.ImageExporter; 87 private final ImageExporter mImageExporter; 118 public LongScreenshotActivity(UiEventLogger uiEventLogger, ImageExporter imageExporter, in LongScreenshotActivity() 422 ListenableFuture<ImageExporter.Result> exportFuture = mImageExporter.export( in startExport() 429 ListenableFuture<ImageExporter.Result> exportFuture) { in onExportCompleted() 431 ImageExporter.Result result; in onExportCompleted()
|