Home | History | Annotate | Download | only in launcher3

Lines Matching refs:intent

23 import android.content.Intent;
51 // The Intent extra that defines whether to ignore the launch animation
53 "com.android.launcher3.intent.extra.shortcut.INGORE_LAUNCH_ANIMATION";
151 public boolean startActivitySafely(View v, Intent intent, ItemInfo item) {
152 if (mIsSafeModeEnabled && !Utilities.isSystemApp(this, intent)) {
160 !intent.hasExtra(INTENT_EXTRA_IGNORE_LAUNCH_ANIMATION);
167 // Prepare intent
168 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
170 intent.setSourceBounds(getViewBounds(v));
180 startShortcutIntentSafely(intent, optsBundle, item);
183 startActivity(intent, optsBundle);
186 intent.getComponent(), user, intent.getSourceBounds(), optsBundle);
188 getUserEventDispatcher().logAppLaunch(v, intent);
192 Log.e(TAG, "Unable to launch. tag=" + item + " intent=" + intent, e);
197 private void startShortcutIntentSafely(Intent intent, Bundle optsBundle, ItemInfo info) {
209 String packageName = intent.getPackage();
211 packageName, id, intent.getSourceBounds(), optsBundle, info.user);
214 startActivity(intent, optsBundle);
220 if (!onErrorStartingShortcut(intent, info)) {
226 protected boolean onErrorStartingShortcut(Intent intent, ItemInfo info) {