HomeSort by relevance Sort by last modified time
    Searched refs:Direction (Results 1 - 25 of 139) sorted by null

1 2 3 4 5 6

  /cts/tests/tests/graphics/src/android/graphics/cts/
Path_DirectionTest.java 20 import android.graphics.Path.Direction;
26 assertEquals(Direction.CW, Direction.valueOf("CW"));
27 assertEquals(Direction.CCW, Direction.valueOf("CCW"));
28 // Every Direction element will be tested somewhere else.
33 Direction[] expected = {
34 Direction.CW,
35 Direction.CCW};
36 Direction[] actual = Direction.values()
    [all...]
PathMeasureTest.java 23 import android.graphics.Path.Direction;
64 mPath.addRect(1f, 2f, 3f, 4f, Path.Direction.CW);
73 mPath.addRect(1, 2, 3, 4, Path.Direction.CW);
80 mPath.addRect(1, 2, 3, 4, Path.Direction.CW);
87 circle.addCircle(0, 0, 1, Direction.CW);
110 mPath.addRect(1, 2, 3, 4, Path.Direction.CW);
122 mPath.addRect(1f, 2f, 3f, 4f, Path.Direction.CW);
  /external/skia/src/gpu/effects/
Gr1DKernelEffect.h 26 enum Direction {
32 Direction direction,
35 , fDirection(direction)
44 Direction direction() const { return fDirection; } function in class:Gr1DKernelEffect
48 Direction fDirection;
GrConvolutionEffect.h 25 static GrEffectRef* Create(GrTexture* tex, Direction dir, int halfWidth, const float* kernel) {
35 Direction dir,
77 GrConvolutionEffect(GrTexture*, Direction,
81 GrConvolutionEffect(GrTexture*, Direction,
  /external/jmonkeyengine/engine/src/core/com/jme3/audio/
AudioParam.java 9 Direction,
  /packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
ProportionalLayout.java 29 * {@link #setDirection(Direction)}. The factor is specified in {@link #setRatio(float)}.
30 * <p>For {@link Direction#heightToWidth}: width := height * factor</p>
31 * <p>For {@link Direction#widthToHeight}: height := width * factor</p>
37 public enum Direction {
43 private Direction(String xmlName) {
48 * Parses the given direction string and returns the Direction instance. This
51 public static Direction parse(String value) {
53 return Direction.widthToHeight;
55 return Direction.heightToWidth
    [all...]
  /external/eigen/Eigen/src/Geometry/
Homogeneous.h 32 template<typename MatrixType,int Direction>
33 struct traits<Homogeneous<MatrixType,Direction> >
44 RowsAtCompileTime = Direction==Vertical ? RowsPlusOne : MatrixType::RowsAtCompileTime,
45 ColsAtCompileTime = Direction==Horizontal ? ColsPlusOne : MatrixType::ColsAtCompileTime,
66 enum { Direction = _Direction };
75 inline Index rows() const { return m_matrix.rows() + (int(Direction)==Vertical ? 1 : 0); }
76 inline Index cols() const { return m_matrix.cols() + (int(Direction)==Horizontal ? 1 : 0); }
80 if( (int(Direction)==Vertical && row==m_matrix.rows())
81 || (int(Direction)==Horizontal && col==m_matrix.cols()))
90 eigen_assert(int(Direction)==Horizontal)
    [all...]
  /external/smack/src/org/jivesoftware/smackx/carbons/
Carbon.java 44 private Direction dir;
47 public Carbon(Direction dir, Forwarded fwd) {
53 * get the direction (sent or received) of the carbon.
55 * @return the {@link Direction} of the carbon.
57 public Direction getDirection() {
93 * An enum to display the direction of a {@link Carbon} message.
95 public static enum Direction {
103 Direction dir = Direction.valueOf(parser.getName());
112 else if (eventType == XmlPullParser.END_TAG && dir == Direction.valueOf(parser.getName())
    [all...]
  /external/webkit/Source/WebCore/platform/text/
BidiContext.h 41 static PassRefPtr<BidiContext> create(unsigned char level, WTF::Unicode::Direction, bool override = false, BidiEmbeddingSource = FromStyleOrDOM, BidiContext* parent = 0);
45 WTF::Unicode::Direction dir() const { return static_cast<WTF::Unicode::Direction>(m_direction); }
51 BidiContext(unsigned char level, WTF::Unicode::Direction direction, bool override, BidiEmbeddingSource source, BidiContext* parent)
53 , m_direction(direction)
60 static PassRefPtr<BidiContext> createUncached(unsigned char level, WTF::Unicode::Direction, bool override, BidiEmbeddingSource, BidiContext* parent);
63 unsigned m_direction : 5; // Direction
  /external/chromium/chrome/browser/ui/gtk/
slide_animator_gtk.h 39 enum Direction {
45 // |direction| indicates which side the contents will appear to come from.
52 Direction direction,
108 // The direction of the slide.
109 Direction direction_;
  /libcore/luni/src/main/java/java/nio/
IoVec.java 29 enum Direction { READV, WRITEV };
39 private final Direction direction; field in class:IoVec
41 IoVec(ByteBuffer[] byteBuffers, int offset, int bufferCount, Direction direction) {
45 this.direction = direction;
55 if (direction == Direction.READV) {
74 if (direction == Direction.READV)
    [all...]
  /external/webkit/Source/WebCore/page/
WebKitAnimation.h 61 // direction
62 enum Direction { DIRECTION_NORMAL, DIRECTION_ALTERNATE };
63 Direction direction() const;
  /external/eigen/Eigen/src/Core/
VectorwiseOp.h 23 * \tparam Direction indicates the direction of the redux (#Vertical or #Horizontal)
32 template< typename MatrixType, typename MemberOp, int Direction>
36 template<typename MatrixType, typename MemberOp, int Direction>
37 struct traits<PartialReduxExpr<MatrixType, MemberOp, Direction> >
47 RowsAtCompileTime = Direction==Vertical ? 1 : MatrixType::RowsAtCompileTime,
48 ColsAtCompileTime = Direction==Horizontal ? 1 : MatrixType::ColsAtCompileTime,
49 MaxRowsAtCompileTime = Direction==Vertical ? 1 : MatrixType::MaxRowsAtCompileTime,
50 MaxColsAtCompileTime = Direction==Horizontal ? 1 : MatrixType::MaxColsAtCompileTime,
53 TraversalSize = Direction==Vertical ? RowsAtCompileTime : ColsAtCompileTim
    [all...]
Reverse.h 33 template<typename MatrixType, int Direction>
34 struct traits<Reverse<MatrixType, Direction> >
49 LinearAccess = ( (Direction==BothDirections) && (int(_MatrixTypeNested::Flags)&PacketAccessBit) )
70 template<typename MatrixType, int Direction> class Reverse
71 : public internal::dense_xpr_base< Reverse<MatrixType, Direction> >::type
87 ReverseRow = (Direction == Vertical) || (Direction == BothDirections),
88 ReverseCol = (Direction == Horizontal) || (Direction == BothDirections),
91 ReversePacket = (Direction == BothDirections
    [all...]
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/
BresenhamYUpGridTracer.java 53 protected Direction stepDirection = Direction.None;
56 public static enum Direction {
75 // simplify access to direction
76 Vector3f direction = this.walkRay.getDirection(); local
84 Vector3f ooDirection = new Vector3f(1.0f / direction.x, 1,1.0f / direction.z);
86 // Check which direction on the X world axis we are moving.
87 if (direction.x > TOLERANCE) {
91 } else if (direction.x < -TOLERANCE)
    [all...]
  /external/aac/libAACdec/src/
aacdec_tns.h 110 SCHAR Direction;
  /frameworks/base/graphics/java/android/graphics/drawable/shapes/
RoundRectShape.java 89 mPath.addRoundRect(r, mOuterRadii, Path.Direction.CW);
91 mPath.addRect(r, Path.Direction.CW);
98 mPath.addRoundRect(mInnerRect, mInnerRadii, Path.Direction.CCW);
100 mPath.addRect(mInnerRect, Path.Direction.CCW);
  /external/webkit/Source/WebCore/storage/
IDBCursorBackendImpl.h 51 static PassRefPtr<IDBCursorBackendImpl> create(PassRefPtr<IDBBackingStore::Cursor> cursor, IDBCursor::Direction direction, CursorType cursorType, IDBTransactionBackendInterface* transaction, IDBObjectStoreBackendInterface* objectStore)
53 return adoptRef(new IDBCursorBackendImpl(cursor, direction, cursorType, transaction, objectStore));
57 virtual unsigned short direction() const;
66 IDBCursorBackendImpl(PassRefPtr<IDBBackingStore::Cursor>, IDBCursor::Direction, CursorType, IDBTransactionBackendInterface*, IDBObjectStoreBackendInterface*);
71 IDBCursor::Direction m_direction;
  /external/jmonkeyengine/engine/src/core/com/jme3/cinematic/events/
MotionTrack.java 54 * A MotionTrack is a control over the spatial that manage the position and direction of the spatial while following a motion Path
65 protected Vector3f direction = new Vector3f(); field in class:MotionTrack
69 protected Direction directionType = Direction.None;
78 * Enum for the different type of target direction behavior
80 public enum Direction {
83 * the target stay in the starting direction
87 * The target rotates with the direction of the path
91 * The target rotates with the direction of the path but with the additon of a rtotation
92 * you need to use the setRotation mathod when using this Direction
    [all...]
  /external/skia/include/core/
SkPath.h 505 enum Direction {
506 /** Direction either has not been or could not be computed */
508 /** clockwise direction for adding closed contours */
510 /** counter-clockwise direction for adding closed contours */
515 * Return the opposite of the specified direction. kUnknown is its own
518 static Direction OppositeDirection(Direction dir) {
519 static const Direction gOppositeDir[] = {
558 * Tries to quickly compute the direction of the first non-degenerate
560 * direction. If it cannot be (quickly) determined, return false and ignor
    [all...]
  /external/webkit/Source/WebCore/rendering/
BidiRun.h 37 BidiRun(int start, int stop, RenderObject* object, BidiContext* context, WTF::Unicode::Direction dir)
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
PathFillTypes.java 46 mPath.addCircle(40, 40, 45, Path.Direction.CCW);
47 mPath.addCircle(80, 80, 45, Path.Direction.CCW);
  /external/webkit/Source/WebCore/platform/audio/
FFTFrame.h 130 enum Direction {
146 static fftwf_plan fftwPlanForSize(unsigned fftSize, Direction,
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
SmallCircleActivity.java 55 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);
  /external/skia/legacy/include/core/
SkPath.h 449 enum Direction {
450 /** clockwise direction for adding closed contours */
452 /** counter-clockwise direction for adding closed contours */
457 * Tries to quickly compute the direction of the first non-degenerate
459 * direction. If it cannot be (quickly) determined, return false and ignore
462 bool cheapComputeDirection(Direction* dir) const;
465 * Returns true if the path's direction can be computed via
466 * cheapComputDirection() and if that computed direction matches the
467 * specified direction.
469 bool cheapIsDirection(Direction dir) const
    [all...]

Completed in 551 milliseconds

1 2 3 4 5 6