Searched defs:selection (Results 1 - 25 of 139) sorted by relevance

123456

/external/chromium_org/ui/base/ime/
H A Dcomposition_text.h22 (this->selection != rhs.selection) ||
50 gfx::Range selection; member in struct:ui::CompositionText
/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();
H A Dselection_model.h33 // SelectionModel is used to represent the logical selection and visual
54 // So, besides the logical selection start point and end point, we need extra
64 // selection. The |affinity| is meaningful only when the caret is positioned
68 // Create a SelectionModel representing a selection (which may be empty).
70 SelectionModel(const Range& selection, LogicalCursorDirection affinity);
72 const Range& selection() const { return selection_; } function in class:gfx::SelectionModel
76 // WARNING: Generally the selection start should not be changed without
86 // Logical selection. The logical caret position is the end of the selection.
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DInsertLineBreakCommand.cpp70 VisibleSelection selection = endingSelection(); local
71 if (!selection.isNonOrphanedCaretOrRange())
74 VisiblePosition caret(selection.visibleStart());
146 RefPtrWillBeRawPtr<EditingStyle> typingStyle = document().frame()->selection().typingStyle();
149 // Apply the typing style to the inserted line break, so that if the selection
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 DTextInsertionBaseCommand.cpp53 frame->selection().setSelection(endingSelection);
74 bool canAppendNewLineFeedToSelection(const VisibleSelection& selection) argument
76 Element* element = selection.rootEditableElement();
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;
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...]
/external/chromium_org/third_party/angle/src/compiler/translator/depgraph/
H A DDependencyGraphOutput.cpp35 void TDependencyGraphOutput::visitSelection(TGraphSelection* selection) argument
38 mSink << "selection\n";
H A DDependencyGraph.cpp69 TGraphSelection* selection = new TGraphSelection(intermSelection); local
70 mAllNodes.push_back(selection);
71 return selection;
/external/chromium_org/ppapi/cpp/dev/
H A Dime_input_event_dev.cc58 const std::pair<uint32_t, uint32_t>& selection) : InputEvent() {
66 target_segment, selection.first, selection.second));
51 IMEInputEvent_Dev( const InstanceHandle& instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, const Var& text, const std::vector<uint32_t>& segment_offsets, int32_t target_segment, const std::pair<uint32_t, uint32_t>& selection) argument
/external/chromium_org/third_party/angle/src/compiler/translator/timing/
H A DRestrictFragmentShaderTiming.cpp118 void RestrictFragmentShaderTiming::visitSelection(TGraphSelection* selection) argument
120 beginError(selection->getIntermSelection());
/external/chromium_org/chrome/browser/history/android/
H A Dandroid_history_provider_service.cc24 const std::string& selection,
40 selection,
53 const std::string& selection,
68 selection,
79 const std::string& selection,
93 selection,
127 const std::string& selection,
141 selection,
214 const std::string& selection,
229 selection,
22 QueryHistoryAndBookmarks( const std::vector<history::HistoryAndBookmarkRow::ColumnID>& projections, const std::string& selection, const std::vector<base::string16>& selection_args, const std::string& sort_order, const QueryCallback& callback, base::CancelableTaskTracker* tracker) argument
51 UpdateHistoryAndBookmarks( const history::HistoryAndBookmarkRow& row, const std::string& selection, const std::vector<base::string16>& selection_args, const UpdateCallback& callback, base::CancelableTaskTracker* tracker) argument
78 DeleteHistoryAndBookmarks( const std::string& selection, const std::vector<base::string16>& selection_args, const DeleteCallback& callback, base::CancelableTaskTracker* tracker) argument
126 DeleteHistory( const std::string& selection, const std::vector<base::string16>& selection_args, const DeleteCallback& callback, base::CancelableTaskTracker* tracker) argument
212 UpdateSearchTerms( const history::SearchRow& row, const std::string& selection, const std::vector<base::string16>& selection_args, const UpdateCallback& callback, base::CancelableTaskTracker* tracker) argument
239 DeleteSearchTerms( const std::string& selection, const std::vector<base::string16>& selection_args, const DeleteCallback& callback, base::CancelableTaskTracker* tracker) argument
264 QuerySearchTerms( const std::vector<history::SearchRow::ColumnID>& projections, const std::string& selection, const std::vector<base::string16>& selection_args, const std::string& sort_order, const QueryCallback& callback, base::CancelableTaskTracker* tracker) argument
[all...]
/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/third_party/freetype/src/cache/
H A Dftcmru.c328 FTC_MruNode_CompareFunc selection,
335 while ( first && ( selection == NULL || selection( first, key ) ) )
348 if ( selection( node, key ) )
327 FTC_MruList_RemoveSelection( FTC_MruList list, FTC_MruNode_CompareFunc selection, FT_Pointer key ) argument
/external/chromium_org/ui/base/x/
H A Dselection_requestor.h24 // Requests and later receives data from the X11 server through the selection
28 // drop. This class interprets messages from the stateful selection request
38 // Does the work of requesting |target| from |selection|, spinning up the
43 XAtom selection,
49 // Requests |target| from |selection|, passing |parameter| as a parameter to
52 XAtom selection,
56 // Returns the first of |types| offered by the current owner of |selection|.
58 SelectionData RequestAndWaitForTypes(XAtom selection,
76 Request(XAtom selection, XAtom target, base::TimeTicks timeout);
79 // The target and selection requeste
81 XAtom selection; member in struct:ui::SelectionRequestor::Request
[all...]
H A Dselection_requestor_unittest.cc46 void SendSelectionNotify(XAtom selection, argument
59 xev.xselection.selection = selection;
72 // Create a window for the selection requestor to use.
112 // Converts |selection| to |target| and checks the returned values.
115 XAtom selection,
122 selection, target, &out_data, &out_data_items, &out_type));
133 // Assume that |selection| will have no owner. If there is an owner, the owner
136 XAtom selection = atom_cache_.GetAtom("FAKE_SELECTION"); local
146 selection,
113 PerformBlockingConvertSelection(SelectionRequestor* requestor, X11AtomCache* atom_cache, XAtom selection, XAtom target, const std::string& expected_data) argument
[all...]
/external/freetype/src/cache/
H A Dftcmru.c328 FTC_MruNode_CompareFunc selection,
335 while ( first && ( selection == NULL || selection( first, key ) ) )
348 if ( selection( node, key ) )
327 FTC_MruList_RemoveSelection( FTC_MruList list, FTC_MruNode_CompareFunc selection, FT_Pointer key ) argument
/external/llvm/include/llvm/CodeGen/PBQP/
H A DSolution.h25 /// To get the selection for each node in the problem use the getSelection method.
72 /// \brief Set the selection for a given node.
74 /// @param selection Selection for nodeId.
75 void setSelection(GraphBase::NodeId nodeId, unsigned selection) { argument
76 selections[nodeId] = selection;
79 /// \brief Get a node's selection.
81 /// @return The selection for nodeId;
84 assert(sItr != selections.end() && "No selection for node.");
/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/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/database/
H A DSimpleTestCursor.java11 public String selection; field in class:SimpleTestCursor
20 public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument
23 this.selection = selection;
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
H A DSQLite.java109 * @param selection SQL where clause fragment
110 * @param selectionArgs Array of substitutions for args in selection
113 public static String buildWhereClause(String selection, String[] selectionArgs) throws SQLiteException { argument
114 String whereClause = selection;
118 for (char c : selection.toCharArray()) {
/external/smack/src/org/apache/harmony/javax/security/auth/callback/
H A DChoiceCallback.java95 public void setSelectedIndex(int selection) { argument
97 this.selections[0] = selection;
/external/svox/pico/src/com/svox/pico/providers/
H A DSettingsProvider.java61 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
81 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
90 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument

Completed in 4295 milliseconds

123456