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

1 23 4 5 6 7 8 91011>>

  /packages/apps/QuickSearchBox/tests/slow/src/com/android/quicksearchbox/tests/slow/
SlowSuggestionProvider.java 46 public Cursor query(Uri uri, String[] projectionIn, String selection,
80 public int update(Uri uri, ContentValues values, String selection,
86 public int delete(Uri uri, String selection, String[] selectionArgs) {
  /packages/apps/QuickSearchBox/tests/spammy/src/com/android/quicksearchbox/tests/spammy/
SpammySuggestionProvider.java 46 public Cursor query(Uri uri, String[] projectionIn, String selection,
74 public int update(Uri uri, ContentValues values, String selection,
80 public int delete(Uri uri, String selection, String[] selectionArgs) {
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
VoicemailTable.java 39 public int delete(UriData uriData, String selection, String[] selectionArgs);
40 public Cursor query(UriData uriData, String[] projection, String selection,
42 public int update(UriData uriData, ContentValues values, String selection,
VoicemailStatusTable.java 77 public int delete(UriData uriData, String selection, String[] selectionArgs) {
79 String combinedClause = concatenateClauses(selection, uriData.getWhereClause());
85 public Cursor query(UriData uriData, String[] projection, String selection,
92 String combinedClause = concatenateClauses(selection, uriData.getWhereClause());
102 public int update(UriData uriData, ContentValues values, String selection,
105 String combinedClause = concatenateClauses(selection, uriData.getWhereClause());
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
MmsSmsProvider.java 289 String selection, String[] selectionArgs, String sortOrder) {
294 cursor = getCompleteConversations(projection, selection, sortOrder);
301 selection = concatSelections(
302 selection, Threads.TYPE + "=" + threadType);
305 projection, selection, selectionArgs, sortOrder);
308 projection, selection, sortOrder);
313 selection, sortOrder);
317 uri.getPathSegments().get(1), projection, selection,
322 uri.getPathSegments().get(1), projection, selection,
327 uri.getPathSegments().get(2), projection, selection, sortOrder)
486 String selection = "address=?"; local
    [all...]
  /cts/tests/src/android/content/cts/
MockContentProvider.java 138 public int delete(Uri uri, String selection, String[] selectionArgs) {
145 if (null == selection) {
147 selection = "1";
149 count = db.delete("TestTable1", selection, selectionArgs);
154 (!TextUtils.isEmpty(selection) ? " AND (" + selection + ')' : ""),
158 count = db.delete("TestTable2", selection, selectionArgs);
163 (!TextUtils.isEmpty(selection) ? " AND (" + selection + ')' : ""),
240 public Cursor query(Uri uri, String[] projection, String selection,
    [all...]
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);
  /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) {
  /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 110 // This code from NewWizardShortcutAction#run() gets the current window selection
111 // and converts it to a workbench structured selection for the wizard, if possible.
112 ISelection selection = mSelection; local
113 if (selection == null) {
114 selection = window.getSelectionService().getSelection();
118 if (selection instanceof IStructuredSelection) {
119 selectionToPass = (IStructuredSelection) selection;
121 // Build the selection from the IFile of the editor
135 // Create the wizard and initialize it with the selection
172 public void selectionChanged(IAction action, ISelection selection) {
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
LintListDialog.java 182 List<IMarker> selection = mList.getSelectedMarkers(); local
183 if (selection.size() > 0) {
184 EclipseLintClient.showMarker(selection.get(0));
187 List<IMarker> selection = mList.getSelectedMarkers(); local
188 for (IMarker marker : selection) {
212 List<IMarker> selection = mList.getSelectedMarkers(); local
214 if (selection.size() == 1) {
215 selectMarker(selection.get(0));
220 boolean canFix = selection.size() > 0;
221 for (IMarker marker : selection) {
245 List<IMarker> selection = mList.getSelectedMarkers(); local
    [all...]
  /frameworks/base/core/java/android/database/sqlite/
SQLiteQueryBuilder.java 87 * by parenthesis and ANDed with the selection passed to {@link #query}. The final
90 * WHERE (&lt;append chunk 1>&lt;append chunk2>) AND (&lt;query() selection parameter>)
106 * by parenthesis and ANDed with the selection passed to {@link #query}. The final
109 * WHERE (&lt;append chunk 1>&lt;append chunk2>) AND (&lt;query() selection parameter>)
151 * When set, the selection is verified against malicious arguments.
160 * additionally also parenthesis escaping selection are caught.
269 * @param selection A filter declaring which rows to return,
272 * @param selectionArgs You may include ?s in selection, which
274 * that they appear in the selection. The values will be bound
292 String selection, String[] selectionArgs, String groupBy
    [all...]
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastContentProvider.java 84 * @param selection the selection criteria to apply when filtering rows, or null.
85 * @param selectionArgs values to replace ?s in selection string.
91 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
120 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy);
163 * @param selection an optional restriction to apply to rows when deleting.
167 public int delete(Uri uri, String selection, String[] selectionArgs) {
176 * @param selection an optional filter to match rows to update.
180 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
211 String selection; local
    [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...]
  /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...]
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStoreTest.java 63 String selection = MediaStore.MEDIA_SCANNER_VOLUME + "=?"; local
68 selection, selectionArgs, null));
77 selection, selectionArgs, null);
  /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.
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
TablePanel.java 73 int[] selection = table.getSelectionIndices();
76 Arrays.sort(selection);
81 // loop on the selection and output the file.
82 for (int i : selection) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
LaunchShortcut.java 45 public void launch(ISelection selection, String mode) {
46 if (selection instanceof IStructuredSelection) {
49 IStructuredSelection structSelect = (IStructuredSelection)selection;
84 // since we force the shortcut to only work on selection in the
  /frameworks/base/test-runner/src/android/test/mock/
MockContentProvider.java 67 public int delete(Uri url, String selection, String[] selectionArgs)
69 return MockContentProvider.this.delete(url, selection, selectionArgs);
95 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs,
97 return MockContentProvider.this.query(url, projection, selection,
102 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs)
104 return MockContentProvider.this.update(url, values, selection, selectionArgs);
172 public int delete(Uri uri, String selection, String[] selectionArgs) {
192 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
198 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
MockIContentProvider.java 49 public int delete(Uri url, String selection, String[] selectionArgs)
75 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs,
80 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs,
85 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs)

Completed in 525 milliseconds

1 23 4 5 6 7 8 91011>>