Home
last modified time | relevance | path

Searched refs:Direction (Results 1 – 25 of 60) sorted by relevance

123

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DCrossProfileIntentFiltersSetter.java38 import com.android.managedprovisioning.task.CrossProfileIntentFilter.Direction;
53 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, SKIP_CURRENT_PROFILE, false)
67 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, SKIP_CURRENT_PROFILE, false)
79 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, ONLY_IF_NO_MATCH_FOUND, false)
93 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, ONLY_IF_NO_MATCH_FOUND, false)
108 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, ONLY_IF_NO_MATCH_FOUND, false)
116 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, ONLY_IF_NO_MATCH_FOUND, false)
123 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, SKIP_CURRENT_PROFILE, false)
136 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, SKIP_CURRENT_PROFILE, false)
145 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, SKIP_CURRENT_PROFILE, false)
[all …]
DCrossProfileIntentFilter.java36 Direction.TO_PARENT,
37 Direction.TO_PROFILE
40 @interface Direction { annotation in CrossProfileIntentFilter
59 public final @Direction int direction;
69 private CrossProfileIntentFilter(IntentFilter filter, int flags, @Direction int direction, in CrossProfileIntentFilter()
80 private @Direction int mDirection;
83 public Builder(@Direction int direction, int flags, boolean letsPersonalDataIntoProfile) { in Builder()
/packages/apps/Contacts/src/com/android/contacts/widget/
DProportionalLayout.java37 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/
DDismissAnimationHelper.java50 @IntDef({Direction.LEFT, Direction.RIGHT})
51 public @interface Direction { annotation in DismissAnimationHelper
83 @Direction int swipeDirection) { in animateDismiss()
90 @Direction int swipeDirection, in animateDismiss()
100 .translationX(swipeDirection == Direction.RIGHT ? viewWidth : -viewWidth) in animateDismiss()
147 int swipeDirection = moveDeltaX > 0 ? Direction.RIGHT : Direction.LEFT; in calculateTranslateDistance()
154 return (swipeDirection == Direction.RIGHT) in calculateTranslateDistance()
DCarNotificationItemTouchListener.java334 @DismissAnimationHelper.Direction in onTouchEvent()
335 int swipeDirection = DismissAnimationHelper.Direction.RIGHT; in onTouchEvent()
339 ? DismissAnimationHelper.Direction.RIGHT in onTouchEvent()
340 : DismissAnimationHelper.Direction.LEFT; in onTouchEvent()
344 ? DismissAnimationHelper.Direction.LEFT in onTouchEvent()
345 : DismissAnimationHelper.Direction.RIGHT; in onTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DSwipeDetector.java68 public static abstract class Direction { class in SwipeDetector
85 public static final Direction VERTICAL = new Direction() {
115 public static final Direction HORIZONTAL = new Direction() {
219 private final Direction mDir;
248 public SwipeDetector(@NonNull Context context, @NonNull Listener l, @NonNull Direction dir) { in SwipeDetector()
254 @NonNull Direction dir, boolean isRtl) { in SwipeDetector()
DAbstractStateChangeTouchController.java48 import com.android.launcher3.userevent.nano.LauncherLogProto.Action.Direction;
73 protected final SwipeDetector.Direction mSwipeDirection;
107 public AbstractStateChangeTouchController(Launcher l, SwipeDetector.Direction dir) { in AbstractStateChangeTouchController()
514 return mToState.ordinal > mFromState.ordinal ? Direction.UP : Direction.DOWN; in getDirectionForLog()
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DSidePanelHelper.java22 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()
DUiDeviceAsserts.java25 import android.support.test.uiautomator.Direction;
109 UiDevice uiDevice, UiObject2 container, BySelector selector, Direction direction) { in assertNavigateTo()
141 direction = Direction.reverse(direction); in assertNavigateTo()
DMenuHelper.java24 import android.support.test.uiautomator.Direction;
89 Direction.DOWN); in assertNavigateToRow()
121 Direction.RIGHT); in assertNavigateToRowItem()
DUiObject2Utils.java19 import android.support.test.uiautomator.Direction;
25 public static boolean hasSiblingInDirection(UiObject2 theUiObject, Direction direction) { in hasSiblingInDirection()
DUiDeviceUtils.java18 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/
DInCallPaginator.java133 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/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DAllApps.java26 import androidx.test.uiautomator.Direction;
106 mLauncher.scroll(allAppsContainer, Direction.DOWN, 0.8f, null, 50); in getAppIcon()
148 mLauncher.scroll(allAppsContainer, Direction.UP, 1, margins, 50); in scrollBackToBeginning()
175 allAppsContainer, Direction.DOWN, 1, new Rect(0, 0, 0, mHeight / 2), 10); in flingForward()
189 allAppsContainer, Direction.UP, 1, new Rect(0, mHeight / 2, 0, 0), 10); in flingBackward()
DWidgets.java19 import androidx.test.uiautomator.Direction;
46 widgetsContainer.fling(Direction.DOWN, in flingForward()
64 widgetsContainer.fling(Direction.UP, in flingBackward()
DBaseOverview.java21 import androidx.test.uiautomator.Direction;
53 overview.fling(Direction.LEFT, (int) (FLING_SPEED * mLauncher.getDisplayDensity())); in flingForward()
90 overview.fling(Direction.RIGHT, (int) (FLING_SPEED * mLauncher.getDisplayDensity())); in flingBackward()
DWorkspace.java31 import androidx.test.uiautomator.Direction;
185 workspace.fling(Direction.RIGHT, (int) (FLING_SPEED * mLauncher.getDisplayDensity())); in flingForward()
197 workspace.fling(Direction.LEFT, (int) (FLING_SPEED * mLauncher.getDisplayDensity())); in flingBackward()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DQuickSwitchTouchController.java47 import com.android.launcher3.userevent.nano.LauncherLogProto.Action.Direction;
66 protected QuickSwitchTouchController(Launcher l, SwipeDetector.Direction dir) { in QuickSwitchTouchController()
163 return Utilities.isRtl(mLauncher.getResources()) ? Direction.LEFT : Direction.RIGHT; in getDirectionForLog()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/testutils/
DSettingsTestUtils.java22 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/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DLandscapeEdgeSwipeController.java16 import com.android.launcher3.userevent.nano.LauncherLogProto.Action.Direction;
69 return mLauncher.getDeviceProfile().isSeascape() ? Direction.RIGHT : Direction.LEFT; in getDirectionForLog()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DAppsSettingsTests.java23 import android.support.test.uiautomator.Direction;
94 appSetting.scroll(Direction.DOWN, 10.0f); in testAppSettingsListForCalculator()
107 appInfoList.scroll(Direction.DOWN, 100.0f); in testDisablingAndEnablingSystemApp()
DAboutPhoneSettingsTests.java28 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()
DNotificationSettingsTests.java24 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()
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/sidepanel/
DCustomizeChannelListFragmentTest.java25 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/quickstep/src/com/android/quickstep/views/
DShelfScrimView.java31 import android.graphics.Path.Direction;
247 mRadius, mRadius, Direction.CW); in drawBackground()
249 mRemainingScreenPath.addRect(0, 0, width, height, Direction.CW); in drawBackground()

123