Home
last modified time | relevance | path

Searched refs:margin (Results 1 – 4 of 4) sorted by relevance

/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/utility/
DScrollable.java113 public default void setScrollableMargin(int margin) { in setScrollableMargin() argument
138 public Margin(int margin) { in Margin() argument
139 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() local
188 margin.getLeft(), in scroll()
189 margin.getTop(), in scroll()
190 margin.getRight(), in scroll()
[all …]
/platform_testing/libraries/automotive-helpers/standard-app-helper/src/android/platform/helpers/
DAbstractAutoStandardAppHelper.java224 int margin = (int) (Math.abs(bounds.width()) / 4); in getScrollableMargin() local
226 margin = (int) (Math.abs(bounds.height()) / 4); in getScrollableMargin()
228 return margin; in getScrollableMargin()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DTvLauncherStrategy.java605 final int margin = 30;
628 if (dy > margin) {
632 if (dx > margin) {
636 if (dy < -margin) {
640 if (dx < -margin) {
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DScheduledScenarioRunnerTest.java340 private long getWithinMarginMatcher(long expected, long margin) { in getWithinMarginMatcher() argument
341 return longThat(duration -> abs(duration - expected) <= margin); in getWithinMarginMatcher()