/frameworks/base/core/tests/coretests/src/android/pim/vcard/test_utils/ |
ExportTestProvider.java | 94 String selection, String[] selectionArgs, String sortOrder) { 99 TestCase.assertTrue((Data.CONTACT_ID + "=?").equals(selection)); 109 String selection, String[] selectionArgs, String sortOrder) { 112 TestCase.assertNull(selection);
|
/frameworks/base/core/java/android/content/ |
ContentProvider.java | 171 String selection, String[] selectionArgs, String sortOrder, 175 selection, selectionArgs, sortOrder); 185 String selection, String[] selectionArgs, String sortOrder) { 187 return ContentProvider.this.query(uri, projection, selection, 220 public int delete(Uri uri, String selection, String[] selectionArgs) { 222 return ContentProvider.this.delete(uri, selection, selectionArgs); 225 public int update(Uri uri, ContentValues values, String selection, 228 return ContentProvider.this.update(uri, values, selection, selectionArgs); 512 selection, 526 * @param selection A selection criteria to apply when filtering rows [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...] |
/external/webkit/WebCore/editing/ |
DeleteButtonController.cpp | 143 static HTMLElement* enclosingDeletableElement(const VisibleSelection& selection) 145 if (!selection.isContentEditable()) 148 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...] |
InsertLineBreakCommand.cpp | 92 VisibleSelection selection = endingSelection(); local 93 if (selection.isNone()) 96 VisiblePosition caret(selection.visibleStart()); 166 // Apply the typing style to the inserted line break, so that if the selection
|
EditCommand.cpp | 50 setStartingSelection(avoidIntersectionWithNode(m_document->frame()->selection()->selection(), m_document->frame()->editor()->deleteButtonController()->containerElement()));
|
ReplaceSelectionCommand.cpp | 107 ReplacementFragment::ReplacementFragment(Document* document, DocumentFragment* fragment, bool matchStyle, const VisibleSelection& selection) 121 Element* editableRoot = selection.rootEditableElement(); 136 Node* styleNode = selection.base().node(); 150 m_fragment = createFragmentFromText(selection.toNormalizedRange().get(), evt->text()); 359 // And we should only merge here if the selection start was inside a mail blockquote. This prevents against removing a 692 // include the what was the start of the selection that was pasted into, so that we preserve that paragraph's 726 VisibleSelection selection = endingSelection(); local 727 ASSERT(selection.isCaretOrRange()); 728 ASSERT(selection.start().node()); 729 if (selection.isNone() || !selection.start().node() 735 ReplacementFragment fragment(document(), m_documentFragment.get(), m_matchStyle, selection); local [all...] |
/external/webkit/WebCore/page/ |
FocusController.cpp | 91 // Now that the frame is updated, fire events and update the selection focused states of both frames. 93 oldFrame->selection()->setFocused(false); 98 newFrame->selection()->setFocused(true); 120 m_focusedFrame->selection()->setFocused(focused); 165 currentNode = frame->selection()->start().node(); 253 frame->selection()->setSelection(newSelection); 281 SelectionController* s = oldFocusedFrame->selection(); 289 Node* selectionStartNode = s->selection().start().node(); 364 focusedOrMainFrame()->selection()->pageActivationChanged();
|
DragController.cpp | 132 bool DragController::dragIsMove(SelectionController* selection) 134 return m_documentUnderMouse == m_dragInitiator && selection->isContentEditable() && !isCopyKeyDown(); 137 // FIXME: This method is poorly named. We're just clearing the selection from the document this drag is exiting. 214 // If we were over another document clear the selection 320 operation = dragIsMove(innerFrame->selection()) ? DragOperationMove : DragOperationCopy; 345 frame->selection()->setSelection(dragCaret); 346 if (frame->selection()->isNone()) { 348 frame->selection()->setSelection(dragCaret); 351 return !frame->selection()->isNone() && frame->selection()->isContentEditable() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutCanvasViewer.java | 40 * canvas' selection changes are broadcasted to anyone listening, which includes 103 * Sets a new selection. <code>reveal</code> is ignored right now. 105 * The selection can be null, which is interpreted as an empty selection. 108 public void setSelection(ISelection selection, boolean reveal) { 109 mCanvas.setSelection(selection);
|
/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
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_TestDataBuilder.java | 168 StringBuilder selection = new StringBuilder(); local 175 if (selection.length() != 0) { 176 selection.append(" AND "); 179 selection.append(column); 181 selection.append(" NOT NULL"); 183 selection.append("=?"); 188 selection.toString(),
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ReferenceChooserDialog.java | 107 // get the selection 130 // setup the initial selection 194 * @return the <code>TreePath</code> object or <code>null</code> if there was no selection. 197 ISelection selection = mFilteredTree.getViewer().getSelection(); local 198 if (selection instanceof TreeSelection) { 199 TreeSelection treeSelection = (TreeSelection)selection; 202 // the selection mode is SWT.SINGLE, so we just get the first one. 237 * Updates the new res button when the list selection changes. 292 TreePath selection = getSelection(); local 293 if (selection != null && selection.getSegmentCount() > 0) [all...] |
ResourceExplorerView.java | 67 * The view listener to change in selection in the workbench, and update to show the resource 112 // listen to selection change in the workbench. 117 // init with current selection 126 IStructuredSelection selection = (IStructuredSelection) sel; 128 if (selection.size() == 1) { 129 Object element = selection.getFirstElement(); 183 * Processes a new selection. 185 public void selectionChanged(IWorkbenchPart part, ISelection selection) { 200 } else if (selection instanceof IStructuredSelection) { 201 // if it's not an editor, we look for structured selection [all...] |
/sdk/traceview/src/com/android/traceview/ |
ProfileView.java | 177 // Add a selection listener to the tree so that the user can click 186 IStructuredSelection selection = (IStructuredSelection) sel; 187 Object element = selection.getFirstElement(); 224 ArrayList<Selection> selections = new ArrayList<Selection>(); 225 selections.add(Selection.highlight("MethodData", md)); 255 ArrayList<Selection> selections; 257 for (Selection selection : selections) { 258 Selection.Action action = selection.getAction() [all...] |
/external/webkit/WebCore/accessibility/gtk/ |
AccessibilityObjectWrapperAtk.cpp | 111 static AccessibilityObject* core(AtkSelection* selection) 113 return core(ATK_OBJECT(selection)); 677 // Selection (for controls) 679 static AccessibilityObject* optionFromList(AtkSelection* selection, gint i) 681 AccessibilityObject* coreSelection = core(selection); 685 AccessibilityRenderObject::AccessibilityChildrenVector options = core(selection)->children(); 692 static AccessibilityObject* optionFromSelection(AtkSelection* selection, gint i) 694 // i is the ith selection as opposed to the ith child. 696 AccessibilityObject* coreSelection = core(selection); 712 static gboolean webkit_accessible_selection_add_selection(AtkSelection* selection, gint i 1076 VisibleSelection selection = coreObject->selection(); local 1090 VisibleSelection selection = coreObject->selection(); local [all...] |
/external/webkit/WebKit/haiku/WebCoreSupport/ |
EditorClientHaiku.cpp | 250 Node* start = frame->selection()->start().node(); 267 frame->selection()->modify(kevent->shiftKey() ? SelectionController::EXTEND : SelectionController::MOVE, 273 frame->selection()->modify(kevent->shiftKey() ? SelectionController::EXTEND : SelectionController::MOVE, 279 frame->selection()->modify(kevent->shiftKey() ? SelectionController::EXTEND : SelectionController::MOVE, 285 frame->selection()->modify(kevent->shiftKey() ? SelectionController::EXTEND : SelectionController::MOVE,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/ |
KeySelectionPage.java | 48 * Key Selection Page. This is used when an existing keystore is used. 65 setTitle("Key alias selection"); 170 int selection = -1; local 176 if (selection == -1 && alias.equalsIgnoreCase(keyAlias)) { 177 selection = count; 184 if (selection != -1) { 185 mKeyAliases.select(selection);
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
DictionaryProvider.java | 89 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 194 public int delete(Uri uri, String selection, String[] selectionArgs) { 199 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/external/webkit/WebCore/rendering/ |
RenderTreeAsText.cpp | 591 VisibleSelection selection = frame->selection()->selection(); 592 if (selection.isCaret()) { 593 ts << "caret: position " << selection.start().deprecatedEditingOffset() << " of " << nodePosition(selection.start().node()); 594 if (selection.affinity() == UPSTREAM) 597 } else if (selection.isRange()) 598 ts << "selection start: position " << selection.start().deprecatedEditingOffset() << " of " << nodePosition(selection.start().node()) << "\n [all...] |
/external/webkit/WebKit/gtk/WebCoreSupport/ |
PasteboardHelperGtk.cpp | 126 // Only collapse the selection if this is an X11 primary clipboard 141 // Collapse the selection without clearing it 143 frame->selection()->setBase(frame->selection()->extent(), frame->selection()->affinity());
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
StackTracePanel.java | 218 ISelection selection = mStackTraceViewer.getSelection(); 220 if (selection instanceof IStructuredSelection) { 221 IStructuredSelection structuredSelection = (IStructuredSelection)selection;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
NewItemSelectionDialog.java | 48 * A selection dialog to select the type of the new element node to 53 /** The UI node selected in the tree view before creating the new item selection dialog. 70 /** The potential XML Name to initially select in the selection dialog. This is computed 75 * Creates the new item selection dialog. 108 public IStatus validate(Object[] selection) { 109 if (selection.length == 1 && selection[0] instanceof ViewElementDescriptor) { 113 ((ViewElementDescriptor) selection[0]).getFullClassName(), //msg 115 } else if (selection.length == 1 && selection[0] instanceof ElementDescriptor) [all...] |
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
ContactManager.java | 109 String selection = ContactsContract.Contacts.IN_VISIBLE_GROUP + " = '" + local 114 return managedQuery(uri, projection, selection, selectionArgs, sortOrder);
|