/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 326 // Refresh the tree, preserving the selection if possible. 486 * tree selection and if it is of the appropriate type it re-creates 490 ISelection selection = mTreeViewer.getSelection(); 491 if (!selection.isEmpty() && selection instanceof ITreeSelection) { 492 ArrayList<UiElementNode> selected = filterSelection((ITreeSelection) selection); 527 // Can't paste with more than one element selected (the selection is the target) 590 * This is called by the tree when a selection is made. 592 * selection 663 ISelection selection = mTreeViewer.getSelection(); local 687 ISelection selection = mTreeViewer.getSelection(); local 701 ISelection selection = mTreeViewer.getSelection(); local 730 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 | 69 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, 75 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs); 141 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 148 count = updateInTransaction(uri, values, selection, selectionArgs); 159 count = updateInTransaction(uri, values, selection, selectionArgs); 169 public int delete(Uri uri, String selection, String[] selectionArgs) { 176 count = deleteInTransaction(uri, selection, selectionArgs); 187 count = deleteInTransaction(uri, selection, selectionArgs);
|
/packages/apps/Browser/src/com/android/browser/provider/ |
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);
|
/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 | 306 // get current selection. 307 int selection = mEventDisplayList.getSelectionIndex(); 308 if (selection > 0) { 310 EventDisplay display = mDisplayList.remove(selection); 311 mDisplayList.add(selection - 1, display); 314 mEventDisplayList.remove(selection); 315 mEventDisplayList.add(display.getName(), selection - 1); 317 // update the selection and reset the ui. 318 mEventDisplayList.select(selection - 1); 334 // get current selection 719 int selection = mEventDisplayList.getSelectionIndex(); local 761 int selection = mEventDisplayList.getSelectionIndex(); local 776 int selection = mEventDisplayList.getSelectionIndex(); local 785 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.adt.ndk/src/com/android/ide/eclipse/adt/ndk/internal/actions/ |
AddNativeAction.java | 58 public void selectionChanged(IAction action, ISelection selection) { 59 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 | 85 String selection = Artists.ARTIST + "=?"; local 89 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); 105 mContentResolver.update(artistsUri, artistValues, selection, selectionArgs); 113 mContentResolver.delete(artistsUri, selection, selectionArgs); 137 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null);
|
Settings_NameValueTableTest.java | 58 String selection = NameValueTable.NAME + "=\"" + name + "\""; local 59 c = cr.query(uri, null, selection, null, null); 68 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);
|
PhoneNumberListAdapter.java | 149 final StringBuilder selection = new StringBuilder(); local 154 selection.append(Contacts.IN_VISIBLE_GROUP + "=1"); 155 selection.append(" AND " + Contacts.HAS_PHONE_NUMBER + "=1"); 159 selection.append("("); 161 selection.append(RawContacts.ACCOUNT_TYPE + "=?" 166 selection.append(" AND " + RawContacts.DATA_SET + "=?"); 169 selection.append(" AND " + RawContacts.DATA_SET + " IS NULL"); 171 selection.append(")"); 176 break; // No selection needed. 178 break; // This adapter is always "phone only", so no selection needed either [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
RunLintAction.java | 43 public void selectionChanged(IAction action, ISelection selection) { 44 mSelection = selection; 72 static IProject getSelectedProject(ISelection selection) { 73 if (selection instanceof IStructuredSelection) { 74 IStructuredSelection structuredSelection = (IStructuredSelection) selection;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/xml/ |
HyperlinksTest.java | 241 Point selection = null; local 246 selection = xmlEditor.getStructuredSourceViewer().getSelectedRange(); 258 selection = textViewer.getSelectedRange(); 277 selection = new Point(range.getOffset(), range.getLength()); 283 if (document != null && selection != null) { 284 int lineStart = document.getLineInformationOfOffset(selection.x).getOffset(); 285 IRegion lineEndInfo = document.getLineInformationOfOffset(selection.x + selection.y); 288 int selectionStart = selection.x - lineStart; 289 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 | 219 public int delete(Uri uri, String selection, String[] selectionArgs) { 230 count = db.delete(sSuggestions, selection, selectionArgs); 313 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 363 // Tack on the user's selection, if present 364 if (selection != null && selection.length() > 0) { 370 whereClause.append(selection); 387 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherDataProvider.java | 85 public synchronized Cursor query(Uri uri, String[] projection, String selection, 112 public int delete(Uri uri, String selection, String[] selectionArgs) { 118 public synchronized int update(Uri uri, ContentValues values, String selection,
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/ |
ChoiceCallbackTest.java | 139 int selection[] = { 1, 2, 3 }; local 141 cb.setSelectedIndexes(selection); 142 selection[0] = 4;
|
/external/webkit/Source/WebCore/page/chromium/ |
EventHandlerChromium.cpp | 58 // greyed out even though we're clicking on the selection. This looks 60 // selection. 62 if (m_frame->selection()->contains(p)) { 66 if (m_frame->selection()->shouldChangeSelection(newSelection)) 67 m_frame->selection()->setSelection(newSelection);
|