/frameworks/base/core/java/android/content/ |
ContentProviderClient.java | 48 public Cursor query(Uri url, String[] projection, String selection, 50 return mContentProvider.query(url, projection, selection, selectionArgs, sortOrder); 75 public int delete(Uri url, String selection, String[] selectionArgs) 77 return mContentProvider.delete(url, selection, selectionArgs); 81 public int update(Uri url, ContentValues values, String selection, 83 return mContentProvider.update(url, values, selection, selectionArgs);
|
AsyncQueryHandler.java | 52 public String selection; field in class:AsyncQueryHandler.WorkerArgs 80 args.selection, args.selectionArgs, 100 args.result = resolver.update(args.uri, args.values, args.selection, 105 args.result = resolver.delete(args.uri, args.selection, args.selectionArgs); 154 * @param selection A filter declaring which rows to return, formatted as an 157 * @param selectionArgs You may include ?s in selection, which will be 159 * appear in the selection. The values will be bound as Strings. 165 String[] projection, String selection, String[] selectionArgs, 175 args.selection = selection; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/ |
ExportWizardAction.java | 49 IStructuredSelection selection = (IStructuredSelection)mSelection; local 52 if (selection.size() == 1) { 53 Object element = selection.getFirstElement(); 76 // call the export wizard on the current selection. 78 wizard.init(mWorkbench, selection); 88 public void selectionChanged(IAction action, ISelection selection) { 89 mSelection = selection;
|
/external/webkit/Source/WebCore/editing/ |
Editor.cpp | 97 // When an event handler has moved the selection outside of a text control 98 // we should use the target control's selection for this editing operation. 101 VisibleSelection selection = m_frame->selection()->selection(); local 103 return selection; 104 // If the target is a text control, and the current selection is outside of its shadow tree, 105 // then use the saved selection for that text control. 107 Node* selectionStart = selection.start().deprecatedNode(); 111 range = static_cast<HTMLInputElement*>(target)->selection(); 251 SelectionController* selection = m_frame->selection(); local 1173 RefPtr<Range> selection = selectedRange(); local 2970 VisibleSelection selection = m_frame->selection()->selection(); local [all...] |
ModifySelectionListLevel.cpp | 49 static bool getStartEndListChildren(const VisibleSelection& selection, Node*& start, Node*& end) 51 if (selection.isNone()) 55 Node* startListChild = enclosingListChild(selection.start().anchorNode()); 60 Node* endListChild = selection.isRange() ? enclosingListChild(selection.end().anchorNode()) : startListChild; 64 // For a range selection we want the following behavior: 79 // if the selection ends on a list item with a sublist, include the entire sublist 144 static bool canIncreaseListLevel(const VisibleSelection& selection, Node*& start, Node*& end) 146 if (!getStartEndListChildren(selection, start, end)) 209 return canIncreaseListLevel(document->frame()->selection()->selection(), startListChild, endListChild) [all...] |
TypingCommand.cpp | 51 static bool canAppendNewLineFeed(const VisibleSelection& selection) 53 Node* node = selection.rootEditableElement(); 87 if (!frame->selection()->isRange()) 143 VisibleSelection currentSelection = frame->selection()->selection(); 161 insertText(document, text, frame->selection()->selection(), options, composition); 164 // FIXME: We shouldn't need to take selectionForInsertion. It should be identical to SelectionController's current selection. 172 VisibleSelection currentSelection = frame->selection()->selection(); 488 SelectionController selection; local 584 SelectionController selection; local [all...] |
RemoveFormatCommand.cpp | 82 if (!frame->selection()->selection().isNonOrphanedCaretOrRange()) 87 Node* root = frame->selection()->rootEditableElement();
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteQueryBuilder.java | 85 * by parenthesis and ANDed with the selection passed to {@link #query}. The final 88 * WHERE (<append chunk 1><append chunk2>) AND (<query() selection parameter>) 104 * by parenthesis and ANDed with the selection passed to {@link #query}. The final 107 * WHERE (<append chunk 1><append chunk2>) AND (<query() selection parameter>) 148 * When set, the selection is verified against malicious arguments. 157 * additionally also parenthesis escaping selection are caught. 266 * @param selection A filter declaring which rows to return, 269 * @param selectionArgs You may include ?s in selection, which 271 * that they appear in the selection. The values will be bound 289 String selection, String[] selectionArgs, String groupBy [all...] |
/external/llvm/include/llvm/CodeGen/PBQP/ |
Solution.h | 26 /// To get the selection for each node in the problem use the getSelection method. 74 /// \brief Set the selection for a given node. 76 /// @param selection Selection for nItr. 77 void setSelection(Graph::NodeItr nItr, unsigned selection) { 78 selections[nItr] = selection; 81 /// \brief Get a node's selection. 83 /// @return The selection for nItr; 86 assert(sItr != selections.end() && "No selection for node.");
|
/external/webkit/Source/WebCore/page/qt/ |
FrameQt.cpp | 43 if (!selection()->isRange()) 48 IntRect paintingRect = enclosingIntRect(selection()->bounds());
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
DismissAllAlarmsService.java | 49 String selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED; local 54 resolver.update(uri, values, selection, null);
|
/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/ |
NaughtySuggestionProvider.java | 48 public int update(Uri uri, ContentValues values, String selection, 54 public int delete(Uri uri, String selection, String[] selectionArgs) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
VisualRefactoringAction.java | 56 * Examine the selection to determine if the action should be enabled or not. 58 * Keep a link to the relevant selection structure 60 public void selectionChanged(IAction action, ISelection selection) { 66 // This simply deals with the refactoring based on a non-empty selection. 76 if (selection instanceof ITextSelection) { 77 mTextSelection = (ITextSelection) selection; 80 } else if (selection instanceof ITreeSelection) { 81 Object firstElement = ((ITreeSelection)selection).getFirstElement(); 83 mTreeSelection = (ITreeSelection) selection; 104 * Returns the active {@link IFile} (hopefully matching our selection) or null 160 ISelection selection = mEditor.getEditorSite().getSelectionProvider().getSelection(); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
RadioGroup1.java | 54 String selection = getString(R.string.radio_group_selection); local 57 mChoice.setText(selection + mRadioGroup.getCheckedRadioButtonId()); 59 // test clearing the selection 65 String selection = getString(R.string.radio_group_selection); local 67 mChoice.setText(selection +
|
/external/chromium/chrome/browser/ui/find_bar/ |
find_tab_helper.cc | 123 gfx::Rect selection = selection_rect; local 124 if (selection.IsEmpty()) 125 selection = last_search_result_.selection_rect(); 130 request_id, number_of_matches, selection, active_match_ordinal,
|
/external/webkit/Source/WebCore/page/win/ |
FrameWin.cpp | 50 if (selection()->isRange())
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockIContentProvider.java | 48 public int delete(Uri url, String selection, String[] selectionArgs) 74 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, 79 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, 84 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs)
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
AccountTypeWithDataSet.java | 60 final String selection; local 63 selection = BASE_SELECTION + " AND " + RawContacts.DATA_SET + " IS NULL"; 66 selection = BASE_SELECTION + " AND " + RawContacts.DATA_SET + " = ?"; 71 ID_PROJECTION, selection, args, null);
|
/packages/apps/Email/src/com/android/email/data/ |
ThrottlingCursorLoader.java | 37 public ThrottlingCursorLoader(Context context, Uri uri, String[] projection, String selection, 39 this(context, uri, projection, selection, selectionArgs, sortOrder, 44 public ThrottlingCursorLoader(Context context, Uri uri, String[] projection, String selection, 46 super(context, uri, projection, selection, selectionArgs, sortOrder);
|
/external/svox/pico/src/com/svox/pico/providers/ |
SettingsProvider.java | 61 public int delete(Uri uri, String selection, String[] selectionArgs) {
81 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
90 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
FileContentProvider.java | 66 public int delete(Uri uri, String selection, String[] selectionArgs) { 81 public Cursor query(Uri uri, String[] projection, String selection, 87 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,
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
MmsSmsProvider.java | 285 String selection, String[] selectionArgs, String sortOrder) { 290 cursor = getCompleteConversations(projection, selection, sortOrder); 297 selection = concatSelections( 298 selection, Threads.TYPE + "=" + threadType); 301 projection, selection, selectionArgs, sortOrder); 304 projection, selection, sortOrder); 309 selection, sortOrder); 313 uri.getPathSegments().get(1), projection, selection, 318 uri.getPathSegments().get(1), projection, selection, 323 uri.getPathSegments().get(2), projection, selection, sortOrder) 481 String selection = "address=?"; local [all...] |