HomeSort by relevance Sort by last modified time
    Searched defs:scrollY (Results 1 - 25 of 149) sorted by null

1 2 3 4 5 6

  /packages/apps/Contacts/src/com/android/contacts/widget/
TouchlessScrollView.java 31 // Do not save the current scroll position. Always store scrollY=0 and delegate
33 final int scrollY = getScrollY();
36 setScrollY(scrollY);
  /cts/tests/tests/assist/testapp/src/android/assist/testapp/
TextViewActivity.java 84 int scrollX, scrollY;
86 scrollY = intent.getIntExtra(Utils.SCROLL_Y_POSITION, 0);
88 Log.i(TAG, "Scrolling textview to (" + scrollX + "," + scrollY + ")");
89 if (scrollX < 0 || scrollY < 0) {
92 scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount())
95 TextViewActivity.this.mTextView.scrollTo(scrollX, scrollY);
97 Log.i(TAG, "Scrolling scrollview to (" + scrollX + "," + scrollY + ")");
98 if (scrollX < 0 || scrollY < 0) {
103 TextViewActivity.this.mScrollView.scrollTo(scrollX, scrollY);
  /frameworks/support/core-ui/tests/java/android/support/v4/widget/
ExploreByTouchHelperTest.java 80 final int scrollY = 50;
81 mHost.scrollTo(scrollX, scrollY);
95 expectedBoundsInScreen.offset(-scrollX, -scrollY);
  /packages/apps/Launcher3/src/com/android/launcher3/widget/
WidgetsRecyclerView.java 102 int scrollY = getCurrentScrollY();
103 if (scrollY < 0) {
108 synchronizeScrollBarThumbOffsetToViewScroll(scrollY, getAvailableScrollHeight());
  /frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
AssistVisualizer.java 43 final int scrollY;
58 this.scrollY = node.getScrollY();
199 canvas.drawLine(0, te.lineBaselines[j] - te.scrollY,
200 te.bounds.right - te.bounds.left, te.lineBaselines[j] - te.scrollY,
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
ViewNode.java 43 public int scrollY;
73 scrollY = getInt("mScrollY", 0);
  /frameworks/support/wear/src/android/support/wear/widget/
SwipeDismissLayout.java 434 final int scrollY = v.getScrollY();
440 && y + scrollY >= child.getTop()
441 && y + scrollY < child.getBottom()
444 y + scrollY - child.getTop())) {
  /cts/tests/tests/text/src/android/text/method/cts/
ScrollingMovementMethodTest.java 713 final int scrollY = mTextView.getScrollY();
715 assertTrue(layout.getLineForVertical(scrollY) <= line);
716 assertTrue(layout.getLineForVertical(scrollY + mTextView.getHeight() - padding) >= line);
  /frameworks/base/libs/hwui/tests/unit/
FrameBuilderTests.cpp     [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
StackScrollAlgorithm.java 237 int scrollY = ambientState.getScrollY();
241 scrollY = Math.max(0, scrollY);
242 state.scrollY = (int) (scrollY + bottomOverScroll);
360 float currentYPosition = -algorithmState.scrollY;
577 public int scrollY;
  /frameworks/support/compat/java/android/support/v4/view/
GestureDetectorCompat.java 333 final float scrollY = mLastFocusY - focusY;
342 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY);
353 } else if ((Math.abs(scrollX) >= 1) || (Math.abs(scrollY) >= 1)) {
354 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY);
  /packages/apps/Launcher2/src/com/android/launcher2/
BubbleTextView.java 179 // The translate of scrollX and scrollY is necessary when drawing TextViews, because
180 // they set scrollX and scrollY to large values to achieve centered text
283 final int scrollY = getScrollY();
290 if ((scrollX | scrollY) == 0) {
293 canvas.translate(scrollX, scrollY);
295 canvas.translate(-scrollX, -scrollY);
  /packages/apps/Launcher3/src/com/android/launcher3/allapps/
AllAppsRecyclerView.java 319 int scrollY = getCurrentScrollY();
321 mFastScrollHelper.smoothScrollToSection(scrollY, availableScrollHeight, lastInfo);
372 int scrollY = getCurrentScrollY();
373 if (scrollY < 0) {
388 // Calculate the current scroll position, the scrollY of the recycler view accounts
392 (((float) scrollY / availableScrollHeight) * availableScrollBarHeight);
423 synchronizeScrollBarThumbOffsetToViewScroll(scrollY, availableScrollHeight);
  /cts/tests/tests/widget/src/android/widget/cts/
ScrollViewTest.java 705 int scrollY = mScrollViewCustom.getScrollY();
708 assertTrue(mScrollViewCustom.getScrollY() > scrollY);
710 scrollY = mScrollViewCustom.getScrollY();
713 assertTrue(mScrollViewCustom.getScrollY() < scrollY);
    [all...]
  /frameworks/base/core/java/android/view/
GestureDetector.java 601 final float scrollY = mLastFocusY - focusY;
611 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY);
623 } else if ((Math.abs(scrollX) >= 1) || (Math.abs(scrollY) >= 1)) {
624 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY);
  /frameworks/base/core/java/android/widget/
CompoundButton.java 454 final int scrollY = mScrollY;
455 if (scrollX == 0 && scrollY == 0) {
458 canvas.translate(scrollX, scrollY);
460 canvas.translate(-scrollX, -scrollY);
ExpandableListView.java 363 final int scrollY = mScrollY;
364 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop,
366 scrollY + mBottom - mTop - mPaddingBottom);
    [all...]
PopupWindow.java     [all...]
ProgressBar.java     [all...]
ScrollView.java 444 final int scrollY = mScrollY;
446 return !(y < child.getTop() - scrollY
447 || y >= child.getBottom() - scrollY
823 protected void onOverScrolled(int scrollX, int scrollY,
830 mScrollY = scrollY;
837 super.scrollTo(scrollX, scrollY);
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
BubbleTextView.java 384 final int scrollY = getScrollY();
385 canvas.translate(scrollX, scrollY);
388 canvas.translate(-scrollX, -scrollY);
  /frameworks/base/services/accessibility/java/com/android/server/accessibility/
MagnificationController.java 715 final float scrollY;
733 scrollY = top - magnifFrameInScreenCoords.top;
735 scrollY = top - magnifFrameInScreenCoords.top;
737 scrollY = bottom - magnifFrameInScreenCoords.bottom;
739 scrollY = 0;
743 offsetMagnifiedRegion(scrollX * scale, scrollY * scale, INVALID_ID);
    [all...]
  /frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderSessionImpl.java 754 * Set the scroll position on all the components with the "scrollX" and "scrollY" attribute. If
    [all...]
  /frameworks/support/core-ui/java/android/support/v4/widget/
ViewDragHelper.java     [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
AlbumSetPage.java 185 int scrollY = mSlotView.getScrollY();
187 center[1] = offset.top + (r.top + r.bottom) / 2 - scrollY;

Completed in 1508 milliseconds

1 2 3 4 5 6