HomeSort by relevance Sort by last modified time
    Searched refs:INTENT (Results 1 - 25 of 48) sorted by null

1 2

  /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/Settings/src/com/android/settings/search/
ResultPayload.java 21 import android.content.Intent;
33 protected final Intent mIntent;
35 @IntDef({PayloadType.INTENT, PayloadType.INLINE_SLIDER, PayloadType.INLINE_SWITCH,
42 int INTENT = 0;
131 public ResultPayload(Intent intent) {
132 mIntent = intent;
137 return PayloadType.INTENT;
162 public Intent getIntent() {
CursorToSearchResultConverter.java 110 case ResultPayload.PayloadType.INTENT:
SearchResultsAdapter.java 112 case ResultPayload.PayloadType.INTENT:
  /packages/apps/Settings/tests/robotests/src/com/android/settings/search/
CursorToSearchResultConverterTest.java 24 import android.content.Intent;
62 private static final Intent INTENT = new Intent("com.android.settings");
123 final byte[] payload = ResultPayloadUtils.marshall(new ResultPayload(INTENT));
137 PayloadType.INTENT, // Payload Type
167 assertThat(payload.getType()).isEqualTo(PayloadType.INTENT);
174 final byte[] payload = ResultPayloadUtils.marshall(new ResultPayload(INTENT));
188 PayloadType.INTENT, // Payload Type
205 Intent intent = payload.getIntent() local
220 final Intent intent = new Intent(); local
    [all...]
DatabaseRowTest.java 21 import android.content.Intent;
55 private static final String INTENT_ACTION = "intent action";
99 assertThat(row.payloadType).isEqualTo(ResultPayload.PayloadType.INTENT);
117 1 /* onValue */, null /* intent */, true /* isDeviceSupported */, 1 /* default */);
132 final Intent intent = new Intent(); local
133 intent.setComponent(component);
136 1 /* onValue */, intent, true /* isDeviceSupported */, 1 /* default */);
  /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;
97 public Intent bindOptions;
140 .put(LauncherSettings.Favorites.INTENT, bindOptions);
LauncherSettings.java 46 * The Intent URL of the gesture, describing what it points to. This
47 * value is given to {@link android.content.Intent#parseUri(String, int)} to create
48 * an Intent that can be launched.
51 public static final String INTENT = "intent";
71 * The icon package name in Intent.ShortcutIconResource
77 * The icon resource name in Intent.ShortcutIconResource
265 "intent TEXT," +
ShortcutInfo.java 22 import android.content.Intent;
75 * The intent used to start the application.
77 public Intent intent; field in class:ShortcutInfo
83 public Intent.ShortcutIconResource iconResource;
141 intent = new Intent(info.intent);
152 intent = new Intent(info.intent)
    [all...]
AutoInstallsLayout.java 23 import android.content.Intent;
288 protected long addShortcut(String title, Intent intent, int type) {
290 mValues.put(Favorites.INTENT, intent.toUri(0));
353 final Intent intent = new Intent(Intent.ACTION_MAIN, null) local
354 .addCategory(Intent.CATEGORY_LAUNCHER
394 final Intent intent = new Intent(Intent.ACTION_MAIN, null) local
425 final Intent intent = parseIntent(parser); local
    [all...]
LauncherProvider.java 29 import android.content.Intent;
731 String sql = "update favorites set intent = replace(intent, "
922 Intent intent; local
    [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/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 4 import android.content.Intent;
36 new Intent(Intent.ACTION_MAIN).setPackage(TEST_PACKAGE).toUri(0);
380 values.put(LauncherSettings.Favorites.INTENT, VALID_INTENT);
  /packages/apps/Launcher3/src/com/android/launcher3/model/
GridSizeMigrationTask.java 7 import android.content.Intent;
610 Favorites.INTENT, // 2
616 final int indexIntent = c.getColumnIndexOrThrow(Favorites.INTENT);
679 Favorites.INTENT, // 6
691 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");
210 public ShortcutInfo getRestoredItemInfo(Intent intent) {
213 info.intent = intent;
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/provider/
ImportDataTask.java 24 import android.content.Intent;
166 final int intentIndex = c.getColumnIndexOrThrow(Favorites.INTENT);
227 Intent intent = null; local
231 // Use a empty intent to indicate a folder.
232 intent = new Intent();
245 intent = Intent.parseUri(c.getString(intentIndex), 0);
246 if (Utilities.isLauncherAppTarget(intent)) {
435 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,
  /frameworks/base/core/tests/coretests/src/android/provider/
SettingsProviderTest.java 23 import android.content.Intent;
196 Uri uri = Settings.Bookmarks.add(r, new Intent("TEST"),
204 v.put(Settings.Bookmarks.INTENT, "#Intent;action=TOAST;end");
319 assertCanBeHandled(new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS));
320 assertCanBeHandled(new Intent(Settings.ACTION_ADD_ACCOUNT));
321 assertCanBeHandled(new Intent(Settings.ACTION_AIRPLANE_MODE_SETTINGS));
322 assertCanBeHandled(new Intent(Settings.ACTION_APN_SETTINGS));
323 assertCanBeHandled(new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS)
325 assertCanBeHandled(new Intent(Settings.ACTION_APPLICATION_DEVELOPMENT_SETTINGS))
    [all...]

Completed in 1031 milliseconds

1 2