Home
last modified time | relevance | path

Searched refs:scrollPosY (Results 1 – 2 of 2) sorted by relevance

/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java450 String scrollPosY = attrs.getAttributeValue(BridgeConstants.NS_RESOURCES, "scrollY"); in setupViewInContext() local
451 if (scrollPosY != null && scrollPosY.endsWith("px")) { in setupViewInContext()
452 int value = Integer.parseInt(scrollPosY.substring(0, scrollPosY.length() - 2)); in setupViewInContext()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java772 int scrollPosY = context.getScrollYPos(view); in handleScrolling() local
773 if (scrollPosX != 0 || scrollPosY != 0) { in handleScrolling()
777 axis |= scrollPosY != 0 ? View.SCROLL_AXIS_VERTICAL : 0; in handleScrolling()
779 view.dispatchNestedPreScroll(scrollPosX, scrollPosY, consumed, null); in handleScrolling()
780 view.dispatchNestedScroll(consumed[0], consumed[1], scrollPosX, scrollPosY, in handleScrolling()
784 scrollPosY -= consumed[1]; in handleScrolling()
787 if (scrollPosX != 0 || scrollPosY != 0) { in handleScrolling()
788 view.scrollTo(scrollPosX, scrollPosY); in handleScrolling()