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

  /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...]
Settings.java 31 import android.content.Intent;
61 // Intent actions for Settings
380 * {@link #EXTRA_AUTHORITIES} extra to this Intent with one or more syncable content provider's
399 * extra to the Intent with one or more syncable content provider's authorities. Only account
494 // End of Intent actions for Settings
509 * This can be passed as an extra field in an Activity Intent with one or more syncable content
513 * Example: The {@link #ACTION_ADD_ACCOUNT} intent restricts the account types available based
3512 Intent intent = null; local
3630 Intent intent; local
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
UninstallShortcutReceiver.java 21 import android.content.Intent;
35 public void onReceive(Context context, Intent data) {
40 Intent intent = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT); local
41 String name = data.getStringExtra(Intent.EXTRA_SHORTCUT_NAME);
44 if (intent != null && name != null) {
47 new String[] { LauncherSettings.Favorites._ID, LauncherSettings.Favorites.INTENT },
50 final int intentIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.INTENT);
58 if (intent.filterEquals(Intent.parseUri(c.getString(intentIndex), 0)))
    [all...]
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";
LiveFolderInfo.java 20 import android.content.Intent;
28 * The base intent, if it exists.
30 Intent baseIntent;
50 Intent.ShortcutIconResource iconResource;
62 values.put(LauncherSettings.Favorites.INTENT, baseIntent.toUri(0));
LauncherProvider.java 26 import android.content.Intent;
214 "intent TEXT," +
283 final int intentIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.INTENT);
302 values.put(LauncherSettings.Favorites.INTENT, c.getString(intentIndex));
425 c = db.query(TABLE_FAVORITES, new String[] { Favorites._ID, Favorites.INTENT },
432 final int intentIndex = c.getColumnIndex(Favorites.INTENT);
439 Intent intent = Intent.parseUri(intentUri, 0); local
440 android.util.Log.d("Home", intent.toString())
628 Intent intent = new Intent(Intent.ACTION_MAIN, null); local
826 Intent intent; local
    [all...]
ShortcutInfo.java 22 import android.content.Intent;
40 * The intent used to start the application.
42 Intent intent; field in class:ShortcutInfo
65 Intent.ShortcutIconResource iconResource;
79 intent = new Intent(info.intent);
81 iconResource = new Intent.ShortcutIconResource();
93 intent = new Intent(info.intent)
    [all...]
LiveFolderAdapter.java 23 import android.content.Intent;
81 holder.intentIndex = cursor.getColumnIndex(LiveFolders.INTENT);
121 holder.intent = Intent.parseUri(cursor.getString(holder.intentIndex), 0);
205 Intent intent; field in class:LiveFolderAdapter.ViewHolder
LauncherModel.java 26 import android.content.Intent;
27 import android.content.Intent.ShortcutIconResource;
158 * we identify a shortcut by its title and intent.
160 static boolean shortcutExists(Context context, String title, Intent intent) {
163 new String[] { "title", "intent" }, "title=? and intent=?",
164 new String[] { title, intent.toUri(0) }, null);
299 public void onReceive(Context context, Intent intent) {
755 Intent intent; local
1430 Intent intent = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT); local
    [all...]
  /frameworks/policies/base/mid/com/android/internal/policy/impl/
ShortcutManager.java 20 import android.content.Intent;
34 * <li> Returning a shortcut-matching intent to clients
43 Settings.Bookmarks.SHORTCUT, Settings.Bookmarks.INTENT
48 /** Map of a shortcut to its intent. */
49 private SparseArray<Intent> mShortcutIntents;
55 mShortcutIntents = new SparseArray<Intent>();
83 Intent intent = null; local
85 intent = Intent.getIntent(intentURI)
112 Intent intent = shortcut != 0 ? mShortcutIntents.get(shortcut) : null; local
    [all...]
  /frameworks/policies/base/phone/com/android/internal/policy/impl/
ShortcutManager.java 20 import android.content.Intent;
34 * <li> Returning a shortcut-matching intent to clients
43 Settings.Bookmarks.SHORTCUT, Settings.Bookmarks.INTENT
48 /** Map of a shortcut to its intent. */
49 private SparseArray<Intent> mShortcutIntents;
55 mShortcutIntents = new SparseArray<Intent>();
83 Intent intent = null; local
85 intent = Intent.getIntent(intentURI)
112 Intent intent = shortcut != 0 ? mShortcutIntents.get(shortcut) : null; local
    [all...]
  /packages/apps/Settings/src/com/android/settings/quicklaunch/
QuickLaunchSettings.java 22 import android.content.Intent;
67 Bookmarks.SHORTCUT, Bookmarks.TITLE, Bookmarks.INTENT
200 Intent intent = new Intent(this, BookmarkPicker.class); local
201 intent.putExtra(BookmarkPicker.EXTRA_SHORTCUT, pref.getShortcut());
202 startActivityForResult(intent, REQUEST_PICK_BOOKMARK);
217 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
226 Log.w(TAG, "Result from bookmark picker does not have an intent.");
238 private void updateShortcut(char shortcut, Intent intent)
242 Bookmarks.add(getContentResolver(), intent, "", DEFAULT_BOOKMARK_FOLDER, shortcut, 0); local
317 Intent intent = Intent.getIntent(intentUri); local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/provider/
SettingsProviderTest.java 22 import android.content.Intent;
130 Uri uri = Settings.Bookmarks.add(r, new Intent("TEST"),
138 v.put(Settings.Bookmarks.INTENT, "#Intent;action=TOAST;end");
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DatabaseHelper.java 22 import android.content.Intent;
107 "intent TEXT," +
809 Intent intent = new Intent(Intent.ACTION_MAIN, null); local
810 intent.addCategory(Intent.CATEGORY_LAUNCHER);
    [all...]
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/6/
android.jar 

Completed in 276 milliseconds