Home
last modified time | relevance | path

Searched refs:child_at (Results 1 – 25 of 80) sorted by relevance

1234

/external/chromium_org/ui/views/controls/
Dstyled_label_unittest.cc63 styled()->child_at(0)->GetClassName()); in TEST_F()
65 static_cast<Label*>(styled()->child_at(0))->text()); in TEST_F()
77 styled()->child_at(0)->GetClassName()); in TEST_F()
79 static_cast<Label*>(styled()->child_at(0))->text()); in TEST_F()
94 styled()->child_at(0)->GetClassName()); in TEST_F()
96 static_cast<Label*>(styled()->child_at(0))->text()); in TEST_F()
116 EXPECT_EQ(3, styled()->child_at(0)->bounds().x()); in TEST_F()
117 EXPECT_EQ(3, styled()->child_at(0)->bounds().y()); in TEST_F()
119 styled()->child_at(1)->bounds().bottom()); in TEST_F()
156 EXPECT_EQ(0, styled()->child_at(0)->bounds().x()); in TEST_F()
[all …]
Dsingle_split_view.cc49 if (child_at(0)->visible()) in Layout()
50 child_at(0)->SetBoundsRect(leading_bounds); in Layout()
52 if (child_at(1)->visible()) in Layout()
53 child_at(1)->SetBoundsRect(trailing_bounds); in Layout()
74 View* view = child_at(i); in GetPreferredSize()
105 bool both_visible = child_count() > 1 && child_at(0)->visible() && in GetDividerSize()
106 child_at(1)->visible(); in GetDividerSize()
114 bool is_leading_visible = has_children() && child_at(0)->visible(); in CalculateChildrenBounds()
115 bool is_trailing_visible = child_count() > 1 && child_at(1)->visible(); in CalculateChildrenBounds()
173 gfx::Size min = child_at(0)->GetMinimumSize(); in OnMouseDragged()
[all …]
Dsingle_split_view_unittest.cc19 const views::View* leading = split.child_at(0); in VerifySplitViewLayout()
20 const views::View* trailing = split.child_at(1); in VerifySplitViewLayout()
130 split.child_at(0)->SetVisible(false); in TEST()
133 EXPECT_EQ(split.size(), split.child_at(1)->size()); in TEST()
135 split.child_at(0)->SetVisible(true); in TEST()
136 split.child_at(1)->SetVisible(false); in TEST()
139 EXPECT_EQ(split.size(), split.child_at(0)->size()); in TEST()
/external/chromium_org/ui/events/
Devent_processor_unittest.cc46 EXPECT_TRUE(root()->child_at(0)->DidReceiveEvent(ET_MOUSE_MOVED)); in TEST_F()
49 root()->RemoveChild(root()->child_at(0)); in TEST_F()
123 ASSERT_EQ(1u, root()->child_at(0)->child_count()); in TEST_F()
124 ASSERT_EQ(1u, root()->child_at(0)->child_at(0)->child_count()); in TEST_F()
126 TestEventTarget* parent_r = root()->child_at(0); in TEST_F()
127 TestEventTarget* child_r = parent_r->child_at(0); in TEST_F()
128 TestEventTarget* grandchild_r = child_r->child_at(0); in TEST_F()
/external/chromium_org/ui/views/layout/
Dfill_layout.cc19 View* frame_view = host->child_at(0); in Layout()
27 gfx::Rect rect(host->child_at(0)->GetPreferredSize()); in GetPreferredSize()
37 return host->child_at(0)->GetHeightForWidth(width - insets.width()) + in GetPreferredHeightForWidth()
Dbox_layout.cc40 View* child = host->child_at(i); in Layout()
65 View* child = host->child_at(i); in Layout()
89 View* child = host->child_at(i); in GetPreferredSize()
115 View* child = host->child_at(i); in GetPreferredSizeForChildWidth()
130 View* child = host->child_at(i); in GetPreferredSizeForChildWidth()
/external/chromium_org/ash/system/
Dstatus_area_widget_delegate.cc47 return child_at(0); in GetDefaultFocusableChild()
101 views::View* child = child_at(c); in UpdateLayout()
113 views::View* child = child_at(c); in UpdateLayout()
129 views::View* child = child_at(c); in UpdateLayout()
/external/chromium_org/content/browser/
Dsite_per_process_browsertest.cc456 EXPECT_EQ(0U, root->child_at(0)->child_count()); in IN_PROC_BROWSER_TEST_F()
457 EXPECT_EQ(0U, root->child_at(1)->child_count()); in IN_PROC_BROWSER_TEST_F()
481 ASSERT_EQ(2UL, root->child_at(0)->child_count()); in IN_PROC_BROWSER_TEST_F()
482 EXPECT_STREQ("1-1-name", root->child_at(0)->frame_name().c_str()); in IN_PROC_BROWSER_TEST_F()
485 ASSERT_EQ(2UL, root->child_at(2)->child_count()); in IN_PROC_BROWSER_TEST_F()
486 EXPECT_EQ(1UL, root->child_at(2)->child_at(1)->child_count()); in IN_PROC_BROWSER_TEST_F()
487 EXPECT_EQ(0UL, root->child_at(2)->child_at(1)->child_at(0)->child_count()); in IN_PROC_BROWSER_TEST_F()
489 root->child_at(2)->child_at(1)->child_at(0)->frame_name().c_str()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ui/app_list/views/
Dpage_switcher.cc115 return static_cast<PageSwitcherButton*>(buttons->child_at(index)); in GetButtonByIndex()
142 const views::View* button = buttons_->child_at(i); in GetPageForPoint()
156 static_cast<PageSwitcherButton*>(buttons_->child_at(page)); in UpdateUIForDragPoint()
163 static_cast<PageSwitcherButton*>(buttons_->child_at(i)); in UpdateUIForDragPoint()
214 static_cast<PageSwitcherButton*>(buttons_->child_at(i)); in CalculateButtonWidthAndSpacing()
222 if (sender == static_cast<views::Button*>(buttons_->child_at(i))) { in ButtonPressed()
Dsearch_result_list_view.cc80 return static_cast<const SearchResultView*>(child_at(selected_index_)) == in IsResultViewSelected()
85 if (selected_index_ >= 0 && child_at(selected_index_)->OnKeyPressed(event)) in OnKeyPressed()
109 return static_cast<SearchResultView*>(child_at(index)); in GetResultViewAt()
Dsearch_result_actions_view.cc53 child_at(selected_action_)->NotifyAccessibilityEvent( in SetSelectedAction()
91 const gfx::Rect active_action_bounds(child_at(selected_action_)->bounds()); in OnPaint()
/external/chromium_org/ui/message_center/views/
Dmessage_center_view.cc284 views::View* child = child_at(i); in Layout()
303 views::View* child = child_at(GetActualIndex(i)); in RemoveNotificationAt()
320 views::View* child = child_at(actual_index); in UpdateNotificationAt()
338 views::View* child = child_at(i); in GetPreferredSize()
355 views::View* child = child_at(i); in GetHeightForWidth()
369 if (!child_at(i)->layer()) in PaintChildren()
370 child_at(i)->Paint(canvas); in PaintChildren()
378 if (child_at(i)->layer()) in ReorderChildLayers()
379 parent_layer->StackAtBottom(child_at(i)->layer()); in ReorderChildLayers()
409 views::View* child = child_at(i); in ClearAllNotifications()
[all …]
/external/chromium_org/ui/views/controls/tabbed_pane/
Dtabbed_pane.cc184 const gfx::Size child_size = child_at(i)->GetPreferredSize(); in GetPreferredSize()
195 gfx::Size ps = child_at(i)->GetPreferredSize(); in Layout()
196 child_at(i)->SetBounds(x, 0, ps.width(), ps.height()); in Layout()
197 x = child_at(i)->bounds().right(); in Layout()
310 size.SetToMax(contents_->child_at(i)->GetPreferredSize()); in GetPreferredSize()
316 return static_cast<Tab*>(tab_strip_->child_at(index)); in GetTabAt()
325 contents_->child_at(i)->SetSize(contents_->size()); in Layout()
/external/chromium_org/ui/views/focus/
Dfocus_search.cc40 starting_view = reverse ? root_->child_at(root_->child_count() - 1) : in FindNextFocusableView()
41 root_->child_at(0); in FindNextFocusableView()
163 View* v = FindNextFocusableViewImpl(starting_view->child_at(0), in FindNextFocusableViewImpl()
229 starting_view->child_at(starting_view->child_count() - 1); in FindPreviousFocusableViewImpl()
/external/chromium_org/chrome/browser/ui/views/infobars/
Dinfobar_container_view.cc30 size.SetToMax(gfx::Size(child_at(i)->GetPreferredSize().width(), 0)); in GetPreferredSize()
42 InfoBarView* child = static_cast<InfoBarView*>(child_at(i)); in Layout()
/external/chromium_org/chrome/browser/ui/views/
Ddesktop_media_picker_views.cc352 static_cast<DesktopMediaSourceView*>(child_at(i)); in GetSelection()
375 View* source_view = child_at(i); in Layout()
417 static_cast<DesktopMediaSourceView*>(child_at(new_index)); in OnKeyPressed()
420 new_selected = static_cast<DesktopMediaSourceView*>(child_at(0)); in OnKeyPressed()
446 static_cast<DesktopMediaSourceView*>(child_at(index)); in OnSourceRemoved()
462 static_cast<DesktopMediaSourceView*>(child_at(index)); in OnSourceNameChanged()
469 static_cast<DesktopMediaSourceView*>(child_at(index)); in OnSourceThumbnailChanged()
/external/chromium_org/ash/shelf/
Dshelf_widget.cc458 child_at(i)->SetBounds(child_at(i)->x(), child_at(i)->y(), in Layout()
459 child_at(i)->width(), height()); in Layout()
461 child_at(i)->SetBounds(child_at(i)->x(), child_at(i)->y(), in Layout()
462 width(), child_at(i)->height()); in Layout()
/external/chromium_org/ui/views/
Dview.cc574 View* child = child_at(i); in Layout()
622 const View* view = child_at(i)->GetViewByID(id); in GetViewByID()
652 child_at(i)->GetViewsInGroup(group, views); in GetViewsInGroup()
853 View* child = child_at(i); in GetEventHandlerForRect()
917 View* child = child_at(i); in GetTooltipHandlerForPoint()
1408 if (!child_at(i)->layer()) in PaintChildren()
1409 child_at(i)->Paint(canvas); in PaintChildren()
1482 child_at(i)->MoveLayerToParent(parent_layer, local_point); in MoveLayerToParent()
1501 child_at(i)->UpdateChildLayerVisibility(ancestor_visible && visible_); in UpdateChildLayerVisibility()
1510 View* child = child_at(i); in UpdateChildLayerBounds()
[all …]
Ddebug_utils.cc32 PrintViewHierarchyImp(view->child_at(i), indent + 2, out); in PrintViewHierarchyImp()
51 PrintFocusHierarchyImp(view->child_at(0), indent + 2, out); in PrintFocusHierarchyImp()
/external/chromium_org/chrome/browser/ui/views/omnibox/
Domnibox_popup_contents_view.cc125 View* v = child_at(i); in LayoutChildren()
179 child_at(i)->SetVisible(false); in UpdatePopupAppearance()
384 popup_height += child_at(i)->GetPreferredSize().height(); in CalculatePopupHeight()
475 views::View* child = child_at(i); in GetIndexForPoint()
504 return static_cast<OmniboxResultView*>(child_at(static_cast<int>(i))); in result_view_at()
Dtouch_omnibox_popup_contents_view.cc113 View* v = child_at(i); in GetVisibleChildren()
114 if (child_at(i)->visible()) in GetVisibleChildren()
/external/chromium_org/ui/views/controls/menu/
Dsubmenu_view.cc61 if (child_at(i)->id() == MenuItemView::kMenuItemViewID) in GetMenuItemCount()
69 if (child_at(i)->id() == MenuItemView::kMenuItemViewID && in GetMenuItemAt()
71 return static_cast<MenuItemView*>(child_at(i)); in GetMenuItemAt()
111 View* child = child_at(i); in Layout()
131 View* child = child_at(i); in GetPreferredSize()
/external/chromium_org/chrome/browser/ui/views/bookmarks/
Dbookmark_bar_instructions_view.cc54 views::View* view = child_at(i); in GetPreferredSize()
75 views::View* view = child_at(i); in Layout()
/external/chromium_org/cc/trees/
Dtree_synchronizer.cc107 new_layers, old_layers, layer->child_at(i), tree_impl)); in SynchronizeTreesRecursiveInternal()
150 LayerType, ScrollbarLayerType>(new_layers, layer->child_at(i)); in UpdateScrollbarLayerPointersRecursiveInternal()
233 PushPropertiesInternal(layer->child_at(i), in PushPropertiesInternal()
/external/chromium_org/ash/wm/caption_buttons/
Dframe_caption_button_container_view.cc119 views::View* child = child_at(i); in GetPreferredSize()
123 width += child_at(i)->GetPreferredSize().width(); in GetPreferredSize()
147 views::View* child = child_at(i); in Layout()

1234