Home
last modified time | relevance | path

Searched refs:model_node (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/ui/views/controls/tree/
Dtree_view.cc165 editor_->SetText(selected_node_->model_node()->GetTitle()); in StartEditing()
213 return editing_ ? selected_node_->model_node() : NULL; in GetEditingNode()
216 void TreeView::SetSelectedNode(TreeModelNode* model_node) { in SetSelectedNode() argument
217 if (editing_ || model_node != selected_node_) in SetSelectedNode()
219 if (model_node && model_->GetParent(model_node)) in SetSelectedNode()
220 Expand(model_->GetParent(model_node)); in SetSelectedNode()
221 if (model_node && model_node == root_.model_node() && !root_shown_) in SetSelectedNode()
223 InternalNode* node = model_node ? GetInternalNodeForModelNode( in SetSelectedNode()
224 model_node, CREATE_IF_NOT_LOADED) : NULL; in SetSelectedNode()
233 Expand(model_->GetParent(selected_node_->model_node())); in SetSelectedNode()
[all …]
Dtree_view.h84 void SetSelectedNode(ui::TreeModelNode* model_node);
91 void Collapse(ui::TreeModelNode* model_node);
101 bool IsExpanded(ui::TreeModelNode* model_node);
144 ui::TreeModelNode* model_node) OVERRIDE;
190 ui::TreeModelNode* model_node() { return model_node_; } in model_node() function
256 void ConfigureInternalNode(ui::TreeModelNode* model_node, InternalNode* node);
297 ui::TreeModelNode* model_node,
333 bool ExpandImpl(ui::TreeModelNode* model_node);
Dtree_view_unittest.cc92 TreeModelNode* model_node = tree_.GetSelectedNode(); in GetSelectedNodeTitle() local
93 return model_node ? base::UTF16ToASCII(model_node->GetTitle()) in GetSelectedNodeTitle()
98 TreeModelNode* model_node = tree_.GetEditingNode(); in GetEditingNodeTitle() local
99 return model_node ? base::UTF16ToASCII(model_node->GetTitle()) in GetEditingNodeTitle()
138 std::string result = base::UTF16ToASCII(node->model_node()->GetTitle()); in InternalNodeAsString()
/external/chromium_org/ui/base/models/
Dtree_node_model.h217 NodeType* AsNode(TreeModelNode* model_node) { in AsNode() argument
218 return static_cast<NodeType*>(model_node); in AsNode()
/external/opencv/ml/src/
Dml_inner_functions.cpp89 CvFileNode* model_node = 0; in load() local
96 model_node = cvGetFileNodeByName( fs, 0, name ); in load()
101 model_node = (CvFileNode*)cvGetSeqElem( root->data.seq, 0 ); in load()
104 read( fs, model_node ); in load()