Searched refs:selection (Results 1 - 25 of 338) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/polymer/components-chromium/core-selection/
H A Dcore-selection-extracted.js2 Polymer('core-selection', {
15 this.selection = [];
22 * the selected item or undefined if there is no selection.
25 return this.multi ? this.selection : this.selection[0];
30 * @param {any} item The item whose selection state should be checked.
34 return this.selection.indexOf(item) >= 0;
39 this.selection.push(item);
41 var i = this.selection.indexOf(item);
43 this.selection
[all...]
/external/chromium_org/third_party/polymer/components-chromium/core-menu-button/
H A Dcore-menu-button-extracted.js56 * @property selection
59 get selection() {
60 return this.$.menu.selection;
/external/chromium-trace/trace-viewer/src/cc/
H A Dlayer_tree_host_impl_view.js35 'selection-changed',
44 'selection-changed',
68 this.selection = this.selection_.findEquivalent(lthi);
71 get selection() {
75 set selection(selection) {
76 this.selection_ = selection;
77 this.layerPicker_.selection = selection;
78 this.layerViewer_.selection
[all...]
H A Dlayer_viewer.js54 get selection() {
55 return this.layerTreeQuadStackViewer_.selection;
58 set selection(newValue) {
59 this.layerTreeQuadStackViewer_.selection = newValue;
63 var selection = event.newValue;
64 if (selection) {
68 var analysis = selection.createAnalysis();
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DSurroundingTextTest.cpp46 Element* element = document().getElementById("selection");
47 VisibleSelection selection; local
48 selection.setBase(Position(toText(element->firstChild()), start));
49 selection.setExtent(Position(toText(element->firstChild()), end));
50 return selection;
55 setHTML(String("<p id='selection'>foo bar</p>"));
58 VisibleSelection selection = select(0); local
59 SurroundingText surroundingText(selection.start(), 1);
67 VisibleSelection selection = select(0); local
68 SurroundingText surroundingText(selection
77 VisibleSelection selection = select(0); local
88 VisibleSelection selection = select(7); local
97 VisibleSelection selection = select(6); local
106 VisibleSelection selection = select(6); local
120 VisibleSelection selection = select(0, 5); local
129 VisibleSelection selection = select(0, 5); local
138 VisibleSelection selection = select(0, 5); local
147 VisibleSelection selection = select(6, 11); local
156 VisibleSelection selection = select(6, 11); local
170 VisibleSelection selection = select(0); local
179 VisibleSelection selection = select(0); local
188 VisibleSelection selection = select(0); local
197 VisibleSelection selection = select(6); local
206 VisibleSelection selection = select(6); local
220 VisibleSelection selection = select(0, 1); local
229 VisibleSelection selection = select(0, 3); local
238 VisibleSelection selection = select(0, 3); local
247 VisibleSelection selection = select(4, 7); local
256 VisibleSelection selection = select(0, 7); local
[all...]
H A DDOMSelection.cpp53 Node* node = frame->selection().selection().base().anchorNode();
77 return m_frame->selection().selection();
80 static Position anchorPosition(const VisibleSelection& selection) argument
82 Position anchor = selection.isBaseFirst() ? selection.start() : selection.end();
86 static Position focusPosition(const VisibleSelection& selection) argument
88 Position focus = selection
92 basePosition(const VisibleSelection& selection) argument
97 extentPosition(const VisibleSelection& selection) argument
229 const VisibleSelection& selection = m_frame->selection().selection(); local
244 const VisibleSelection& selection = m_frame->selection().selection(); local
405 FrameSelection& selection = m_frame->selection(); local
[all...]
H A DFrameSelectionTest.cpp34 FrameSelection& selection() const;
60 m_dummyPageHolder->frame().selection().setSelection(newSelection);
63 FrameSelection& FrameSelectionTest::selection() const function in class:__anon11062::FrameSelectionTest
65 return m_dummyPageHolder->frame().selection();
73 EXPECT_FALSE(selection().isNone());
87 // update FrameSelection with the selection.
92 EXPECT_TRUE(selection().isNone());
101 selection().setCaretRectNeedsUpdate();
102 EXPECT_TRUE(selection().isCaretBoundsDirty());
103 selection()
[all...]
H A DVisibleSelectionTest.cpp42 VisibleSelection& selection() { return m_wrap->m_selection; } function in class:blink::VisibleSelectionTest
78 EXPECT_FALSE(selection().isNone());
79 EXPECT_TRUE(selection().isCaret());
81 RefPtrWillBeRawPtr<Range> range = selection().firstRange();
92 selection().expandUsingGranularity(WordGranularity);
94 RefPtrWillBeRawPtr<Range> range = selection().firstRange();
103 selection().expandUsingGranularity(WordGranularity);
105 RefPtrWillBeRawPtr<Range> range = selection().firstRange();
116 selection().expandUsingGranularity(WordGranularity);
118 RefPtrWillBeRawPtr<Range> range = selection()
[all...]
H A DEditCommand.cpp43 setStartingSelection(m_document->frame()->selection().selection());
73 void EditCommand::setStartingSelection(const VisibleSelection& selection) argument
78 composition->setStartingSelection(selection);
80 command->m_startingSelection = selection;
91 void EditCommand::setEndingSelection(const VisibleSelection& selection) argument
96 composition->setEndingSelection(selection);
98 command->m_endingSelection = selection;
/external/chromium-trace/trace-viewer/src/tracing/analysis/
H A Danalyze_counters_test.js11 base.require('tracing.selection');
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
[all...]
H A Danalyze_slices_test.js10 base.require('tracing.selection');
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
[all...]
H A Danalysis_view_test.js10 base.require('tracing.selection');
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
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
H A DCSSSourceFrame.js76 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.startLine, token.endColumn);
93 selection
[all...]
H A DEditingLocationHistoryManager.js80 this._updateActiveState(sourceFrame.textEditor.selection());
88 this._pushActiveState(sourceFrame.textEditor.selection());
92 * @param {!WebInspector.TextRange} selection
94 _updateActiveState: function(selection)
102 var entry = new WebInspector.EditingLocationHistoryEntry(this._sourcesView, this, sourceFrame, selection);
107 * @param {!WebInspector.TextRange} selection
109 _pushActiveState: function(selection)
114 var entry = new WebInspector.EditingLocationHistoryEntry(this._sourcesView, this, sourceFrame, selection);
139 * @param {!WebInspector.TextRange} selection
141 WebInspector.EditingLocationHistoryEntry = function(sourcesView, editingLocationManager, sourceFrame, selection)
[all...]
/external/chromium-trace/trace-viewer/src/tracing/
H A Drecord_selection_dialog.css6 .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 {
H A Dfind_control_test.js22 this.selection = new tracing.Selection();
48 addAllObjectsMatchingFilterToSelection: function(filter, selection) {
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...]
/external/chromium_org/ui/base/ime/
H A Dcomposition_text.cc18 selection = gfx::Range();
H A Dcomposition_text.h22 (this->selection != rhs.selection) ||
50 gfx::Range selection; member in struct:ui::CompositionText
/external/chromium-trace/trace-viewer/src/tracing/tracks/
H A Dobject_instance_track_test.js8 base.require('tracing.selection');
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);
[all...]
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
H A Dfile_selection.js8 * The current selection object.
78 // Collect all of the mime types and push that info into the selection.
152 * This object encapsulates everything related to current selection.
213 * Update the UI when the selection model changes.
220 if (this.selection) this.selection.cancelComputing_();
221 var selection = new FileSelection(this.fileManager_, indexes);
222 this.selection = selection;
227 if (this.selection
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowCursorLoader.java15 private String selection; field in class:ShadowCursorLoader
23 public void __constructor__(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument
27 this.selection = selection;
54 return selection;
58 public void setSelection(String selection) { argument
59 this.selection = selection;
/external/chromium_org/chrome/browser/history/
H A Dhistory_backend_android.cc21 const std::string& selection,
27 projections, selection, selection_args, sort_order);
34 const std::string& selection,
39 row, selection, selection_args, &count);
45 const std::string& selection,
50 selection, selection_args, &count);
56 const std::string& selection,
60 android_provider_backend_->DeleteHistory(selection, selection_args, &count);
101 const std::string& selection,
106 row, selection, selection_arg
19 QueryHistoryAndBookmarks( const std::vector<HistoryAndBookmarkRow::ColumnID>& projections, const std::string& selection, const std::vector<base::string16>& selection_args, const std::string& sort_order) argument
32 UpdateHistoryAndBookmarks( const HistoryAndBookmarkRow& row, const std::string& selection, const std::vector<base::string16>& selection_args) argument
44 DeleteHistoryAndBookmarks( const std::string& selection, const std::vector<base::string16>& selection_args) argument
55 DeleteHistory( const std::string& selection, const std::vector<base::string16>& selection_args) argument
99 UpdateSearchTerms( const SearchRow& row, const std::string& selection, const std::vector<base::string16> selection_args) argument
111 DeleteSearchTerms( const std::string& selection, const std::vector<base::string16> selection_args) argument
122 QuerySearchTerms( const std::vector<SearchRow::ColumnID>& projections, const std::string& selection, const std::vector<base::string16>& selection_args, const std::string& sort_order) argument
[all...]
/external/chromium_org/ui/gfx/
H A Dselection_model.cc20 SelectionModel::SelectionModel(const Range& selection, argument
22 : selection_(selection),
26 return selection_ == sel.selection() &&
32 if (selection().is_empty())
35 str += selection().ToString();
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/email_this_page/
H A Dbackground.js13 function executeMailto(tab_id, subject, body, selection) {
23 // Append the current selection to the end of the text message.
24 if (selection.length > 0) {
26 encodeURIComponent(selection);
52 if (info.selection.length > max_length)
53 info.selection = info.selection.substring(0, max_length);
54 executeMailto(tab.id, info.title, tab.url, info.selection);
/external/smack/src/org/apache/harmony/javax/security/auth/callback/
H A DConfirmationCallback.java60 private int selection; field in class:ConfirmationCallback
203 return selection;
206 public void setSelectedIndex(int selection) { argument
208 if (0 <= selection && selection <= options.length) {
209 this.selection = selection;
216 if (selection != YES && selection != NO) {
221 if (selection !
[all...]

Completed in 3497 milliseconds

1234567891011>>