/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/ |
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);
|
/platform_testing/libraries/app-helpers/tv/src/android/platform/test/helpers/tv/ |
AbstractLeanbackAppHelper.java | 28 import android.support.test.uiautomator.Direction; 219 * This action keeps moving a focus in a given {@link Direction} until it finds matched element. 224 * @param direction the direction to find 227 public UiObject2 select(SelectCondition condition, UiObject2 container, Direction direction) { 231 direction, focus.toString())); 233 mDPadUtil.pressDPad(direction); 246 * Select target item through the container in the given direction. 249 * @param direction [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);
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
TvLauncherStrategy.java | 30 import android.support.test.uiautomator.Direction; 203 Direction.RIGHT)); 213 select(By.res(getSupportedLauncherPackage(), "button"), Direction.RIGHT, 283 public Direction getAllAppsScrollDirection() { 284 return Direction.DOWN; 461 Direction.DOWN); 482 }, Direction.RIGHT); 491 }, Direction.DOWN); 516 Direction.LEFT); 528 while (maxAttempts-- > 0 && move(Direction.UP)) [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
AdaptiveIconMaskTest.java | 27 import android.graphics.Path.Direction; 69 AdaptiveIconDrawable.MASK_SIZE/2/2 - sInset, Direction.CW); 144 circle101.addCircle(50, 50, 50.5f, Direction.CCW); 146 circle99.addCircle(50, 50, 49.5f, Direction.CCW);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/ |
CircleClipFrameLayout.java | 48 mClipPath.addOval(0, 0, getWidth(), getHeight(), Path.Direction.CW);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/UsbAtapi/ |
UsbAtapi.h | 61 IN EFI_USB_DATA_DIRECTION Direction,
|
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/ |
IpSecDebug.c | 192 @param[in] Direction Point to the IKE packet is inbound or outbound.
199 IN EFI_IPSEC_TRAFFIC_DIR Direction,
211 InitCookie = (Direction == EfiIPsecOutBound) ? HTONLL (Packet->Header->InitiatorCookie) : Packet->Header->InitiatorCookie;
212 RespCookie = (Direction == EfiIPsecOutBound) ? HTONLL (Packet->Header->ResponderCookie) : Packet->Header->ResponderCookie;
248 if (Direction == EfiIPsecOutBound) {
|
/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/droiddriver/src/io/appium/droiddriver/scroll/ |
StepBasedScroller.java | 18 import static io.appium.droiddriver.scroll.Direction.LogicalDirection.BACKWARD; 29 import io.appium.droiddriver.scroll.Direction.Axis; 30 import io.appium.droiddriver.scroll.Direction.DirectionConverter; 31 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 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...] |
AccessibilityEventScrollStepStrategy.java | 31 import io.appium.droiddriver.scroll.Direction.Axis; 32 import io.appium.droiddriver.scroll.Direction.DirectionConverter; 33 import io.appium.droiddriver.scroll.Direction.PhysicalDirection; 58 public boolean match(Finder containerFinder, PhysicalDirection direction) { 59 return containerFinderAtEnd == containerFinder && directionAtEnd == direction; 62 public void set(Finder containerFinder, PhysicalDirection direction) { 64 directionAtEnd = direction; 112 final PhysicalDirection direction) { 114 if (endData.match(containerFinder, direction)) { 118 AccessibilityEvent event = doScrollAndReturnEvent(driver.on(containerFinder), direction); [all...] |
/external/skia/src/core/ |
SkStroke.h | 61 * Stroke the specified rect, winding it in the specified direction.. 64 SkPath::Direction = SkPath::kCW_Direction) const;
|
/platform_testing/tests/functional/calculator/src/com/android/calculator/functional/ |
CalculatorHelper.java | 24 import android.support.test.uiautomator.Direction; 110 resultText.swipe(Direction.LEFT, 1.0f, 5000); 113 resultText.swipe(Direction.RIGHT, 1.0f, 5000); 131 padAdvanced.swipe(Direction.RIGHT, 1.0f);
|
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/ |
SettingsJankTests.java | 30 import android.support.test.uiautomator.Direction; 91 while (list.fling(Direction.UP)); 112 list.fling(Direction.DOWN); 114 list.fling(Direction.UP);
|
/platform_testing/utils/dpad/src/android/platform/test/utils/ |
DPadUtil.java | 21 import android.support.test.uiautomator.Direction; 49 public boolean pressDPad(Direction direction) { 50 return pressDPad(direction, 1, DPAD_DEFAULT_WAIT_TIME_MS); 53 public void pressDPad(Direction direction, long repeat) { 54 pressDPad(direction, repeat, DPAD_DEFAULT_WAIT_TIME_MS); 58 * Presses DPad button of the same direction for the count times. 61 * @param direction the direction of the button to press [all...] |
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/ |
DebugCommunicationLibUsb3Transfer.c | 332 Dcdb = (Urb->Direction == EfiUsbDataIn) ? 0x100 : 0x0;
389 if ((Urb->Result != EFI_USB_NOERROR) && (Urb->Direction == EfiUsbDataIn)) {
425 if (Urb->Direction == EfiUsbDataIn) {
457 @param Direction The direction of data flow.
467 IN EFI_USB_DATA_DIRECTION Direction,
476 if (Direction == EfiUsbDataIn) {
485 Urb->Direction = Direction;
494 if (Direction == EfiUsbDataIn) { [all...] |
/external/pdfium/core/fxcrt/ |
fx_bidi.cpp | 18 Direction direction = NEUTRAL; local 23 direction = LEFT; 27 direction = RIGHT; 31 bool bChangeDirection = (direction != m_CurrentSegment.direction); 33 StartNewSegment(direction); 44 void CFX_BidiChar::StartNewSegment(CFX_BidiChar::Direction direction) { 48 m_CurrentSegment.direction = direction [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
PathOpsActivity.java | 63 p1.addRect(0.0f, 0.0f, mSize, mSize, Path.Direction.CW); 66 p2.addCircle(mSize, mSize, mSize / 2.0f, Path.Direction.CW);
|
/hardware/interfaces/broadcastradio/1.1/default/ |
Tuner.h | 39 virtual Return<Result> scan(V1_0::Direction direction, bool skipSubChannel) override; 40 virtual Return<Result> step(V1_0::Direction direction, bool skipSubChannel) override;
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
SwipeDetector.java | 70 public static abstract class Direction { 80 public static final Direction VERTICAL = new Direction() { 93 public static final Direction HORIZONTAL = new Direction() { 154 private final Direction mDir; 178 public SwipeDetector(@NonNull Context context, @NonNull Listener l, @NonNull Direction dir) { 183 protected SwipeDetector(float touchSlope, @NonNull Listener l, @NonNull Direction dir) { 201 // Check if the client is interested in scroll in current direction.
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
InCallPaginator.java | 133 Path.Direction.CW); 135 centerX + indicatorOffset, centerY, indicatorRadius, Path.Direction.CW); 145 Path.Direction.CW); 147 centerX - indicatorOffset, centerY, indicatorRadius, Path.Direction.CW); 160 Path.Direction.CW); 168 Path.Direction.CW);
|
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/ |
SystemUiJankTests.java | 26 import android.support.test.uiautomator.Direction; 72 Assert.assertNotNull(select(SELECTOR_TOP_ROW.hasDescendant(By.focused(true)), Direction.UP, 96 selectBidirect(By.res(TVLAUNCHER_PACKAGE, "settings").focused(true), Direction.RIGHT)); 152 * in a given {@link Direction} until it finds a matched element. 154 * @param direction the direction to find 158 public UiObject2 select(BySelector selector, Direction direction, long timeoutMs) { 161 Log.d(TAG, String.format("select: moving a focus from %s to %s", focus, direction)); 163 mDPadUtil.pressDPad(direction); [all...] |