/frameworks/base/core/tests/coretests/src/android/content/ |
ContentProviderOperationTest.java | 144 public Cursor query(Uri uri, String[] projection, String selection, 163 public Cursor query(Uri uri, String[] projection, String selection, 179 public Cursor query(Uri uri, String[] projection, String selection, 195 public Cursor query(Uri uri, String[] projection, String selection, 304 builderSetSelection(builder, "selection"); 318 assertEquals("selection", operationGetSelection(op2)); 404 ContentProviderOperation.Builder builder, String selection) 409 field.set(builder, selection); 529 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 542 public int delete(Uri uri, String selection, String[] selectionArgs) [all...] |
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetService.java | 147 private Runnable createUpdateLoaderRunnable(final String selection, 156 mLoader.setSelection(selection); 185 String selection = queryForSelection(); 186 initLoader(selection); 371 * @param selection The selection string for the loader to filter the query with. 373 public void initLoader(String selection) { 379 mLoader = new CursorLoader(mContext, uri, EVENT_PROJECTION, selection, null, 391 * This gets the selection string for the loader. This ends up doing a query in the 564 // We cannot do any queries from the UI thread, so push the 'selection' quer [all...] |
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/ |
PartnerBookmarksProvider.java | 359 String selection, String[] selectionArgs, String sortOrder) { 372 selection = DatabaseUtils.concatenateWhere(selection, 379 selection = DatabaseUtils.concatenateWhere(selection, 404 where = DatabaseUtils.concatenateWhere(where, selection); 426 return qb.query(db, projection, selection, selectionArgs, groupBy, null, sortOrder, limit); 442 public int delete(Uri uri, String selection, String[] selectionArgs) { 447 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/external/chromium_org/ui/base/ime/ |
input_method_ibus_unittest.cc | 609 // If there is no selection, |selection| represents cursor position. 610 EXPECT_EQ(kCursorPos, composition_text.selection.start()); 611 EXPECT_EQ(kCursorPos, composition_text.selection.end()); 637 // If there is no selection, |selection| represents cursor position. 638 EXPECT_EQ(kCursorPos, composition_text.selection.start()); 639 EXPECT_EQ(kCursorPos, composition_text.selection.end()); 667 // If there is no selection, |selection| represents cursor position [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
AsyncQueryHandlerTest.java | 274 String selection, String[] selectionArgs, String orderBy, boolean cancelable) { 279 selection, selectionArgs, orderBy); 291 String selection, String[] selectionArgs, boolean cancelable) { 295 mAsyncHandler.startUpdate(token, cookie, uri, values, selection, selectionArgs); 298 private void startDelete(int token, Object cookie, Uri uri, String selection, 303 mAsyncHandler.startDelete(token, cookie, uri, selection, selectionArgs);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CallLogProvider.java | 50 /** Selection clause to use to exclude voicemail records. */ 129 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 136 final SelectionBuilder selectionBuilder = new SelectionBuilder(selection); 251 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 259 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); 281 public int delete(Uri uri, String selection, String[] selectionArgs) { 282 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); 327 * modify the selection to restrict to non-voicemail entries only.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
NewXmlFileWizard.java | 80 public void init(IWorkbench workbench, IStructuredSelection selection) { 89 mMainPage.setInitialSelection(selection); 350 public void init(IWorkbench workbench, IStructuredSelection selection) { 351 super.init(workbench, selection); 368 public void init(IWorkbench workbench, IStructuredSelection selection) { 369 super.init(workbench, selection);
|
/external/chromium_org/ui/gfx/ |
render_text.cc | 36 // Default color used for drawing selection background. 358 // Reset selection model. SetText should always followed by SetSelectionModel 451 // Cancelling a selection moves to the edge of the selection. 452 if (break_type != LINE_BREAK && !selection().is_empty() && !select) { 456 // Use the selection start if it is left (when |direction| is CURSOR_LEFT) 457 // or right (when |direction| is CURSOR_RIGHT) of the selection end. 468 position.set_selection_start(selection().start()); 473 // Enforce valid selection model components. 475 Range range(std::min(model.selection().start(), text_length) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/ |
FocusController.cpp | 242 // Now that the frame is updated, fire events and update the selection focused states of both frames. 244 oldFrame->selection().setFocused(false); 249 newFrame->selection().setFocused(true); 277 m_focusedFrame->selection().setFocused(focused); 342 currentNode = frame->selection().start().deprecatedNode(); 403 frame->selection().setSelection(newSelection); 592 FrameSelection& selection = oldFocusedFrame->selection(); 593 if (selection.isNone()) 600 Node* selectionStartNode = selection.selection().start().deprecatedNode() [all...] |
/packages/apps/Mms/src/com/android/mms/data/ |
Conversation.java | 308 String selection = Mms.MESSAGE_TYPE + " = " + PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF local 313 selection = selection + " AND " + Mms.THREAD_ID + " = " + threadId; 318 selection, null, null); 736 * @param selection A where clause (can be null) to select particular conv items. 738 public static void startQuery(AsyncQueryHandler handler, int token, String selection) { 747 ALL_THREADS_PROJECTION, selection, null, Conversations.DEFAULT_SORT_ORDER); 774 String selection = deleteAll ? null : "locked=0"; local 777 handler.startDelete(token, new Long(threadId), uri, selection, null); 802 String selection = deleteAll ? null : "locked=0" local 862 String selection = null; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
ReplaceSelectionCommand.cpp | 136 ReplacementFragment::ReplacementFragment(Document* document, DocumentFragment* fragment, const VisibleSelection& selection) 149 RefPtr<Element> editableRoot = selection.rootEditableElement(); 183 m_fragment = createFragmentFromText(selection.toNormalizedRange().get(), evt->text()); 394 // And we should only merge here if the selection start was inside a mail blockquote. This prevents against removing a 885 VisibleSelection selection = endingSelection(); local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
DatabaseAsserts.java | 156 * @param selection - Selection string to use for the query. 157 * @param selectionArgs - Selection arguments to use for the query. 163 String selection, String[] selectionArgs, String sortOrder, 165 final Cursor cursor = resolver.query(uri, projection, selection, selectionArgs, sortOrder);
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssContentProvider.java | 134 public Cursor query(Uri uri, String[] projection, String selection, 160 selection,
|
/development/samples/Spinner/src/com/android/example/spinner/ |
SpinnerActivity.java | 57 * selection when the activity is not loaded. 74 * The key or label for "selection" in the preferences file 76 public static final String SELECTION_KEY = "Selection"; 88 * 3) Instantiates a callback listener for handling selection from the 140 * The test will fail because the selection listener for the 187 * @param pos - the 0-based position of the selection in the mLocalAdapter 188 * @param row - the 0-based row number of the selection in the View 371 public void setSpinnerSelection(String selection) { 372 this.mSelection = selection;
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
HttpAuthDatabase.java | 194 final String selection = "(" + HTTPAUTH_HOST_COL + " == ?) AND " + local 200 cursor = mDatabase.query(HTTPAUTH_TABLE_NAME, columns, selection,
|
/external/chromium_org/chrome/browser/chromeos/input_method/ |
textinput_surroundingtext_browsertest.cc | 79 composition_text.selection.set_start(expected_range.length()); 80 composition_text.selection.set_end(expected_range.length());
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
FileSystemView.js | 131 var selection = this.listItemElement.createChild("div", "selection"); 132 this.listItemElement.insertBefore(selection, this.listItemElement.firstChild);
|
SourceFrame.js | 366 var selection = this._textEditor.selection(); 369 this._textEditor.setSelection(selection); 455 _searchResultAfterSelectionIndex: function(selection) 457 if (!selection) 460 if (this._searchResults[i].compareTo(selection) >= 0) 504 var currentIndex = this._searchResultAfterSelectionIndex(this._textEditor.selection()); 511 var currentIndex = this._searchResultAfterSelectionIndex(this._textEditor.selection());
|
/external/chromium_org/third_party/WebKit/Source/web/ |
SpellCheckerClientImpl.cpp | 104 VisibleSelection frameSelection = frame->selection().selection(); 105 // If a selection is in an editable element spell check its content.
|
/external/chromium_org/third_party/angle/src/compiler/depgraph/ |
DependencyGraph.h | 194 virtual void visitArgument(TGraphArgument* selection) {}; 196 virtual void visitSelection(TGraphSelection* selection) {};
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LocalProvider.java | 84 public Cursor query(Uri url, String[] projectionIn, String selection, 104 Cursor ret = qb.query(db, projectionIn, selection, selectionArgs,
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
GlobalDismissManager.java | 393 * Build a selection over a set of row IDs 397 * @return a selection string suitable for a resolver query. 400 StringBuilder selection = new StringBuilder(); local 406 selection.append(" OR "); 408 selection.append(key); 409 selection.append("="); 410 selection.append(id); 412 return selection.toString(); 500 String selection = "(" + CalendarAlerts.STATE + "=" + local 508 selection, null) [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/ |
DbTestUtils.java | 142 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 155 public final Cursor query(Uri uri, String[] projection, String selection,
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
City.java | 100 * Get a list of cities given selection. 103 * @param selection A filter declaring which rows to return, formatted as an 106 * @param selectionArgs You may include ?s in selection, which will be 108 * appear in the selection. The values will be bound as Strings. 112 String selection, String... selectionArgs) { 114 selection, selectionArgs, null);
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
SuggestionsProvider.java | 81 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 113 cursors.add(super.query(uri, projection, selection, new String[] { query }, sortOrder));
|