Home
last modified time | relevance | path

Searched refs:ImageExporter (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DImageExporterTest.java19 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 …]
DSaveImageInBackgroundTaskTest.kt44 private val imageExporter = mock<ImageExporter>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/
DAppClipsViewModel.java40 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/
DAppClipsViewModelTest.java41 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()
DAppClipsActivityTest.java52 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/
DHeadlessScreenshotHandler.kt41 private val imageExporter: ImageExporter,
67 val future: ListenableFuture<ImageExporter.Result> = in handleScreenshot()
DSaveImageInBackgroundTask.java72 private final ImageExporter mImageExporter;
78 ImageExporter exporter, in SaveImageInBackgroundTask()
134 ListenableFuture<ImageExporter.Result> future = in doInBackground()
137 ImageExporter.Result result = future.get(); in doInBackground()
DImageExporter.java64 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
DScreenshotController.java198 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/
DLongScreenshotActivity.java56 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()