Home
last modified time | relevance | path

Searched refs:mIntent (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityTest.java26 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testPendingResult()
27 mIntent.putExtra("mode", SubActivityScreen.PENDING_RESULT_MODE); in testPendingResult()
32 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testNoResult()
33 mIntent.putExtra("mode", SubActivityScreen.NO_RESULT_MODE); in testNoResult()
38 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testResult()
39 mIntent.putExtra("mode", SubActivityScreen.RESULT_MODE); in testResult()
44 mIntent.putExtra("component", in testFinishSub()
46 mIntent.putExtra("mode", SubActivityScreen.FINISH_SUB_MODE); in testFinishSub()
51 mIntent.putExtra("component", in testRemoteNoResult()
53 mIntent.putExtra("mode", SubActivityScreen.NO_RESULT_MODE); in testRemoteNoResult()
[all …]
DLifecycleTest.java31 mTopIntent = mIntent; in setUp()
39 mIntent = mTopIntent; in testBasic()
46 mIntent = mTabIntent; in testTabBasic()
54 mIntent = mTopIntent; in testScreen()
63 mIntent = mTabIntent; in testTabScreen()
70 mIntent = mTopIntent; in testDialog()
77 mIntent = mTabIntent; in testTabDialog()
83 mIntent = mTopIntent; in testFinishCreate()
90 mIntent = mTabIntent; in testTabFinishCreate()
96 mIntent = mTopIntent; in testFinishStart()
[all …]
DLaunchTest.java26 mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class)); in testColdActivity()
32 mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class)); in testLocalActivity()
38 mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class)); in testColdScreen()
44 mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class)); in testLocalScreen()
63 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); in testClearTopInCreate()
69 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); in testClearTopWhileResumed()
70 mIntent.putExtra(ClearTop.WAIT_CLEAR_TASK, true); in testClearTopWhileResumed()
DActivityTestsBase.java32 protected Intent mIntent; field in ActivityTestsBase
46 mIntent = new Intent(mContext, LaunchpadActivity.class); in setUp()
92 return mIntent; in editIntent()
133 mIntent.setAction(action); in runLaunchpad()
136 mIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in runLaunchpad()
137 mContext.startActivity(mIntent); in runLaunchpad()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DIntents.java102 private final Intent mIntent; field in Intents.PhotoViewIntentBuilder
140 mIntent = new Intent(context, cls); in PhotoViewIntentBuilder()
145 mIntent = new Intent(); in PhotoViewIntentBuilder()
146 mIntent.setClassName(context, activityName); in PhotoViewIntentBuilder()
262 mIntent.setAction(Intent.ACTION_VIEW); in build()
266 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT in build()
277 mIntent.putExtra(EXTRA_PHOTO_INDEX, (int) mPhotoIndex); in build()
281 mIntent.putExtra(EXTRA_INITIAL_PHOTO_URI, mInitialPhotoUri); in build()
290 mIntent.putExtra(EXTRA_PHOTOS_URI, mPhotosUri); in build()
291 mIntent.setData(Uri.parse(mPhotosUri)); in build()
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DShareCompat.java261 private Intent mIntent; field in ShareCompat.IntentBuilder
281 mIntent = new Intent().setAction(Intent.ACTION_SEND); in IntentBuilder()
282 mIntent.putExtra(EXTRA_CALLING_PACKAGE, launchingActivity.getPackageName()); in IntentBuilder()
283 mIntent.putExtra(EXTRA_CALLING_ACTIVITY, launchingActivity.getComponentName()); in IntentBuilder()
284 mIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); in IntentBuilder()
312 boolean isSendMultiple = mIntent.getAction().equals(Intent.ACTION_SEND_MULTIPLE); in getIntent()
317 mIntent.setAction(Intent.ACTION_SEND); in getIntent()
319 mIntent.putExtra(Intent.EXTRA_STREAM, mStreams.get(0)); in getIntent()
321 mIntent.removeExtra(Intent.EXTRA_STREAM); in getIntent()
329 mIntent.setAction(Intent.ACTION_SEND_MULTIPLE); in getIntent()
[all …]
/frameworks/support/customtabs/src/android/support/customtabs/
DCustomTabsIntent.java165 private final Intent mIntent = new Intent(Intent.ACTION_VIEW); field in CustomTabsIntent.Builder
187 if (session != null) mIntent.setPackage(session.getComponentName().getPackageName()); in Builder()
191 mIntent.putExtras(bundle); in Builder()
200 mIntent.putExtra(EXTRA_TOOLBAR_COLOR, color); in setToolbarColor()
210 mIntent.putExtra(EXTRA_CLOSE_BUTTON_ICON, icon); in setCloseButtonIcon()
220 mIntent.putExtra(EXTRA_TITLE_VISIBILITY_STATE, in setShowTitle()
253 mIntent.putExtra(EXTRA_ACTION_BUTTON_BUNDLE, bundle); in setActionButton()
282 mIntent.putExtra(EXTRA_EXIT_ANIMATION_BUNDLE, bundle); in setExitAnimations()
292 mIntent.putParcelableArrayListExtra(CustomTabsIntent.EXTRA_MENU_ITEMS, mMenuItems); in build()
294 return new CustomTabsIntent(mIntent, mStartAnimationBundle); in build()
/frameworks/base/core/java/android/content/
DClipData.java189 final Intent mIntent; field in ClipData.Item
198 mIntent = null; in Item()
211 mIntent = null; in Item()
221 mIntent = intent; in Item()
231 mIntent = null; in Item()
242 mIntent = intent; in Item()
259 mIntent = intent; in Item()
281 return mIntent; in getIntent()
553 if (mIntent != null) { in coerceToHtmlOrStyledText()
555 return uriToStyledText(mIntent.toUri(Intent.URI_INTENT_SCHEME)); in coerceToHtmlOrStyledText()
[all …]
DIntentSender.java108 private Intent mIntent; field in IntentSender.FinishedDispatcher
119 mIntent = intent; in performReceive()
130 mWho.onSendFinished(mIntentSender, mIntent, mResultCode, in run()
/frameworks/base/core/java/android/app/assist/
DAssistContent.java17 private Intent mIntent; field in AssistContent
36 mIntent = intent; in setDefaultIntent()
56 mIntent = intent; in setIntent()
64 return mIntent; in getIntent()
139 mIntent = Intent.CREATOR.createFromParcel(in); in AssistContent()
155 if (mIntent != null) { in writeToParcelInternal()
157 mIntent.writeToParcel(dest, flags); in writeToParcelInternal()
/frameworks/base/test-runner/src/android/test/
DLaunchPerformanceBase.java34 protected Intent mIntent; field in LaunchPerformanceBase
38 mIntent = new Intent(Intent.ACTION_MAIN); in LaunchPerformanceBase()
39 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in LaunchPerformanceBase()
49 startActivitySync(mIntent); in LaunchApp()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGuidedAction.java55 private Intent mIntent; field in GuidedAction.Builder
70 action.mIntent = mIntent; in build()
116 mIntent = intent; in intent()
205 private Intent mIntent; field in GuidedAction
232 return mIntent; in getIntent()
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java96 protected Intent mIntent; field in PhotoViewFragment
194 mIntent = bundle.getParcelable(ARG_INTENT); in onCreate()
195 mDisplayThumbsFullScreen = mIntent.getBooleanExtra( in onCreate()
205 mIntent = new Intent().putExtras(state); in onCreate()
209 if (mIntent != null) { in onCreate()
210 mResolvedPhotoUri = mIntent.getStringExtra(Intents.EXTRA_RESOLVED_PHOTO_URI); in onCreate()
211 mThumbnailUri = mIntent.getStringExtra(Intents.EXTRA_THUMBNAIL_URI); in onCreate()
212 mWatchNetworkState = mIntent.getBooleanExtra(Intents.EXTRA_WATCH_NETWORK, false); in onCreate()
226 mPhotoView.setMaxInitialScale(mIntent.getFloatExtra(Intents.EXTRA_MAX_INITIAL_SCALE, 1)); in initializeView()
315 if (mIntent != null) { in onSaveInstanceState()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItem.java39 private Intent mIntent; field in ActionMenuItem
82 return mIntent; in getIntent()
171 mIntent = intent; in setIntent()
216 if (mIntent != null) { in invoke()
217 mContext.startActivity(mIntent); in invoke()
DMenuItemImpl.java51 private Intent mIntent; field in MenuItemImpl
161 if (mIntent != null) { in invoke()
163 mMenu.getContext().startActivity(mIntent); in invoke()
211 return mIntent; in getIntent()
215 mIntent = intent; in setIntent()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DActionMenuItem.java43 private Intent mIntent; field in ActionMenuItem
86 return mIntent; in getIntent()
175 mIntent = intent; in setIntent()
220 if (mIntent != null) { in invoke()
221 mContext.startActivity(mIntent); in invoke()
DMenuItemImpl.java55 private Intent mIntent; field in MenuItemImpl
162 if (mIntent != null) { in invoke()
164 mMenu.getContext().startActivity(mIntent); in invoke()
218 return mIntent; in getIntent()
223 mIntent = intent; in setIntent()
/frameworks/support/recommendation/src/android/support/app/recommendation/
DContentRecommendation.java298 Intent mIntent; field in ContentRecommendation.IntentData
923 mBuilderContentIntentData.mIntent = checkNotNull(intent); in setContentIntentData()
960 mBuilderDismissIntentData.mIntent = intent; in setDismissIntentData()
1097 mContentIntentData.mIntent, PendingIntent.FLAG_UPDATE_CURRENT, in getNotificationObject()
1101 mContentIntentData.mIntent, PendingIntent.FLAG_UPDATE_CURRENT); in getNotificationObject()
1105 mContentIntentData.mIntent, PendingIntent.FLAG_UPDATE_CURRENT); in getNotificationObject()
1114 mDismissIntentData.mIntent, PendingIntent.FLAG_UPDATE_CURRENT, in getNotificationObject()
1118 mDismissIntentData.mIntent, PendingIntent.FLAG_UPDATE_CURRENT); in getNotificationObject()
1122 mDismissIntentData.mIntent, PendingIntent.FLAG_UPDATE_CURRENT); in getNotificationObject()
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/
DTransportMediatorJellybeanMR2.java40 final Intent mIntent; field in TransportMediatorJellybeanMR2
92 mIntent = new Intent(mReceiverAction); in TransportMediatorJellybeanMR2()
93 mIntent.setPackage(context.getPackageName()); in TransportMediatorJellybeanMR2()
112 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, mIntent, in windowAttached()
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java267 private Intent mIntent; field in ActivityChooserModel
381 if (mIntent == intent) { in setIntent()
384 mIntent = intent; in setIntent()
397 return mIntent; in getIntent()
472 if (mIntent == null) { in chooseActivity()
484 Intent choiceIntent = new Intent(mIntent); in chooseActivity()
691 if (mActivitySorter != null && mIntent != null in sortActivitiesIfNeeded()
693 mActivitySorter.sort(mIntent, mActivities, in sortActivitiesIfNeeded()
707 if (mReloadActivities && mIntent != null) { in loadActivitiesIfNeeded()
711 .queryIntentActivities(mIntent, 0); in loadActivitiesIfNeeded()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActivityChooserModel.java257 private Intent mIntent; field in ActivityChooserModel
370 if (mIntent == intent) { in setIntent()
373 mIntent = intent; in setIntent()
386 return mIntent; in getIntent()
461 if (mIntent == null) { in chooseActivity()
473 Intent choiceIntent = new Intent(mIntent); in chooseActivity()
674 if (mActivitySorter != null && mIntent != null in sortActivitiesIfNeeded()
676 mActivitySorter.sort(mIntent, mActivities, in sortActivitiesIfNeeded()
690 if (mReloadActivities && mIntent != null) { in loadActivitiesIfNeeded()
694 .queryIntentActivities(mIntent, 0); in loadActivitiesIfNeeded()
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceState.java41 public final PendingIntent mIntent; field in GeofenceState
56 mIntent = intent; in GeofenceState()
DGeofenceManager.java132 if (geofence.equals(w.mFence) && intent.equals(w.mIntent)) { in addFence()
152 if (state.mIntent.equals(intent)) { in removeFence()
283 enterIntents.add(state.mIntent); in updateFences()
286 exitIntents.add(state.mIntent); in updateFences()
/frameworks/base/core/java/android/app/
DLauncherActivity.java58 Intent mIntent; field in LauncherActivity
121 Intent intent = new Intent(mIntent); in intentForPosition()
352 mIntent = new Intent(getTargetIntent()); in onCreate()
353 mIntent.setComponent(null); in onCreate()
459 List<ResolveInfo> list = onQueryPackageManager(mIntent); in makeListItems()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerService.java39 private Intent mIntent; field in PlayerService
47 mIntent = onCreateServiceIntent(); in onCreate()

12