/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | ProportionalLayout.java | 37 public enum Direction { enum in ProportionalLayout 43 private Direction(String xmlName) { in Direction() method in ProportionalLayout.Direction 51 public static Direction parse(String value) { in parse() 53 return Direction.widthToHeight; in parse() 55 return Direction.heightToWidth; in parse() 63 private Direction mDirection; 83 mDirection = Direction.parse(a.getString(R.styleable.ProportionalLayout_direction)); in initFromAttributes() 104 if (mDirection == Direction.heightToWidth) { in onMeasure() 131 public Direction getDirection() { in getDirection() 135 public void setDirection(Direction direction) { in setDirection()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | DismissAnimationHelper.java | 52 @IntDef({Direction.LEFT, Direction.RIGHT}) 53 public @interface Direction { annotation in DismissAnimationHelper 85 @Direction int swipeDirection) { in animateDismiss() 92 @Direction int swipeDirection, in animateDismiss() 102 .translationX(swipeDirection == Direction.RIGHT ? viewWidth : -viewWidth) in animateDismiss() 148 int swipeDirection = moveDeltaX > 0 ? Direction.RIGHT : Direction.LEFT; in calculateTranslateDistance() 155 return (swipeDirection == Direction.RIGHT) in calculateTranslateDistance()
|
D | CarNotificationItemTouchListener.java | 318 @DismissAnimationHelper.Direction in onTouchEvent() 319 int swipeDirection = DismissAnimationHelper.Direction.RIGHT; in onTouchEvent() 323 ? DismissAnimationHelper.Direction.RIGHT in onTouchEvent() 324 : DismissAnimationHelper.Direction.LEFT; in onTouchEvent() 328 ? DismissAnimationHelper.Direction.LEFT in onTouchEvent() 329 : DismissAnimationHelper.Direction.RIGHT; in onTouchEvent()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | SingleAxisSwipeDetector.java | 37 public static final Direction VERTICAL = new Direction() { 68 public static final Direction HORIZONTAL = new Direction() { 99 private final Direction mDir; 108 @NonNull Direction dir) { in SingleAxisSwipeDetector() 114 @NonNull Direction dir, boolean isRtl) { in SingleAxisSwipeDetector() 211 public abstract static class Direction { class in SingleAxisSwipeDetector
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/ |
D | SidePanelHelper.java | 22 import android.support.test.uiautomator.Direction; 46 return assertNavigateToItem(resId, Direction.DOWN); in assertNavigateToItem() 49 public UiObject2 assertNavigateToItem(int resId, Direction direction) { in assertNavigateToItem() 55 return assertNavigateToItem(title, Direction.DOWN); in assertNavigateToItem() 58 public UiObject2 assertNavigateToItem(String title, Direction direction) { in assertNavigateToItem()
|
D | UiDeviceAsserts.java | 25 import android.support.test.uiautomator.Direction; 109 UiDevice uiDevice, UiObject2 container, BySelector selector, Direction direction) { in assertNavigateTo() 141 direction = Direction.reverse(direction); in assertNavigateTo()
|
D | MenuHelper.java | 24 import android.support.test.uiautomator.Direction; 89 Direction.DOWN); in assertNavigateToRow() 121 Direction.RIGHT); in assertNavigateToRowItem()
|
D | UiObject2Utils.java | 19 import android.support.test.uiautomator.Direction; 25 public static boolean hasSiblingInDirection(UiObject2 theUiObject, Direction direction) { in hasSiblingInDirection()
|
D | UiDeviceUtils.java | 18 import android.support.test.uiautomator.Direction; 25 public static void pressDpad(UiDevice uiDevice, Direction direction) { in pressDpad()
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | InCallPaginator.java | 133 Path.Direction.CW); in onDraw() 135 centerX + indicatorOffset, centerY, indicatorRadius, Path.Direction.CW); in onDraw() 145 Path.Direction.CW); in onDraw() 147 centerX - indicatorOffset, centerY, indicatorRadius, Path.Direction.CW); in onDraw() 160 Path.Direction.CW); in onDraw() 168 Path.Direction.CW); in onDraw()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | AoapInterface.java | 116 public @interface Direction {} annotation in AoapInterface 118 @Direction 120 @Direction 206 private static int transfer(UsbDeviceConnection conn, @Direction int direction, int string, in transfer()
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/testutils/ |
D | SettingsTestUtils.java | 22 import android.support.test.uiautomator.Direction; 39 view.scroll(Direction.UP, 1.0f); in scrollToTop() 54 view.scroll(Direction.DOWN, 1.0f); in assertTitleMatch()
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | AllApps.java | 27 import androidx.test.uiautomator.Direction; 187 allAppsContainer, Direction.UP, margins, 12, false); in scrollBackToBeginning() 216 allAppsContainer, Direction.DOWN, new Rect(0, 0, 0, mHeight / 2), 10, false); in flingForward() 231 allAppsContainer, Direction.UP, new Rect(0, mHeight / 2, 0, 0), 10, false); in flingBackward()
|
D | BaseOverview.java | 23 import androidx.test.uiautomator.Direction; 61 overview, Direction.LEFT, new Rect(leftMargin + 1, 0, 0, 0), 20, false); in flingForwardImpl() 97 overview, Direction.RIGHT, new Rect(0, 0, rightMargin + 1, 0), 20, false); in flingBackward()
|
D | Widgets.java | 26 import androidx.test.uiautomator.Direction; 57 Direction.DOWN, in flingForward() 79 Direction.UP, in flingBackward()
|
D | Workspace.java | 34 import androidx.test.uiautomator.Direction; 216 mLauncher.scroll(workspace, Direction.RIGHT, in flingForward() 230 mLauncher.scroll(workspace, Direction.LEFT, in flingBackward()
|
/packages/apps/Car/Calendar/src/com/android/car/calendar/common/ |
D | CalendarFormatter.java | 77 RelativeDateTimeFormatter.Direction.THIS, in getDateText() 82 RelativeDateTimeFormatter.Direction.NEXT, in getDateText() 87 RelativeDateTimeFormatter.Direction.NEXT_2, in getDateText()
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
D | AppsSettingsTests.java | 23 import android.support.test.uiautomator.Direction; 94 appSetting.scroll(Direction.DOWN, 10.0f); in testAppSettingsListForCalculator() 107 appInfoList.scroll(Direction.DOWN, 100.0f); in testDisablingAndEnablingSystemApp()
|
D | AboutPhoneSettingsTests.java | 28 import android.support.test.uiautomator.Direction; 83 view.scroll(Direction.UP, 1.0f); in setUp() 142 canScrollDown = view.scroll(Direction.DOWN, 1.0f); in searchForItemsAndTakeAction()
|
D | NotificationSettingsTests.java | 24 import android.support.test.uiautomator.Direction; 109 UiObject2 phone = scrollTo(mDevice, apps, By.text("Phone"), Direction.DOWN); in testNotificationsSettingsListForPhone() 134 BySelector target, Direction direction) { in scrollTo()
|
D | HomepageDisplayTests.java | 26 import android.support.test.uiautomator.Direction; 92 view.scroll(Direction.UP, 100f); in testHomepageCategory()
|
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/sidepanel/ |
D | CustomizeChannelListFragmentTest.java | 25 import android.support.test.uiautomator.Direction; 88 R.string.edit_channels_item_group_by, Direction.UP); in testCustomizeChannelList_noraml() 126 R.string.edit_channels_item_group_by, Direction.UP); in testCustomizeChannelList_timeout()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | IconShape.java | 179 getRadiiArray(values[4], values[5]), Path.Direction.CW); 193 path.addCircle(radius + offsetX, radius + offsetY, radius, Path.Direction.CW); 231 Path.Direction.CW); 259 Path.Direction.CW); 287 getRadiiArray(values[4], values[5]), Path.Direction.CW);
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/core/ |
D | LifecycleEventHandlingTest.java | 26 import android.support.test.uiautomator.Direction; 77 view.scroll(Direction.DOWN, 100f); in launchDashboard_shouldSeeFooter()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | DataWarningReceiverTest.java | 23 import android.support.test.uiautomator.Direction; 91 uiObject.getParent().swipe(Direction.RIGHT, 1.0f); in testSnoozeWarningNotReceived()
|