/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | DOMSelection.cpp | 51 Node* node = frame->selection().selection().base().anchorNode(); in selectionShadowAncestor() 76 return m_frame->selection().selection(); in visibleSelection() 79 static Position anchorPosition(const VisibleSelection& selection) in anchorPosition() argument 81 Position anchor = selection.isBaseFirst() ? selection.start() : selection.end(); in anchorPosition() 85 static Position focusPosition(const VisibleSelection& selection) in focusPosition() argument 87 Position focus = selection.isBaseFirst() ? selection.end() : selection.start(); in focusPosition() 91 static Position basePosition(const VisibleSelection& selection) in basePosition() argument 93 return selection.base().parentAnchoredEquivalent(); in basePosition() 96 static Position extentPosition(const VisibleSelection& selection) in extentPosition() argument 98 return selection.extent().parentAnchoredEquivalent(); in extentPosition() [all …]
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ |
D | file_selection.js | 217 if (this.selection) this.selection.cancelComputing_(); 218 var selection = new FileSelection(this.fileManager_, indexes); 219 this.selection = selection; 224 if (this.selection.totalCount == 1 && 225 this.selection.entries[0].isFile && 226 this.filenameInput_.value != this.selection.entries[0].name) { 227 this.filenameInput_.value = this.selection.entries[0].name; 251 selection.directoryCount === 0 && selection.fileCount > 0) { 263 if (this.selection == selection) 264 this.updateFileSelectionAsync(selection); [all …]
|
/external/chromium-trace/trace-viewer/src/tracing/analysis/ |
D | analyze_slices_test.js | 33 var selection = new Selection(); 34 selection.addSlice(t53track, t53.sliceGroup.slices[0]); 35 assertEquals(1, selection.length); 37 return selection; 49 var selection = new Selection(); 50 selection.addSlice(t53track, t53.sliceGroup.slices[0]); 51 selection.addSlice(t53track, t53.sliceGroup.slices[1]); 53 return selection; 65 var selection = new Selection(); 66 selection.addSlice(t53track, t53.sliceGroup.slices[0]); [all …]
|
D | analysis_view_test.js | 44 var selection = new Selection(); 45 selection.addObjectInstance(track, i10); 46 selection.addObjectSnapshot(track, s10); 47 selection.addObjectSnapshot(track, s25); 48 selection.addObjectSnapshot(track, s40); 51 analysisEl.selection = selection; 59 var selection = new Selection(); 60 selection.addObjectSnapshot({}, s10); 63 view.selection = selection; 72 var selection = new Selection(); [all …]
|
D | analyze_counters_test.js | 34 var selection = new Selection(); 36 selection.addCounterSample(t1track, ctr, 1); 39 return selection; 41 selection.addCounterSample(t1track, ctr, 0); 42 return selection; 65 var selection = new Selection(); 68 selection.addCounterSample(t1track, ctr, 1); 69 return selection; 79 var selection = new Selection(); 81 selection.addCounterSample(t1track, ctr1, 1); [all …]
|
D | analysis_view.js | 60 get selection() { getter in AnalysisView 64 set selection(selection) { setter in AnalysisView 65 this.selections_.push(selection); 69 selection_guid: selection.guid 73 this.processSelection(selection); 98 processSelection: function(selection) { argument 99 var hitsByType = selection.getHitsOrganizedByType(); 100 if (selection.length == 1 && 102 if (this.tryToProcessSelectionUsingCustomViewer(selection[0])) 108 this.currentSelection_ = selection;
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | Editor.cpp | 106 … m_editor->m_frame.selection().revealSelection(ScrollAlignment::alignToEdgeIfNeeded, RevealExtent); in ~RevealSelectionScope() 113 VisibleSelection selection = m_frame.selection().selection(); in selectionForCommand() local 115 return selection; in selectionForCommand() 118 …tFormControlElement* textFormControlOfSelectionStart = enclosingTextFormControl(selection.start()); in selectionForCommand() 120 …if (textFromControlOfTarget && (selection.start().isNull() || textFromControlOfTarget != textFormC… in selectionForCommand() 121 if (RefPtr<Range> range = textFromControlOfTarget->selection()) in selectionForCommand() 122 return VisibleSelection(range.get(), DOWNSTREAM, selection.isDirectional()); in selectionForCommand() 124 return selection; in selectionForCommand() 183 return m_frame.selection().rootEditableElement(); in canEdit() 188 return m_frame.selection().isContentRichlyEditable(); in canEditRichly() [all …]
|
D | SetSelectionCommand.cpp | 34 SetSelectionCommand::SetSelectionCommand(const VisibleSelection& selection, FrameSelection::SetSele… in SetSelectionCommand() argument 35 : SimpleEditCommand(*selection.base().document()) in SetSelectionCommand() 37 , m_selectionToSet(selection) in SetSelectionCommand() 43 FrameSelection& selection = document().frame()->selection(); in doApply() local 44 selection.setSelection(m_selectionToSet, m_options); in doApply() 50 FrameSelection& selection = document().frame()->selection(); in doUnapply() local 51 selection.setSelection(startingSelection(), m_options); in doUnapply()
|
D | SpellChecker.cpp | 55 bool isSelectionInTextField(const VisibleSelection& selection) in isSelectionInTextField() argument 57 HTMLTextFormControlElement* textControl = enclosingTextFormControl(selection.start()); in isSelectionInTextField() 136 VisibleSelection selection = VisibleSelection::selectionFromContentsOfNode(element); in didBeginEditing() local 137 markMisspellingsAndBadGrammar(selection); in didBeginEditing() 146 if (RefPtr<Range> selectedRange = m_frame.selection().toNormalizedRange()) in ignoreSpelling() 157 VisibleSelection selection(m_frame.selection().selection()); in advanceToNextMisspelling() local 161 if (selection.start().deprecatedNode()) { in advanceToNextMisspelling() 164 VisiblePosition start(selection.visibleStart()); in advanceToNextMisspelling() 169 setStart(spellingSearchRange.get(), selection.visibleEnd()); in advanceToNextMisspelling() 290 … m_frame.selection().setSelection(VisibleSelection(badGrammarRange.get(), SEL_DEFAULT_AFFINITY)); in advanceToNextMisspelling() [all …]
|
D | EditorCommand.cpp | 136 …<EditingStyle> selectionStyle = EditingStyle::styleAtSelectionStart(frame.selection().selection()); in executeToggleStyleInList() 212 VisibleSelection selection = frame.selection().selection(); in expandSelectionToGranularity() local 213 selection.expandUsingGranularity(granularity); in expandSelectionToGranularity() 214 RefPtr<Range> newRange = selection.toNormalizedRange(); in expandSelectionToGranularity() 219 RefPtr<Range> oldRange = frame.selection().selection().toNormalizedRange(); in expandSelectionToGranularity() 220 EAffinity affinity = frame.selection().affinity(); in expandSelectionToGranularity() 221 frame.selection().setSelectedRange(newRange.get(), affinity, true); in expandSelectionToGranularity() 242 …rection selectionDirection = EditingStyle::textDirectionForSelection(frame.selection().selection(), in stateTextWritingDirection() 243 frame.selection().typingStyle(), hasNestedOrMultipleEmbeddings); in stateTextWritingDirection() 325 …TypingCommand::deleteKeyPressed(*frame.document(), frame.selection().granularity() == WordGranular… in executeDelete() [all …]
|
D | InputMethodController.cpp | 104 VisibleSelection selection; in selectComposition() local 105 selection.setWithoutValidation(range->startPosition(), range->endPosition()); in selectComposition() 106 m_frame.selection().setSelection(selection, 0); in selectComposition() 162 Position start = m_frame.selection().start(); in cancelCompositionIfSelectionIsInvalid() 163 Position end = m_frame.selection().end(); in cancelCompositionIfSelectionIsInvalid() 188 if (m_frame.selection().isNone()) in finishComposition() 230 if (m_frame.selection().isNone()) in setComposition() 282 Position base = m_frame.selection().base().downstream(); in setComposition() 283 Position extent = m_frame.selection().extent(); in setComposition() 305 m_frame.selection().setSelectedRange(selectedRange.get(), DOWNSTREAM, false); in setComposition() [all …]
|
/external/chromium-trace/trace-viewer/src/tracing/ |
D | find_control_test.js | 22 this.selection = new tracing.Selection(); 48 addAllObjectsMatchingFilterToSelection: function(filter, selection) { argument 51 selection.push_( 98 timeline.selection = new tracing.Selection(); 100 assertArrayShallowEquals([], timeline.selection); 102 assertArrayShallowEquals([], timeline.selection); 114 assertArrayShallowEquals([1], timeline.selection); 116 assertArrayShallowEquals([1], timeline.selection); 118 assertArrayShallowEquals([1], timeline.selection); 131 assertArrayShallowEquals([1], timeline.selection); [all …]
|
D | selection.js | 213 addSelection: function(selection) { argument 214 for (var i = 0; i < selection.length; i++) 215 this.push_(selection[i]); 221 var selection = new Selection(); 222 selection.bounds_dirty_ = true; 227 selection.push_(this[i]); 229 return selection; 233 var selection = new Selection(); 235 selection.push_.bind(selection)); 236 return selection; [all …]
|
D | record_selection_dialog.css | 6 .record-selection-dialog { 11 .record-selection-dialog .default-enabled-categories { 15 .record-selection-dialog .default-disabled-categories { 21 .record-selection-dialog .categories { 26 .record-selection-dialog form { 34 .record-selection-dialog .options { 40 .record-selection-dialog td { 44 .record-selection-dialog .options label {
|
/external/chromium-trace/trace-viewer/src/cc/ |
D | layer_tree_host_impl_view.js | 68 this.selection = this.selection_.findEquivalent(lthi); 71 get selection() { getter in LayerTreeHostImplSnapshotView 75 set selection(selection) { argument 76 this.selection_ = selection; 77 this.layerPicker_.selection = selection; 78 this.layerViewer_.selection = selection; 82 this.selection_ = this.layerPicker_.selection; 83 this.layerViewer_.selection = this.selection; 87 this.selection_ = this.layerViewer_.selection; 88 this.layerPicker_.selection = this.selection;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | CSSSourceFrame.js | 76 var selection = this.textEditor.selection().normalize(); 77 var token = this.textEditor.tokenAtTextPosition(selection.startLine, selection.startColumn); 79 if (selection.startColumn > 0) 80 … token = this.textEditor.tokenAtTextPosition(selection.startLine, selection.startColumn - 1); 87 …var cssUnitRange = new WebInspector.TextRange(selection.startLine, token.startColumn, selection.st… 93 selection.startColumn = token.startColumn; 94 selection.endColumn = selection.startColumn + newUnitText.length; 95 this.textEditor.setSelection(selection);
|
D | TextPrompt.js | 359 var selection = window.getSelection(); 360 selection.removeAllRanges(); 361 selection.addRange(selectionRange); 383 var selection = window.getSelection(); 384 if (!selection.rangeCount) 387 var selectionRange = selection.getRangeAt(0); 392 else if (!selection.isCollapsed) 407 …proxyElement, wordPrefixRange, force, this._completionsReady.bind(this, selection, wordPrefixRange… 419 _boxForAnchorAtStart: function(selection, textRange) argument 421 var rangeCopy = selection.getRangeAt(0).cloneRange(); [all …]
|
/external/smack/src/org/apache/harmony/javax/security/auth/callback/ |
D | ConfirmationCallback.java | 60 private int selection; field in ConfirmationCallback 203 return selection; in getSelectedIndex() 206 public void setSelectedIndex(int selection) { in setSelectedIndex() argument 208 if (0 <= selection && selection <= options.length) { in setSelectedIndex() 209 this.selection = selection; in setSelectedIndex() 216 if (selection != YES && selection != NO) { in setSelectedIndex() 221 if (selection != YES && selection != NO && selection != CANCEL) { in setSelectedIndex() 226 if (selection != OK && selection != CANCEL) { in setSelectedIndex() 231 this.selection = selection; in setSelectedIndex()
|
/external/chromium-trace/trace-viewer/src/tracing/tracks/ |
D | object_instance_track_test.js | 62 var selection = new Selection(); 64 8, 8.1, 0.1, selection); 65 assertEquals(0, selection.length); 68 selection = new Selection(); 70 9.98, 9.99, 0.1, selection); 71 assertEquals(1, selection.length); 72 assertEquals(1, selection.getNumObjectSnapshotHits()); 75 selection = new Selection(); 77 20, 20.1, 0.1, selection); 78 assertEquals(1, selection.length); [all …]
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ui/ |
D | preview_panel.js | 191 PreviewPanel.prototype.setSelection = function(selection) { argument 193 this.selection_ = selection; 249 var selection = this.selection_; 252 this.thumbnails.selection = selection.totalCount !== 0 ? 253 selection : {entries: [this.currentEntry_]}; 272 if (selection.directoryCount == 0) 273 text = strf('MANY_FILES_SELECTED', selection.fileCount); 274 else if (selection.fileCount == 0) 275 text = strf('MANY_DIRECTORIES_SELECTED', selection.directoryCount); 277 text = strf('MANY_ENTRIES_SELECTED', selection.totalCount); [all …]
|
/external/chromium_org/remoting/host/linux/ |
D | x_server_clipboard.cc | 135 OnSetSelectionOwnerNotify(notify_event->selection, in ProcessXEvent() 140 void XServerClipboard::OnSetSelectionOwnerNotify(Atom selection, in OnSetSelectionOwnerNotify() argument 156 if (selection != clipboard_atom_) in OnSetSelectionOwnerNotify() 160 if (IsSelectionOwner(selection)) in OnSetSelectionOwnerNotify() 167 RequestSelectionTargets(selection); in OnSetSelectionOwnerNotify() 225 selection_event.selection = event->xselectionrequest.selection; in OnSelectionRequest() 230 if (!IsSelectionOwner(selection_event.selection)) { in OnSelectionRequest() 250 selections_owned_.erase(event->xselectionclear.selection); in OnSelectionClear() 322 RequestSelectionString(event->selection, utf8_string_atom_); in HandleSelectionTargetsEvent() 328 RequestSelectionString(event->selection, XA_STRING); in HandleSelectionTargetsEvent() [all …]
|
/external/chromium_org/chrome/browser/history/ |
D | history_backend_android.cc | 27 const std::string& selection, in QueryHistoryAndBookmarks() argument 36 projections, selection, selection_args, sort_order); in QueryHistoryAndBookmarks() 44 const std::string& selection, in UpdateHistoryAndBookmarks() argument 53 selection, selection_args, &count); in UpdateHistoryAndBookmarks() 61 const std::string& selection, in DeleteHistoryAndBookmarks() argument 69 result = android_provider_backend_->DeleteHistoryAndBookmarks(selection, in DeleteHistoryAndBookmarks() 77 const std::string& selection, in DeleteHistory() argument 85 result = android_provider_backend_->DeleteHistory(selection, selection_args, in DeleteHistory() 135 const std::string& selection, in UpdateSearchTerms() argument 143 result = android_provider_backend_->UpdateSearchTerms(row, selection, in UpdateSearchTerms() [all …]
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
D | ChromeBrowserProvider.java | 255 private String buildSuggestWhere(String selection, int argc) { in buildSuggestWhere() argument 256 StringBuilder sb = new StringBuilder(selection); in buildSuggestWhere() 259 sb.append(selection); in buildSuggestWhere() 269 private Cursor getBookmarkHistorySuggestions(String selection, String[] selectionArgs, in getBookmarkHistorySuggestions() argument 287 urlWhere.append(buildSuggestWhere(selection, args.size())); in getBookmarkHistorySuggestions() 306 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 324 cursor = getBookmarkHistorySuggestions(selection, selectionArgs, sortOrder, true); in query() 327 cursor = getBookmarkHistorySuggestions(selection, selectionArgs, sortOrder, false); in query() 330 cursor = queryBookmarkFromAPI(projection, selection, selectionArgs, sortOrder); in query() 333 cursor = queryBookmarkFromAPI(projection, buildWhereClause(bookmarkId, selection), in query() [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowCursorLoader.java | 15 private String selection; field in ShadowCursorLoader 23 …public void __constructor__(Context context, Uri uri, String[] projection, String selection, Strin… in __constructor__() argument 27 this.selection = selection; in __constructor__() 54 return selection; in getSelection() 58 public void setSelection(String selection) { in setSelection() argument 59 this.selection = selection; in setSelection()
|
/external/chromium_org/chrome/browser/history/android/ |
D | android_provider_backend.h | 67 const std::string& selection, 79 const std::string& selection, 93 const std::string& selection, 101 bool DeleteHistory(const std::string& selection, 115 const std::string& selection, 126 const std::string& selection, 139 bool DeleteSearchTerms(const std::string& selection, 204 const std::string& selection, 227 const std::string& selection, 238 bool DeleteHistory(const std::string& selection, [all …]
|