Searched refs:scrollPosX (Results 1 – 2 of 2) sorted by relevance
/frameworks/layoutlib/bridge/src/android/view/ |
D | BridgeInflater.java | 445 String scrollPosX = attrs.getAttributeValue(BridgeConstants.NS_RESOURCES, "scrollX"); in setupViewInContext() local 446 if (scrollPosX != null && scrollPosX.endsWith("px")) { in setupViewInContext() 447 int value = Integer.parseInt(scrollPosX.substring(0, scrollPosX.length() - 2)); in setupViewInContext()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderSessionImpl.java | 771 int scrollPosX = context.getScrollXPos(view); in handleScrolling() local 773 if (scrollPosX != 0 || scrollPosY != 0) { in handleScrolling() 776 int axis = scrollPosX != 0 ? View.SCROLL_AXIS_HORIZONTAL : 0; in handleScrolling() 779 view.dispatchNestedPreScroll(scrollPosX, scrollPosY, consumed, null); in handleScrolling() 780 view.dispatchNestedScroll(consumed[0], consumed[1], scrollPosX, scrollPosY, in handleScrolling() 783 scrollPosX -= consumed[0]; in handleScrolling() 787 if (scrollPosX != 0 || scrollPosY != 0) { in handleScrolling() 788 view.scrollTo(scrollPosX, scrollPosY); in handleScrolling()
|