Home
last modified time | relevance | path

Searched refs:delta_x (Results 1 – 14 of 14) sorted by relevance

/external/chromium/chrome/browser/ui/panels/
Dpanel_manager.cc148 void PanelManager::Drag(int delta_x) { in Drag() argument
151 if (!delta_x) in Drag()
156 new_bounds.set_x(new_bounds.x() + delta_x); in Drag()
160 if (delta_x > 0) in Drag()
161 DragPositive(delta_x); in Drag()
163 DragNegative(delta_x); in Drag()
166 void PanelManager::DragNegative(int delta_x) { in DragNegative() argument
167 DCHECK(delta_x < 0); in DragNegative()
173 int dragging_panel_x = dragging_panel->bounds().x() + delta_x; in DragNegative()
210 void PanelManager::DragPositive(int delta_x) { in DragPositive() argument
[all …]
Dpanel_manager.h54 void Drag(int delta_x);
87 void DragNegative(int delta_x);
88 void DragPositive(int delta_x);
/external/chromium/chrome/browser/ui/touch/tabs/
Dtouch_tab_strip.cc207 int delta_x = point.x() - initial_mouse_x_; in ContinueScroll() local
208 if (std::abs(delta_x) > kScrollThreshold) in ContinueScroll()
211 ScrollTo(delta_x); in ContinueScroll()
217 int delta_x = point.x() - initial_mouse_x_; in EndScroll() local
220 ScrollTo(delta_x); in EndScroll()
242 void TouchTabStrip::ScrollTo(int delta_x) { in ScrollTo() argument
243 scroll_offset_ = initial_scroll_offset_ + delta_x; in ScrollTo()
Dtouch_tab_strip.h97 void ScrollTo(int delta_x);
/external/chromium/chrome/browser/ui/tabs/
Ddock_info.cc34 int delta_x = abs(x - screen_loc.x()); in IsCloseToPoint() local
36 *in_enable_area = (delta_x < kPopupWidth / 2 && delta_y < kPopupHeight / 2); in IsCloseToPoint()
37 return *in_enable_area || (delta_x < kHotSpotDeltaX && in IsCloseToPoint()
49 int delta_x = abs(x - screen_loc.x()); in IsCloseToMonitorPoint() local
85 *in_enable_area = (delta_x < enable_delta_x && delta_y < enable_delta_y); in IsCloseToMonitorPoint()
86 bool result = (*in_enable_area || (delta_x < hot_spot_delta_x && in IsCloseToMonitorPoint()
/external/qemu/distrib/sdl-1.2.15/test/
Dtestgl.c306 static int delta_x = 1; in DrawLogoTexture() local
342 x += delta_x; in DrawLogoTexture()
345 delta_x = -delta_x; in DrawLogoTexture()
349 delta_x = -delta_x; in DrawLogoTexture()
379 static int delta_x = 1; in DrawLogoBlit() local
423 x += delta_x; in DrawLogoBlit()
426 delta_x = -delta_x; in DrawLogoBlit()
430 delta_x = -delta_x; in DrawLogoBlit()
/external/chromium/ui/gfx/
Dpoint.h52 void Offset(int delta_x, int delta_y) { in Offset() argument
53 x_ += delta_x; in Offset()
/external/opencv/cvaux/src/
Dcvscanlines.cpp1130 float delta_x; in icvBuildScanlineLeft() local
1156 delta_x = (l_start_end[2] - l_start_end[0]) / height; in icvBuildScanlineLeft()
1158 l_start_end[0] += delta_x; in icvBuildScanlineLeft()
1159 l_start_end[2] -= delta_x; in icvBuildScanlineLeft()
1161 delta_x = (l_start_end[2] - l_start_end[0]) / height; in icvBuildScanlineLeft()
1172 l_point[0] = l_start_end[0] + i * delta_x; in icvBuildScanlineLeft()
1216 float delta_x; in icvBuildScanlineRight() local
1241 delta_x = (r_start_end[2] - r_start_end[0]) / height; in icvBuildScanlineRight()
1243 r_start_end[0] += delta_x; in icvBuildScanlineRight()
1244 r_start_end[2] -= delta_x; in icvBuildScanlineRight()
[all …]
Dcvlee.cpp4642 float delta_x = pPoint1->x - pPoint2->x; in _cvPPDist() local
4644 return (float)sqrt((double)delta_x*delta_x + delta_y*delta_y); in _cvPPDist()
/external/bluetooth/bluedroid/bta/hh/
Dbta_hh_utils.c374 p_data->delta_x = p_report[1]; in bta_hh_parse_mice_rpt()
381 APPL_TRACE_DEBUG2("mice move: x = %d y = %d", p_data->delta_x, in bta_hh_parse_mice_rpt()
/external/chromium/chrome/browser/ui/gtk/tabs/
Ddragged_tab_gtk.cc146 int delta_x = (animation_end_bounds_.x() - animation_start_bounds_.x()); in AnimationProgressed() local
148 static_cast<int>(delta_x * animation->GetCurrentValue()); in AnimationProgressed()
/external/bluetooth/bluedroid/bta/include/
Dbta_hh_api.h225 INT8 delta_x; /* displacement x */ member
/external/freetype/src/truetype/
Dttgload.c239 FT_Pos delta_x, in translate_array() argument
245 if ( delta_x ) in translate_array()
247 coords[k].x += delta_x; in translate_array()
/external/skia/src/core/
DSkGeometry.cpp59 SkScalar delta_x = pts[1].fX - pts[0].fX; in SkXRayCrossesLine() local
60 SkScalar slope = SkScalarDiv(delta_y, delta_x); in SkXRayCrossesLine()