Searched refs:scrollY (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/ |
D | TextViewActivity.java | 88 int scrollX, scrollY; in onReceive() local 90 scrollY = intent.getIntExtra(Utils.SCROLL_Y_POSITION, 0); in onReceive() 92 Log.i(TAG, "Scrolling textview to (" + scrollX + "," + scrollY + ")"); in onReceive() 93 if (scrollX < 0 || scrollY < 0) { in onReceive() 96 scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount()) in onReceive() 99 TextViewActivity.this.mTextView.scrollTo(scrollX, scrollY); in onReceive() 101 Log.i(TAG, "Scrolling scrollview to (" + scrollX + "," + scrollY + ")"); in onReceive() 102 if (scrollX < 0 || scrollY < 0) { in onReceive() 107 TextViewActivity.this.mScrollView.scrollTo(scrollX, scrollY); in onReceive()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | TestStartActivity.java | 145 public void scrollText(int scrollX, int scrollY, boolean scrollTextView, in scrollText() argument 148 if (scrollX < 0 || scrollY < 0) { in scrollText() 150 … scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount()) - mTextView.getHeight(); in scrollText() 152 Log.i(TAG, "Scrolling text view to " + scrollX + ", " + scrollY); in scrollText() 153 mTextView.scrollTo(scrollX, scrollY); in scrollText() 155 if (scrollX < 0 || scrollY < 0) { in scrollText() 160 Log.i(TAG, "Scrolling scroll view to " + scrollX + ", " + scrollY); in scrollText() 161 mScrollView.scrollTo(scrollX, scrollY); in scrollText()
|
D | AssistTestBase.java | 231 protected void scrollTestApp(int scrollX, int scrollY, boolean scrollTextView, in scrollTestApp() argument 233 mTestActivity.scrollText(scrollX, scrollY, scrollTextView, scrollScrollView); in scrollTestApp() 241 intent.putExtra(Utils.SCROLL_Y_POSITION, scrollY); in scrollTestApp()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeScrollTest.java | 55 final int scrollY = view.getScrollY(); in testChangeScroll() 58 assertTrue(scrollY > 0); in testChangeScroll() 59 assertTrue(scrollY < 300); in testChangeScroll()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ScrollViewTest.java | 683 int scrollY = mScrollView.getScrollY(); in testRequestChildFocus() local 686 assertTrue(mScrollView.getScrollY() > scrollY); in testRequestChildFocus() 688 scrollY = mScrollView.getScrollY(); in testRequestChildFocus() 691 assertTrue(mScrollView.getScrollY() < scrollY); in testRequestChildFocus()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | ScrollingMovementMethodTest.java | 816 int scrollY = mTextView.getScrollY(); 818 assertTrue(layout.getLineForVertical(scrollY) <= line); 819 assertTrue(layout.getLineForVertical(scrollY + mTextView.getHeight() - padding) >= line);
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewTest.java | 2696 int scrollY = previousScrollY; 2704 int oldScrollY = scrollY; 2705 scrollY = mOnUiThread.getScrollY(); 2706 scrollChanging = (scrollY != oldScrollY); 2707 scrollChanged = (scrollY != previousScrollY);
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 1004 public static final int scrollY 110252 public static final int scrollY
|