Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/focus/
DNavigateTaskViewEvent.java26 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/
DPathPerfTest.java47 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testAddReset()
66 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testAddRewind()
75 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testIsEmpty()
85 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testIsConvex()
95 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testGetSetFillType()
106 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testIsRect()
/frameworks/base/core/tests/coretests/src/android/graphics/
DPathOffsetTest.java21 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/
DPath.java48 private Direction mLastDirection = null;
507 public enum Direction { enum in Path
513 Direction(int ni) { in Direction() method in Path.Direction
519 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { in detectSimplePath()
537 public void addRect(RectF rect, Direction dir) { in addRect()
550 public void addRect(float left, float top, float right, float bottom, Direction dir) { in addRect()
561 public void addOval(RectF oval, Direction dir) { in addOval()
570 public void addOval(float left, float top, float right, float bottom, Direction dir) { in addOval()
583 public void addCircle(float x, float y, float radius, Direction dir) { in addCircle()
619 public void addRoundRect(RectF rect, float rx, float ry, Direction dir) { in addRoundRect()
[all …]
DOutline.java261 mPath.addOval(left, top, right, bottom, Path.Direction.CW); in setOval()
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DRoundRectShape.java113 mPath.addRoundRect(r, mOuterRadii, Path.Direction.CW); in onResize()
115 mPath.addRect(r, Path.Direction.CW); in onResize()
122 mPath.addRoundRect(mInnerRect, mInnerRadii, Path.Direction.CCW); in onResize()
124 mPath.addRect(mInnerRect, Path.Direction.CCW); in onResize()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DSmallCircleActivity.java55 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()
DPathOpsActivity.java63 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()
DClipRegion3Activity.java63 mClipPath.addCircle(0.0f, 0.0f, getWidth() / 4.0f, Path.Direction.CW); in onSizeChanged()
DClipRegionActivity.java83 getWidth() / 4.0f, Path.Direction.CW); in dispatchDraw()
DViewLayersActivity5.java77 Math.min(getWidth(), getHeight()) / 3.0f, Path.Direction.CW); in dispatchDraw()
/frameworks/base/core/jni/android/graphics/
DPath.cpp137 SkPath::Direction dir = static_cast<SkPath::Direction>(dirHandle); in addRect()
144 SkPath::Direction dir = static_cast<SkPath::Direction>(dirHandle); in addOval()
152 SkPath::Direction dir = static_cast<SkPath::Direction>(dirHandle); in addCircle()
167 SkPath::Direction dir = static_cast<SkPath::Direction>(dirHandle); in addRoundRectXY()
175 SkPath::Direction dir = static_cast<SkPath::Direction>(dirHandle); in addRoundRect8()
/frameworks/base/core/java/android/text/style/
DBulletSpan.java22 import android.graphics.Path.Direction;
109 sBulletPath.addCircle(0.0f, 0.0f, 1.2f * BULLET_RADIUS, Direction.CW); in drawLeadingMargin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSignalDrawable.java28 import android.graphics.Path.Direction;
281 Direction.CW); in draw()
303 p.addRect(x, y, x + dotSize, y + dotSize, Direction.CW); in drawDot()
421 mPath.addRect(mSlashRect, Direction.CW); in draw()
431 mPath.addRect(mSlashRect, Direction.CW); in draw()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPath_Delegate.java25 import android.graphics.Path.Direction;
559 private static Direction getDirection(int direction) { in getDirection()
560 for (Direction d : Direction.values()) { in getDirection()
833 Direction direction = getDirection(dir); in addRect()
/frameworks/av/services/radio/
DRadioHalHidl.cpp33 using android::hardware::broadcastradio::V1_0::Direction;
182 mHalTuner->scan(static_cast<Direction>(direction), skip_sub_channel); in scan()
193 mHalTuner->step(static_cast<Direction>(direction), skip_sub_channel); in step()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/
DTaskGridLayoutAlgorithm.java29 import com.android.systemui.recents.events.ui.focus.NavigateTaskViewEvent.Direction;
239 public int navigateFocus(int taskCount, int currentFocusedIndex, Direction direction) {
/frameworks/compile/mclinker/include/mcld/MC/
DInputBuilder.h54 template <InputTree::Direction DIRECTION>
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DAdaptiveIconDrawableTest.java14 import android.graphics.Path.Direction;
100 …le.addCircle(width / 2, height / 2, (right - left)/2 -10 /* room for anti-alias */, Direction.CW); in testDraw_withBounds()
/frameworks/base/core/java/android/text/
DLayout.java1686 dest.addRect(left, top, right, bottom, Path.Direction.CW); in addSelection()
1726 0, getLineBottom(startline), Path.Direction.CW); in getSelectionPath()
1729 width, getLineBottom(startline), Path.Direction.CW); in getSelectionPath()
1734 dest.addRect(0, top, width, bottom, Path.Direction.CW); in getSelectionPath()
1744 dest.addRect(width, top, getLineRight(endline), bottom, Path.Direction.CW); in getSelectionPath()
1746 dest.addRect(0, top, getLineLeft(endline), bottom, Path.Direction.CW); in getSelectionPath()
/frameworks/compile/mclinker/include/mcld/
DInputTree.h221 enum Direction { enum
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsActivity.java81 import com.android.systemui.recents.events.ui.focus.NavigateTaskViewEvent.Direction;
589 final Direction direction = NavigateTaskViewEvent.getDirectionFromKeyCode(keyCode); in onKeyDown()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java822 mPath.addRoundRect(mRect, st.mRadiusArray, Path.Direction.CW);
872 ringPath.addOval(bounds, Path.Direction.CW);
873 ringPath.addOval(innerBounds, Path.Direction.CCW);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java408 mClipPath.addRect(mFrame, Path.Direction.CCW); in draw()
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java819 selectorPath.addCircle(selCenterX, selCenterY, selRadius, Path.Direction.CCW); in drawSelector()

12