Searched refs:margin (Results 1 – 5 of 5) sorted by relevance
133 public default void setScrollableMargin(int margin) { in setScrollableMargin() argument158 public Margin(int margin) { in Margin() argument159 mLeft = margin; in Margin()160 mTop = margin; in Margin()161 mRight = margin; in Margin()162 mBottom = margin; in Margin()206 Margin margin = getScrollableMargin(); in scroll() local208 margin.getLeft(), in scroll()209 margin.getTop(), in scroll()210 margin.getRight(), in scroll()[all …]
40 fun setGestureMargin(margin: Int) { in setGestureMargin()41 setGestureMargins(margin, margin, margin, margin) in setGestureMargin()
574 final int margin = 30;597 if (dy > margin) {601 if (dx > margin) {605 if (dy < -margin) {609 if (dx < -margin) {
605 final int margin = 30;628 if (dy > margin) {632 if (dx > margin) {636 if (dy < -margin) {640 if (dx < -margin) {
342 private long getWithinMarginMatcher(long expected, long margin) { in getWithinMarginMatcher() argument343 return longThat(duration -> abs(duration - expected) <= margin); in getWithinMarginMatcher()