HomeSort by relevance Sort by last modified time
    Searched refs:selection (Results 51 - 75 of 507) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
TrackerProvider.java 86 public int delete(Uri uri, String selection, String[] selectionArgs) {
88 int result = db.delete(TABLE_NAME, selection, selectionArgs);
111 public Cursor query(Uri uri, String[] projection, String selection,
115 Cursor cursor = db.query(TABLE_NAME, projection, selection,
122 public int update(Uri uri, ContentValues values, String selection,
  /packages/apps/Calendar/src/com/android/calendar/
EventGeometry.java 107 * Returns true if this event intersects the selection region.
109 boolean eventIntersectsSelection(Event event, Rect selection) {
110 if (event.left < selection.right && event.right >= selection.left
111 && event.top < selection.bottom && event.bottom >= selection.top) {
AsyncQueryService.java 158 * @param selection A filter declaring which rows to return, formatted as an
161 * @param selectionArgs You may include ?s in selection, which will be
163 * they appear in the selection. The values will be bound as
170 String selection, String[] selectionArgs, String orderBy) {
180 info.selection = selection;
226 * @param selection A filter declaring which rows to update, formatted as an
229 * @param selectionArgs You may include ?s in selection, which will be
231 * they appear in the selection. The values will be bound as
238 String selection, String[] selectionArgs, long delayMillis)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
WorkingSetHelper.java 40 public static IWorkingSet[] getSelectedWorkingSet(IStructuredSelection selection,
42 IWorkingSet[] selected= getSelectedWorkingSet(selection);
79 private static IWorkingSet[] getSelectedWorkingSet(IStructuredSelection selection) {
80 if (!(selection instanceof ITreeSelection))
83 ITreeSelection treeSelection= (ITreeSelection) selection;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/
OpenWizardAction.java 107 // This code from NewWizardShortcutAction#run() gets the current window selection
108 // and converts it to a workbench structured selection for the wizard, if possible.
109 ISelection selection = mSelection; local
110 if (selection == null) {
111 selection = window.getSelectionService().getSelection();
115 if (selection instanceof IStructuredSelection) {
116 selectionToPass = (IStructuredSelection) selection;
118 // Build the selection from the IFile of the editor
132 // Create the wizard and initialize it with the selection
168 public void selectionChanged(IAction action, ISelection selection) {
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
Settings_SystemTest.java 148 String selection = System.NAME + "=\"" + intField + "\""; local
149 cr.delete(System.CONTENT_URI, selection, null);
151 selection = System.NAME + "=\"" + longField + "\"";
152 cr.delete(System.CONTENT_URI, selection, null);
154 selection = System.NAME + "=\"" + floatField + "\"";
155 cr.delete(System.CONTENT_URI, selection, null);
157 selection = System.NAME + "=\"" + stringField + "\"";
158 cr.delete(System.CONTENT_URI, selection, null);
160 selection = System.NAME + "=\"" + System.SHOW_GTALK_SERVICE_STATUS + "\"";
161 cr.delete(System.CONTENT_URI, selection, null)
    [all...]
MediaStoreTest.java 72 String selection = MediaStore.MEDIA_SCANNER_VOLUME + "=?"; local
77 selection, selectionArgs, null));
86 selection, selectionArgs, null);
  /packages/apps/Contacts/src/com/android/contacts/list/
DefaultContactListAdapter.java 145 StringBuilder selection = new StringBuilder(); local
160 selection.append(Contacts.STARRED + "!=0");
164 selection.append(Contacts.HAS_PHONE_NUMBER + "=1");
168 selection.append(Contacts.IN_VISIBLE_GROUP + "=1");
170 selection.append(" AND " + Contacts.HAS_PHONE_NUMBER + "=1");
176 selection.append(
185 selection.append(" AND " + RawContacts.DATA_SET + "=?");
188 selection.append(" AND " + RawContacts.DATA_SET + " IS NULL");
190 selection.append(")");
194 loader.setSelection(selection.toString())
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
MockContentProvider.java 82 public Query withSelection(String selection, String... selectionArgs) {
83 mSelection = selection;
123 public boolean equals(Uri uri, String[] projection, String selection,
133 if (!mAnySelection && !equals(selection, mSelection)) {
249 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
254 if (query.equals(uri, projection, selection, selectionArgs, sortOrder)) {
265 + queryToString(uri, projection, selection, selectionArgs, sortOrder));
273 queryToString(uri, projection, selection, selectionArgs, sortOrder));
279 public int delete(Uri uri, String selection, String[] selectionArgs) {
304 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs)
    [all...]
  /external/webkit/Source/WebCore/editing/
EditorCommand.cpp 88 // Certain operations continue to use the target control's selection even if the event handler
89 // already moved the selection outside of the text control.
161 // Mac: present at the beginning of selection
162 // other: present throughout the selection
210 VisibleSelection selection = frame->selection()->selection(); local
211 selection.expandUsingGranularity(granularity);
212 RefPtr<Range> newRange = selection.toNormalizedRange();
218 RefPtr<Range> oldRange = frame->selection()->selection().toNormalizedRange()
379 SelectionController* selection = frame->selection(); local
988 RefPtr<Range> selection = frame->editor()->selectedRange(); local
1036 const VisibleSelection& selection = frame->selection()->selection(); local
1159 const VisibleSelection& selection = frame->editor()->selectionForCommand(event); local
1178 const VisibleSelection& selection = frame->editor()->selectionForCommand(event); local
1185 const VisibleSelection& selection = frame->editor()->selectionForCommand(event); local
1384 const VisibleSelection& selection = frame->selection()->selection(); local
    [all...]
  /cts/tests/src/android/content/cts/
DummyProvider.java 118 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
125 Cursor c = db.query(tbName, projection, selection, selectionArgs, null, null, sortOrder);
165 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
171 int count = db.update(tbName, values, selection, selectionArgs);
182 public int delete(Uri uri, String selection, String[] selectionArgs) {
188 int count = db.delete(tbName, selection, selectionArgs);
  /development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DictionaryDatabase.java 90 String selection = "rowid = ?"; local
93 return query(selection, selectionArgs, columns);
108 String selection = KEY_WORD + " MATCH ?"; local
111 return query(selection, selectionArgs, columns);
123 * the selection clause to use FTS_VIRTUAL_TABLE instead of KEY_WORD (to search across
130 * @param selection The selection clause
131 * @param selectionArgs Selection arguments for "?" components in the selection
135 private Cursor query(String selection, String[] selectionArgs, String[] columns)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
AbstractContactsProvider.java 120 public int delete(Uri uri, String selection, String[] selectionArgs) {
123 int deleted = deleteInTransaction(uri, selection, selectionArgs);
135 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
138 int updated = updateInTransaction(uri, values, selection, selectionArgs);
265 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs);
267 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection,
ProfileProvider.java 74 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
78 return mDelegate.queryLocal(uri, projection, selection, selectionArgs, sortOrder, -1);
89 protected int updateInTransaction(Uri uri, ContentValues values, String selection,
93 return mDelegate.updateInTransaction(uri, values, selection, selectionArgs);
97 protected int deleteInTransaction(Uri uri, String selection, String[] selectionArgs) {
100 return mDelegate.deleteInTransaction(uri, selection, selectionArgs);
VoicemailStatusTable.java 76 public int delete(UriData uriData, String selection, String[] selectionArgs) {
78 String combinedClause = concatenateClauses(selection, uriData.getWhereClause());
84 public Cursor query(UriData uriData, String[] projection, String selection,
91 String combinedClause = concatenateClauses(selection, uriData.getWhereClause());
101 public int update(UriData uriData, ContentValues values, String selection,
104 String combinedClause = concatenateClauses(selection, uriData.getWhereClause());
  /development/samples/ApiDemos/src/com/example/android/apis/content/
FileProvider.java 46 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
59 public int delete(Uri uri, String selection, String[] selectionArgs) {
65 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
  /external/chromium/chrome/browser/ui/gtk/
collected_cookies_gtk.h 44 // True if the selection contains at least one origin node.
45 bool SelectionContainsOriginNode(GtkTreeSelection* selection,
51 // Add exceptions for all origin nodes within the selection.
52 void AddExceptions(GtkTreeSelection* selection,
67 void ShowSelectionInfo(GtkTreeSelection* selection,
  /frameworks/base/core/java/com/android/internal/content/
SelectionBuilder.java 27 * Helper for building selection clauses for {@link SQLiteDatabase}. Each
47 * Append the given selection clause to the internal state. Each clause is
50 public SelectionBuilder append(String selection, Object... selectionArgs) {
51 if (TextUtils.isEmpty(selection)) {
54 "Valid selection required when including arguments");
65 mSelection.append("(").append(selection).append(")");
78 * Return selection string for current internal state.
87 * Return selection arguments for current internal state.
  /packages/apps/Browser/src/com/android/browser/homepages/
HomeProvider.java 41 public int delete(Uri uri, String selection, String[] selectionArgs) {
61 public Cursor query(Uri uri, String[] projection, String selection,
67 public int update(Uri uri, ContentValues values, String selection,
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
TablePanel.java 72 int[] selection = table.getSelectionIndices();
75 Arrays.sort(selection);
80 // loop on the selection and output the file.
81 for (int i : selection) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
LaunchShortcut.java 44 public void launch(ISelection selection, String mode) {
45 if (selection instanceof IStructuredSelection) {
48 IStructuredSelection structSelect = (IStructuredSelection)selection;
82 // since we force the shortcut to only work on selection in the
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
SqlInjectionDetectionTest.java 98 final String selection, final String sortOrder) {
99 final Cursor c = mResolver.query(uri, projection, selection, null, sortOrder);
104 final String[] projection, final String selection, final String sortOrder) {
108 final Cursor c = mResolver.query(uri, projection, selection, null, sortOrder);
  /frameworks/base/test-runner/src/android/test/mock/
MockContentProvider.java 66 public int delete(Uri url, String selection, String[] selectionArgs)
68 return MockContentProvider.this.delete(url, selection, selectionArgs);
94 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs,
96 return MockContentProvider.this.query(url, projection, selection,
101 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs)
103 return MockContentProvider.this.update(url, values, selection, selectionArgs);
166 public int delete(Uri uri, String selection, String[] selectionArgs) {
186 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
192 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
  /packages/apps/Browser/src/com/android/browser/provider/
SnapshotProvider.java 167 public Cursor query(Uri uri, String[] projection, String selection,
178 selection = DatabaseUtils.concatenateWhere(selection, "_id=?");
190 Cursor cursor = qb.query(db, projection, selection, selectionArgs,
233 public int delete(Uri uri, String selection, String[] selectionArgs) {
242 selection = DatabaseUtils.concatenateWhere(selection, TABLE_SNAPSHOTS + "._id=?");
249 deleted = db.delete(TABLE_SNAPSHOTS, selection, selectionArgs);
263 public int update(Uri uri, ContentValues values, String selection,
BrowserProvider2.java 1161 String selection = (String) withAccount[0]; local
    [all...]

Completed in 802 milliseconds

1 23 4 5 6 7 8 91011>>