/packages/apps/Settings/src/com/android/settings/search2/ |
ResultPayload.java | 32 PayloadType.INTENT, PayloadType.SAVED_QUERY}) 36 * Resulting page will be started using an intent 38 int INTENT = 0;
|
IntentPayload.java | 19 import android.content.Intent; 23 * Encapsulates the standard intent based results as seen in first party apps and Settings results. 26 public final Intent intent; field in class:IntentPayload 29 intent = in.readParcelable(IntentPayload.class.getClassLoader()); 32 public IntentPayload(Intent newIntent) { 33 intent = newIntent; 37 return PayloadType.INTENT; 47 dest.writeParcelable(intent, flags);
|
DatabaseResultLoader.java | 37 * AsyncTask to retrieve Settings, First party app and any intent based results. 310 * - If a result is inline, remove the intent result. 326 if (primaryResult.viewType != ResultPayload.PayloadType.INTENT) { 330 } else if (secondaryResult.viewType != ResultPayload.PayloadType.INTENT) { 335 // Case where both payloads are intent.
|
SearchResultsAdapter.java | 60 case PayloadType.INTENT:
|
CursorToSearchResultConverter.java | 22 import android.content.Intent; 147 } else if (payloadType == ResultPayload.PayloadType.INTENT) { 207 final Intent intent = Utils.onBuildStartFragmentIntent(mContext, local 210 payload = new IntentPayload(intent); 212 final Intent intent = new Intent(action); local 216 intent.setComponent(component); 218 intent.putExtra(SettingsActivity.EXTRA_FRAGMENT_ARG_KEY, key) [all...] |
/frameworks/base/core/java/android/provider/ |
LiveFolders.java | 26 * <li>An activity that can respond to the intent action {@link #ACTION_CREATE_LIVE_FOLDER}. The 33 * intent filter action {@link #ACTION_CREATE_LIVE_FOLDER} and presents the list to the user. 37 * {@link android.app.Activity#setResult(int, android.content.Intent) activity result}. The 51 * final Intent intent = getIntent(); 52 * final String action = intent.getAction(); 64 * private static Intent createLiveFolder(Context context, Uri uri, String name, 67 * final Intent intent = new Intent(); [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherSettings.java | 34 * The Intent URL of the gesture, describing what it points to. This 35 * value is given to {@link android.content.Intent#parseUri(String, int)} to create 36 * an Intent that can be launched. 39 static final String INTENT = "intent";
|
UninstallShortcutReceiver.java | 22 import android.content.Intent; 49 Intent data; 51 public PendingUninstallShortcutInfo(Intent rawData) { 56 public void onReceive(Context context, Intent data) { 87 final Intent data = pendingInfo.data; 95 private static void removeShortcut(Context context, Intent data, 97 Intent intent = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT); local 98 String name = data.getStringExtra(Intent.EXTRA_SHORTCUT_NAME) [all...] |
ShortcutInfo.java | 24 import android.content.Intent; 34 * The intent used to start the application. 36 Intent intent; field in class:ShortcutInfo 54 Intent.ShortcutIconResource iconResource; 68 intent = new Intent(info.intent); 70 iconResource = new Intent.ShortcutIconResource(); 82 intent = new Intent(info.intent) [all...] |
LauncherProvider.java | 30 import android.content.Intent; 364 "intent TEXT," + 442 final int intentIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.INTENT); 461 values.put(LauncherSettings.Favorites.INTENT, c.getString(intentIndex)); 640 new String[] { Favorites._ID, Favorites.INTENT }, 647 final int intentIndex = c.getColumnIndex(Favorites.INTENT); 654 final Intent intent = Intent.parseUri(intentUri, 0); local 655 android.util.Log.d("Home", intent.toString()) 908 Intent intent = new Intent(Intent.ACTION_MAIN, null); local 1210 Intent intent = new Intent(ACTION_APPWIDGET_DEFAULT_WORKSPACE_CONFIGURE); local 1230 Intent intent; local [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/form/ |
FormPage.java | 19 import android.content.Intent; 40 MULTIPLE_CHOICE, TEXT_INPUT, PASSWORD_INPUT, INTENT 91 * Create a form page which launches an intent to get its results. 95 * @param formIntent the intent to launch for this form page. This intent 96 * should return the form page's results via the result intent's 99 * results of the intent to the user. 102 public static FormPage createIntentForm(String title, Intent formIntent) { 103 return new FormPage(title, Type.INTENT, null, formIntent); 109 private final Intent mFormIntent [all...] |
MultiPagedForm.java | 28 import android.content.Intent; 123 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 133 Log.w(TAG, "Intent result was null!"); 135 Log.w(TAG, "Intent result extras were null!"); 137 Log.w(TAG, "Intent result extras didn't have the result summary key!"); 203 case INTENT: 409 if (page.getType() == FormPage.Type.INTENT) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAppWidgetInfo.java | 21 import android.content.Intent; 96 public Intent bindOptions; 134 .put(LauncherSettings.Favorites.INTENT, bindOptions);
|
LauncherSettings.java | 48 * The Intent URL of the gesture, describing what it points to. This 49 * value is given to {@link android.content.Intent#parseUri(String, int)} to create 50 * an Intent that can be launched. 53 public static final String INTENT = "intent"; 73 * The icon package name in Intent.ShortcutIconResource 79 * The icon resource name in Intent.ShortcutIconResource 255 "intent TEXT," +
|
ShortcutInfo.java | 21 import android.content.Intent; 69 * The intent used to start the application. 71 public Intent intent; field in class:ShortcutInfo 77 public Intent.ShortcutIconResource iconResource; 135 intent = new Intent(info.intent); 146 intent = new Intent(info.intent) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
ShortcutParser.java | 19 import android.content.Intent; 42 private static final String INTENT = "intent"; 122 if (parser.getName().equals(INTENT)) { 123 c.intent = Intent.parseIntent(mResources, parser, mAttrs); 126 return c.intent != null ? c : null; 130 public Intent intent; field in class:ShortcutParser.Shortcut
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search2/ |
CursorToSearchResultConverterTest.java | 22 import android.content.Intent; 61 private static final Intent INTENT = new Intent("com.android.settings"); 147 assertThat(payload.getType()).isEqualTo(PayloadType.INTENT); 195 Intent intent = payload.intent; local 196 assertThat(intent.getComponent().getClassName()).isEqualTo(SubSettings.class.getName()); 206 Intent intent = payload.intent local 231 Intent intent = payload.intent; local [all...] |
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
LoaderCursorTest.java | 5 import android.content.Intent; 28 import static com.android.launcher3.LauncherSettings.BaseLauncherColumns.INTENT; 77 SCREEN, CELLX, CELLY, RESTORED, INTENT 107 new Intent().setComponent(cn), false /* allowMissingTarget */, true)); 118 new Intent().setComponent(cn), false /* allowMissingTarget */, true); 120 assertTrue(Utilities.isLauncherAppTarget(info.intent)); 130 new Intent().setComponent(cn), true /* allowMissingTarget */, true); 132 assertTrue(Utilities.isLauncherAppTarget(info.intent));
|
GridSizeMigrationTaskTest.java | 5 import android.content.Intent; 37 new Intent(Intent.ACTION_MAIN).setPackage(TEST_PACKAGE).toUri(0); 381 values.put(LauncherSettings.Favorites.INTENT, VALID_INTENT);
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
GridSizeMigrationTask.java | 7 import android.content.Intent; 614 Favorites.INTENT, // 2 620 final int indexIntent = c.getColumnIndexOrThrow(Favorites.INTENT); 683 Favorites.INTENT, // 6 695 final int indexIntent = c.getColumnIndexOrThrow(Favorites.INTENT); [all...] |
LoaderCursor.java | 22 import android.content.Intent; 23 import android.content.Intent.ShortcutIconResource; 119 intentIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.INTENT); 137 public Intent parseIntent() { 141 null : Intent.parseUri(intentDescription, 0); 143 Log.e(TAG, "Error parsing Intent"); 206 public ShortcutInfo getRestoredItemInfo(Intent intent) { 209 info.intent = intent; [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
ImportDataTask.java | 22 import android.content.Intent; 167 final int intentIndex = c.getColumnIndexOrThrow(Favorites.INTENT); 228 Intent intent = null; local 232 // Use a empty intent to indicate a folder. 233 intent = new Intent(); 246 intent = Intent.parseUri(c.getString(intentIndex), 0); 247 if (Utilities.isLauncherAppTarget(intent)) { 440 Intent intent; local [all...] |
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/provider/ |
ScriptProvider.java | 23 import android.content.Intent; 25 import android.content.Intent.ShortcutIconResource; 131 { BaseColumns._ID, LiveFolders.NAME, LiveFolders.INTENT, LiveFolders.ICON_RESOURCE, 146 Intent intent = IntentBuilders.buildStartInBackgroundIntent(script); local 147 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 153 { index, script.getName(), intent.toURI(), icon.resourceName, icon.packageName,
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
DatabaseRowTest.java | 20 import android.content.Intent; 53 private static final String INTENT_ACTION = "intent action"; 66 Intent intent = new Intent(); local 67 intent.putExtra(EXTRA_KEY, EXTRA_VALUE); 68 intentPayload = new IntentPayload(intent); 102 assertThat(row.payloadType).isEqualTo(ResultPayload.PayloadType.INTENT); 112 Intent intent = payload.intent local [all...] |
SearchResultsAdapterTest.java | 22 import android.content.Intent; 96 ResultPayload.PayloadType.INTENT); 161 IntentPayload payload = new IntentPayload(new Intent()); 182 IntentPayload payload = new IntentPayload(new Intent());
|