Home
last modified time | relevance | path

Searched refs:scroll (Results 1 – 25 of 257) sorted by relevance

1234567891011

/external/chromium_org/ui/events/gestures/
Dfling_curve_unittest.cc17 gfx::Vector2dF scroll = in TEST() local
19 EXPECT_EQ(0, scroll.x()); in TEST()
20 EXPECT_NEAR(scroll.y(), 96, 1); in TEST()
22 scroll = in TEST()
24 EXPECT_EQ(0, scroll.x()); in TEST()
25 EXPECT_NEAR(scroll.y(), 705, 1); in TEST()
27 scroll = in TEST()
29 EXPECT_EQ(0, scroll.x()); in TEST()
30 EXPECT_NEAR(scroll.y(), 392, 1); in TEST()
Dfling_curve.cc72 gfx::Vector2dF scroll(displacement * displacement_ratio_.x(), in GetScrollAmountAtTime() local
74 gfx::Vector2dF scroll_increment(scroll.x() - cumulative_scroll_.x(), in GetScrollAmountAtTime()
75 scroll.y() - cumulative_scroll_.y()); in GetScrollAmountAtTime()
76 cumulative_scroll_ = scroll; in GetScrollAmountAtTime()
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DSchedGui.py42 self.scroll = wx.ScrolledWindow(self.panel)
43 …self.scroll.SetScrollbars(self.scroll_scale, self.scroll_scale, self.width_virtual / self.scroll_s…
44 self.scroll.EnableScrolling(True, True)
45 self.scroll.SetFocus()
48 self.scroll_panel = wx.Panel(self.scroll, size=(self.screen_width - 15, self.screen_height / 2))
52 self.scroll.Bind(wx.EVT_PAINT, self.on_paint)
53 self.scroll.Bind(wx.EVT_KEY_DOWN, self.on_key_press)
54 self.scroll.Bind(wx.EVT_LEFT_DOWN, self.on_mouse_down)
56 self.scroll.Fit()
72 (x, y) = self.scroll.GetViewStart()
[all …]
/external/droiddriver/src/com/google/android/droiddriver/scroll/
DScrollers.java17 package com.google.android.droiddriver.scroll;
25 import com.google.android.droiddriver.scroll.Direction.Axis;
26 import com.google.android.droiddriver.scroll.Direction.DirectionConverter;
27 import com.google.android.droiddriver.scroll.Direction.PhysicalDirection;
39 public boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction) { in scroll() method in Scrollers.ProgressBarScrollStepStrategy
40 if (super.scroll(driver, containerFinder, direction)) { in scroll()
DForwardingScrollStepStrategy.java16 package com.google.android.droiddriver.scroll;
22 import com.google.android.droiddriver.scroll.Direction.DirectionConverter;
23 import com.google.android.droiddriver.scroll.Direction.PhysicalDirection;
39 public boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction) { in scroll() method in ForwardingScrollStepStrategy
40 return delegate().scroll(driver, containerFinder, direction); in scroll()
DStepBasedScroller.java16 package com.google.android.droiddriver.scroll;
18 import static com.google.android.droiddriver.scroll.Direction.LogicalDirection.BACKWARD;
29 import com.google.android.droiddriver.scroll.Direction.Axis;
30 import com.google.android.droiddriver.scroll.Direction.DirectionConverter;
31 import com.google.android.droiddriver.scroll.Direction.PhysicalDirection;
94 if (i < maxScrolls && !scrollStepStrategy.scroll(driver, containerFinder, direction)) { in scrollTo()
112 driver.on(containerFinder).scroll(direction.reverse()); in scrollTo()
149 if (!scrollStepStrategy.scroll(driver, containerFinder, backwardDirection)) { in scrollTo()
DScrollStepStrategy.java16 package com.google.android.droiddriver.scroll;
21 import com.google.android.droiddriver.scroll.Direction.DirectionConverter;
22 import com.google.android.droiddriver.scroll.Direction.PhysicalDirection;
38 boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction); in scroll() method
DStaticSentinelStrategy.java16 package com.google.android.droiddriver.scroll;
24 import com.google.android.droiddriver.scroll.Direction.DirectionConverter;
25 import com.google.android.droiddriver.scroll.Direction.PhysicalDirection;
51 public boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction) { in scroll() method in StaticSentinelStrategy
DDirection.java16 package com.google.android.droiddriver.scroll;
18 import static com.google.android.droiddriver.scroll.Direction.PhysicalDirection.DOWN;
19 import static com.google.android.droiddriver.scroll.Direction.PhysicalDirection.LEFT;
20 import static com.google.android.droiddriver.scroll.Direction.PhysicalDirection.RIGHT;
21 import static com.google.android.droiddriver.scroll.Direction.PhysicalDirection.UP;
DAccessibilityEventScrollStepStrategy.java16 package com.google.android.droiddriver.scroll;
28 import com.google.android.droiddriver.scroll.Direction.Axis;
29 import com.google.android.droiddriver.scroll.Direction.DirectionConverter;
30 import com.google.android.droiddriver.scroll.Direction.PhysicalDirection;
109 public boolean scroll(DroidDriver driver, Finder containerFinder, in scroll() method in AccessibilityEventScrollStepStrategy
DSentinelStrategy.java16 package com.google.android.droiddriver.scroll;
27 import com.google.android.droiddriver.scroll.Direction.DirectionConverter;
28 import com.google.android.droiddriver.scroll.Direction.LogicalDirection;
29 import com.google.android.droiddriver.scroll.Direction.PhysicalDirection;
208 container.scroll(direction); in doScroll()
DDynamicSentinelStrategy.java16 package com.google.android.droiddriver.scroll;
25 import com.google.android.droiddriver.scroll.Direction.DirectionConverter;
26 import com.google.android.droiddriver.scroll.Direction.PhysicalDirection;
210 public boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction) { in scroll() method in DynamicSentinelStrategy
/external/chromium_org/ppapi/api/
Dpp_input_event.idl131 * The mouse wheel's horizontal scroll amount. A scroll to the right
133 * and a scroll to the left (where the content moves right) is
137 * (when scroll_by_page is true). For example, delta_y = -3 means scroll up 3
138 * pixels when scroll_by_page is false, and scroll up 3 pages when
142 * preferred scroll sensitivity and potentially also nonlinear acceleration
146 * only generate integer scroll amounts. But fractional values are also
153 * The mouse wheel's vertical scroll amount. A scroll down (where the
154 * content moves up) is represented as positive values, and a scroll up
158 * (when scroll_by_page is true). For example, delta_y = -3 means scroll up 3
159 * pixels when scroll_by_page is false, and scroll up 3 pages when
[all …]
/external/chromium_org/content/renderer/
Drender_view_browsertest_mac.mm61 <div id='scroll'></div>
64 var scroll = document.getElementById('scroll');
96 // First test when javascript does not eat keypresses -- should scroll.
106 ExecuteJavaScript("scroll.textContent = window.pageYOffset");
115 ExecuteJavaScript("scroll.textContent = window.pageYOffset");
120 // Set a scroll position slightly down the page to ensure that it does not
129 ExecuteJavaScript("scroll.textContent = window.pageYOffset");
138 ExecuteJavaScript("scroll.textContent = window.pageYOffset");
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
DRuleListController.java55 private final JScrollPane scroll = new JScrollPane( list, field in RuleListController
68 return scroll; in getView()
89 scroll.setViewportBorder(BorderFactory.createEtchedBorder()); in initComponents()
90 scroll.setBorder(BorderFactory.createTitledBorder( in initComponents()
92 scroll.setOpaque(false); in initComponents()
DTestCaseEditController.java47 private JScrollPane scroll; field in TestCaseEditController
149 scroll = new JScrollPane(listCases); in initComponents()
150 scroll.setBorder(BorderFactory.createTitledBorder( in initComponents()
152 scroll.setOpaque(false); in initComponents()
153 scroll.setViewportBorder(BorderFactory.createEtchedBorder()); in initComponents()
202 view.add(scroll, BorderLayout.CENTER); in initComponents()
427 private JScrollPane scroll = new JScrollPane(textArea, field in TestCaseEditController.InputMultiEditor
433 scroll.setBorder(BorderFactory.createLineBorder(Color.LIGHT_GRAY)); in InputMultiEditor()
451 return scroll; in getView()
505 private JScrollPane scroll = new JScrollPane(textArea, field in TestCaseEditController.OutputAstEditor
[all …]
/external/chromium_org/ui/events/ozone/evdev/libgestures_glue/
Dgesture_interpreter_libevdev_cros.cc171 OnGestureScroll(gesture, &gesture->details.scroll); in OnGestureReady()
224 const GestureScroll* scroll) { in OnGestureScroll() argument
226 scroll->dx, in OnGestureScroll()
227 scroll->dy, in OnGestureScroll()
228 scroll->ordinal_dx, in OnGestureScroll()
229 scroll->ordinal_dy); in OnGestureScroll()
239 scroll->dx, in OnGestureScroll()
240 scroll->dy, in OnGestureScroll()
241 scroll->ordinal_dx, in OnGestureScroll()
242 scroll->ordinal_dy, in OnGestureScroll()
/external/chromium_org/content/child/
Dtouch_fling_gesture_curve.cc142 WebFloatSize scroll(displacement * displacement_ratio_.x, in apply() local
144 WebFloatSize scroll_increment(scroll.width - cumulative_scroll_.width, in apply()
145 scroll.height - cumulative_scroll_.height); in apply()
148 cumulative_scroll_ = scroll; in apply()
/external/chromium_org/third_party/WebKit/Source/platform/
Dblink_platform.gypi758 'scroll/ProgrammaticScrollAnimator.cpp',
759 'scroll/ProgrammaticScrollAnimator.h',
760 'scroll/ScrollAnimator.cpp',
761 'scroll/ScrollAnimator.h',
762 'scroll/ScrollAnimatorNone.cpp',
763 'scroll/ScrollAnimatorNone.h',
764 'scroll/ScrollTypes.h',
765 'scroll/ScrollView.cpp',
766 'scroll/ScrollableArea.cpp',
767 'scroll/ScrollableArea.h',
[all …]
/external/wpa_supplicant_8/src/utils/
Dbrowser.c153 GtkWidget *scroll; in hs20_web_browser() local
173 scroll = gtk_scrolled_window_new(NULL, NULL); in hs20_web_browser()
174 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll), in hs20_web_browser()
196 gtk_container_add(GTK_CONTAINER(scroll), GTK_WIDGET(view)); in hs20_web_browser()
197 gtk_container_add(GTK_CONTAINER(ctx.win), GTK_WIDGET(scroll)); in hs20_web_browser()
/external/chromium_org/third_party/WebKit/Source/platform/mac/
DScrollElasticityControllerTest.mm28 // Return the absolute scroll position, not relative to the scroll origin.
91 // The client cannot scroll, but the event allows rubber banding.
103 // The client cannot scroll, and the event disallows rubber banding.
116 // The client can scroll, and the event disallows rubber banding.
129 // The client cannot scroll. The initial events allow rubber banding, but the
145 // The client cannot scroll. The initial events disallow rubber banding, but the
/external/chromium_org/third_party/polymer/components-chromium/core-scroll-header-panel/
DREADME.md1 core-scroll-header-panel
4 See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-scroll-he…
/external/chromium_org/third_party/polymer/components/core-scroll-header-panel/
DREADME.md1 core-scroll-header-panel
4 See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-scroll-he…
/external/fio/
Dghelpers.c194 GtkWidget *scroll; in get_scrolled_window() local
196 scroll = gtk_scrolled_window_new(NULL, NULL); in get_scrolled_window()
197 gtk_container_set_border_width(GTK_CONTAINER(scroll), border_width); in get_scrolled_window()
198 …gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOM… in get_scrolled_window()
200 return scroll; in get_scrolled_window()
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Deventhistory.cpp113 bool scroll = true; in addEvent() local
117 scroll = false; in addEvent()
122 if (scroll) in addEvent()

1234567891011