/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PlayAnimationMenu.java | 53 * run on the selection 90 List<SelectionItem> selection = selectionManager.getSelections(); local 91 if (selection.size() != 1) { 145 List<SelectionItem> selection = selectionManager.getSelections(); local 146 SelectionItem canvasSelection = selection.get(0); 234 IStructuredSelection selection = new StructuredSelection(pair); local 235 wizard.init(workbench, selection);
|
MarqueeGesture.java | 31 * A {@link MarqueeGesture} is a gesture for swiping out a selection rectangle. 33 * instead of added to the new selection set. 42 /** A copy of the initial selection, when we're toggling the marquee. */ 46 * Creates a new marquee selection (selection swiping). 48 * @param canvas The canvas where selection is performed. 56 List<SelectionItem> selection = canvas.getSelectionManager().getSelections(); local 57 mInitialSelection = new ArrayList<CanvasViewInfo>(selection.size()); 58 for (SelectionItem item : selection) { 79 // Compute selection overlap [all...] |
/external/webkit/Source/WebKit2/WebProcess/WebPage/mac/ |
WebPageMac.mm | 228 if (frame->selection()->isContentEditable()) { 232 frame->selection()->setSelection(VisibleSelection(replacementRange.get(), SEL_DEFAULT_AFFINITY)); 257 frame->selection()->setSelection(VisibleSelection(replacementRange.get(), SEL_DEFAULT_AFFINITY)); 299 RefPtr<Range> range = frame->selection()->toNormalizedRange(); 314 if (frame->selection()->isNone() || !frame->selection()->isContentEditable() || frame->selection()->isInPasswordField()) 362 // concentrate on a given area containing the selection 365 // to use the root editable element of the selection start as the positional base. 367 Element* selectionRoot = frame->selection()->rootEditableElement() [all...] |
/external/chromium/chrome/browser/resources/file_manager/js/ |
file_manager.js | 70 this.addEventListener('selection-summarized', 575 this.selection.totalCount == 1); 710 this.deleteEntries(this.selection.entries); 892 if (this.selection && this.selection.entries.indexOf(entry) != -1) { [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContentProviderTest.java | 335 public int delete(Uri url, String selection, String[] selectionArgs) { 367 public Cursor query(Uri url, String[] projection, String selection, 373 public int update(Uri url, ContentValues values, String selection, 418 public int delete(Uri uri, String selection, String[] selectionArgs) { 438 public Cursor query(Uri uri, String[] projection, String selection, 444 public int update(Uri uri, ContentValues values, String selection, 489 public int delete(Uri uri, String selection, String[] selectionArgs) { 509 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 511 return mDb.query("files", projection, selection, selectionArgs, null, null, null); 515 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarProvider2.java | 651 Cursor cursor = mDb.rawQuery(SQL_SELECT_EVENTSRAWTIMES, null /* selection args */); 770 null /* selection */, null, 793 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 809 return mDbHelper.getSyncState().query(db, projection, selection, selectionArgs, 813 + (selection == null ? "" : " AND (" + selection + ")"); [all...] |
/external/webkit/Source/WebCore/page/ |
DragController.cpp | 144 bool DragController::dragIsMove(SelectionController* selection, DragData* dragData) 146 return m_documentUnderMouse == m_dragInitiator && selection->isContentEditable() && !isCopyKeyDown(dragData); 149 // FIXME: This method is poorly named. We're just clearing the selection from the document this drag is exiting. 226 // If we were over another document clear the selection 338 operation = dragIsMove(innerFrame->selection(), dragData) ? DragOperationMove : DragOperationCopy; 363 frame->selection()->setSelection(dragCaret); 364 if (frame->selection()->isNone()) { 366 frame->selection()->setSelection(dragCaret); 369 return !frame->selection()->isNone() && frame->selection()->isContentEditable() [all...] |
/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(),
|
MediaStore_Audio_AlbumsTest.java | 91 String selection = Albums.ALBUM +"=?"; local 95 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, 130 mContentResolver.update(audioAlbumsUri, albumValues, selection, selectionArgs); 138 mContentResolver.delete(audioAlbumsUri, selection, selectionArgs); 162 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, null);
|
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
GalleryProvider.java | 78 public int delete(Uri uri, String selection, String[] selectionArgs) { 118 String selection, String[] selectionArgs, String sortOrder) { 129 projection, selection, selectionArgs, sortOrder); 132 projection, selection, selectionArgs, sortOrder); 142 String selection, String[] selectionArgs, String sortOrder) { 164 String selection, String[] selectionArgs, String sortOrder) { 223 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
VoicemailContentTable.java | 159 public int delete(UriData uriData, String selection, String[] selectionArgs) { 161 String combinedClause = concatenateClauses(selection, uriData.getWhereClause(), 168 cursor = query(uriData, FILENAME_ONLY_PROJECTION, selection, selectionArgs, null); 193 public Cursor query(UriData uriData, String[] projection, String selection, 200 String combinedClause = concatenateClauses(selection, uriData.getWhereClause(), 211 public int update(UriData uriData, ContentValues values, String selection, 218 String combinedClause = concatenateClauses(selection, uriData.getWhereClause(), 246 /** Creates a clause to restrict the selection to only voicemail call type.*/
|
CallLogProvider.java | 47 /** Selection clause to use to exclude voicemail records. */ 124 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 131 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); 208 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 216 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); 238 public int delete(Uri uri, String selection, String[] selectionArgs) { 239 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); 284 * modify the selection to restrict to non-voicemail entries only.
|
VoicemailContentProvider.java | 109 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 112 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); 119 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 121 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); 128 public int delete(Uri uri, String selection, String[] selectionArgs) { 130 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); 393 * Creates a clause to restrict the selection to the calling provider or null if the caller has
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ReferenceChooserDialog.java | 114 // get the selection 137 // setup the initial selection 216 * @return the <code>TreePath</code> object or <code>null</code> if there was no selection. 219 ISelection selection = mFilteredTree.getViewer().getSelection(); local 220 if (selection instanceof TreeSelection) { 221 TreeSelection treeSelection = (TreeSelection)selection; 224 // the selection mode is SWT.SINGLE, so we just get the first one. 259 * Updates the new res button when the list selection changes. 314 TreePath selection = getSelection(); local 315 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...] |
/external/webkit/Source/WebKit/chromium/src/ |
WebFrameImpl.cpp | [all...] |
/frameworks/base/core/java/android/content/ |
ContentProvider.java | 176 String selection, String[] selectionArgs, String sortOrder) { 178 return ContentProvider.this.query(uri, projection, selection, 211 public int delete(Uri uri, String selection, String[] selectionArgs) { 213 return ContentProvider.this.delete(uri, selection, selectionArgs); 216 public int update(Uri uri, ContentValues values, String selection, 219 return ContentProvider.this.update(uri, values, selection, selectionArgs); 515 selection, 529 * @param selection A selection criteria to apply when filtering rows. 531 * @param selectionArgs You may include ?s in selection, which will be replaced b [all...] |
ContentProviderNative.java | 97 // String selection, String[] selectionArgs... 98 String selection = data.readString(); local 112 Cursor cursor = query(url, projection, selection, selectionArgs, sortOrder); 189 String selection = data.readString(); local 192 int count = delete(url, selection, selectionArgs); 204 String selection = data.readString(); local 207 int count = update(url, values, selection, selectionArgs); 326 public Cursor query(Uri url, String[] projection, String selection, 343 data.writeString(selection); 466 public int delete(Uri url, String selection, String[] selectionArgs [all...] |
/external/webkit/Source/WebKit/haiku/WebCoreSupport/ |
EditorClientHaiku.cpp | 253 Node* start = frame->selection()->start().containerNode(); 270 frame->selection()->modify(kevent->shiftKey() ? SelectionController::AlterationExtend : SelectionController::AlterationMove, 276 frame->selection()->modify(kevent->shiftKey() ? SelectionController::AlterationExtend : SelectionController::AlterationMove, 282 frame->selection()->modify(kevent->shiftKey() ? SelectionController::AlterationExtend : SelectionController::AlterationMove, 288 frame->selection()->modify(kevent->shiftKey() ? SelectionController::AlterationExtend : SelectionController::AlterationMove,
|
/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/chromium/chrome/browser/tabs/ |
tab_strip_selection_model_unittest.cc | 14 // Returns the state of the selection model as a string. The format is: 15 // 'active=X anchor=X selection=X X X...'. 19 " selection="; 20 const TabStripSelectionModel::SelectedIndices& selection( 22 for (size_t i = 0; i < selection.size(); ++i) { 25 result += base::IntToString(selection[i]); 32 EXPECT_EQ("active=-1 anchor=-1 selection=", StateAsString(model)); 39 EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)); 47 EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)); 49 // Increment from 4. This shouldn't effect the selection as its past th [all...] |
/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;
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
XmlDocumentProvider.java | 53 * <p>A XPath-like selection pattern is used to select some nodes in the XML document. Each such 66 * <h2>Node selection syntax</h2> 67 * The node selection syntax is made of the concatenation of an arbitrary number (at least one) of 68 * <code>/node_name</code> node selection patterns. 87 * <p>Use a syntax similar to the selection syntax described above to select the text associated 120 * A selection pattern of <code>/library//book</code> will match the three book entries (while 165 * @param selection A selection pattern which will select the nodes that will create the 173 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 192 XMLCursor xmlCursor = new XMLCursor(selection, projection) [all...] |
/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...] |