/platform_testing/tests/functional/app-helper/src/android/platform/test/helpers/tests/ |
GmailHelperTest.java | 22 import android.support.test.uiautomator.Direction; 66 mHelper.scrollMailbox(Direction.DOWN, 1.0f, false); 99 mHelper.scrollEmail(Direction.DOWN, 3.0f, true); 135 mHelper.scrollNavigationDrawer(Direction.DOWN);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
mspcall.h | 22 STDMETHOD (CreateStream) (__LONG32 lMediaType,TERMINAL_DIRECTION Direction,ITStream **ppStream); 31 virtual HRESULT InternalCreateStream(DWORD dwMediaType,TERMINAL_DIRECTION Direction,ITStream **ppStream) = 0; 32 virtual HRESULT CreateStreamObject(DWORD dwMediaType,TERMINAL_DIRECTION Direction,IMediaEvent *pGraph,ITStream **ppStream) = 0; 65 virtual HRESULT InternalCreateStream(DWORD dwMediaType,TERMINAL_DIRECTION Direction,ITStream **ppStream);
|
/platform_testing/libraries/gmail-app-helper/src/android/platform/test/helpers/ |
GmailHelperImpl.java | 26 import android.support.test.uiautomator.Direction; 168 scrollNavigationDrawer(Direction.UP); 286 while(convScroll.scroll(Direction.DOWN, 1.0f)); 310 while (convScroll.scroll(Direction.UP, 1.0f)); 314 convScroll.scroll(Direction.DOWN, 1.0f); 332 while (convScroll.scroll(Direction.UP, 1.0f)); 336 convScroll.scroll(Direction.DOWN, 1.0f); 353 while (convScroll.scroll(Direction.UP, 1.0f)); 357 convScroll.scroll(Direction.DOWN, 1.0f); 376 while (convScroll.scroll(Direction.UP, 1.0f)) [all...] |
/cts/tests/jank/src/android/jank/cts/ui/ |
CtsDeviceJankUi.java | 24 import android.support.test.uiautomator.Direction; 58 getUiDevice().findObject(By.clazz(ListView.class)).fling(Direction.DOWN);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PathFillTypes.java | 46 mPath.addCircle(40, 40, 45, Path.Direction.CCW); 47 mPath.addCircle(80, 80, 45, Path.Direction.CCW);
|
/external/droiddriver/src/io/appium/droiddriver/scroll/ |
ForwardingScrollStepStrategy.java | 22 import io.appium.droiddriver.scroll.Direction.DirectionConverter; 23 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 39 public boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction) { 40 return delegate().scroll(driver, containerFinder, direction); 50 PhysicalDirection direction) { 51 delegate().beginScrolling(driver, containerFinder, itemFinder, direction); 56 PhysicalDirection direction) { 57 delegate().endScrolling(driver, containerFinder, itemFinder, direction); 61 public void doScroll(UiElement container, PhysicalDirection direction) { 62 delegate().doScroll(container, direction); [all...] |
StaticSentinelStrategy.java | 24 import io.appium.droiddriver.scroll.Direction.DirectionConverter; 25 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 29 * in the logical scroll direction is fully visible. This assumes the count of 51 public boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction) { 52 UiElement sentinel = getSentinel(driver, containerFinder, direction); 54 // If the last child in the logical scroll direction is fully visible, no 61 doScroll(container, direction);
|
StepBasedScroller.java | 27 import io.appium.droiddriver.scroll.Direction.Axis; 28 import io.appium.droiddriver.scroll.Direction.DirectionConverter; 29 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 32 import static io.appium.droiddriver.scroll.Direction.LogicalDirection.BACKWARD; 79 // that we can start search in the other direction w/o polling on pages we 82 PhysicalDirection direction, boolean scrollBack) { 83 Logs.call(this, "scrollTo", driver, containerFinder, itemFinder, direction, scrollBack); 94 if (i < maxScrolls && !scrollStepStrategy.scroll(driver, containerFinder, direction)) { 112 driver.on(containerFinder).scroll(direction.reverse()); 120 PhysicalDirection direction) { [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
SmallCircleActivity.java | 55 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.275f, Path.Direction.CW); 56 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.225f, Path.Direction.CCW);
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/ |
SidePanelHelper.java | 22 import android.support.test.uiautomator.Direction; 61 Direction.DOWN);
|
UiDeviceAsserts.java | 24 import android.support.test.uiautomator.Direction; 88 * The navigation starts in the {@code direction} specified and 89 * {@link Direction#reverse(Direction) reverses} once if needed. Fails if there is not a 100 * @param direction the direction to start navigating. 104 BySelector selector, Direction direction) { 115 // HACK: Try direction anyways because play control does not always have a 117 UiDeviceUtils.pressDpad(uiDevice, direction); [all...] |
/platform_testing/libraries/recents-app-helper/src/android/platform/test/helpers/ |
RecentsHelperImpl.java | 23 import android.support.test.uiautomator.Direction; 89 public void flingRecents(Direction dir) {
|
/platform_testing/libraries/base-app-helpers/src/android/platform/test/helpers/ |
AbstractLeanbackAppHelper.java | 25 import android.support.test.uiautomator.Direction; 112 * Select target item through the container in the given direction. 115 * @param direction 118 public UiObject2 select(UiObject2 container, BySelector target, Direction direction) { 128 mDPadHelper.pressDPad(direction); 131 mDPadHelper.pressDPad(Direction.reverse(direction)); 181 UiObject2 focused = select(container, section, Direction.UP); 185 focused = select(container, section, Direction.DOWN) [all...] |
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/ |
UiBenchTextJankTests.java | 30 import android.support.test.uiautomator.Direction; 108 layoutCacheHighHitrateContents.fling(Direction.DOWN, 5000); 113 layoutCacheHighHitrateContents.fling(Direction.UP, 5000); 141 layoutCacheLowHitrateContents.fling(Direction.DOWN, 5000); 146 layoutCacheLowHitrateContents.fling(Direction.UP, 5000);
|
UiBenchJankTests.java | 27 import android.support.test.uiautomator.Direction; 150 trivialListViewContents.fling(Direction.DOWN, mHelper.CW_FLING_RATE); 155 trivialListViewContents.fling(Direction.UP, mHelper.CW_FLING_RATE); 183 trivialRecyclerViewContents.fling(Direction.DOWN, mHelper.CW_FLING_RATE); 188 trivialRecyclerViewContents.fling(Direction.UP, mHelper.CW_FLING_RATE); 218 inflatingListViewContents.fling(Direction.DOWN, mHelper.CW_FLING_RATE); 223 inflatingListViewContents.fling(Direction.UP, mHelper.CW_FLING_RATE);
|
UiBenchRenderingJankTests.java | 27 import android.support.test.uiautomator.Direction; 100 shadowGridContents.fling(Direction.DOWN, 5000); 104 shadowGridContents.fling(Direction.UP, 5000);
|
/frameworks/base/graphics/java/android/graphics/ |
Path.java | 43 private Direction mLastDirection = null; 189 * single direction. 502 public enum Direction { 508 Direction(int ni) { 514 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { 530 * @param dir The direction to wind the rectangle's contour 532 public void addRect(RectF rect, Direction dir) { 543 * @param dir The direction to wind the rectangle's contour 545 public void addRect(float left, float top, float right, float bottom, Direction dir) { 554 * @param dir The direction to wind the oval's contou [all...] |
/platform_testing/libraries/photos-app-helper/src/android/platform/test/helpers/ |
PhotosHelperImpl.java | 25 import android.support.test.uiautomator.Direction; 297 public void scrollAlbum(Direction direction) { 298 if (!(Direction.LEFT.equals(direction) || Direction.RIGHT.equals(direction))) { 299 throw new IllegalArgumentException("Scroll direction must be LEFT or RIGHT"); 309 scrollContainer.scroll(direction, 1.0f); 357 if (!scrollView(Direction.DOWN)) [all...] |
/platform_testing/tests/jank/webview/src/com/android/webview/chromium/tests/jank/ |
WebViewFlingTest.java | 27 import android.support.test.uiautomator.Direction; 91 while (container.fling(Direction.UP)) { 100 mDevice.findObject(By.res(RES_PACKAGE, "container")).fling(Direction.DOWN);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/ |
CircleClipFrameLayout.java | 48 mClipPath.addOval(0, 0, getWidth(), getHeight(), Path.Direction.CW);
|
/external/droiddriver/src/io/appium/droiddriver/actions/accessibility/ |
AccessibilityScrollAction.java | 24 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 32 private final PhysicalDirection direction; field in class:AccessibilityScrollAction 34 public AccessibilityScrollAction(PhysicalDirection direction) { 35 this(direction, 1000L); 38 public AccessibilityScrollAction(PhysicalDirection direction, long timeoutMillis) { 40 this.direction = direction; 49 switch (direction) { 62 return Strings.toStringHelper(this).addValue(direction).toString();
|
AccessibilityUiElementActor.java | 21 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 45 public void scroll(UiElement uiElement, PhysicalDirection direction) { 46 uiElement.perform(new AccessibilityScrollAction(direction));
|
/external/droiddriver/src/io/appium/droiddriver/helpers/ |
ScrollerHelper.java | 23 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 54 * Scrolls {@code containerFinder} in {@code direction} if necessary to find 59 * @param direction specifies where the view port will move instead of the finger 63 public UiElement scrollTo(Finder itemFinder, PhysicalDirection direction) { 64 return scroller.scrollTo(driver, containerFinder, itemFinder, direction);
|
/external/pdfium/core/src/fxcrt/ |
fx_bidi_unittest.cpp | 20 CFX_BidiChar::Direction dir = bidi.GetBidiInfo(nullptr, nullptr); 47 CFX_BidiChar::Direction dir = bidi.GetBidiInfo(&start, &count); 74 CFX_BidiChar::Direction dir = bidi.GetBidiInfo(&start, &count); 109 CFX_BidiChar::Direction dir = bidi.GetBidiInfo(&start, &count);
|
/external/skia/src/core/ |
SkPathPriv.h | 21 static FirstDirection AsFirstDirection(SkPath::Direction dir) { 22 // since we agree numerically for the values in Direction, we can just cast. 27 * Return the opposite of the specified direction. kUnknown is its own 38 * Tries to quickly compute the direction of the first non-degenerate 40 * direction. If it cannot be (quickly) determined, return false and ignore 41 * the dir parameter. If the direction was determined, it is cached to make 47 * Returns true if the path's direction can be computed via 48 * cheapComputDirection() and if that computed direction matches the 49 * specified direction. If dir is kUnknown, returns true if the direction [all...] |