Searched refs:ITEM_WIDTH (Results 1 – 1 of 1) sorted by relevance
47 private static final int ITEM_WIDTH = 250; field in HorizontalScrollViewTest52 private static final int SCROLL_RIGHT = ITEM_WIDTH * ITEM_COUNT - PAGE_WIDTH;463 assertEquals(ITEM_WIDTH * ITEM_COUNT, mScrollView.computeHorizontalScrollRange()); in testComputeHorizontalScrollRange()496 final Rect newRect = new Rect(ITEM_WIDTH - 10, ITEM_HEIGHT - 10, ITEM_WIDTH, ITEM_HEIGHT);503 assertEquals(ITEM_WIDTH - mScrollView.getWidth() + edge, mScrollView.getScrollX());