/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SubActivityTest.java | 26 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 …]
|
D | LifecycleTest.java | 31 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 …]
|
D | LaunchTest.java | 26 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()
|
D | ActivityTestsBase.java | 32 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/support/v4/java/android/support/v4/app/ |
D | ShareCompat.java | 260 private Intent mIntent; field in ShareCompat.IntentBuilder 280 mIntent = new Intent().setAction(Intent.ACTION_SEND); in IntentBuilder() 281 mIntent.putExtra(EXTRA_CALLING_PACKAGE, launchingActivity.getPackageName()); in IntentBuilder() 282 mIntent.putExtra(EXTRA_CALLING_ACTIVITY, launchingActivity.getComponentName()); in IntentBuilder() 283 mIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); in IntentBuilder() 311 boolean isSendMultiple = mIntent.getAction().equals(Intent.ACTION_SEND_MULTIPLE); in getIntent() 316 mIntent.setAction(Intent.ACTION_SEND); in getIntent() 318 mIntent.putExtra(Intent.EXTRA_STREAM, mStreams.get(0)); in getIntent() 320 mIntent.removeExtra(Intent.EXTRA_STREAM); in getIntent() 328 mIntent.setAction(Intent.ACTION_SEND_MULTIPLE); in getIntent() [all …]
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | Intents.java | 68 private final Intent mIntent; field in Intents.PhotoViewIntentBuilder 86 mIntent = new Intent(context, cls); in PhotoViewIntentBuilder() 141 mIntent.setAction(Intent.ACTION_VIEW); in build() 143 mIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); in build() 146 mIntent.putExtra(EXTRA_PHOTO_INDEX, (int) mPhotoIndex); in build() 150 mIntent.putExtra(EXTRA_INITIAL_PHOTO_URI, mInitialPhotoUri); in build() 159 mIntent.putExtra(EXTRA_PHOTOS_URI, mPhotosUri); in build() 163 mIntent.putExtra(EXTRA_RESOLVED_PHOTO_URI, mResolvedPhotoUri); in build() 167 mIntent.putExtra(EXTRA_PROJECTION, mProjection); in build() 171 mIntent.putExtra(EXTRA_THUMBNAIL_URI, mThumbnailUri); in build() [all …]
|
D | PhotoViewActivity.java | 137 Intent mIntent = getIntent(); in onCreate() local 148 if (mIntent.hasExtra(Intents.EXTRA_PHOTOS_URI)) { in onCreate() 149 mPhotosUri = mIntent.getStringExtra(Intents.EXTRA_PHOTOS_URI); in onCreate() 155 if (mIntent.hasExtra(Intents.EXTRA_PROJECTION)) { in onCreate() 156 mProjection = mIntent.getStringArrayExtra(Intents.EXTRA_PROJECTION); in onCreate() 163 if (mIntent.hasExtra(Intents.EXTRA_PHOTO_INDEX)) { in onCreate() 164 currentItem = mIntent.getIntExtra(Intents.EXTRA_PHOTO_INDEX, -1); in onCreate() 166 if (mIntent.hasExtra(Intents.EXTRA_INITIAL_PHOTO_URI)) { in onCreate() 167 mInitialPhotoUri = mIntent.getStringExtra(Intents.EXTRA_INITIAL_PHOTO_URI); in onCreate() 171 mMaxInitialScale = mIntent.getFloatExtra(Intents.EXTRA_MAX_INITIAL_SCALE, 1.0f); in onCreate()
|
/frameworks/base/test-runner/src/android/test/ |
D | LaunchPerformanceBase.java | 41 protected Intent mIntent; field in LaunchPerformanceBase 45 mIntent = new Intent(Intent.ACTION_MAIN); in LaunchPerformanceBase() 46 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in LaunchPerformanceBase() 56 startActivitySync(mIntent); in LaunchApp()
|
/frameworks/base/core/java/android/content/ |
D | ClipData.java | 188 final Intent mIntent; field in ClipData.Item 197 mIntent = null; in Item() 210 mIntent = null; in Item() 220 mIntent = intent; in Item() 230 mIntent = null; in Item() 241 mIntent = intent; in Item() 258 mIntent = intent; in Item() 280 return mIntent; in getIntent() 552 if (mIntent != null) { in coerceToHtmlOrStyledText() 554 return uriToStyledText(mIntent.toUri(Intent.URI_INTENT_SCHEME)); in coerceToHtmlOrStyledText() [all …]
|
D | IntentSender.java | 108 private Intent mIntent; field in IntentSender.FinishedDispatcher 119 mIntent = intent; in performReceive() 130 mWho.onSendFinished(mIntentSender, mIntent, mResultCode, in run()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItem.java | 39 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()
|
D | MenuItemImpl.java | 51 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/ |
D | ActionMenuItem.java | 42 private Intent mIntent; field in ActionMenuItem 85 return mIntent; in getIntent() 174 mIntent = intent; in setIntent() 219 if (mIntent != null) { in invoke() 220 mContext.startActivity(mIntent); in invoke()
|
D | MenuItemImpl.java | 52 private Intent mIntent; field in MenuItemImpl 167 if (mIntent != null) { in invoke() 169 mMenu.getContext().startActivity(mIntent); in invoke() 223 return mIntent; in getIntent() 228 mIntent = intent; in setIntent()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/ |
D | PhotoViewFragment.java | 105 protected Intent mIntent; field in PhotoViewFragment 209 mIntent = bundle.getParcelable(ARG_INTENT); in onCreate() 217 mIntent = new Intent().putExtras(state); in onCreate() 221 if (mIntent != null) { in onCreate() 222 mResolvedPhotoUri = mIntent.getStringExtra(Intents.EXTRA_RESOLVED_PHOTO_URI); in onCreate() 223 mThumbnailUri = mIntent.getStringExtra(Intents.EXTRA_THUMBNAIL_URI); in onCreate() 237 mPhotoView.setMaxInitialScale(mIntent.getFloatExtra(Intents.EXTRA_MAX_INITIAL_SCALE, 1)); in initializeView() 305 if (mIntent != null) { in onSaveInstanceState() 306 outState.putParcelable(STATE_INTENT_KEY, mIntent.getExtras()); in onSaveInstanceState()
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/ |
D | TransportMediatorJellybeanMR2.java | 40 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/ |
D | ActivityChooserModel.java | 263 private Intent mIntent; field in ActivityChooserModel 377 if (mIntent == intent) { in setIntent() 380 mIntent = intent; in setIntent() 393 return mIntent; in getIntent() 468 if (mIntent == null) { in chooseActivity() 480 Intent choiceIntent = new Intent(mIntent); in chooseActivity() 687 if (mActivitySorter != null && mIntent != null in sortActivitiesIfNeeded() 689 mActivitySorter.sort(mIntent, mActivities, in sortActivitiesIfNeeded() 703 if (mReloadActivities && mIntent != null) { in loadActivitiesIfNeeded() 707 .queryIntentActivities(mIntent, 0); in loadActivitiesIfNeeded()
|
D | RemoteViewsAdapter.java | 70 private final Intent mIntent; field in RemoteViewsAdapter 823 mIntent = intent; in RemoteViewsAdapter() 826 if (mIntent == null) { in RemoteViewsAdapter() 857 RemoteViewsCacheKey key = new RemoteViewsCacheKey(new Intent.FilterComparison(mIntent), in RemoteViewsAdapter() 900 new Intent.FilterComparison(mIntent), mAppWidgetId, mUserId); in saveRemoteViewsCache() 1082 return mIntent; in getRemoteViewsServiceIntent() 1376 mServiceConnection.unbind(mContext, mAppWidgetId, mIntent); in handleMessage() 1395 mServiceConnection.bind(mContext, mAppWidgetId, mIntent); in requestBindService()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ActivityChooserModel.java | 257 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() 687 if (mActivitySorter != null && mIntent != null in sortActivitiesIfNeeded() 689 mActivitySorter.sort(mIntent, mActivities, in sortActivitiesIfNeeded() 703 if (mReloadActivities && mIntent != null) { in loadActivitiesIfNeeded() 707 .queryIntentActivities(mIntent, 0); in loadActivitiesIfNeeded()
|
/frameworks/base/services/java/com/android/server/location/ |
D | GeofenceState.java | 41 public final PendingIntent mIntent; field in GeofenceState 56 mIntent = intent; in GeofenceState()
|
D | GeofenceManager.java | 132 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/speech/ |
D | RecognitionService.java | 79 dispatchStartListening(args.mIntent, args.mListener); 142 public final Intent mIntent; field in RecognitionService.StartListeningArgs 147 this.mIntent = intent; in StartListeningArgs()
|
/frameworks/base/core/java/android/app/ |
D | LauncherActivity.java | 58 Intent mIntent; field in LauncherActivity 121 Intent intent = new Intent(mIntent); in intentForPosition() 350 mIntent = new Intent(getTargetIntent()); in onCreate() 351 mIntent.setComponent(null); in onCreate() 455 List<ResolveInfo> list = onQueryPackageManager(mIntent); in makeListItems()
|
/frameworks/base/core/java/android/preference/ |
D | Preference.java | 108 private Intent mIntent; field in Preference 334 mIntent = intent; in setIntent() 343 return mIntent; in getIntent() 966 if (mIntent != null) { in performClick() 968 context.startActivity(mIntent); in performClick()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverActivity.java | 401 private final Intent mIntent; field in ResolverActivity.ResolveListAdapter 409 mIntent = new Intent(intent); in ResolveListAdapter() 410 mIntent.setComponent(null); in ResolveListAdapter() 440 mIntent, PackageManager.MATCH_DEFAULT_ONLY in rebuildList() 597 ? dri.origIntent : mIntent); in intentForPosition()
|