Home
last modified time | relevance | path

Searched refs:quickShareAction (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DSaveImageInBackgroundTaskTest.kt132 val quickShareAction = in testQueryQuickShare_noAction() constant
135 assertNull(quickShareAction) in testQueryQuickShare_noAction()
154 val quickShareAction = in testQueryQuickShare_withActions() constant
157 assertEquals("Action One", quickShareAction.title) in testQueryQuickShare_withActions()
158 assertEquals(mutablePendingIntent, quickShareAction.actionIntent) in testQueryQuickShare_withActions()
163 val quickShareAction = in testCreateQuickShareAction_originalWasNull_returnsNull() constant
173 assertNull(quickShareAction) in testCreateQuickShareAction_originalWasNull_returnsNull()
192 val quickShareAction = in testCreateQuickShareAction_immutableIntentDifferentAction_returnsNull() constant
202 assertNull(quickShareAction) in testCreateQuickShareAction_immutableIntentDifferentAction_returnsNull()
221 val quickShareAction = in testCreateQuickShareAction_mutableIntent_returnsSafeIntent() constant
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotController.java129 public Notification.Action quickShareAction; field in ScreenshotController.SavedImageData
140 quickShareAction = null; in reset()
150 public Notification.Action quickShareAction; field in ScreenshotController.QuickShareData
156 quickShareAction = null; in reset()
944 if (quickShareData.quickShareAction != null) { in showUiOnQuickShareActionReady()
951 mViewProxy.addQuickShareChip(quickShareData.quickShareAction); in showUiOnQuickShareActionReady()
955 mViewProxy.addQuickShareChip(quickShareData.quickShareAction); in showUiOnQuickShareActionReady()
DSaveImageInBackgroundTask.java128 mQuickShareData.quickShareAction = quickShare; in doInBackground()
164 mImageData.quickShareAction = createQuickShareAction( in doInBackground()
165 mQuickShareData.quickShareAction, mScreenshotId, uri, mImageTime, image, in doInBackground()
DScreenshotViewProxy.kt47 fun addQuickShareChip(quickShareAction: Notification.Action) in reset()
DLegacyScreenshotViewProxy.kt110 override fun addQuickShareChip(quickShareAction: Notification.Action) = in reset()
111 view.addQuickShareChip(quickShareAction) in reset()
DScreenshotView.java803 if (imageData.quickShareAction != null) { in setChipIntents()
804 mQuickShareChip.setPendingIntent(imageData.quickShareAction.actionIntent, in setChipIntents()
858 void addQuickShareChip(Notification.Action quickShareAction) { in addQuickShareChip() argument
870 mQuickShareChip.setText(quickShareAction.title); in addQuickShareChip()
871 mQuickShareChip.setIcon(quickShareAction.getIcon(), false); in addQuickShareChip()
DScreenshotShelfViewProxy.kt167 override fun addQuickShareChip(quickShareAction: Notification.Action) {} in <lambda>()