/frameworks/base/services/core/java/com/android/server/pm/ |
D | DefaultCrossProfileIntentFiltersUtils.java | 44 DefaultCrossProfileIntentFilter.Direction.TO_PARENT, 62 DefaultCrossProfileIntentFilter.Direction.TO_PARENT, 77 DefaultCrossProfileIntentFilter.Direction.TO_PARENT, 94 DefaultCrossProfileIntentFilter.Direction.TO_PARENT, 112 DefaultCrossProfileIntentFilter.Direction.TO_PARENT, 123 DefaultCrossProfileIntentFilter.Direction.TO_PARENT, 133 DefaultCrossProfileIntentFilter.Direction.TO_PARENT, 150 DefaultCrossProfileIntentFilter.Direction.TO_PARENT, 161 DefaultCrossProfileIntentFilter.Direction.TO_PARENT, 172 DefaultCrossProfileIntentFilter.Direction.TO_PARENT, [all …]
|
D | DefaultCrossProfileIntentFilter.java | 36 Direction.TO_PARENT, 37 Direction.TO_PROFILE 40 @interface Direction { annotation in DefaultCrossProfileIntentFilter 59 public final @Direction int direction; 70 @Direction int direction, boolean letsPersonalDataIntoProfile) { in DefaultCrossProfileIntentFilter() 80 private @Direction int mDirection; 83 Builder(@Direction int direction, int flags, boolean letsPersonalDataIntoProfile) { in Builder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/complication/ |
D | ComplicationLayoutParams.java | 65 @interface Direction {} annotation in ComplicationLayoutParams 78 @Direction 115 @Direction int direction, int weight) { in ComplicationLayoutParams() 133 @Direction int direction, int weight, int margin) { in ComplicationLayoutParams() 153 @Direction int direction, int weight, int margin, int constraint) { in ComplicationLayoutParams() 174 @Direction int direction, int weight, boolean snapToGuide) { in ComplicationLayoutParams() 200 @Direction int direction, int weight, int margin, int constraint, boolean snapToGuide) { in ComplicationLayoutParams() 236 private static boolean validateDirection(@Position int position, @Direction int direction) { in validateDirection() 284 @Direction
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | PathPerfTest.java | 48 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testAddReset() 67 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testAddRewind() 76 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testIsEmpty() 86 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testIsConvex() 96 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testGetSetFillType() 107 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testIsRect()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/touch/ |
D | BouncerSwipeTouchHandlerTest.java | 165 private enum Direction { enum in BouncerSwipeTouchHandlerTest 238 verifyScroll(.3f, Direction.UP, false, gestureListener); in testSwipeUp_setsCorrectExpansionAmount() 243 verifyScroll(.7f, Direction.UP, false, gestureListener); in testSwipeUp_setsCorrectExpansionAmount() 260 verifyScroll(.3f, Direction.DOWN, true, gestureListener); in testSwipeDown_setsCorrectExpansionAmount() 265 verifyScroll(.7f, Direction.DOWN, true, gestureListener); in testSwipeDown_setsCorrectExpansionAmount() 268 private void verifyScroll(float percent, Direction direction, in verifyScroll() 273 0, direction == Direction.UP ? SCREEN_HEIGHT_PX : 0, 0); in verifyScroll() 275 0, direction == Direction.UP ? SCREEN_HEIGHT_PX - distanceY : distanceY, 0); in verifyScroll() 303 swipeToPosition(swipeUpPercentage, Direction.UP, velocityY); in testSwipeUpPositionBelowThreshold_collapsesBouncer() 326 swipeToPosition(swipeUpPercentage, Direction.UP, velocityY); in testSwipeUpPositionAboveThreshold_expandsBouncer() [all …]
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | PathOffsetTest.java | 22 import android.graphics.Path.Direction; 45 actualPath.addRect(START_X, START_Y, START_X + SQUARE, START_Y + SQUARE, Direction.CW); in testPathOffset() 52 START_Y + OFFSET_Y + SQUARE, Direction.CW); in testPathOffset() 61 initialPath.addRect(START_X, START_Y, START_X + SQUARE, START_Y + SQUARE, Direction.CW); in testPathOffsetWithDestination() 70 START_Y + OFFSET_Y + SQUARE, Direction.CW); in testPathOffsetWithDestination()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Path.java | 59 private Direction mLastDirection = null; 527 public enum Direction { enum in Path 533 Direction(int ni) { in Direction() method in Path.Direction 539 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { in detectSimplePath() 557 public void addRect(@NonNull RectF rect, @NonNull Direction dir) { in addRect() 570 public void addRect(float left, float top, float right, float bottom, @NonNull Direction dir) { in addRect() 581 public void addOval(@NonNull RectF oval, @NonNull Direction dir) { in addOval() 590 public void addOval(float left, float top, float right, float bottom, @NonNull Direction dir) { in addOval() 603 public void addCircle(float x, float y, float radius, @NonNull Direction dir) { in addCircle() 639 public void addRoundRect(@NonNull RectF rect, float rx, float ry, @NonNull Direction dir) { in addRoundRect() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/ |
D | SwipeDetector.java | 72 public static abstract class Direction { class in SwipeDetector 82 public static final Direction VERTICAL = new Direction() { 95 public static final Direction HORIZONTAL = new Direction() { 156 private final Direction mDir; 180 public SwipeDetector(@NonNull Context context, @NonNull Listener l, @NonNull Direction dir) { in SwipeDetector() 185 protected SwipeDetector(float touchSlope, @NonNull Listener l, @NonNull Direction dir) { in SwipeDetector()
|
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/ |
D | GameAppHelper.kt | 23 import androidx.test.uiautomator.Direction 65 direction: Direction in switchToPreviousAppByQuickSwitchGesture() 74 Direction.LEFT -> bound.left in switchToPreviousAppByQuickSwitchGesture() 75 Direction.RIGHT -> bound.right in switchToPreviousAppByQuickSwitchGesture()
|
D | MailAppHelper.kt | 23 import androidx.test.uiautomator.Direction 56 listView.scroll(Direction.DOWN, 1.0f) in scrollDown()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/animation/ |
D | UnfoldConstantTranslateAnimatorTest.kt | 22 import com.android.systemui.shared.animation.UnfoldConstantTranslateAnimator.Direction in <lambda>() 50 ViewIdToTranslate(START_VIEW_ID, Direction.START, shouldBeAnimated), in <lambda>() 51 ViewIdToTranslate(END_VIEW_ID, Direction.END, shouldBeAnimated) in <lambda>() 153 private val START = Direction.START.multiplier.toInt() in <lambda>() 154 private val END = Direction.END.multiplier.toInt() in <lambda>()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/animation/ |
D | UnfoldConstantTranslateAnimator.kt | 93 val direction: Direction, in <lambda>() 101 private data class ViewToTranslate(val view: WeakReference<View>, val direction: Direction) in <lambda>() 104 enum class Direction(val multiplier: Float) { in <lambda>() class in com.android.systemui.shared.animation.UnfoldConstantTranslateAnimator
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | WuQuantizer.java | 268 maximize(one, Direction.RED, one.r0 + 1, one.r1, wholeR, wholeG, wholeB, wholeW); in cut() 270 maximize(one, Direction.GREEN, one.g0 + 1, one.g1, wholeR, wholeG, wholeB, wholeW); in cut() 272 maximize(one, Direction.BLUE, one.b0 + 1, one.b1, wholeR, wholeG, wholeB, wholeW); in cut() 273 Direction cutDirection; in cut() 281 cutDirection = Direction.RED; in cut() 283 cutDirection = Direction.GREEN; in cut() 285 cutDirection = Direction.BLUE; in cut() 323 Direction direction, in maximize() 380 private static int bottom(Box cube, Direction direction, int[] moment) { in bottom() 402 private static int top(Box cube, Direction direction, int position, int[] moment) { in top() [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | RoundRectShape.java | 116 mPath.addRoundRect(r, mOuterRadii, Path.Direction.CW); in onResize() 118 mPath.addRect(r, Path.Direction.CW); in onResize() 125 mPath.addRoundRect(mInnerRect, mInnerRadii, Path.Direction.CCW); in onResize() 127 mPath.addRect(mInnerRect, Path.Direction.CCW); in onResize()
|
/frameworks/base/core/java/android/text/format/ |
D | RelativeDateTimeFormatter.java | 133 android.icu.text.RelativeDateTimeFormatter.Direction direction; in getRelativeTimeSpanString() 135 direction = android.icu.text.RelativeDateTimeFormatter.Direction.LAST; in getRelativeTimeSpanString() 137 direction = android.icu.text.RelativeDateTimeFormatter.Direction.NEXT; in getRelativeTimeSpanString() 175 android.icu.text.RelativeDateTimeFormatter.Direction.LAST_2, in getRelativeTimeSpanString() 181 android.icu.text.RelativeDateTimeFormatter.Direction.NEXT_2, in getRelativeTimeSpanString() 196 direction = android.icu.text.RelativeDateTimeFormatter.Direction.THIS; in getRelativeTimeSpanString()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | SmallCircleActivity.java | 55 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.275f, Path.Direction.CW); in PathView() 56 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.225f, Path.Direction.CCW); in PathView()
|
D | PathOpsActivity.java | 63 p1.addRect(0.0f, 0.0f, mSize, mSize, Path.Direction.CW); in onSizeChanged() 66 p2.addCircle(mSize, mSize, mSize / 2.0f, Path.Direction.CW); in onSizeChanged()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | BrushPropertyDrawable.kt | 75 p.addCircle(w/2, h/2, r, Path.Direction.CCW) in draw() 76 p.addCircle(w/2, h/2, r - inset, Path.Direction.CW) in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUnfoldTransition.kt | 25 import com.android.systemui.shared.animation.UnfoldConstantTranslateAnimator.Direction.END 26 import com.android.systemui.shared.animation.UnfoldConstantTranslateAnimator.Direction.START
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationPanelUnfoldAnimationController.kt | 26 import com.android.systemui.shared.animation.UnfoldConstantTranslateAnimator.Direction.END 27 import com.android.systemui.shared.animation.UnfoldConstantTranslateAnimator.Direction.START
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | SlashDrawable.java | 31 import android.graphics.Path.Direction; 158 mPath.addRoundRect(mSlashRect, radiusX, radiusY, Direction.CW); in draw() 171 mPath.addRoundRect(mSlashRect, 1.0f * width, 1.0f * height, Direction.CW); in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | MagnifierView.java | 115 mOuterCircle.addCircle(radius, radius, radius, Path.Direction.CW); in onLayout() 117 mInnerCircle.addCircle(radius, radius, radius - mBorderPx, Path.Direction.CW); in onLayout() 213 Path.Direction.CW);
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
D | DividerRoundedCorner.java | 127 square.addRect(0, 0, mRadius, mRadius, Path.Direction.CW); in InvertedRoundedCornerDrawInfo() 132 mRadius, Path.Direction.CW); in InvertedRoundedCornerDrawInfo()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | SignalDrawable.java | 28 import android.graphics.Path.Direction; 237 mForegroundPath.addRect(x, y, x + dotSize, y + dotSize, Direction.CW); in drawDotAndPadding() 240 y + dotSize + dotPadding, Direction.CW); in drawDotAndPadding()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | RoundDrawableWrapper.java | 45 mRoundedCornersRadius, Path.Direction.CCW); in onBoundsChange()
|