/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/third_party/WebKit/Source/core/rendering/ |
ScrollBehavior.cpp | 62 ScrollBehavior scrollX; 69 scrollX = getVisibleBehavior(alignX); 72 scrollX = getVisibleBehavior(alignX); 73 if (scrollX == alignCenter) 74 scrollX = noScroll; 77 scrollX = getPartialBehavior(alignX); 79 scrollX = getHiddenBehavior(alignX); 82 if (scrollX == alignToClosestEdge) { 88 scrollX = alignRight; 94 if (scrollX == noScroll [all...] |
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwScrollOffsetManager.java | 36 void overScrollContainerViewBy(int deltaX, int deltaY, int scrollX, int scrollY, 157 final int scrollX = mDelegate.getContainerViewScrollX(); 159 final int deltaX = x - scrollX; 166 mDelegate.overScrollContainerViewBy(deltaX, deltaY, scrollX, scrollY, 189 final int scrollX = mDelegate.getContainerViewScrollX(); 196 mDelegate.overScrollContainerViewBy(deltaX, deltaY, scrollX, scrollY, 200 private int clampHorizontalScroll(int scrollX) { 201 scrollX = Math.max(0, scrollX); 202 scrollX = Math.min(computeMaximumHorizontalScrollOffset(), scrollX) [all...] |
OverScrollGlow.java | 147 final int scrollX = mHostView.getScrollX(); 156 canvas.translate(scrollX, Math.min(0, scrollY)); 164 canvas.translate(-width + scrollX, Math.max(maxScrollY, scrollY) + height); 174 canvas.translate(-height - scrollY, Math.min(0, scrollX)); 183 canvas.translate(scrollY, -(Math.max(scrollX, maxScrollX) + width));
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
AwScrollOffsetManagerTest.java | 59 public void overScrollContainerViewBy(int deltaX, int deltaY, int scrollX, int scrollY, 95 TestScrollOffsetManagerDelegate delegate, int scrollX, int scrollY) { 98 offsetManager.scrollContainerViewTo(scrollX, scrollY); 101 assertEquals(scrollX, delegate.getOverScrollDeltaX() + delegate.getScrollX()); 104 offsetManager.onContainerViewOverScrolled(scrollX, scrollY, false, false); 125 final int scrollX = 11; 139 simulateScrolling(offsetManager, delegate, scrollX, scrollY); 140 assertEquals(scrollX, delegate.getOverScrollDeltaX()); 153 simulateScrolling(offsetManager, delegate, -scrollX, -scrollY); 154 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 | 111 public void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) { 112 mAwContents.onContainerViewOverScrolled(scrollX, scrollY, clampedX, clampedY); 213 public void super_scrollTo(int scrollX, int scrollY) { 215 AwTestContainerView.this.scrollTo(scrollX, scrollY); 220 int scrollX, int scrollY, 225 AwTestContainerView.this.overScrollBy(deltaX, deltaY, scrollX, 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/third_party/WebKit/Source/core/dom/ |
Touch.cpp | 42 return frameView->scrollX() / frame->pageZoomFactor();
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
BubbleTextView.java | 194 // The translate of scrollX and scrollY is necessary when drawing TextViews, because 195 // they set scrollX and scrollY to large values to achieve centered text 306 final int scrollX = getScrollX(); 314 if ((scrollX | scrollY) == 0) { 317 canvas.translate(scrollX, scrollY); 319 canvas.translate(-scrollX, -scrollY);
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/ |
PropertiesTableModel.java | 39 x += p.left - p.scrollX;
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
CandidateView.java | 176 final int scrollX = getScrollX(); 189 if (touchX + scrollX >= x && touchX + scrollX < x + wordWidth && !scrolled) {
|