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

1 2 3 4 5

  /cts/tests/tests/widget/src/android/widget/cts/
HorizontalScrollViewTest.java 261 assertEquals(SCROLL_RIGHT, mScrollView.getScrollX());
268 assertEquals(0, mScrollView.getScrollX());
280 assertEquals(SCROLL_RIGHT, mScrollView.getScrollX());
288 assertEquals(0, mScrollView.getScrollX());
337 assertEquals(0, mScrollView.getScrollX());
340 assertEquals(PAGE_WIDTH, mScrollView.getScrollX());
344 assertEquals(SCROLL_RIGHT, mScrollView.getScrollX());
347 assertEquals(SCROLL_RIGHT - PAGE_WIDTH, mScrollView.getScrollX());
351 assertEquals(0, mScrollView.getScrollX());
357 assertEquals(0, mScrollView.getScrollX());
    [all...]
ScrollViewTest.java 425 assertEquals(0, mScrollView.getScrollX());
435 assertEquals(0, mScrollView.getScrollX());
444 assertEquals(0, mScrollView.getScrollX());
449 assertEquals(0, mScrollView.getScrollX());
459 assertEquals(0, mScrollView.getScrollX());
468 assertEquals(0, mScrollView.getScrollX());
530 assertEquals(0, mScrollView.getScrollX());
534 assertEquals(0, mScrollView.getScrollX());
573 assertEquals(10, mScrollView.getScrollX());
577 assertEquals(mPageWidth, mScrollView.getScrollX());
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewWidgetImageView.java 40 canvas.clipRect(getScrollX() + getPaddingLeft(),
42 getScrollX() + getRight() - getLeft() - getPaddingRight(),
BubbleTextView.java 181 destCanvas.translate(-getScrollX() + padding / 2, -getScrollY() + padding / 2);
279 final int scrollX = getScrollX();
307 canvas.clipRect(getScrollX(), getScrollY() + getExtendedPaddingTop(),
308 getScrollX() + getWidth(),
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ScrollViewTest.java 17 assertEquals(7, scrollView.getScrollX());
  /cts/tests/tests/text/src/android/text/method/cts/
ScrollingMovementMethodTest.java 106 int leftMost = mTextView.getScrollX();
118 int previousScrollX = mTextView.getScrollX();
126 assertEquals(previousScrollX, mTextView.getScrollX());
145 previousScrollX = mTextView.getScrollX();
153 assertTrue(mTextView.getScrollX() > previousScrollX);
154 assertTrue(mTextView.getScrollX() < rightMost);
156 previousScrollX = mTextView.getScrollX();
165 assertTrue(mTextView.getScrollX() > previousScrollX);
166 assertEquals(rightMost, mTextView.getScrollX(), 1.0f);
168 previousScrollX = mTextView.getScrollX();
    [all...]
TouchTest.java 80 assertEquals(width - tv.getWidth() - 1, tv.getScrollX());
90 assertEquals(width - tv.getWidth(), tv.getScrollX(), 1.0f);
99 assertEquals(width - tv.getWidth(), tv.getScrollX(), 1.0f);
139 assertEquals(0, tv.getScrollX());
150 assertEquals(0, tv.getScrollX());
164 assertEquals(dragAmount, tv.getScrollX());
178 assertEquals(dragAmount, tv.getScrollX());
  /frameworks/base/core/java/android/text/method/
BaseMovementMethod.java 468 int scrollX = widget.getScrollX();
489 int scrollX = widget.getScrollX();
519 Touch.scrollTo(widget, layout, widget.getScrollX(), layout.getLineTop(topLine));
549 Touch.scrollTo(widget, layout, widget.getScrollX(),
570 Touch.scrollTo(widget, layout, widget.getScrollX(), layout.getLineTop(topLine));
591 Touch.scrollTo(widget, layout, widget.getScrollX(),
610 Touch.scrollTo(widget, layout, widget.getScrollX(), layout.getLineTop(0));
629 Touch.scrollTo(widget, layout, widget.getScrollX(),
647 int scrollX = widget.getScrollX();
666 int scrollX = widget.getScrollX();
    [all...]
ScrollingMovementMethod.java 98 widget.scrollTo(widget.getScrollX(),
106 widget.scrollTo(widget.getScrollX(),
Touch.java 101 widget.getScrollX(), widget.getScrollY()),
152 int nx = widget.getScrollX() + (int) dx;
161 int oldX = widget.getScrollX();
167 if (oldX != widget.getScrollX() || oldY != widget.getScrollY()) {
  /development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
CandidateView.java 103 int sx = getScrollX();
176 final int scrollX = getScrollX();
215 if (mTargetScrollX != getScrollX()) {
221 int sx = getScrollX();
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
TimelineHorizontalScrollView.java 68 listener.onScrollEnd(TimelineHorizontalScrollView.this, getScrollX(),
180 if (getScrollX() == scrollX) {
213 final int scrollX = getScrollX();
246 startX = mHalfParentWidth + getScrollX();
HorizontalScrollView.java     [all...]
PlayheadView.java 109 mScrollX = scrollView.getScrollX();
  /cts/tests/tests/view/src/android/view/cts/
SurfaceViewTest.java 134 int oldHorizontal = mMockSurfaceView.getScrollX();
141 assertEquals(scrollToX, mMockSurfaceView.getScrollX());
  /frameworks/support/v4/ics/android/support/v4/view/accessibility/
AccessibilityRecordCompatIcs.java 74 public static int getScrollX(Object record) {
75 return ((AccessibilityRecord) record).getScrollX();
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/
IconEditor.java 54 if (x < scroller.getScrollX() ||
55 x > scroller.getScrollX() + scroller.getWidth()) {
  /cts/tests/tests/accessibility/src/android/view/accessibility/cts/
AccessibilityRecordTest.java 102 TestCase.assertSame("scrollX not properly recycled", -1, record.getScrollX());
166 assertSame("scrollX has incorect value", expectedRecord.getScrollX(),
167 receivedRecord.getScrollX());
AccessibilityEventTest.java 239 assertSame("scrollX has incorect value", expectedEvent.getScrollX(),
240 receivedEvent.getScrollX());
  /packages/apps/Browser/src/com/android/browser/
TabScrollView.java 148 int viewl = getScrollX();
170 // tab, "TranslationX", 0, getScrollX() - tab.getRight());
183 ObjectAnimator animator = ObjectAnimator.ofInt(this, "scroll", getScrollX(), newscroll);
199 return getScrollX();
  /frameworks/base/core/java/android/widget/
HorizontalScrollView.java     [all...]
  /frameworks/base/core/java/android/webkit/
ZoomManager.java 411 mAnchorX = mWebView.viewToContentX((int) mZoomCenterX + mWebView.getScrollX());
425 mInitialScrollX = mWebView.getScrollX();
493 * zoomScale)) + mWebView.getScrollX();
503 mWebView.updateScrollCoordinates(mWebView.getScrollX() - tx, mWebView.getScrollY() - ty);
583 int oldX = mWebView.getScrollX();
641 mAnchorX = mWebView.viewToContentX((int) lastTouchX + mWebView.getScrollX());
700 mWebView.updateScrollCoordinates(mWebView.getScrollX(), 0);
713 - mWebView.getScrollX();
    [all...]
OverScrollGlow.java 64 if (oldX == mHostView.getScrollX() && oldY == mHostView.getScrollY()) {
159 final int scrollX = mHostView.getScrollX();
WebViewClassic.java     [all...]
  /frameworks/support/v4/java/android/support/v4/view/accessibility/
AccessibilityRecordCompat.java 58 public int getScrollX(Object record);
135 public int getScrollX(Object record) {
325 public int getScrollX(Object record) {
326 return AccessibilityRecordCompatIcs.getScrollX(record);
808 public int getScrollX() {
809 return IMPL.getScrollX(mRecord);

Completed in 388 milliseconds

1 2 3 4 5