/packages/apps/Browser/src/com/android/browser/provider/ |
SnapshotProvider.java | 151 public Cursor query(Uri uri, String[] projection, String selection, 162 selection = DatabaseUtils.concatenateWhere(selection, "_id=?"); 173 Cursor cursor = qb.query(db, projection, selection, selectionArgs, 214 private void deleteDataFiles(SQLiteDatabase db, String selection, 216 Cursor c = db.query(TABLE_SNAPSHOTS, DELETE_PROJECTION, selection, 235 public int delete(Uri uri, String selection, String[] selectionArgs) { 244 selection = DatabaseUtils.concatenateWhere(selection, TABLE_SNAPSHOTS + "._id=?"); 250 deleteDataFiles(db, selection, selectionArgs) [all...] |
BrowserProvider2.java | 1173 String selection = (String) withAccount[0]; local [all...] |
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
FileContentProvider.java | 65 public int delete(Uri uri, String selection, String[] selectionArgs) { 80 public Cursor query(Uri uri, String[] projection, String selection, 86 public int update(Uri uri, ContentValues values, String selection,
|
/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 | 296 String selection, String[] selectionArgs, String sortOrder) { 301 cursor = getCompleteConversations(projection, selection, sortOrder); 308 selection = concatSelections( 309 selection, Threads.TYPE + "=" + threadType); 312 projection, selection, selectionArgs, sortOrder); 315 projection, selection, sortOrder); 320 selection, sortOrder); 324 uri.getPathSegments().get(1), projection, selection, 329 uri.getPathSegments().get(1), projection, selection, 334 uri.getPathSegments().get(2), projection, selection, sortOrder) 493 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);
|
/external/chromium_org/ui/base/ime/ |
composition_text_util_pango.cc | 45 composition->selection = gfx::Range(cursor_offset); 52 // background attribute into selection if possible. 82 // is usually the selection range. 86 // it as the selection range as well, but make sure to set the cursor 87 // position to the selection end. 89 composition->selection.set_start(underline.end_offset); 90 composition->selection.set_end(cursor_offset); 92 composition->selection.set_start(underline.start_offset); 93 composition->selection.set_end(cursor_offset);
|
/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;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
MainPanel.java | 53 private void selection(int position, boolean value) { method in class:MainPanel 155 selection(mCurrentSelected, false); method 160 selection(mCurrentSelected, true); method 168 selection(mCurrentSelected, false); method 173 selection(mCurrentSelected, true); method 184 selection(mCurrentSelected, false); method 189 selection(mCurrentSelected, true); method 197 selection(mCurrentSelected, false); method 202 selection(mCurrentSelected, true); method 212 selection(mCurrentSelected, false) method 217 selection(mCurrentSelected, true); method [all...] |
/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...] |
/external/chromium_org/chrome/browser/history/android/ |
android_history_provider_service.cc | 24 const std::string& selection, 36 projections, selection, selection_args, sort_order); 46 const std::string& selection, 57 selection, selection_args); 66 const std::string& selection, 77 selection, selection_args); 104 const std::string& selection, 114 &HistoryBackend::DeleteHistory, NULL, request, selection, 176 const std::string& selection, 186 &HistoryBackend::UpdateSearchTerms, NULL, request, row, selection, [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 (<append chunk 1><append chunk2>) AND (<query() selection parameter>) 106 * by parenthesis and ANDed with the selection passed to {@link #query}. The final 109 * WHERE (<append chunk 1><append chunk2>) AND (<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...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
TypingCommand.cpp | 98 if (!frame->selection().isRange()) 148 VisibleSelection currentSelection = frame->selection().selection(); 164 insertText(document, text, frame->selection().selection(), options, composition); 167 // FIXME: We shouldn't need to take selectionForInsertion. It should be identical to FrameSelection's current selection. 173 VisibleSelection currentSelection = frame->selection().selection(); 177 // Set the starting and ending selection appropriately if we are using a selection 423 FrameSelection selection; local 525 FrameSelection selection; local [all...] |
EditorCommand.cpp | 89 // Certain operations continue to use the target control's selection even if the event handler 90 // already moved the selection outside of the text control. 136 RefPtr<EditingStyle> selectionStyle = EditingStyle::styleAtSelectionStart(frame.selection().selection()); 161 // Mac: present at the beginning of selection 162 // other: present throughout the selection 212 VisibleSelection selection = frame.selection().selection(); local 213 selection.expandUsingGranularity(granularity) 1030 RefPtr<Range> selection = frame.editor().selectedRange(); local 1079 const VisibleSelection& selection = frame.selection().selection(); local 1189 const VisibleSelection& selection = frame.editor().selectionForCommand(event); local 1208 const VisibleSelection& selection = frame.editor().selectionForCommand(event); local 1215 const VisibleSelection& selection = frame.editor().selectionForCommand(event); local 1419 const VisibleSelection& selection = frame.selection().selection(); local [all...] |
/packages/apps/Gallery2/src/com/android/photos/data/ |
PhotoProvider.java | 48 * in the selection. The selection and selectionArgs are not used when updating 272 public int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, 275 selection = addIdToSelection(match, selection); 277 return deleteCascade(uri, match, selection, selectionArgs); 308 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 310 return query(uri, projection, selection, selectionArgs, sortOrder, null); 314 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 318 selection = addIdToSelection(match, selection) [all...] |
/external/chromium_org/chrome/browser/resources/net_internals/ |
timeline_view.css | 6 #timeline-view-selection-div { 11 #timeline-view-selection-toggle { 28 #timeline-view-selection-div ul { 33 #timeline-view-selection-div li { 79 #timeline-view-selection-div .timeline-view-hidden {
|
/external/chromium_org/chrome/browser/resources/ntp4/ |
nav_dot.css | 51 .dot .selection-bar { 88 .dot:focus .selection-bar, 89 .dot:hover .selection-bar, 90 .dot.drag-target .selection-bar { 94 .dot.selected .selection-bar {
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/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...] |
/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...] |