Searched refs:Direction (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/focus/
H A DNavigateTaskViewEvent.java26 public enum Direction { enum in class:NavigateTaskViewEvent
30 public Direction direction;
31 public NavigateTaskViewEvent(Direction direction) {
35 public static Direction getDirectionFromKeyCode(int keyCode) {
38 return Direction.UP;
40 return Direction.DOWN;
42 return Direction.LEFT;
44 return Direction.RIGHT;
46 return Direction.UNDEFINED;
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
H A DPathPerfTest.java47 path.addRect(0, 0, 100, 100, Path.Direction.CW);
66 path.addRect(0, 0, 100, 100, Path.Direction.CW);
75 path.addRect(0, 0, 100, 100, Path.Direction.CW);
85 path.addRect(0, 0, 100, 100, Path.Direction.CW);
95 path.addRect(0, 0, 100, 100, Path.Direction.CW);
106 path.addRect(0, 0, 100, 100, Path.Direction.CW);
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DPathOffsetTest.java21 import android.graphics.Path.Direction;
45 actualPath.addRect(START_X, START_Y, START_X + SQUARE, START_Y + SQUARE, Direction.CW);
52 START_Y + OFFSET_Y + SQUARE, Direction.CW);
61 initialPath.addRect(START_X, START_Y, START_X + SQUARE, START_Y + SQUARE, Direction.CW);
70 START_Y + OFFSET_Y + SQUARE, Direction.CW);
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DRoundRectShape.java113 mPath.addRoundRect(r, mOuterRadii, Path.Direction.CW);
115 mPath.addRect(r, Path.Direction.CW);
122 mPath.addRoundRect(mInnerRect, mInnerRadii, Path.Direction.CCW);
124 mPath.addRect(mInnerRect, Path.Direction.CCW);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DSmallCircleActivity.java55 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.275f, Path.Direction.CW);
56 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.225f, Path.Direction.CCW);
H A DPathOpsActivity.java63 p1.addRect(0.0f, 0.0f, mSize, mSize, Path.Direction.CW);
66 p2.addCircle(mSize, mSize, mSize / 2.0f, Path.Direction.CW);
H A DClipRegion3Activity.java63 mClipPath.addCircle(0.0f, 0.0f, getWidth() / 4.0f, Path.Direction.CW);
H A DClipRegionActivity.java83 getWidth() / 4.0f, Path.Direction.CW);
H A DViewLayersActivity5.java77 Math.min(getWidth(), getHeight()) / 3.0f, Path.Direction.CW);
/frameworks/base/graphics/java/android/graphics/
H A DPath.java48 private Direction mLastDirection = null;
507 public enum Direction { enum in class:Path
513 Direction(int ni) { method in class:Path.Direction
519 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) {
537 public void addRect(RectF rect, Direction dir) {
550 public void addRect(float left, float top, float right, float bottom, Direction dir) {
561 public void addOval(RectF oval, Direction dir) {
570 public void addOval(float left, float top, float right, float bottom, Direction dir) {
583 public void addCircle(float x, float y, float radius, Direction dir) {
619 public void addRoundRect(RectF rect, float rx, float ry, Direction di
[all...]
H A DOutline.java261 mPath.addOval(left, top, right, bottom, Path.Direction.CW);
/frameworks/base/core/java/android/text/style/
H A DBulletSpan.java22 import android.graphics.Path.Direction;
109 sBulletPath.addCircle(0.0f, 0.0f, 1.2f * BULLET_RADIUS, Direction.CW);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DSlashDrawable.java31 import android.graphics.Path.Direction;
156 mPath.addRoundRect(mSlashRect, radiusX, radiusY, Direction.CW);
169 mPath.addRoundRect(mSlashRect, 1.0f * width, 1.0f * height, Direction.CW);
/frameworks/base/core/jni/android/graphics/
H A DPath.cpp137 SkPath::Direction dir = static_cast<SkPath::Direction>(dirHandle);
144 SkPath::Direction dir = static_cast<SkPath::Direction>(dirHandle);
152 SkPath::Direction dir = static_cast<SkPath::Direction>(dirHandle);
167 SkPath::Direction dir = static_cast<SkPath::Direction>(dirHandle);
175 SkPath::Direction dir = static_cast<SkPath::Direction>(dirHandl
[all...]
/frameworks/base/services/core/jni/BroadcastRadio/
H A Dconvert.h49 V1_0::Direction DirectionToHal(bool directionDown);
H A Dconvert.cpp42 using V1_0::Direction;
453 Direction DirectionToHal(bool directionDown) {
454 return directionDown ? Direction::DOWN : Direction::UP;
/frameworks/compile/mclinker/include/mcld/MC/
H A DInputBuilder.h54 template <InputTree::Direction DIRECTION>
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DSignalDrawable.java27 import android.graphics.Path.Direction;
349 Direction.CW);
371 p.addRect(x, y, x + dotSize, y + dotSize, Direction.CW);
490 mPath.addRoundRect(mSlashRect, radius, radius, Direction.CW);
500 mPath.addRoundRect(mSlashRect, radius, radius, Direction.CW);
/frameworks/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java25 import android.graphics.Path.Direction;
562 private static Direction getDirection(int direction) {
563 for (Direction d : Direction.values()) {
836 Direction direction = getDirection(dir);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DBatteryMeterDrawableBase.java29 import android.graphics.Path.Direction;
337 mShapePath.addRoundRect(mFrame, radius, radius, Direction.CW);
338 mShapePath.addRect(mButtonFrame, Direction.CW);
436 mClipPath.addRect(mFrame, Path.Direction.CCW);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/
H A DTaskGridLayoutAlgorithm.java29 import com.android.systemui.recents.events.ui.focus.NavigateTaskViewEvent.Direction;
239 public int navigateFocus(int taskCount, int currentFocusedIndex, Direction direction) {
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
H A DAdaptiveIconDrawableTest.java14 import android.graphics.Path.Direction;
100 circle.addCircle(width / 2, height / 2, (right - left)/2 -10 /* room for anti-alias */, Direction.CW);
/frameworks/base/core/java/android/text/
H A DLayout.java1686 dest.addRect(left, top, right, bottom, Path.Direction.CW);
1726 0, getLineBottom(startline), Path.Direction.CW);
1729 width, getLineBottom(startline), Path.Direction.CW);
1734 dest.addRect(0, top, width, bottom, Path.Direction.CW);
1744 dest.addRect(width, top, getLineRight(endline), bottom, Path.Direction.CW);
1746 dest.addRect(0, top, getLineLeft(endline), bottom, Path.Direction.CW);
/frameworks/compile/mclinker/include/mcld/
H A DInputTree.h221 enum Direction { enum in class:mcld::InputTree
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsActivity.java88 import com.android.systemui.recents.events.ui.focus.NavigateTaskViewEvent.Direction;
662 final Direction direction = NavigateTaskViewEvent.getDirectionFromKeyCode(keyCode);

Completed in 143 milliseconds

12