/frameworks/base/core/java/android/content/ |
IContentProvider.java | 36 public Cursor query(Uri url, String[] projection, String selection, 42 public int delete(Uri url, String selection, String[] selectionArgs) 44 public int update(Uri url, ContentValues values, String selection,
|
CursorLoader.java | 112 public CursorLoader(Context context, Uri uri, String[] projection, String selection, 118 mSelection = selection; 189 public void setSelection(String selection) { 190 mSelection = selection;
|
/frameworks/base/core/java/android/provider/ |
SearchRecentSuggestions.java | 229 String selection = null; local 231 selection = "_id IN " + 236 cr.delete(mSuggestionsUri, selection, null);
|
/packages/apps/Contacts/src/com/android/contacts/ |
GroupMemberLoader.java | 113 StringBuilder selection = new StringBuilder(); local 114 selection.append(Data.MIMETYPE + "=?" + " AND " + GroupMembership.GROUP_ROW_ID + "=?"); 115 return selection.toString();
|
/packages/apps/Mms/src/com/android/mms/ |
TempFileProvider.java | 43 String selection, String[] selectionArgs, String sortOrder) { 53 public int delete(Uri uri, String selection, String[] selectionArgs) { 59 String selection, String[] selectionArgs) {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
GoogleSuggestionProvider.java | 71 public Cursor query(Uri uri, String[] projection, String selection, 108 public int update(Uri uri, ContentValues values, String selection, 114 public int delete(Uri uri, String selection, String[] selectionArgs) {
|
/packages/apps/QuickSearchBox/tests/partial/src/com/android/quicksearchbox/tests/partial/ |
PartialSuggestionProvider.java | 98 public Cursor query(Uri uri, String[] projectionIn, String selection, 133 public int update(Uri uri, ContentValues values, String selection, 139 public int delete(Uri uri, String selection, String[] selectionArgs) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
ExtractStringAction.java | 56 * <li> The action is only enabled if the selection is 1 character or more. That is at least part 67 * us to be able to work with a selection from an Android XML file later. 92 * Examine the selection to determine if the action should be enabled or not. 94 * Keep a link to the relevant selection structure (i.e. a part of the Java AST). 96 public void selectionChanged(IAction action, ISelection selection) { 101 // This simply deals with the refactoring based on a non-empty selection. 108 if (selection instanceof ITextSelection) { 109 mSelection = (ITextSelection) selection; 136 * Returns the active editor (hopefully matching our selection) or null. 151 * Returns the active {@link IFile} (hopefully matching our selection) or null [all...] |
/external/chromium/chrome/browser/ui/views/bookmarks/ |
bookmark_context_menu_controller_views.h | 49 // |parent| is the parent for newly created nodes if |selection| is empty. 50 // |selection| is the nodes the context menu operates on and may be empty. 57 const std::vector<const BookmarkNode*>& selection);
|
bookmark_context_menu.cc | 25 const std::vector<const BookmarkNode*>& selection) 28 this, profile, page_navigator, parent, selection))),
|
/external/webkit/Source/WebCore/editing/ |
InsertLineBreakCommand.cpp | 91 VisibleSelection selection = endingSelection(); local 92 if (!selection.isNonOrphanedCaretOrRange()) 95 VisiblePosition caret(selection.visibleStart()); 167 RefPtr<EditingStyle> typingStyle = document()->frame()->selection()->typingStyle(); 170 // Apply the typing style to the inserted line break, so that if the selection
|
InsertListCommand.h | 55 bool selectionHasListOfType(const VisibleSelection& selection, const QualifiedName&);
|
DeleteButtonController.cpp | 147 static HTMLElement* enclosingDeletableElement(const VisibleSelection& selection) 149 if (!selection.isContentEditable()) 152 RefPtr<Range> range = selection.toNormalizedRange(); 176 HTMLElement* newElement = enclosingDeletableElement(m_frame->selection()->selection()); 331 show(enclosingDeletableElement(m_frame->selection()->selection())); 350 // Because the deletion UI only appears when the selection is entirely 351 // within the target, we unconditionally update the selection to be 355 m_frame->selection()->setSelection(VisiblePosition(pos)) [all...] |
/frameworks/ex/common/java/com/android/common/content/ |
SyncStateContentProviderHelper.java | 82 String selection, String[] selectionArgs, String sortOrder) { 83 return db.query(SYNC_STATE_TABLE, projection, selection, selectionArgs, 96 String selection, String[] selectionArgs) { 97 return db.update(SYNC_STATE_TABLE, values, selection, selectionArgs);
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
ExportTestProvider.java | 99 String selection, String[] selectionArgs, String sortOrder) { 104 TestCase.assertTrue((Data.CONTACT_ID + "=?").equals(selection)); 115 String selection, String[] selectionArgs, String sortOrder) { 118 TestCase.assertNull(selection);
|
/frameworks/support/v4/java/android/support/v4/content/ |
CursorLoader.java | 105 public CursorLoader(Context context, Uri uri, String[] projection, String selection, 111 mSelection = selection; 182 public void setSelection(String selection) { 183 mSelection = selection;
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
TransactionSettings.java | 64 String selection = TextUtils.isEmpty(apnName) ? null : local 69 APN_PROJECTION, selection, null, null); 72 Log.v(TAG, "TransactionSettings looking for apn: " + selection + " returned: " + 109 Log.v(TAG, "APN setting: MMSC: " + mServiceCenter + " looked for: " + selection);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
DynamicContextMenu.java | 68 * contributed by the {@link IViewRule} instances, based on the current selection 75 * they are both linked to the current selection state of the {@link LayoutCanvas}. 90 * contributed by the {@link IViewRule} instances, based on the current selection 93 * @param canvas The {@link LayoutCanvas} providing the selection, the node factory and 112 // shown, find dynamic contributions based on the current selection and insert 128 // Now add all the dynamic menu actions depending on the current selection. 138 * any new actions that depend on the current selection. 190 // to work this way to facilitate multi selection and actions which apply 208 List<SelectionItem> selection = mCanvas.getSelectionManager().getSelections(); local 209 if (selection.size() == 1) 232 List<SelectionItem> selection = mCanvas.getSelectionManager().getSelections(); local 257 List<SelectionItem> selection = mCanvas.getSelectionManager().getSelections(); local 437 List<SelectionItem> selection = mCanvas.getSelectionManager().getSelections(); local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppProvider.java | 300 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 352 sb.append("selection is "); 353 sb.append(selection); 374 Cursor ret = qb.query(db, projection, selection, selectionArgs, null, null, sortOrder); 387 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 398 if (selection != null) { 400 myWhere = "( " + selection + " )"; 402 myWhere = "( " + selection + " ) AND "; 431 public int delete(Uri uri, String selection, String[] selectionArgs) { 439 if (selection != null) [all...] |
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
Menu.java | 51 void processFile(String filename, boolean selection) { 62 void processDirectory(String path, boolean selection) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
CreateAssetSetWizard.java | 220 final TreeSelection selection = new TreeSelection(paths); local 222 provider.setSelection(selection); 232 provider.setSelection(selection); 263 public void init(IWorkbench workbench, IStructuredSelection selection) { 266 mInitialProject = guessProject(selection); 272 private IProject guessProject(IStructuredSelection selection) { 273 if (selection == null) { 277 for (Object element : selection.toList()) {
|
/cts/tools/dx-tests/etc/ |
starttests | 54 selection=$1 56 if [ "$selection" = "--portable" ]; then 57 selection=$2; 85 if [ "$selection" = "--help" ]; then 207 if [ "$selection" == "" ] || [ "$jtitle" == "$selection" ]; then
|
/cts/tools/vm-tests/etc/ |
starttests | 53 selection=$1 55 if [ "$selection" = "--portable" ]; then 56 selection=$2; 86 if [ "$selection" = "--help" ]; then 183 if [ "$selection" == "" ] || [ "$jtitle" == "$selection" ]; then
|
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
CallLogQueryHandler.java | 172 String selection = String.format("%s IS NOT NULL AND %s = 0 AND %s > ?", local 178 selection = String.format("NOT (%s)", selection); 182 selection = String.format("(%s) AND (%s = ?)", selection, Calls.TYPE); 186 CallLogQuery._PROJECTION, selection, selectionArgs.toArray(EMPTY_STRING_ARRAY),
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
MockProvider.java | 47 * query() does not allow non-null selection, selectionArgs, or sortOrder arguments; the 52 * delete() and update() do not allow non-null selection or selectionArgs arguments; the 97 public int delete(Uri uri, String selection, String[] selectionArgs) { 98 if (selection != null || selectionArgs != null) { 139 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 141 if (selection != null || selectionArgs != null || sortOrder != null || projection == null) { 178 public int update(Uri uri, ContentValues newValues, String selection, String[] selectionArgs) { 179 if (selection != null || selectionArgs != null) {
|