/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/ui/focus/ |
D | NavigateTaskViewEvent.java | 26 public enum Direction { enum in NavigateTaskViewEvent 30 public Direction direction; 31 public NavigateTaskViewEvent(Direction direction) { in NavigateTaskViewEvent() 35 public static Direction getDirectionFromKeyCode(int keyCode) { in getDirectionFromKeyCode() 38 return Direction.UP; in getDirectionFromKeyCode() 40 return Direction.DOWN; in getDirectionFromKeyCode() 42 return Direction.LEFT; in getDirectionFromKeyCode() 44 return Direction.RIGHT; in getDirectionFromKeyCode() 46 return Direction.UNDEFINED; in getDirectionFromKeyCode()
|
/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/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 | 58 private Direction mLastDirection = null; 520 public enum Direction { enum in Path 526 Direction(int ni) { in Direction() method in Path.Direction 532 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { in detectSimplePath() 550 public void addRect(@NonNull RectF rect, @NonNull Direction dir) { in addRect() 563 public void addRect(float left, float top, float right, float bottom, @NonNull Direction dir) { in addRect() 574 public void addOval(@NonNull RectF oval, @NonNull Direction dir) { in addOval() 583 public void addOval(float left, float top, float right, float bottom, @NonNull Direction dir) { in addOval() 596 public void addCircle(float x, float y, float radius, @NonNull Direction dir) { in addCircle() 632 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/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()
|
D | ClipRegion3Activity.java | 63 mClipPath.addCircle(0.0f, 0.0f, getWidth() / 4.0f, Path.Direction.CW); in onSizeChanged()
|
D | ClipRegionActivity.java | 83 getWidth() / 4.0f, Path.Direction.CW); in dispatchDraw()
|
D | ViewLayersActivity5.java | 77 Math.min(getWidth(), getHeight()) / 3.0f, Path.Direction.CW); in dispatchDraw()
|
/frameworks/base/core/jni/android/graphics/ |
D | Path.cpp | 135 SkPath::Direction dir = static_cast<SkPath::Direction>(dirHandle); in addRect() 142 SkPath::Direction dir = static_cast<SkPath::Direction>(dirHandle); in addOval() 150 SkPath::Direction dir = static_cast<SkPath::Direction>(dirHandle); in addCircle() 165 SkPath::Direction dir = static_cast<SkPath::Direction>(dirHandle); in addRoundRectXY() 173 SkPath::Direction dir = static_cast<SkPath::Direction>(dirHandle); in addRoundRect8()
|
/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/systemui/qs/ |
D | SlashDrawable.java | 31 import android.graphics.Path.Direction; 156 mPath.addRoundRect(mSlashRect, radiusX, radiusY, Direction.CW); in draw() 169 mPath.addRoundRect(mSlashRect, 1.0f * width, 1.0f * height, Direction.CW); in draw()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | SignalDrawable.java | 28 import android.graphics.Path.Direction; 236 mForegroundPath.addRect(x, y, x + dotSize, y + dotSize, Direction.CW); in drawDotAndPadding() 239 y + dotSize + dotPadding, Direction.CW); in drawDotAndPadding()
|
D | BatteryMeterDrawableBase.java | 29 import android.graphics.Path.Direction; 356 mShapePath.addRoundRect(mFrame, radius, radius, Direction.CW); in draw() 357 mShapePath.addRect(mButtonFrame, Direction.CW); in draw() 358 mOutlinePath.addRoundRect(mFrame, radius, radius, Direction.CW); in draw() 360 p.addRect(mButtonFrame, Direction.CW); in draw()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Path_Delegate.java | 25 import android.graphics.Path.Direction; 572 private static Direction getDirection(int direction) { in getDirection() 573 for (Direction d : Direction.values()) { in getDirection() 846 Direction direction = getDirection(dir); in addRect()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/ |
D | TaskGridLayoutAlgorithm.java | 28 import com.android.systemui.recents.events.ui.focus.NavigateTaskViewEvent.Direction; 238 public int navigateFocus(int taskCount, int currentFocusedIndex, Direction direction) {
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | InputBuilder.h | 54 template <InputTree::Direction DIRECTION>
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BadgedImageView.java | 87 circlePath.addCircle(radius /* x */, radius /* y */, radius, Path.Direction.CW); in onDraw()
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | convert.h | 51 V1_0::Direction DirectionToHal(bool directionDown);
|
/frameworks/base/libs/hwui/utils/ |
D | VectorDrawableUtils.cpp | 303 (SkPath::Direction) (points->at(k + 4) == 0), in addCommand() 313 (SkPath::Direction) (points->at(k + 4) == 0), in addCommand()
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | AdaptiveIconDrawableTest.java | 26 import android.graphics.Path.Direction; 117 …le.addCircle(width / 2, height / 2, (right - left)/2 -10 /* room for anti-alias */, Direction.CW); in testDraw_withBounds()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | StringUtil.java | 152 return formatter.format(value, RelativeDateTimeFormatter.Direction.LAST, unit); in formatRelativeTime()
|