/packages/apps/Calendar/src/com/android/calendar/ |
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...] |
/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);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/ |
DetailsPage.java | 136 public void selectionChanged(IWorkbenchPart part, ISelection selection) { 138 GLCall selectedCall = getSelectedCall((GLFunctionTraceViewer) part, selection); 146 IGLProperty selectedProperty = getSelectedProperty((StateView) part, selection); 194 private GLCall getSelectedCall(GLFunctionTraceViewer part, ISelection selection) { 199 if (!(selection instanceof TreeSelection)) { 203 Object data = ((TreeSelection) selection).getFirstElement(); 211 private IGLProperty getSelectedProperty(StateView view, ISelection selection) { 212 if (!(selection instanceof IStructuredSelection)) { 216 IStructuredSelection ssel = (IStructuredSelection) selection;
|
/packages/apps/Browser/src/com/android/browser/provider/ |
BrowserProvider2.java | 1171 String selection = (String) withAccount[0]; local [all...] |
SQLiteContentProvider.java | 75 public abstract int updateInTransaction(Uri uri, ContentValues values, String selection, 81 public abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, 149 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 157 count = updateInTransaction(uri, values, selection, selectionArgs, 166 count = updateInTransaction(uri, values, selection, selectionArgs, callerIsSyncAdapter); 173 public int delete(Uri uri, String selection, String[] selectionArgs) { 181 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter); 189 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
UiTreeBlock.java | 260 // When a selection is made, ask the managed form to propagate an event to 329 // Refresh the tree, preserving the selection if possible. 490 * tree selection and if it is of the appropriate type it re-creates 495 ISelection selection = mTreeViewer.getSelection(); 496 if (!selection.isEmpty() && selection instanceof ITreeSelection) { 497 ArrayList<UiElementNode> selected = filterSelection((ITreeSelection) selection); 532 // Can't paste with more than one element selected (the selection is the target) 595 * This is called by the tree when a selection is made. 597 * selection 667 ISelection selection = mTreeViewer.getSelection(); local 691 ISelection selection = mTreeViewer.getSelection(); local 705 ISelection selection = mTreeViewer.getSelection(); local 734 ISelection selection = mTreeViewer.getSelection(); local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapVcardManager.java | 149 String selection = BluetoothPbapObexServer.createSelectionPara(type); local 153 callCursor = mResolver.query(myUri, null, selection, null, 168 String selection = BluetoothPbapObexServer.createSelectionPara(type); local 178 callCursor = mResolver.query(myUri, projection, selection, null, 324 String selection; local 326 selection = recordSelection; 328 selection = "(" + typeSelection + ") AND (" + recordSelection + ")"; 331 if (V) Log.v(TAG, "Call log query selection is: " + selection); 333 return composeAndSendVCards(op, selection, vcardType21, null, false) 368 final String selection; local 389 String selection = null; local [all...] |
/external/webkit/LayoutTests/fast/dom/Selection/script-tests/ |
collapseToX-empty-selection.js | 1 description("Test that collapseToStart() and collapseToEnd() throw INVALID_STATE_ERR if no selection is made.");
|
/external/webkit/Source/WebCore/editing/ |
DeleteSelectionCommand.h | 41 static PassRefPtr<DeleteSelectionCommand> create(const VisibleSelection& selection, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = false) 43 return adoptRef(new DeleteSelectionCommand(selection, smartDelete, mergeBlocksAfterDelete, replace, expandForSpecialElements));
|
SpellingCorrectionController.cpp | 119 VisibleSelection currentSelection(m_frame->selection()->selection()); 229 setEnd(paragraphRangeContainingCorrection.get(), m_frame->selection()->selection().start()); 256 Position caretPosition = m_frame->selection()->selection().start(); 273 m_frame->selection()->setSelection(selectionOfCorrected, SelectionController::CloseTyping | SelectionController::ClearTypingStyle | SelectionController::SpellCorrectionTriggered); 274 RefPtr<Range> range = Range::create(m_frame->document(), m_frame->selection()->selection().start(), m_frame->selection()->selection().end()) [all...] |
/external/webkit/Source/WebCore/editing/gtk/ |
SelectionControllerGtk.cpp | 32 static void emitTextSelectionChange(AccessibilityObject* object, VisibleSelection selection, int offset) 39 if (selection.isRange()) 40 g_signal_emit_by_name(axObject, "text-selection-changed");
|
/frameworks/ex/common/java/com/android/common/content/ |
SQLiteContentProvider.java | 76 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, 82 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs); 148 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 155 count = updateInTransaction(uri, values, selection, selectionArgs); 166 count = updateInTransaction(uri, values, selection, selectionArgs); 176 public int delete(Uri uri, String selection, String[] selectionArgs) { 183 count = deleteInTransaction(uri, selection, selectionArgs); 194 count = deleteInTransaction(uri, selection, selectionArgs);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
SQLiteContentProvider.java | 68 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, 74 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, 139 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 147 count = updateInTransaction(uri, values, selection, selectionArgs, 159 count = updateInTransaction(uri, values, selection, selectionArgs, 170 public int delete(Uri uri, String selection, String[] selectionArgs) { 178 count = deleteInTransaction(uri, selection, selectionArgs, isCallerSyncAdapter); 189 count = deleteInTransaction(uri, selection, selectionArgs, isCallerSyncAdapter);
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
EventDisplayOptions.java | 308 // get current selection. 309 int selection = mEventDisplayList.getSelectionIndex(); 310 if (selection > 0) { 312 EventDisplay display = mDisplayList.remove(selection); 313 mDisplayList.add(selection - 1, display); 316 mEventDisplayList.remove(selection); 317 mEventDisplayList.add(display.getName(), selection - 1); 319 // update the selection and reset the ui. 320 mEventDisplayList.select(selection - 1); 336 // get current selection 727 int selection = mEventDisplayList.getSelectionIndex(); local 769 int selection = mEventDisplayList.getSelectionIndex(); local 784 int selection = mEventDisplayList.getSelectionIndex(); local 793 int selection = mEventDisplayList.getSelectionIndex(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GlobalCanvasDragInfo.java | 66 * @param selection The selection (which can be null, for example when the 74 public void startDrag(SimpleElement[] elements, SelectionItem[] selection, 77 mCurrentSelection = selection; 100 /** Returns the selection originally dragged.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/actions/ |
AddNativeAction.java | 60 public void selectionChanged(IAction action, ISelection selection) { 61 mSelection = selection;
|
/external/webkit/Source/WebCore/editing/mac/ |
EditorMac.mm | 160 Position pos = m_frame->selection()->selection().visibleStart().deepEquivalent(); 193 SelectionController* selection = m_frame->selection(); 194 return selection->isRange() && !selection->isInPasswordField(); 222 if (m_frame->selection()->isContentRichlyEditable())
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_ArtistsTest.java | 73 String selection = Artists.ARTIST + "=?"; local 77 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); 93 mContentResolver.update(artistsUri, artistValues, selection, selectionArgs); 101 mContentResolver.delete(artistsUri, selection, selectionArgs); 125 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null);
|
Settings_NameValueTableTest.java | 48 String selection = NameValueTable.NAME + "=\"" + name + "\""; local 49 c = cr.query(uri, null, selection, null, null); 58 cr.delete(uri, selection, null);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
DirectoryListLoader.java | 121 String selection; local 124 selection = mLocalInvisibleDirectoryEnabled ? null 129 selection = Directory.SHORTCUT_SUPPORT + "=" + Directory.SHORTCUT_SUPPORT_FULL 135 selection = Directory.SHORTCUT_SUPPORT + " IN (" 148 DirectoryQuery.PROJECTION, selection, null, DirectoryQuery.ORDER_BY);
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
TransactionSettings.java | 67 String selection = Telephony.Carriers.CURRENT + " IS NOT NULL"; local 70 selection += " AND " + Telephony.Carriers.APN + "=?"; 76 APN_PROJECTION, selection, selectionArgs, null); 79 Log.v(TAG, "TransactionSettings looking for apn: " + selection + " returned: " + 116 Log.v(TAG, "APN setting: MMSC: " + mServiceCenter + " looked for: " + selection);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
HyperlinksTest.java | 242 Point selection = null; local 247 selection = xmlEditor.getStructuredSourceViewer().getSelectedRange(); 259 selection = textViewer.getSelectedRange(); 278 selection = new Point(range.getOffset(), range.getLength()); 284 if (document != null && selection != null) { 285 int lineStart = document.getLineInformationOfOffset(selection.x).getOffset(); 286 IRegion lineEndInfo = document.getLineInformationOfOffset(selection.x + selection.y); 289 int selectionStart = selection.x - lineStart; 290 int selectionEnd = selectionStart + selection.y [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardComposer.java | 291 * String selection = Data.CONTACT_ID + "=?"; 294 * contentUriForRawContactsEntity, null, selection, selectionArgs, null) 310 * Initializes this object using default {@link Contacts#CONTENT_URI} and given selection 313 public boolean init(final String selection, final String[] selectionArgs) { 314 return init(Contacts.CONTENT_URI, sContactsProjection, selection, selectionArgs, 321 public boolean init(final Uri contentUri, final String selection, 323 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, null); 329 * @param selection selection used with 339 public boolean init(final Uri contentUri, final String selection, 503 final String selection = Data.CONTACT_ID + "=?"; local [all...] |
/external/chromium/chrome/browser/autocomplete/ |
autocomplete_edit_view_win.cc | 515 CHARRANGE selection; local 516 GetSelection(selection); 517 const int start = std::max(0, static_cast<int>(selection.cpMax - 1)); 531 CHARRANGE selection; local 532 GetSelection(selection); 536 State(selection, saved_selection_for_focus_change_))); 571 // Restore user's selection. We do this after restoring the user_text 573 SetSelectionRange(state->view_state.selection); 588 // NOTE: The selection can be longer than the text length if the edit is in 675 CHARRANGE selection; local 686 CHARRANGE selection; local 1649 CHARRANGE selection; local 1895 CHARRANGE selection; local 1946 CHARRANGE selection; local 1955 CHARRANGE selection; local 2009 CHARRANGE selection; local 2536 CHARRANGE selection; local [all...] |
/frameworks/base/core/java/android/content/ |
SearchRecentSuggestionsProvider.java | 225 public int delete(Uri uri, String selection, String[] selectionArgs) { 236 count = db.delete(sSuggestions, selection, selectionArgs); 319 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 369 // Tack on the user's selection, if present 370 if (selection != null && selection.length() > 0) { 376 whereClause.append(selection); 393 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|