HomeSort by relevance Sort by last modified time
    Searched refs:scrollX (Results 1 - 25 of 127) sorted by null

1 2 3 4 5 6

  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
ScrollViewListener.java 29 * @param scrollX The current horizontal position
34 public void onScrollBegin(View view, int scrollX, int scrollY, boolean appScroll);
40 * @param scrollX The current horizontal position
45 public void onScrollProgress(View view, int scrollX, int scrollY, boolean appScroll);
51 * @param scrollX The current horizontal position
56 public void onScrollEnd(View view, int scrollX, int scrollY, boolean appScroll);
TimelineHorizontalScrollView.java 176 * @param scrollX Horizontal scroll position
179 public void appScrollTo(int scrollX, boolean smooth) {
180 if (getScrollX() == scrollX) {
187 smoothScrollTo(scrollX, 0);
189 scrollTo(scrollX, 0);
196 * @param scrollX Horizontal scroll offset
199 public void appScrollBy(int scrollX, boolean smooth) {
203 smoothScrollBy(scrollX, 0);
205 scrollBy(scrollX, 0);
213 final int scrollX = getScrollX()
    [all...]
PlayheadView.java 80 public void onScrollBegin(View view, int scrollX, int scrollY, boolean appScroll) {
84 public void onScrollProgress(View view, int scrollX, int scrollY, boolean appScroll) {
85 mScrollX = scrollX;
90 public void onScrollEnd(View view, int scrollX, int scrollY, boolean appScroll) {
91 mScrollX = scrollX;
HorizontalScrollView.java 380 final int scrollX = mScrollX;
384 || x < child.getLeft() - scrollX
385 || x >= child.getRight() - scrollX);
716 protected void onOverScrolled(int scrollX, int scrollY,
720 mScrollX = scrollX;
727 super.scrollTo(scrollX, scrollY);
    [all...]
TransitionView.java 92 public void onScrollBegin(View view, int scrollX, int scrollY, boolean appScroll) {
97 public void onScrollProgress(View view, int scrollX, int scrollY, boolean appScroll) {
102 public void onScrollEnd(View view, int scrollX, int scrollY, boolean appScroll) {
104 mScrollX = scrollX;
AudioTrackView.java 111 public void onScrollBegin(View view, int scrollX, int scrollY, boolean appScroll) {
115 public void onScrollProgress(View view, int scrollX, int scrollY, boolean appScroll) {
119 public void onScrollEnd(View view, int scrollX, int scrollY, boolean appScroll) {
120 mScrollX = scrollX;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
ScrollViewWithNotifier.java 32 public void notifyScrollChanged(int scrollX, int scrollY, int oldX, int oldY);
33 public void notifyOverScrolled(int scrollX, int scrollY, boolean clampedX,
39 public void notifyScrollChanged(int scrollX, int scrollY, int oldX, int oldY) {}
41 public void notifyOverScrolled(int scrollX, int scrollY, boolean clampedX,
50 protected void onScrollChanged(final int scrollX, final int scrollY, final int oldX,
52 super.onScrollChanged(scrollX, scrollY, oldX, oldY);
53 mScrollListener.notifyScrollChanged(scrollX, scrollY, oldX, oldY);
57 protected void onOverScrolled(final int scrollX, final int scrollY, final boolean clampedX,
59 super.onOverScrolled(scrollX, scrollY, clampedX, clampedY);
60 mScrollListener.notifyOverScrolled(scrollX, scrollY, clampedX, clampedY)
    [all...]
ScrollKeyboardView.java 89 public void notifyScrollChanged(final int scrollX, final int scrollY, final int oldX,
109 public void notifyOverScrolled(final int scrollX, final int scrollY, final boolean clampedX,
  /external/chromium_org/android_webview/java/src/org/chromium/android_webview/
AwScrollOffsetManager.java 32 void overScrollContainerViewBy(int deltaX, int deltaY, int scrollX, int scrollY,
148 final int scrollX = mDelegate.getContainerViewScrollX();
150 final int deltaX = x - scrollX;
157 mDelegate.overScrollContainerViewBy(deltaX, deltaY, scrollX, scrollY,
178 final int scrollX = mDelegate.getContainerViewScrollX();
185 mDelegate.overScrollContainerViewBy(deltaX, deltaY, scrollX, scrollY,
189 private int clampHorizontalScroll(int scrollX) {
190 scrollX = Math.max(0, scrollX);
191 scrollX = Math.min(computeMaximumHorizontalScrollOffset(), scrollX)
    [all...]
OverScrollGlow.java 149 final int scrollX = mHostView.getScrollX();
158 canvas.translate(scrollX, Math.min(0, scrollY));
166 canvas.translate(-width + scrollX, Math.max(maxScrollY, scrollY) + height);
176 canvas.translate(-height - scrollY, Math.min(0, scrollX));
185 canvas.translate(scrollY, -(Math.max(scrollX, maxScrollX) + width));
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
AwScrollOffsetManagerTest.java 62 public void overScrollContainerViewBy(int deltaX, int deltaY, int scrollX, int scrollY,
98 TestScrollOffsetManagerDelegate delegate, int scrollX, int scrollY) {
101 offsetManager.scrollContainerViewTo(scrollX, scrollY);
104 assertEquals(scrollX, delegate.getOverScrollDeltaX() + delegate.getScrollX());
107 offsetManager.onContainerViewOverScrolled(scrollX, scrollY, false, false);
128 final int scrollX = 11;
142 simulateScrolling(offsetManager, delegate, scrollX, scrollY);
143 assertEquals(scrollX, delegate.getOverScrollDeltaX());
156 simulateScrolling(offsetManager, delegate, -scrollX, -scrollY);
157 assertEquals(-scrollX, delegate.getOverScrollDeltaX())
    [all...]
  /frameworks/base/core/java/android/text/method/
BaseMovementMethod.java 468 int scrollX = widget.getScrollX();
469 if (scrollX > minScrollX) {
470 scrollX = Math.max(scrollX - getCharacterWidth(widget) * amount, minScrollX);
471 widget.scrollTo(scrollX, widget.getScrollY());
489 int scrollX = widget.getScrollX();
490 if (scrollX < maxScrollX) {
491 scrollX = Math.min(scrollX + getCharacterWidth(widget) * amount, maxScrollX);
492 widget.scrollTo(scrollX, widget.getScrollY())
    [all...]
  /external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/
AwTestContainerView.java 109 public void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) {
110 mAwContents.onContainerViewOverScrolled(scrollX, scrollY, clampedX, clampedY);
185 public void super_scrollTo(int scrollX, int scrollY) {
187 AwTestContainerView.this.scrollTo(scrollX, scrollY);
192 int scrollX, int scrollY,
197 AwTestContainerView.this.overScrollBy(deltaX, deltaY, scrollX, scrollY,
  /external/chromium_org/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/
WebContentsDelegateAndroid.java 165 public void didProgrammaticallyScroll(int scrollX, int scrollY) {
  /packages/apps/Launcher2/src/com/android/launcher2/
BubbleTextView.java 176 // The translate of scrollX and scrollY is necessary when drawing TextViews, because
177 // they set scrollX and scrollY to large values to achieve centered text
279 final int scrollX = getScrollX();
287 if ((scrollX | scrollY) == 0) {
290 canvas.translate(scrollX, scrollY);
292 canvas.translate(-scrollX, -scrollY);
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
LayoutRenderer.java 90 drawChildren(g, root, -root.scrollX, -root.scrollY);
99 s.translate(p.left - p.scrollX, p.top - p.scrollY);
121 node.left - node.parent.scrollX,
171 x - (node.left - node.parent.scrollX),
  /frameworks/support/v4/java/android/support/v4/view/
ViewPager.java     [all...]
  /frameworks/base/core/java/android/widget/
HorizontalScrollView.java 391 final int scrollX = mScrollX;
395 || x < child.getLeft() - scrollX
396 || x >= child.getRight() - scrollX);
737 protected void onOverScrolled(int scrollX, int scrollY,
743 mScrollX = scrollX;
751 super.scrollTo(scrollX, scrollY);
    [all...]
  /frameworks/support/v4/ics/android/support/v4/view/accessibility/
AccessibilityRecordCompatIcs.java 174 public static void setScrollX(Object record, int scrollX) {
175 ((AccessibilityRecord) record).setScrollX(scrollX);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
Paper.java 68 public float[] getTransform(Rect rect, float scrollX) {
71 float screenX = rect.centerX() - scrollX;
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
ViewNode.java 42 public int scrollX;
72 scrollX = getInt("mScrollX", 0);
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
ContentViewClient.java 119 * @param scrollX The current X scroll offset (in physical pixels).
123 public boolean shouldOverrideScroll(float dx, float dy, float scrollX, float scrollY) {
  /external/chromium_org/third_party/WebKit/Source/core/dom/
Touch.cpp 42 return frameView->scrollX() / frame->pageZoomFactor();
  /packages/apps/Launcher3/src/com/android/launcher3/
BubbleTextView.java 195 // The translate of scrollX and scrollY is necessary when drawing TextViews, because
196 // they set scrollX and scrollY to large values to achieve centered text
303 final int scrollX = getScrollX();
311 if ((scrollX | scrollY) == 0) {
314 canvas.translate(scrollX, scrollY);
316 canvas.translate(-scrollX, -scrollY);
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/
PropertiesTableModel.java 39 x += p.left - p.scrollX;

Completed in 604 milliseconds

1 2 3 4 5 6