Searched defs:dx (Results 1 - 25 of 870) sorted by path

1234567891011>>

/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DAwScrollOffsetManager.java309 private static int computeDurationInMilliSec(int dx, int dy) { argument
310 int distance = Math.max(Math.abs(dx), Math.abs(dy));
322 int dx = x - scrollX;
325 if (dx == 0 && dy == 0)
328 mScroller.startScroll(scrollX, scrollY, dx, dy, computeDurationInMilliSec(dx, dy));
/external/chromium_org/ash/wm/dock/
H A Ddocked_window_layout_manager_unittest.cc123 int dx, int dy) {
125 window->bounds().origin() + gfx::Vector2d(dx, dy);
132 void DragMove(int dx, int dy) { argument
133 resizer_->Drag(initial_location_in_parent_ + gfx::Vector2d(dx, dy), 0);
157 // horizontally to the edge with an added offset from the edge of |dx|.
158 void DragRelativeToEdge(DockedEdge edge, aura::Window* window, int dx) { argument
162 dx,
174 int dx,
177 DragVerticallyAndRelativeToEdge(edge, window, dx, y - initial_bounds.y());
181 // horizontally to the edge with an added offset from the edge of |dx|
122 DragStartAtOffsetFromwindowOrigin(aura::Window* window, int dx, int dy) argument
172 DragToVerticalPositionRelativeToEdge(DockedEdge edge, aura::Window* window, int dx, int y) argument
182 DragVerticallyAndRelativeToEdge(DockedEdge edge, aura::Window* window, int dx, int dy) argument
[all...]
H A Ddocked_window_resizer_unittest.cc131 int dx, int dy) {
133 window->bounds().origin() + gfx::Vector2d(dx, dy);
141 int dx, int dy,
144 window->bounds().origin() + gfx::Vector2d(dx, dy);
151 void DragMove(int dx, int dy) { argument
152 resizer_->Drag(initial_location_in_parent_ + gfx::Vector2d(dx, dy), 0);
175 // horizontally to the edge with an added offset from the edge of |dx|.
178 int dx) {
182 dx,
196 int dx,
130 DragStartAtOffsetFromWindowOrigin(aura::Window* window, int dx, int dy) argument
140 ResizeStartAtOffsetFromWindowOrigin(aura::Window* window, int dx, int dy, int window_component) argument
176 DragRelativeToEdge(DockedEdge edge, aura::Window* window, int dx) argument
194 DragToVerticalPositionRelativeToEdge(DockedEdge edge, aura::Window* window, int dx, int y) argument
207 DragVerticallyAndRelativeToEdge(DockedEdge edge, aura::Window* window, int dx, int dy, int grab_x, int grab_y) argument
[all...]
/external/chromium_org/ash/wm/panels/
H A Dpanel_window_resizer_unittest.cc79 void DragMove(int dx, int dy) { argument
80 resizer_->Drag(CalculateDragPoint(*resizer_, dx, dy), 0);
94 // dragging out by the vector (dx, dy).
95 void DetachReattachTest(aura::Window* window, int dx, int dy) { argument
105 DragMove(dx * 5, dy * 5);
110 DragMove(dx * 100, dy * 100);
111 EXPECT_EQ(initial_bounds.x() + dx * 100, window->GetBoundsInScreen().x());
123 DragMove(dx * -95, dy * -95);
147 void DragAlongShelfReorder(int dx, int dy) { argument
161 DragMove(400 * dx, 40
[all...]
/external/chromium_org/ash/wm/
H A Dtoplevel_window_event_handler_unittest.cc82 void DragFromCenterBy(aura::Window* window, int dx, int dy) { argument
84 generator.DragMouseBy(dx, dy);
87 void TouchDragFromCenterBy(aura::Window* window, int dx, int dy) { argument
89 generator.PressMoveAndReleaseTouchBy(dx, dy);
/external/chromium_org/athena/wm/
H A Dwindow_manager_impl.cc368 int dx = window->bounds().x() - next_window->bounds().x(); local
370 dx -= (next_window->bounds().width() - window->bounds().width()) / 2;
372 if (dx) {
374 transform.Translate(dx, 0);
/external/chromium_org/cc/animation/
H A Dtransform_operations_unittest.cc207 SkMScalar dx = 1; local
211 expected_matrix.Translate3d(dx, dy, dz);
222 SkMScalar dx = 1; local
228 operations.AppendTranslate(dx, dy, dz);
234 expected_translate_matrix.Translate3d(dx, dy, dz);
/external/chromium_org/cc/resources/
H A Dlayer_quad.h41 void move_x(float dx) { x_ += dx; } argument
44 void move(float dx, float dy, float dz) { argument
45 x_ += dx;
83 void InflateX(float dx) { argument
84 left_.move_z(dx);
85 right_.move_z(dx);
/external/chromium_org/chrome/browser/renderer_host/
H A Dchrome_render_widget_host_view_mac_delegate_browsertest.cc68 void SendWheelEvent(int dx, int dy, blink::WebMouseWheelEvent::Phase phase) { argument
72 event.deltaX = dx;
/external/chromium_org/content/browser/android/
H A Dcontent_view_core_impl.cc995 jfloat x, jfloat y, jfloat dx, jfloat dy) {
998 event.data.scrollUpdate.deltaX = -dx / dpi_scale();
994 ScrollBy(JNIEnv* env, jobject obj, jlong time_ms, jfloat x, jfloat y, jfloat dx, jfloat dy) argument
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_view_aura_browsertest.cc938 const int dx = 20; local
964 touch.MovePoint(0, bounds.x() + 20 + 1 * dx, bounds.y() + 100);
980 touch.MovePoint(0, bounds.x() + 20 + i * dx, bounds.y() + 100);
986 SyntheticWebGestureEventBuilder::BuildScrollUpdate(dx, 5, 0);
/external/chromium_org/content/common/input/
H A Dsynthetic_web_input_event_builders.cc57 WebMouseWheelEvent SyntheticWebMouseWheelEventBuilder::Build(float dx, argument
63 result.deltaX = dx;
65 if (dx)
66 result.wheelTicksX = dx > 0.0f ? 1.0f : -1.0f;
111 float dx,
116 result.data.scrollUpdate.deltaX = dx;
110 BuildScrollUpdate( float dx, float dy, int modifiers) argument
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DContentViewCore.java1640 * @param dx The X offset in pixels to shift touch events.
1643 public void setCurrentMotionEventOffsets(float dx, float dy) { argument
1644 mCurrentTouchOffsetX = dx;
/external/chromium_org/content/renderer/pepper/
H A Dpepper_graphics_2d_host.cc470 int32 dx = amount.x;
472 if (dx <= -image_data_->width() || dx >= image_data_->width() ||
476 operation.scroll_dx = dx;
734 int dx,
737 gfx::ScrollCanvas(image_data_->GetCanvas(), clip, gfx::Vector2d(dx, dy));
733 ExecuteScroll(const gfx::Rect& clip, int dx, int dy, gfx::Rect* invalidated_rect) argument
H A Dpepper_plugin_instance_impl.cc779 void PepperPluginInstanceImpl::ScrollRect(int dx, argument
787 fullscreen_container_->ScrollRect(dx, dy, rect);
/external/chromium_org/content/renderer/
H A Drender_widget_fullscreen_pepper.cc302 int dx, int dy, const blink::WebRect& rect) {
301 ScrollRect( int dx, int dy, const blink::WebRect& rect) argument
/external/chromium_org/gpu/command_buffer/service/
H A Dgles2_cmd_decoder.cc8766 GLint dx = copyX - x; local
8768 GLint destX = dx;
8891 GLint dx = copyX - x; local
8893 GLint destX = xoffset + dx;
/external/chromium_org/native_client_sdk/src/examples/api/mouse_cursor/
H A Dmouse_cursor.cc83 int dx = (x - cx); local
85 float dist = sqrtf(dx * dx + dy * dy);
/external/chromium_org/native_client_sdk/src/examples/demo/earth/
H A Dearth.cc121 float dx = x - fx; local
124 return af + (af2 - af) * dx;
410 float dx = (x1 - x0);
412 float a = dx * dx + dy_dy_dz_dz;
413 float b = 2.0f * dx * (x0 - planet_x_) + two_dy_y0_y_two_dz_z0_z;
428 float px = x0 + t * dx;
/external/chromium_org/native_client_sdk/src/examples/demo/earth_simd/
H A Dearth.cc178 float dx = x - fx; local
181 return af + (af2 - af) * dx;
475 float dx = (x1 - x0);
477 float a = dx * dx + dy_dy_dz_dz;
478 float b = 2.0f * dx * (x0 - planet_x_) + two_dy_y0_y_two_dz_z0_z;
491 f32x4_t delta = {dx, dy, dz, 1.0f};
/external/chromium_org/native_client_sdk/src/examples/demo/flock/
H A Dflock.cc47 double dx = (double) rand() / (double) RAND_MAX; local
49 g_geese[i] = Goose(center, Vector2(dx, dy));
/external/chromium_org/native_client_sdk/src/examples/demo/life/
H A Dlife.c139 int dx = rand() % (radius * 2) - radius; local
142 if (dx * dx + dy * dy <= radius * radius)
143 DrawCell(x + dx, y + dy);
/external/chromium_org/native_client_sdk/src/examples/demo/life_simd/
H A Dlife.cc208 int dx = rand() % (radius * 2) - radius; local
211 if (dx * dx + dy * dy <= radius * radius)
212 DrawCell(x + dx, y + dy);
225 printf("Running benchmark... (SIMD: %s, multi-threading: %s, size: %dx%d)\n",
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/
H A Dvoronoi.cc204 float dx = x - pos[i].x; local
206 float dd = (dx * dx + dy * dy);
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/earth/
H A Dearth.cc114 float dx = x - fx; local
117 return af + (af2 - af) * dx;
448 float dx = (x1 - x0);
450 float a = dx * dx + dy_dy_dz_dz;
451 float b = 2.0f * dx * (x0 - planet_x_) + two_dy_y0_y_two_dz_z0_z;
466 float px = x0 + t * dx;

Completed in 746 milliseconds

1234567891011>>