Home
last modified time | relevance | path

Searched refs:setAction (Results 1 – 25 of 92) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityScreen.java52 res.setAction("test"); in onCreate()
85 setResult(RESULT_CANCELED, (new Intent()).setAction("Interrupted!")); in onResume()
97 res.setAction("test"); in onResume()
122 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
129 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
132 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
135 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
138 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
144 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
DClearTop.java34 Intent intent = new Intent(getIntent()).setAction(LocalScreen.CLEAR_TASK) in onCreate()
45 setResult(RESULT_CANCELED, new Intent().setAction( in onNewIntent()
DActivityTestsBase.java109 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(error)); in finishBad()
133 mIntent.setAction(action); in runLaunchpad()
209 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(msg)); in onTimeout()
DTestedScreen.java44 intent.setAction(DELIVER_RESULT); in onCreate()
51 setResult(RESULT_OK, (new Intent()).setAction( in onCreate()
DRemoteReceiver.java36 newIntent.setAction(LaunchpadActivity.BROADCAST_REMOTE); in onReceive()
DLaunchpadActivity.java144 private Intent mData = (new Intent()).setAction("No result received");
351 finishWithResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
357 finishWithResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
449 finishWithResult(RESULT_CANCELED, (new Intent()).setAction(error)); in finishBad()
DLocalReceiver.java63 newIntent.setAction(LaunchpadActivity.BROADCAST_LOCAL); in onReceive()
/frameworks/support/compat/java/android/support/v4/view/accessibility/
DAccessibilityEventCompat.java44 public void setAction(AccessibilityEvent event, int action) { in setAction() method in AccessibilityEventCompat.AccessibilityEventCompatBaseImpl
65 public void setAction(AccessibilityEvent event, int action) { in setAction() method in AccessibilityEventCompat.AccessibilityEventCompatApi16Impl
66 event.setAction(action); in setAction()
395 public void setAction(AccessibilityEvent event, int action) { in setAction() method in AccessibilityEventCompat
396 IMPL.setAction(event, action); in setAction()
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DSnackbarUsage.java53 .setAction("Action", new View.OnClickListener() { in showAction()
70 .setAction("Action", new View.OnClickListener() { in showLongAction()
82 .setAction("Action which wraps", new View.OnClickListener() { in showLongLongAction()
/frameworks/support/design/tests/src/android/support/design/widget/
DCoordinatorSnackbarWithFabTest.java112 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)); in testBuiltInSliding()
131 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)); in testBuiltInSlidingFromHiddenFab()
152 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)); in testBehaviorBasedSlidingFromLayoutAttribute()
169 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)); in testBehaviorBasedSlidingFromClassAnnotation()
192 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)); in testBehaviorBasedSlidingFromRuntimeApiCall()
DSnackbarTest.java126 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)), in testBasicContent()
132 .setAction(ACTION_ID, mock(View.OnClickListener.class)), in testBasicContent()
138 .setAction(ACTION_ID, mock(View.OnClickListener.class)), in testBasicContent()
149 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)) in verifyDismissCallback()
311 .setAction(ACTION_TEXT, mockClickListener); in testActionClickListener()
325 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)); in testSetCallback()
341 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)); in testSingleCallback()
363 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)); in testMultipleCallbacks()
386 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)); in testMultipleCallbacksWithRemoval()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
DSendResult.java66 setResult(RESULT_OK, (new Intent()).setAction("Corky!"));
78 setResult(RESULT_OK, (new Intent()).setAction("Violet!"));
/frameworks/support/design/src/android/support/design/widget/
DSnackbar.java231 public Snackbar setAction(@StringRes int resId, View.OnClickListener listener) { in setAction() method in Snackbar
232 return setAction(getContext().getText(resId), listener); in setAction()
242 public Snackbar setAction(CharSequence text, final View.OnClickListener listener) { in setAction() method in Snackbar
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistProxyActivity.java30 intent.setAction(Intent.ACTION_ASSIST); in onCreate()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSchedulerService.java36 .setAction(Intent.ACTION_MAIN) in onStartCommand()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java593 intent.setAction("com.android.tv.settings.action.NEW_STORAGE"); in buildInitPendingIntent()
609 intent.setAction("com.android.tv.settings.action.NEW_STORAGE"); in buildInitPendingIntent()
625 intent.setAction("com.android.tv.settings.action.UNMOUNT_STORAGE"); in buildUnmountPendingIntent()
654 intent.setAction(Settings.ACTION_INTERNAL_STORAGE_SETTINGS); in buildVolumeSettingsPendingIntent()
701 intent.setAction("com.android.tv.settings.action.MIGRATE_STORAGE"); in buildWizardMigratePendingIntent()
720 intent.setAction("com.android.tv.settings.action.MOVE_APP"); in buildWizardMovePendingIntent()
735 intent.setAction(Settings.ACTION_INTERNAL_STORAGE_SETTINGS); in buildWizardReadyPendingIntent()
/frameworks/support/compat/java/android/support/v4/app/
DShareCompat.java215 mIntent = new Intent().setAction(Intent.ACTION_SEND); in IntentBuilder()
251 mIntent.setAction(Intent.ACTION_SEND); in getIntent()
263 mIntent.setAction(Intent.ACTION_SEND_MULTIPLE); in getIntent()
402 mIntent.setAction(Intent.ACTION_SEND); in setStream()
/frameworks/base/services/core/java/com/android/server/security/
DKeyChainSystemService.java87 intent.setAction(broadcastIntent.getAction());
/frameworks/base/core/java/com/android/internal/app/
DResolverTargetActionsDialogFragment.java90 Intent in = new Intent().setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS) in onClick()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsResolverTest.java350 addPackageIntent.setAction(Intent.ACTION_PACKAGE_ADDED); in testAddDeviceFeatureNoCarrier()
416 addPackageIntent.setAction(Intent.ACTION_PACKAGE_ADDED); in testAddDeviceFeatureWithCarrier()
486 addPackageIntent.setAction(Intent.ACTION_PACKAGE_ADDED); in testAddCarrierFeature()
555 addPackageIntent.setAction(Intent.ACTION_PACKAGE_ADDED); in testRemoveCarrierFeature()
610 addPackageIntent.setAction(Intent.ACTION_PACKAGE_ADDED); in testInstallCarrierImsService()
659 removePackageIntent.setAction(Intent.ACTION_PACKAGE_REMOVED); in testUninstallCarrierImsService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DObservableScrollView.java101 cancel.setAction(MotionEvent.ACTION_CANCEL); in dispatchTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DCarNavigationBarController.java231 intent.setAction(Intent.ACTION_MAIN); in getPackageCategory()
274 intent.setAction(Intent.ACTION_MAIN); in facetHasMultiplePackages()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java284 intent.setAction(INTENT_ACTION_CANCEL_PRINTJOB + "_" + printJob.getId().flattenToString()); in createCancelIntent()
291 intent.setAction(INTENT_ACTION_RESTART_PRINTJOB + "_" + printJobId.flattenToString()); in createRestartIntent()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DIntents.java283 mIntent.setAction(Intent.ACTION_VIEW); in build()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyButton.java50 .setAction("com.android.phone.EmergencyDialer.DIAL")

1234