Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java449 String scrollPosY = attrs.getAttributeValue(BridgeConstants.NS_RESOURCES, "scrollY"); in setupViewInContext() local
450 if (scrollPosY != null && scrollPosY.endsWith("px")) { in setupViewInContext()
451 int value = Integer.parseInt(scrollPosY.substring(0, scrollPosY.length() - 2)); in setupViewInContext()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java793 int scrollPosY = context.getScrollYPos(view); in handleScrolling() local
794 if (scrollPosX != 0 || scrollPosY != 0) { in handleScrolling()
798 axis |= scrollPosY != 0 ? View.SCROLL_AXIS_VERTICAL : 0; in handleScrolling()
800 view.dispatchNestedPreScroll(scrollPosX, scrollPosY, consumed, null); in handleScrolling()
801 view.dispatchNestedScroll(consumed[0], consumed[1], scrollPosX, scrollPosY, in handleScrolling()
805 scrollPosY -= consumed[1]; in handleScrolling()
808 if (scrollPosX != 0 || scrollPosY != 0) { in handleScrolling()
809 view.scrollTo(scrollPosX, scrollPosY); in handleScrolling()