Searched refs:margin (Results 1 – 4 of 4) sorted by relevance
113 public default void setScrollableMargin(int margin) { in setScrollableMargin() argument138 public Margin(int margin) { in Margin() argument139 mLeft = margin; in Margin()140 mTop = margin; in Margin()141 mRight = margin; in Margin()142 mBottom = margin; in Margin()186 Margin margin = getScrollableMargin(); in scroll() local188 margin.getLeft(), in scroll()189 margin.getTop(), in scroll()190 margin.getRight(), in scroll()[all …]
224 int margin = (int) (Math.abs(bounds.width()) / 4); in getScrollableMargin() local226 margin = (int) (Math.abs(bounds.height()) / 4); in getScrollableMargin()228 return margin; in getScrollableMargin()
605 final int margin = 30;628 if (dy > margin) {632 if (dx > margin) {636 if (dy < -margin) {640 if (dx < -margin) {
340 private long getWithinMarginMatcher(long expected, long margin) { in getWithinMarginMatcher() argument341 return longThat(duration -> abs(duration - expected) <= margin); in getWithinMarginMatcher()