Home
last modified time | relevance | path

Searched refs:SetBounds (Results 1 – 25 of 564) sorted by relevance

12345678910>>...23

/external/chromium_org/ui/views/focus/
Dfocus_traversal_unittest.cc293 cb->SetBounds(10, 10, 200, 20); in InitContentView()
302 left_container_->SetBounds(10, 35, 250, 200); in InitContentView()
314 label->SetBounds(label_x, y, label_width, label_height); in InitContentView()
319 text_field->SetBounds(label_x + label_width + 5, y, in InitContentView()
327 label->SetBounds(label_x, y, label_width, label_height); in InitContentView()
332 text_field->SetBounds(label_x + label_width + 5, y, in InitContentView()
340 label->SetBounds(label_x, y, label_width, label_height); in InitContentView()
345 text_field->SetBounds(label_x + label_width + 5, y, in InitContentView()
353 label->SetBounds(label_x, y, label_width, label_height); in InitContentView()
358 text_field->SetBounds(label_x + label_width + 5, y, in InitContentView()
[all …]
/external/chromium_org/ash/wm/workspace/
Dworkspace_window_resizer_unittest.cc263 window_->SetBounds(gfx::Rect(0, 300, 400, 300)); in TEST_F()
264 window2_->SetBounds(gfx::Rect(400, 200, 100, 200)); in TEST_F()
297 window_->SetBounds(gfx::Rect( 0, 300, 400, 300)); in TEST_F()
298 window2_->SetBounds(gfx::Rect(400, 200, 100, 200)); in TEST_F()
331 window_->SetBounds(gfx::Rect( 100, 300, 200, 300)); in TEST_F()
332 window2_->SetBounds(gfx::Rect(300, 300, 150, 200)); in TEST_F()
333 window3_->SetBounds(gfx::Rect(450, 300, 100, 200)); in TEST_F()
372 window_->SetBounds(gfx::Rect( 100, 300, 200, 300)); in TEST_F()
373 window2_->SetBounds(gfx::Rect(300, 300, 200, 200)); in TEST_F()
374 window3_->SetBounds(gfx::Rect(450, 300, 100, 200)); in TEST_F()
[all …]
/external/chromium_org/cc/trees/
Dlayer_tree_host_unittest_copyrequest.cc26 root->SetBounds(gfx::Size(20, 20)); in SetupTree()
29 child->SetBounds(gfx::Size(10, 10)); in SetupTree()
155 root_->SetBounds(gfx::Size(20, 20)); in SetupTree()
158 main_destroyed_->SetBounds(gfx::Size(15, 15)); in SetupTree()
162 impl_destroyed_->SetBounds(gfx::Size(10, 10)); in SetupTree()
247 root_->SetBounds(gfx::Size(20, 20)); in SetupTree()
250 grand_parent_layer_->SetBounds(gfx::Size(15, 15)); in SetupTree()
255 parent_layer_->SetBounds(gfx::Size(15, 15)); in SetupTree()
260 copy_layer_->SetBounds(gfx::Size(10, 10)); in SetupTree()
346 root_->SetBounds(gfx::Size(20, 20)); in SetupTree()
[all …]
Dlayer_tree_host_pixeltest_masks.cc56 mask->SetBounds(gfx::Size(100, 100)); in TEST_F()
74 mask->SetBounds(gfx::Size(100, 100)); in TEST_F()
106 clip->SetBounds(gfx::Size(200, 100)); in TEST_F()
116 mask->SetBounds(gfx::Size(100, 100)); in TEST_F()
133 mask->SetBounds(gfx::Size(100, 100)); in TEST_F()
163 mask->SetBounds(gfx::Size(100, 100)); in TEST_F()
172 clip->SetBounds(gfx::Size(150, 150)); in TEST_F()
203 mask->SetBounds(gfx::Size(100, 100)); in TEST_F()
238 mask->SetBounds(gfx::Size(100, 100)); in TEST_F()
246 clip->SetBounds(gfx::Size(200, 150)); in TEST_F()
Dlayer_tree_host_unittest_damage.cc32 root->SetBounds(gfx::Size(10, 10)); in SetupTree()
93 root->SetBounds(gfx::Size(10, 10)); in SetupTree()
159 root->SetBounds(gfx::Size(10, 10)); in SetupTree()
163 content_->SetBounds(gfx::Size(2000, 100)); in SetupTree()
248 root->SetBounds(gfx::Size(10, 10)); in SetupTree()
252 content_->SetBounds(gfx::Size(100, 100)); in SetupTree()
320 root_->SetBounds(gfx::Size(500, 500)); in SetupTree()
322 child_->SetBounds(gfx::Size(30, 30)); in SetupTree()
427 root_layer->SetBounds(gfx::Size(400, 400)); in SetupTree()
435 content_layer->SetBounds(gfx::Size(100, 200)); in SetupTree()
[all …]
Dlayer_tree_host_pixeltest_readback.cc662 background->SetBounds(gfx::Size(100, 100)); in TEST_F()
667 green->SetBounds(gfx::Size(100, 100)); in TEST_F()
674 blue->SetBounds(gfx::Size(25, 25)); in TEST_F()
693 background->SetBounds(gfx::Size(100, 100)); in TEST_F()
698 green->SetBounds(gfx::Size(100, 100)); in TEST_F()
705 blue->SetBounds(gfx::Size(25, 25)); in TEST_F()
724 background->SetBounds(gfx::Size(100, 100)); in TEST_F()
730 green->SetBounds(gfx::Size(90, 80)); in TEST_F()
737 blue->SetBounds(gfx::Size(25, 25)); in TEST_F()
757 background->SetBounds(gfx::Size(100, 100)); in TEST_F()
[all …]
/external/chromium_org/ui/views/examples/
Dscroll_view_example.cc39 view->SetBounds(0, y, size.width(), size.height()); in PlaceChildY()
67 scrollable_->SetBounds(0, 0, 1000, 100); in CreateExampleView()
96 scrollable_->SetBounds(0, 0, 1000, 100); in ButtonPressed()
99 scrollable_->SetBounds(0, 0, 100, 1000); in ButtonPressed()
102 scrollable_->SetBounds(0, 0, 1000, 1000); in ButtonPressed()
105 scrollable_->SetBounds(0, 0, 100, 100); in ButtonPressed()
/external/chromium_org/cc/layers/
Dscrollbar_layer_unittest.cc131 layer_tree_root->SetBounds(gfx::Size(100, 200)); in TEST()
132 content_layer->SetBounds(gfx::Size(100, 200)); in TEST()
152 layer_tree_root->SetBounds(gfx::Size(1000, 2000)); in TEST()
154 content_layer->SetBounds(gfx::Size(1000, 2000)); in TEST()
181 root_layer->SetBounds(gfx::Size(100, 50)); in TEST()
182 content_layer->SetBounds(gfx::Size(100, 50)); in TEST()
189 scrollbar_layer->SetBounds(gfx::Size(70, 10)); in TEST()
240 scrollbar_layer->SetBounds(gfx::Size(50, 10)); in TEST()
278 scrollbar_layer_impl->SetBounds(gfx::Size(kTrackLength, kThumbThickness)); in TEST()
341 scrollbar_layer_impl->SetBounds(gfx::Size(kTrackLength, kThumbThickness)); in TEST()
[all …]
/external/chromium_org/chrome/browser/ui/views/infobars/
Dbefore_translate_infobar.cc39 label_1_->SetBounds(StartX(), OffsetY(label_1_size), in Layout()
44 language_menu_button_->SetBounds( in Layout()
50 label_2_->SetBounds( in Layout()
56 accept_button_->SetBounds(label_2_->bounds().right() + kEndOfLabelSpacing, in Layout()
61 deny_button_->SetBounds( in Layout()
68 never_translate_button_->SetBounds( in Layout()
76 always_translate_button_->SetBounds( in Layout()
83 options_menu_button_->SetBounds(EndX() - options_size.width(), in Layout()
Dafter_translate_infobar.cc42 label_1_->SetBounds(StartX(), OffsetY(label_1_size), in Layout()
49 first_button->SetBounds(label_1_->bounds().right() + kButtonInLabelSpacing, in Layout()
54 label_2_->SetBounds(first_button->bounds().right() + kButtonInLabelSpacing, in Layout()
61 second_button->SetBounds(label_2_->bounds().right() + kButtonInLabelSpacing, in Layout()
66 label_3_->SetBounds(second_button->bounds().right() + kButtonInLabelSpacing, in Layout()
72 revert_button_->SetBounds( in Layout()
80 options_menu_button_->SetBounds(EndX() - options_size.width(), in Layout()
/external/chromium/chrome/browser/ui/views/infobars/
Dbefore_translate_infobar.cc40 label_1_->SetBounds(StartX(), OffsetY(label_1_size), in Layout()
45 language_menu_button_->SetBounds( in Layout()
51 label_2_->SetBounds( in Layout()
57 accept_button_->SetBounds(label_2_->bounds().right() + kEndOfLabelSpacing, in Layout()
62 deny_button_->SetBounds( in Layout()
69 never_translate_button_->SetBounds( in Layout()
77 always_translate_button_->SetBounds( in Layout()
84 options_menu_button_->SetBounds(EndX() - options_size.width(), in Layout()
Dafter_translate_infobar.cc42 label_1_->SetBounds(StartX(), OffsetY(label_1_size), in Layout()
51 first_button->SetBounds(label_1_->bounds().right() + kButtonInLabelSpacing, in Layout()
56 label_2_->SetBounds(first_button->bounds().right() + kButtonInLabelSpacing, in Layout()
62 second_button->SetBounds(label_2_->bounds().right() + kButtonInLabelSpacing, in Layout()
67 label_3_->SetBounds(second_button->bounds().right() + kButtonInLabelSpacing, in Layout()
72 revert_button_->SetBounds(label_3_->bounds().right() + kButtonInLabelSpacing, in Layout()
77 options_menu_button_->SetBounds(EndX() - options_size.width(), in Layout()
/external/chromium_org/ash/wm/
Dworkspace_controller_unittest.cc104 window->SetBounds(bounds); in CreateBrowserLikeWindow()
145 w1->SetBounds(gfx::Rect(0, 0, 250, 251)); in TEST_F()
166 w1->SetBounds(gfx::Rect(0, 0, 250, 251)); in TEST_F()
200 w1->SetBounds(gfx::Rect(0, 0, 250, 251)); in TEST_F()
206 w2->SetBounds(gfx::Rect(0, 0, 50, 51)); in TEST_F()
234 w1->SetBounds(gfx::Rect(0, 0, 200, 500)); in TEST_F()
242 w1->SetBounds(gfx::Rect(1, 6, 25, 30)); in TEST_F()
254 w1->SetBounds(gfx::Rect(0, 0, 250, 251)); in TEST_F()
356 w1->SetBounds(touches_shelf_bounds); in TEST_F()
361 w_ignored->SetBounds(touches_shelf_bounds); in TEST_F()
[all …]
Droot_window_layout_manager.cc38 (*i)->SetBounds(fullscreen_bounds); in OnWindowResized()
41 (*j)->SetBounds(fullscreen_bounds); in OnWindowResized()
53 background->SetBounds(fullscreen_bounds); in OnWindowResized()
Ddrag_window_controller.cc43 void DragWindowController::SetBounds(const gfx::Rect& bounds) { in SetBounds() function in ash::internal::DragWindowController
107 screen_position_client->SetBounds(window, bounds, dst_display_); in SetBoundsInternal()
109 drag_widget_->SetBounds(bounds); in SetBoundsInternal()
119 layer_->SetBounds(layer_bounds); in RecreateWindowLayers()
/external/chromium_org/ui/views/controls/
Dstyled_label_unittest.cc58 styled()->SetBounds(0, 0, 1000, 1000); in TEST_F()
72 styled()->SetBounds(0, 0, 1000, 1000); in TEST_F()
89 styled()->SetBounds(0, 0, label_preferred_size.width() / 2, 1000); in TEST_F()
109 styled()->SetBounds( in TEST_F()
134 styled()->SetBounds(0, 0, 1000, 1000); in TEST_F()
153 styled()->SetBounds(0, 0, label_preferred_size.width(), pref_height); in TEST_F()
177 styled()->SetBounds(0, 0, label_preferred_size.width(), pref_height); in TEST_F()
194 styled()->SetBounds(0, 0, 1000, 1000); in TEST_F()
231 unstyled.SetBounds(0, 0, styled_width, pref_height); in TEST_F()
235 styled()->SetBounds(0, 0, styled_width, pref_height); in TEST_F()
[all …]
Dscroll_view_unittest.cc35 SetBounds(x(), y(), width, height); in Layout()
64 contents->SetBounds(0, 0, 50, 400); in TEST()
74 contents->SetBounds(0, 0, 400, 50); in TEST()
85 contents->SetBounds(0, 0, 300, 400); in TEST()
136 contents->SetBounds(0, 0, 50, 400); in TEST()
153 contents->SetBounds(0, 0, 400, 50); in TEST()
170 contents->SetBounds(0, 0, 300, 400); in TEST()
/external/chromium_org/ui/keyboard/
Dkeyboard_controller_unittest.cc241 container->SetBounds(bounds); in TEST_F()
249 proxy()->GetKeyboardWindow()->SetBounds(new_bounds); in TEST_F()
259 window->SetBounds(root_bounds); in TEST_F()
265 keyboard_container->SetBounds(root_bounds); in TEST_F()
311 keyboard_container->SetBounds(root_bounds); in TEST_F()
351 keyboard_container->SetBounds(root_bounds); in TEST_F()
382 keyboard_container->SetBounds(gfx::Rect(800, 600)); in TEST_F()
389 keyboard_window->SetBounds(gfx::Rect(100, 80)); in TEST_F()
394 keyboard_window->SetBounds(gfx::Rect(100, 80)); in TEST_F()
398 keyboard_container->SetBounds(gfx::Rect(400, 300)); in TEST_F()
[all …]
/external/chromium_org/ui/views/corewm/
Dshadow_controller_unittest.cc100 window->SetBounds(kOldBounds); in TEST_F()
113 window->SetBounds(kNewBounds); in TEST_F()
126 window1->SetBounds(gfx::Rect(10, 20, 300, 400)); in TEST_F()
140 window2->SetBounds(gfx::Rect(11, 21, 301, 401)); in TEST_F()
159 tooltip_window->SetBounds(gfx::Rect(10, 20, 300, 400)); in TEST_F()
170 menu_window->SetBounds(gfx::Rect(10, 20, 300, 400)); in TEST_F()
187 window1->SetBounds(gfx::Rect(10, 20, 300, 400)); in TEST_F()
203 window2->SetBounds(gfx::Rect(11, 21, 301, 401)); in TEST_F()
/external/chromium_org/ui/views/layout/
Dbox_layout_unittest.cc39 host_->SetBounds(0, 0, 20, 20); in TEST_F()
52 host_->SetBounds(0, 0, 20, 20); in TEST_F()
65 host_->SetBounds(0, 0, 100, 100); in TEST_F()
77 host_->SetBounds(0, 0, 10, 10); in TEST_F()
87 host_->SetBounds(0, 0, 10, 10); in TEST_F()
100 host_->SetBounds(0, 0, 30, 30); in TEST_F()
115 host_->SetBounds(0, 0, 100, 40); in TEST_F()
129 host_->SetBounds(0, 0, 20, 50); in TEST_F()
Dgrid_layout_unittest.cc91 host.SetBounds(0, 0, 100, 100); in TestAlignment()
141 host.SetBounds(0, 0, pref.width(), pref.height()); in TEST_F()
165 host.SetBounds(0, 0, pref.width(), pref.height()); in TEST_F()
190 host.SetBounds(0, 0, pref.width(), pref.height()); in TEST_F()
216 host.SetBounds(0, 0, pref.width(), pref.height()); in TEST_F()
246 host.SetBounds(0, 0, pref.width(), pref.height()); in TEST_F()
277 host.SetBounds(0, 0, pref.width(), pref.height()); in TEST_F()
301 host.SetBounds(0, 0, pref.width(), pref.height()); in TEST_F()
321 host.SetBounds(0, 0, 110, 20); in TEST_F()
341 host.SetBounds(0, 0, 120, 20); in TEST_F()
[all …]
/external/chromium_org/cc/test/
Dlayer_tree_json_parser_unittest.cc73 root_impl->SetBounds(gfx::Size(100, 100)); in TEST_F()
74 parent->SetBounds(gfx::Size(50, 50)); in TEST_F()
75 child->SetBounds(gfx::Size(40, 40)); in TEST_F()
99 root_impl->SetBounds(gfx::Size(100, 100)); in TEST_F()
100 touch_layer->SetBounds(gfx::Size(50, 50)); in TEST_F()
/external/chromium_org/ui/views/controls/scrollbar/
Dbitmap_scroll_bar.cc246 prev_button_->SetBounds(0, 0, prefsize.width(), prefsize.height()); in Layout()
249 next_button_->SetBounds(width() - prefsize.width(), 0, prefsize.width(), in Layout()
252 next_button_->SetBounds(0, height() - prefsize.height(), prefsize.width(), in Layout()
256 prev_button_->SetBounds(0, 0, 0, 0); in Layout()
257 next_button_->SetBounds(0, 0, 0, 0); in Layout()
269 thumb->SetBounds(thumb->x(), thumb->y(), thumb->width(), in Layout()
272 thumb->SetBounds(thumb->x(), thumb->y(), thumb_prefsize.width(), in Layout()
/external/chromium_org/chrome/browser/ui/ash/
Dwindow_positioner_unittest.cc105 window_->SetBounds(gfx::Rect(16, 32, 640, 320)); in SetUp()
107 popup_->SetBounds(gfx::Rect(16, 32, 128, 256)); in SetUp()
158 window()->SetBounds(work_area); in TEST_F()
175 window()->SetBounds(gfx::Rect(work_area.x() + popup_position.width() - 1, in TEST_F()
219 window()->SetBounds(gfx::Rect(work_area.x() + popup_position.width(), in TEST_F()
231 popup()->SetBounds(top_left); in TEST_F()
244 popup()->SetBounds(gfx::Rect(work_area.x(), work_area.y(), in TEST_F()
256 popup()->SetBounds(gfx::Rect(work_area.x(), work_area.y(), in TEST_F()
/external/chromium_org/ui/aura/
Dwindow_targeter_unittest.cc28 window->SetBounds(gfx::Rect(0, 0, 100, 100)); in TEST_F()
29 one->SetBounds(gfx::Rect(0, 0, 500, 100)); in TEST_F()
30 two->SetBounds(gfx::Rect(501, 0, 500, 1000)); in TEST_F()

12345678910>>...23