Home
last modified time | relevance | path

Searched refs:set_x (Results 1 – 25 of 193) sorted by relevance

12345678

/external/chromium_org/ppapi/cpp/
Drect.h37 set_x(rect.point.x); in Rect()
50 set_x(0); in Rect()
65 set_x(x); in Rect()
77 set_x(0); in Rect()
132 void set_x(int32_t in_x) { in set_x() function
246 set_x(x); in SetRect()
419 set_x(rect.point.x); in FloatRect()
432 set_x(0); in FloatRect()
447 set_x(x); in FloatRect()
459 set_x(0); in FloatRect()
[all …]
/external/chromium_org/ash/system/web_notification/
Dash_popup_alignment_delegate_unittest.cc76 toast_point.set_x(alignment_delegate()->GetToastOriginX(toast_size)); in TEST_F()
85 toast_point.set_x(alignment_delegate()->GetToastOriginX(toast_size)); in TEST_F()
94 toast_point.set_x(alignment_delegate()->GetToastOriginX(toast_size)); in TEST_F()
103 toast_point.set_x(alignment_delegate()->GetToastOriginX(toast_size)); in TEST_F()
117 toast_point.set_x(alignment_delegate()->GetToastOriginX(toast_size)); in TEST_F()
124 toast_point.set_x(alignment_delegate()->GetToastOriginX(toast_size)); in TEST_F()
/external/chromium_org/testing/gtest/test/
Dgtest_prod_test.cc43 a.set_x(1); in TEST()
55 a.set_x(2); in TEST_F()
/external/protobuf/gtest/test/
Dgtest_prod_test.cc43 a.set_x(1); in TEST()
55 a.set_x(2); in TEST_F()
/external/gtest/test/
Dgtest_prod_test.cc43 a.set_x(1); in TEST()
55 a.set_x(2); in TEST_F()
/external/chromium_org/ash/shelf/
Dalternate_app_list_button.cc133 background_bounds.set_x(contents_bounds.width() - in OnPaint()
138 background_bounds.set_x(ShelfLayoutManager::kShelfItemInset); in OnPaint()
143 background_bounds.set_x(contents_bounds.x() + in OnPaint()
148 forground_bounds.set_x(background_bounds.x() + in OnPaint()
Dapp_list_button.cc150 background_bounds.set_x(contents_bounds.width() - in OnPaint()
155 background_bounds.set_x(ShelfLayoutManager::kShelfItemInset); in OnPaint()
160 background_bounds.set_x(contents_bounds.x() + in OnPaint()
165 forground_bounds.set_x(background_bounds.x() + in OnPaint()
/external/chromium_org/ppapi/examples/mouse_lock/
Dmouse_lock.cc118 mouse_movement_.set_x(0); in DidLockMouse()
173 anchor_1.set_x(center_x); in PaintImage()
175 anchor_2.set_x(center_x); in PaintImage()
181 anchor_1.set_x(center_x + kCenteralSpotRadius); in PaintImage()
183 anchor_2.set_x(center_x - kCenteralSpotRadius); in PaintImage()
/external/chromium_org/chrome/browser/ui/find_bar/
Dfind_bar_controller.cc175 view_location.set_x(std::min(view_location.x(), boundary)); in GetLocationForFindbarView()
177 view_location.set_x(std::max(view_location.x(), dialog_bounds.x())); in GetLocationForFindbarView()
188 new_pos.set_x(avoid_overlapping_rect.x() + in GetLocationForFindbarView()
196 new_pos.set_x(avoid_overlapping_rect.x() - new_pos.width() - in GetLocationForFindbarView()
/external/chromium_org/pdf/
Dprogress_control.cc233 src_rc.set_x(background_.size().width() - slice_x); in AdjustBackground()
234 dest_rc.set_x(ctrl_background_.size().width() - slice_x); in AdjustBackground()
243 src_rc.set_x(0); in AdjustBackground()
244 dest_rc.set_x(0); in AdjustBackground()
267 src_rc.set_x(background_.size().width() - slice_x); in AdjustBackground()
268 dest_rc.set_x(ctrl_background_.size().width() - slice_x); in AdjustBackground()
Dpaint_aggregator.cc52 damaged_rect.set_x(scroll_rect.x()); in GetScrollDamage()
55 damaged_rect.set_x(scroll_rect.right() + dx); in GetScrollDamage()
60 damaged_rect.set_x(scroll_rect.x()); in GetScrollDamage()
/external/chromium_org/ui/gfx/geometry/
Dpoint.cc20 set_x(points.x); in Point()
29 set_x(point.x); in operator =()
/external/chromium_org/chrome/browser/ui/views/message_center/
Dmessage_center_widget_delegate.cc189 corrected_anchor.set_x(pos_info_.inital_anchor_point.x() - in GetCorrectedAnchor()
196 corrected_anchor.set_x(pos_info_.inital_anchor_point.x() + in GetCorrectedAnchor()
238 bounds.set_x(corrected_anchor.x()); in GetMessageCenterBounds()
240 bounds.set_x(corrected_anchor.x() - size.width()); in GetMessageCenterBounds()
/external/chromium_org/native_client_sdk/src/examples/api/mouse_lock/
Dmouse_lock.cc177 mouse_movement_.set_x(0); in DidLockMouse()
288 anchor_1.set_x(center_x); in DrawNeedle()
290 anchor_2.set_x(center_x); in DrawNeedle()
296 anchor_1.set_x(center_x + kCentralSpotRadius); in DrawNeedle()
298 anchor_2.set_x(center_x - kCentralSpotRadius); in DrawNeedle()
/external/chromium_org/chrome/browser/ui/views/frame/
Dcontents_layout_manager.cc58 new_devtools_bounds.set_x(host_->GetMirroredXForRect(new_devtools_bounds)); in Layout()
59 new_contents_bounds.set_x(host_->GetMirroredXForRect(new_contents_bounds)); in Layout()
/external/chromium_org/remoting/codec/
Dvideo_encoder_helper.cc41 dirty_rect->set_x(rect.left()); in CreateVideoPacketWithUpdatedRegion()
53 rect->set_x(r.rect().left()); in CreateVideoPacketWithUpdatedRegion()
/external/chromium_org/athena/home/
Dathena_start_page_view.cc275 state.icons.set_x(kIconMargin); in CreateBottomBounds()
279 state.controls.set_x(width - kIconMargin - state.controls.width()); in CreateBottomBounds()
286 state.search_box.set_x((width - state.search_box.width()) / 2); in CreateBottomBounds()
300 state.search_box.set_x((width - state.search_box.width()) / 2); in CreateCenteredBounds()
304 state.icons.set_x(width / 2 - state.icons.width() - kIconMargin / 2); in CreateCenteredBounds()
308 state.controls.set_x(width / 2 + kIconMargin / 2 + kIconMargin % 2); in CreateCenteredBounds()
/external/chromium_org/ash/wm/
Ddrag_window_resizer.cc114 bounds.set_x(bounds.x() + diff / 2); in CompleteDrag()
126 dst_bounds.set_x(last_mouse_location_in_screen.x()); in CompleteDrag()
128 dst_bounds.set_x( in CompleteDrag()
/external/chromium_org/ash/display/
Dmouse_cursor_event_filter.cc92 end.set_x(indicator_bounds.right()); in CreateHorizontalEdgeBoundsInNative()
99 point_in_native->set_x(native_bounds.x()); in MovePointInside()
101 point_in_native->set_x(native_bounds.right()); in MovePointInside()
282 src_indicator_bounds_.set_x( in UpdateHorizontalEdgeBounds()
334 src_indicator_bounds_.set_x( in UpdateVerticalEdgeBounds()
/external/chromium_org/remoting/host/
Dclient_session_unittest.cc417 mouse_event1.set_x(100); in TEST_F()
421 mouse_event2.set_x(200); in TEST_F()
425 mouse_event3.set_x(300); in TEST_F()
475 mouse_event1.set_x(100); in TEST_F()
478 mouse_event2.set_x(200); in TEST_F()
481 mouse_event3.set_x(300); in TEST_F()
607 injected_event.set_x(input_x[i]); in TEST_F()
627 expected_event.set_x(expected_x[i]); in TEST_F()
/external/chromium_org/ui/views/controls/button/
Dmenu_button.cc98 menu_position.set_x(lb.x()); in Activate()
108 menu_position.set_x(max_x_coordinate - 1); in Activate()
275 arrow_bounds.set_x(GetMirroredXForRect(arrow_bounds)); in PaintMenuMarker()
/external/chromium_org/ui/message_center/views/
Dpadded_button.cc84 offset.set_x((bounds.width() - image.width()) / 2); // Center align. in ComputePaddedImagePaintPosition()
86 offset.set_x(bounds.width() - image.width()); // Right align. in ComputePaddedImagePaintPosition()
/external/chromium_org/ui/gfx/ipc/
Dgfx_param_traits.cc65 r->set_x(x); in Read()
86 r->set_x(x); in Read()
153 r->set_x(values[0]); in Read()
174 r->set_x(values[0]); in Read()
/external/chromium_org/content/common/cursors/
Dwebcursor.cc118 hotspot_.set_x(hotspot_x); in Deserialize()
211 hotspot_.set_x(0); in Clear()
256 hotspot_.set_x(std::max(0, in ClampHotspot()
/external/chromium_org/ash/wm/maximize_mode/
Dmaximize_mode_controller.cc282 base_flattened.set_x(0.0f); in HandleHingeRotation()
283 lid_flattened.set_x(0.0f); in HandleHingeRotation()
358 down.set_x(-1.0f); in HandleScreenRotation()
362 down.set_x(1.0f); in HandleScreenRotation()

12345678