Home
last modified time | relevance | path

Searched refs:ScreenshotEvent (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotEvent.java30 public enum ScreenshotEvent implements UiEventLogger.UiEventEnum { enum
100 ScreenshotEvent(int id) { in ScreenshotEvent() method in ScreenshotEvent
109 static ScreenshotEvent getScreenshotSource(int source) { in getScreenshotSource()
112 return ScreenshotEvent.SCREENSHOT_REQUESTED_GLOBAL_ACTIONS; in getScreenshotSource()
114 return ScreenshotEvent.SCREENSHOT_REQUESTED_KEY_CHORD; in getScreenshotSource()
116 return ScreenshotEvent.SCREENSHOT_REQUESTED_KEY_OTHER; in getScreenshotSource()
118 return ScreenshotEvent.SCREENSHOT_REQUESTED_OVERVIEW; in getScreenshotSource()
120 return ScreenshotEvent.SCREENSHOT_REQUESTED_ACCESSIBILITY_ACTIONS; in getScreenshotSource()
122 return ScreenshotEvent.SCREENSHOT_REQUESTED_VENDOR_GESTURE; in getScreenshotSource()
125 return ScreenshotEvent.SCREENSHOT_REQUESTED_OTHER; in getScreenshotSource()
DHeadlessScreenshotHandler.kt95 uiEventLogger.log(ScreenshotEvent.SCREENSHOT_NOT_SAVED, 0, screenshot.packageNameString) in logScreenshotResultStatus()
100 uiEventLogger.log(ScreenshotEvent.SCREENSHOT_SAVED, 0, screenshot.packageNameString) in logScreenshotResultStatus()
103 ScreenshotEvent.SCREENSHOT_SAVED_TO_WORK_PROFILE, in logScreenshotResultStatus()
DLegacyScreenshotViewProxy.kt38 import com.android.systemui.screenshot.ScreenshotEvent.SCREENSHOT_DISMISSED_OTHER
116 override fun requestDismissal(event: ScreenshotEvent?) { in reset()
185 private fun addPredictiveBackListener(onDismissRequested: (ScreenshotEvent) -> Unit) { in addPredictiveBackListener()
217 private fun setOnKeyListener(onDismissRequested: (ScreenshotEvent) -> Unit) { in setOnKeyListener()
DScreenshotActionsProvider.kt28 import com.android.systemui.screenshot.ScreenshotEvent.SCREENSHOT_EDIT_TAPPED in <lambda>()
29 import com.android.systemui.screenshot.ScreenshotEvent.SCREENSHOT_PREVIEW_TAPPED in <lambda>()
30 import com.android.systemui.screenshot.ScreenshotEvent.SCREENSHOT_SHARE_TAPPED in <lambda>()
DScreenshotShelfViewProxy.kt49 import com.android.systemui.screenshot.ScreenshotEvent.SCREENSHOT_DISMISSED_OTHER in <lambda>()
171 override fun requestDismissal(event: ScreenshotEvent?) { in <lambda>()
175 private fun requestDismissal(event: ScreenshotEvent?, velocity: Float?) { in <lambda>()
283 private fun addPredictiveBackListener(onDismissRequested: (ScreenshotEvent) -> Unit) { in <lambda>()
310 private fun setOnKeyListener(onDismissRequested: (ScreenshotEvent) -> Unit) { in <lambda>()
DScreenshotController.java30 import static com.android.systemui.screenshot.ScreenshotEvent.SCREENSHOT_DISMISSED_OTHER;
31 import static com.android.systemui.screenshot.ScreenshotEvent.SCREENSHOT_INTERACTION_TIMEOUT;
494 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_REENTERED, 0, in prepareViewForNewScreenshot()
513 void requestDismissal(ScreenshotEvent event) { in requestDismissal()
641 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_IMPRESSION, in requestScrollCapture()
659 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_REQUESTED, 0, in onScrollButtonClicked()
765 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_NOT_SAVED, 0, mPackageName); in saveScreenshotAndToast()
769 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_SAVED, 0, mPackageName); in saveScreenshotAndToast()
966 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_NOT_SAVED, 0, mPackageName); in logScreenshotResultStatus()
970 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_SAVED, 0, mPackageName); in logScreenshotResultStatus()
[all …]
DTakeScreenshotExecutor.kt30 import com.android.systemui.screenshot.ScreenshotEvent.SCREENSHOT_CAPTURE_FAILED in <lambda>()
31 import com.android.systemui.screenshot.ScreenshotEvent.SCREENSHOT_DISMISSED_OTHER in <lambda>()
158 ScreenshotEvent.getScreenshotSource(screenshotData.source), in handleScreenshot()
DScreenshotViewProxy.kt49 fun requestDismissal(event: ScreenshotEvent?) in reset()
DTakeScreenshotService.java28 import static com.android.systemui.screenshot.ScreenshotEvent.SCREENSHOT_CAPTURE_FAILED;
228 ScreenshotEvent.getScreenshotSource(request.getSource()), 0, packageName); in logFailedRequest()
DScreenshotView.java400 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_SWIPE_DISMISSED, 0, in onFinishInflate()
641 ScreenshotEvent.SCREENSHOT_EXPLICIT_DISMISSAL, 0, mPackageName); in createScreenshotDropInAnimation()
780 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_SHARE_TAPPED, 0, mPackageName); in setChipIntents()
789 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_EDIT_TAPPED, 0, mPackageName); in setChipIntents()
796 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_PREVIEW_TAPPED, 0, mPackageName); in setChipIntents()
807 ScreenshotEvent.SCREENSHOT_SMART_ACTION_TAPPED, 0, in setChipIntents()
847 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_SMART_ACTION_TAPPED, in setChipIntents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DScrollCaptureController.java34 import com.android.systemui.screenshot.ScreenshotEvent;
203 mEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_FAILURE, 0, mWindowOwner); in onCancelled()
212 mEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_STARTED, 0, mWindowOwner); in onStartComplete()
218 mEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_FAILURE, 0, mWindowOwner); in onStartComplete()
342 mEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_COMPLETED, 0, mWindowOwner); in finishCapture()
344 mEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_FAILURE, 0, mWindowOwner); in finishCapture()
DLongScreenshotActivity.java58 import com.android.systemui.screenshot.ScreenshotEvent;
190 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_ACTIVITY_STARTED); in onStart()
278 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_ACTIVITY_CACHED_IMAGE_LOADED); in onCachedImageLoaded()
317 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_ACTIVITY_FINISHED); in onStop()
389 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_SAVED); in onClicked()
392 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_EDIT); in onClicked()
395 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_SHARE); in onClicked()
398 mUiEventLogger.log(ScreenshotEvent.SCREENSHOT_LONG_SCREENSHOT_EXIT); in onClicked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/binder/
DScreenshotShelfViewBinder.kt35 import com.android.systemui.screenshot.ScreenshotEvent in <lambda>()
55 onDismissalRequested: (event: ScreenshotEvent, velocity: Float?) -> Unit, in <lambda>()
62 onDismissalRequested(ScreenshotEvent.SCREENSHOT_SWIPE_DISMISSED, it) in <lambda>()
78 onDismissalRequested(ScreenshotEvent.SCREENSHOT_EXPLICIT_DISMISSAL, null) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DTakeScreenshotExecutorTest.kt99 .isEqualTo(ScreenshotEvent.SCREENSHOT_REQUESTED_KEY_OTHER.id) in <lambda>()
102 .isEqualTo(ScreenshotEvent.SCREENSHOT_REQUESTED_KEY_OTHER.id) in <lambda>()
133 .isEqualTo(ScreenshotEvent.SCREENSHOT_REQUESTED_KEY_OTHER.id) in <lambda>()
332 it.eventId == ScreenshotEvent.SCREENSHOT_REQUESTED_KEY_OTHER.id in <lambda>()
349 it.eventId == ScreenshotEvent.SCREENSHOT_CAPTURE_FAILED.id in <lambda>()
395 it.eventId == ScreenshotEvent.SCREENSHOT_REQUESTED_KEY_OTHER.id in <lambda>()
415 it.eventId == ScreenshotEvent.SCREENSHOT_CAPTURE_FAILED.id in <lambda>()
DDefaultScreenshotActionsProviderTest.kt95 verify(uiEventLogger).log(eq(ScreenshotEvent.SCREENSHOT_SHARE_TAPPED), eq(0), eq("")) in <lambda>()
117 verify(uiEventLogger).log(eq(ScreenshotEvent.SCREENSHOT_EDIT_TAPPED), eq(0), eq("")) in <lambda>()
DTakeScreenshotServiceTest.kt32 import com.android.systemui.screenshot.ScreenshotEvent.SCREENSHOT_CAPTURE_FAILED
33 import com.android.systemui.screenshot.ScreenshotEvent.SCREENSHOT_REQUESTED_KEY_OTHER