Home
last modified time | relevance | path

Searched refs:Direction (Results 1 – 25 of 63) 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.java52 @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()
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/
DSingleAxisSwipeDetector.java37 public static final Direction VERTICAL = new Direction() {
63 public static final Direction HORIZONTAL = new Direction() {
88 private final Direction mDir;
95 @NonNull Direction dir) { in SingleAxisSwipeDetector()
101 @NonNull Direction dir, boolean isRtl) { in SingleAxisSwipeDetector()
177 public abstract static class Direction { class in SingleAxisSwipeDetector
DAbstractStateChangeTouchController.java46 import com.android.launcher3.userevent.nano.LauncherLogProto.Action.Direction;
69 protected final SingleAxisSwipeDetector.Direction mSwipeDirection;
104 public AbstractStateChangeTouchController(Launcher l, SingleAxisSwipeDetector.Direction dir) { in AbstractStateChangeTouchController()
503 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;
162 mLauncher.scroll(allAppsContainer, Direction.UP, margins, 50); in scrollBackToBeginning()
189 allAppsContainer, Direction.DOWN, new Rect(0, 0, 0, mHeight / 2), 10); in flingForward()
203 allAppsContainer, Direction.UP, new Rect(0, mHeight / 2, 0, 0), 10); in flingBackward()
DWidgets.java24 import androidx.test.uiautomator.Direction;
50 Direction.DOWN, in flingForward()
70 Direction.UP, in flingBackward()
DBaseOverview.java23 import androidx.test.uiautomator.Direction;
58 mLauncher.scroll(overview, Direction.LEFT, new Rect(leftMargin, 0, 0, 0), 20); in flingForward()
96 mLauncher.scroll(overview, Direction.RIGHT, new Rect(0, 0, rightMargin, 0), 20); in flingBackward()
DWorkspace.java32 import androidx.test.uiautomator.Direction;
183 mLauncher.scroll(workspace, Direction.RIGHT, in flingForward()
195 mLauncher.scroll(workspace, Direction.LEFT, in flingBackward()
/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/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DQuickSwitchTouchController.java48 import com.android.launcher3.userevent.nano.LauncherLogProto.Action.Direction;
67 protected QuickSwitchTouchController(Launcher l, SingleAxisSwipeDetector.Direction dir) { in QuickSwitchTouchController()
166 return Utilities.isRtl(mLauncher.getResources()) ? Direction.LEFT : Direction.RIGHT; in getDirectionForLog()
/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.java32 import android.graphics.Path.Direction;
263 mRadius, mRadius, Direction.CW); in drawBackground()
265 mRemainingScreenPath.addRect(0, 0, width, height, Direction.CW); in drawBackground()

123