Home
last modified time | relevance | path

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

12345678

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java23 import com.ibm.icu.text.RelativeDateTimeFormatter.Direction;
34 {0.0, Direction.NEXT, RelativeUnit.SECONDS, "in 0 seconds"}, in TestRelativeDateWithQuantity()
35 {0.5, Direction.NEXT, RelativeUnit.SECONDS, "in 0.5 seconds"}, in TestRelativeDateWithQuantity()
36 {1.0, Direction.NEXT, RelativeUnit.SECONDS, "in 1 second"}, in TestRelativeDateWithQuantity()
37 {2.0, Direction.NEXT, RelativeUnit.SECONDS, "in 2 seconds"}, in TestRelativeDateWithQuantity()
38 {0.0, Direction.NEXT, RelativeUnit.MINUTES, "in 0 minutes"}, in TestRelativeDateWithQuantity()
39 {0.5, Direction.NEXT, RelativeUnit.MINUTES, "in 0.5 minutes"}, in TestRelativeDateWithQuantity()
40 {1.0, Direction.NEXT, RelativeUnit.MINUTES, "in 1 minute"}, in TestRelativeDateWithQuantity()
41 {2.0, Direction.NEXT, RelativeUnit.MINUTES, "in 2 minutes"}, in TestRelativeDateWithQuantity()
42 {0.0, Direction.NEXT, RelativeUnit.HOURS, "in 0 hours"}, in TestRelativeDateWithQuantity()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java24 import android.icu.text.RelativeDateTimeFormatter.Direction;
37 {0.0, Direction.NEXT, RelativeUnit.SECONDS, "in 0 seconds"}, in TestRelativeDateWithQuantity()
38 {0.5, Direction.NEXT, RelativeUnit.SECONDS, "in 0.5 seconds"}, in TestRelativeDateWithQuantity()
39 {1.0, Direction.NEXT, RelativeUnit.SECONDS, "in 1 second"}, in TestRelativeDateWithQuantity()
40 {2.0, Direction.NEXT, RelativeUnit.SECONDS, "in 2 seconds"}, in TestRelativeDateWithQuantity()
41 {0.0, Direction.NEXT, RelativeUnit.MINUTES, "in 0 minutes"}, in TestRelativeDateWithQuantity()
42 {0.5, Direction.NEXT, RelativeUnit.MINUTES, "in 0.5 minutes"}, in TestRelativeDateWithQuantity()
43 {1.0, Direction.NEXT, RelativeUnit.MINUTES, "in 1 minute"}, in TestRelativeDateWithQuantity()
44 {2.0, Direction.NEXT, RelativeUnit.MINUTES, "in 2 minutes"}, in TestRelativeDateWithQuantity()
45 {0.0, Direction.NEXT, RelativeUnit.HOURS, "in 0 hours"}, in TestRelativeDateWithQuantity()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
DSemiVariance.java60 public static final Direction UPSIDE_VARIANCE = Direction.UPSIDE;
66 public static final Direction DOWNSIDE_VARIANCE = Direction.DOWNSIDE;
80 private Direction varianceDirection = Direction.DOWNSIDE;
109 public SemiVariance(final Direction direction) { in SemiVariance()
125 public SemiVariance(final boolean corrected, final Direction direction) { in SemiVariance()
217 public double evaluate(final double[] values, Direction direction) { in evaluate()
251 … public double evaluate(final double[] values, final double cutoff, final Direction direction) { in evaluate()
273 public double evaluate (final double[] values, final double cutoff, final Direction direction, in evaluate()
326 public Direction getVarianceDirection () { in getVarianceDirection()
335 public void setVarianceDirection(Direction varianceDirection) { in setVarianceDirection()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java255 public static enum Direction { enum in RelativeDateTimeFormatter
498 public String format(double quantity, Direction direction, RelativeUnit unit) { in format()
499 if (direction != Direction.LAST && direction != Direction.NEXT) { in format()
503 int pastFutureIndex = (direction == Direction.NEXT ? 1 : 0); in format()
555 Direction direction = Direction.NEXT; in formatNumeric()
557 direction = Direction.LAST; in formatNumeric()
579 public String format(Direction direction, AbsoluteUnit unit) { in format()
580 if (unit == AbsoluteUnit.NOW && direction != Direction.PLAIN) { in format()
585 if ((direction == Direction.PLAIN) && (AbsoluteUnit.SUNDAY.ordinal() <= unit.ordinal() && in format()
623 Direction direction = Direction.THIS; in format()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java228 public static enum Direction { enum in RelativeDateTimeFormatter
442 public String format(double quantity, Direction direction, RelativeUnit unit) { in format()
443 if (direction != Direction.LAST && direction != Direction.NEXT) { in format()
447 int pastFutureIndex = (direction == Direction.NEXT ? 1 : 0); in format()
498 Direction direction = Direction.NEXT; in formatNumeric()
500 direction = Direction.LAST; in formatNumeric()
521 public String format(Direction direction, AbsoluteUnit unit) { in format()
522 if (unit == AbsoluteUnit.NOW && direction != Direction.PLAIN) { in format()
527 if ((direction == Direction.PLAIN) && (AbsoluteUnit.SUNDAY.ordinal() <= unit.ordinal() && in format()
564 Direction direction = Direction.THIS; in format()
[all …]
/external/eigen/Eigen/src/Core/
DReverse.h19 template<typename MatrixType, int Direction>
20 struct traits<Reverse<MatrixType, Direction> >
63 template<typename MatrixType, int Direction> class Reverse
64 : public internal::dense_xpr_base< Reverse<MatrixType, Direction> >::type
77 ReverseRow = (Direction == Vertical) || (Direction == BothDirections),
78 ReverseCol = (Direction == Horizontal) || (Direction == BothDirections),
81 ReversePacket = (Direction == BothDirections)
82 || ((Direction == Vertical) && IsColMajor)
83 || ((Direction == Horizontal) && IsRowMajor)
165 template<int Direction>
[all …]
DVectorwiseOp.h32 template< typename MatrixType, typename MemberOp, int Direction>
36 template<typename MatrixType, typename MemberOp, int Direction>
37 struct traits<PartialReduxExpr<MatrixType, MemberOp, Direction> >
45 RowsAtCompileTime = Direction==Vertical ? 1 : MatrixType::RowsAtCompileTime,
46 ColsAtCompileTime = Direction==Horizontal ? 1 : MatrixType::ColsAtCompileTime,
47 MaxRowsAtCompileTime = Direction==Vertical ? 1 : MatrixType::MaxRowsAtCompileTime,
48 MaxColsAtCompileTime = Direction==Horizontal ? 1 : MatrixType::MaxColsAtCompileTime,
50 …TraversalSize = Direction==Vertical ? MatrixType::RowsAtCompileTime : MatrixType::ColsAtCompileTi…
55 template< typename MatrixType, typename MemberOp, int Direction>
56 …xExpr : public internal::dense_xpr_base< PartialReduxExpr<MatrixType, MemberOp, Direction> >::type,
[all …]
DReplicate.h132 template<typename ExpressionType, int Direction>
133 const typename VectorwiseOp<ExpressionType,Direction>::ReplicateReturnType
134 VectorwiseOp<ExpressionType,Direction>::replicate(Index factor) const
136 return typename VectorwiseOp<ExpressionType,Direction>::ReplicateReturnType
137 (_expression(),Direction==Vertical?factor:1,Direction==Horizontal?factor:1);
/external/clang/test/Index/
Doverriding-method-comments.mm22 …><Parameters><Parameter><Name>AAA</Name><Index>0</Index><Direction isExplicit="1">in</Direction><D…
31 …><Parameters><Parameter><Name>BBB</Name><Index>0</Index><Direction isExplicit="1">in</Direction><D…
37 …><Parameters><Parameter><Name>III</Name><Index>0</Index><Direction isExplicit="1">in</Direction><D…
51Direction isExplicit="1">in</Direction><Discussion><Para> input value </Para></Discussion></Parame…
57Direction isExplicit="1">in</Direction><Discussion><Para> input value </Para></Discussion></Parame…
64 …><Parameters><Parameter><Name>AAA</Name><Index>0</Index><Direction isExplicit="0">in</Direction><D…
70 …><Parameters><Parameter><Name>BBB</Name><Index>0</Index><Direction isExplicit="0">in</Direction><D…
76 …><Parameters><Parameter><Name>CCC</Name><Index>0</Index><Direction isExplicit="0">in</Direction><D…
81 …><Parameters><Parameter><Name>RRR</Name><Index>0</Index><Direction isExplicit="0">in</Direction><D…
86 …><Parameters><Parameter><Name>PPP</Name><Index>0</Index><Direction isExplicit="0">in</Direction><D…
[all …]
/external/eigen/Eigen/src/Geometry/
DHomogeneous.h32 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 …EIGEN_DEVICE_FUNC inline Index rows() const { return m_matrix.rows() + (int(Direction)==Vertical …
76 …EIGEN_DEVICE_FUNC inline Index cols() const { return m_matrix.cols() + (int(Direction)==Horizontal…
84 eigen_assert(int(Direction)==Horizontal);
92 eigen_assert(int(Direction)==Vertical);
100 eigen_assert(int(Direction)==Vertical);
[all …]
/external/v8/benchmarks/
Ddeltablue.js332 var Direction = new Object(); variable
333 Direction.NONE = 0;
334 Direction.FORWARD = 1;
335 Direction.BACKWARD = -1;
345 this.direction = Direction.NONE;
359 ? Direction.FORWARD
360 : Direction.NONE;
364 ? Direction.BACKWARD
365 : Direction.NONE;
369 ? Direction.BACKWARD
[all …]
/external/skia/gm/
Dpathcontourstart.cpp50 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
56 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
62 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
72 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
81 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
100 SkPath (*makePath)(const SkRect&, SkPath::Direction, unsigned)) const { in drawDirs() argument
107 void drawOneColumn(SkCanvas* canvas, SkPath::Direction dir, in drawOneColumn() argument
108 SkPath (*makePath)(const SkRect&, SkPath::Direction, unsigned)) const { in drawOneColumn()
/external/skqp/gm/
Dpathcontourstart.cpp50 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
56 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
62 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
72 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
81 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw()
100 SkPath (*makePath)(const SkRect&, SkPath::Direction, unsigned)) const { in drawDirs() argument
107 void drawOneColumn(SkCanvas* canvas, SkPath::Direction dir, in drawOneColumn() argument
108 SkPath (*makePath)(const SkRect&, SkPath::Direction, unsigned)) const { in drawOneColumn()
/external/skqp/include/core/
DSkPath.h53 enum Direction { enum
300 bool isOval(SkRect* rect, Direction* dir = nullptr,
328 bool isRRect(SkRRect* rrect, Direction* dir = nullptr,
906 Direction sweep, SkScalar x, SkScalar y);
928 void arcTo(const SkPoint r, SkScalar xAxisRotate, ArcSize largeArc, Direction sweep, in arcTo()
959 Direction sweep, SkScalar dx, SkScalar dy);
1041 bool isRect(SkRect* rect, bool* isClosed = nullptr, Direction* direction = nullptr) const;
1054 bool isNestedFillRects(SkRect rect[2], Direction dirs[2] = nullptr) const;
1064 void addRect(const SkRect& rect, Direction dir = kCW_Direction);
1075 void addRect(const SkRect& rect, Direction dir, unsigned start);
[all …]
/external/skqp/src/core/
DSkColorFilter.cpp212 enum class Direction { enum in SkSRGBGammaColorFilter
216 SkSRGBGammaColorFilter(Direction dir) : fDir(dir) {} in SkSRGBGammaColorFilter()
224 case Direction::kLinearToSRGB: in asFragmentProcessor()
226 case Direction::kSRGBToLinear: in asFragmentProcessor()
243 case Direction::kLinearToSRGB: in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS()
246 case Direction::kSRGBToLinear: in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS()
261 const Direction fDir;
270 return sk_sp<SkFlattenable>(new SkSRGBGammaColorFilter(static_cast<Direction>(dir))); in CreateProc()
282 template <SkSRGBGammaColorFilter::Direction dir>
289 return MakeSRGBGammaCF<SkSRGBGammaColorFilter::Direction::kLinearToSRGB>(); in MakeLinearToSRGBGamma()
[all …]
/external/skia/src/core/
DSkColorFilter.cpp209 enum class Direction { enum in SkSRGBGammaColorFilter
213 SkSRGBGammaColorFilter(Direction dir) : fDir(dir) {} in SkSRGBGammaColorFilter()
221 case Direction::kLinearToSRGB: in asFragmentProcessor()
223 case Direction::kSRGBToLinear: in asFragmentProcessor()
240 case Direction::kLinearToSRGB: in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS()
243 case Direction::kSRGBToLinear: in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS()
258 const Direction fDir;
267 return sk_sp<SkFlattenable>(new SkSRGBGammaColorFilter(static_cast<Direction>(dir))); in CreateProc()
279 template <SkSRGBGammaColorFilter::Direction dir>
286 return MakeSRGBGammaCF<SkSRGBGammaColorFilter::Direction::kLinearToSRGB>(); in MakeLinearToSRGBGamma()
[all …]
/external/skia/include/core/
DSkPath.h53 enum Direction { enum
864 Direction sweep, SkScalar x, SkScalar y);
886 void arcTo(const SkPoint r, SkScalar xAxisRotate, ArcSize largeArc, Direction sweep, in arcTo()
917 Direction sweep, SkScalar dx, SkScalar dy);
999 bool isRect(SkRect* rect, bool* isClosed = nullptr, Direction* direction = nullptr) const;
1012 bool isNestedFillRects(SkRect rect[2], Direction dirs[2] = nullptr) const;
1022 void addRect(const SkRect& rect, Direction dir = kCW_Direction);
1033 void addRect(const SkRect& rect, Direction dir, unsigned start);
1048 Direction dir = kCW_Direction);
1060 void addOval(const SkRect& oval, Direction dir = kCW_Direction);
[all …]
/external/skia/src/gpu/effects/
DGrGaussianConvolutionFragmentProcessor.cpp20 using Direction = GrGaussianConvolutionFragmentProcessor::Direction; typedef
85 const char* component = ce.direction() == Direction::kY ? "y" : "x"; in emitCode()
130 case Direction::kX: in onSetData()
133 case Direction::kY: in onSetData()
148 if (Direction::kX == conv.direction()) { in onSetData()
173 key |= Direction::kY == conv.direction() ? 0x4 : 0x0; in GenKey()
199 Direction direction, in GrGaussianConvolutionFragmentProcessor()
266 Direction dir; in TestCreate()
268 dir = Direction::kX; in TestCreate()
272 dir = Direction::kY; in TestCreate()
DGrGaussianConvolutionFragmentProcessor.h22 enum class Direction { kX, kY }; enum
26 Direction dir, in Make()
41 Direction direction() const { return fDirection; } in direction()
63 GrGaussianConvolutionFragmentProcessor(sk_sp<GrTextureProxy>, Direction,
84 Direction fDirection;
/external/skqp/src/gpu/effects/
DGrGaussianConvolutionFragmentProcessor.cpp20 using Direction = GrGaussianConvolutionFragmentProcessor::Direction; typedef
85 const char* component = ce.direction() == Direction::kY ? "y" : "x"; in emitCode()
130 case Direction::kX: in onSetData()
133 case Direction::kY: in onSetData()
148 if (Direction::kX == conv.direction()) { in onSetData()
173 key |= Direction::kY == conv.direction() ? 0x4 : 0x0; in GenKey()
199 Direction direction, in GrGaussianConvolutionFragmentProcessor()
266 Direction dir; in TestCreate()
268 dir = Direction::kX; in TestCreate()
272 dir = Direction::kY; in TestCreate()
DGrGaussianConvolutionFragmentProcessor.h22 enum class Direction { kX, kY }; enum
26 Direction dir, in Make()
41 Direction direction() const { return fDirection; } in direction()
63 GrGaussianConvolutionFragmentProcessor(sk_sp<GrTextureProxy>, Direction,
84 Direction fDirection;
/external/pdfium/core/fxcrt/
Dfx_bidi.h23 enum Direction { NEUTRAL, LEFT, RIGHT }; enum
27 Direction direction; // Segment direction.
47 void StartNewSegment(CFX_BidiChar::Direction direction);
61 CFX_BidiChar::Direction OverallDirection() const { in OverallDirection()
76 CFX_BidiChar::Direction m_eOverallDirection;
/external/droiddriver/src/io/appium/droiddriver/scroll/
DDirection.java18 import static io.appium.droiddriver.scroll.Direction.PhysicalDirection.DOWN;
19 import static io.appium.droiddriver.scroll.Direction.PhysicalDirection.LEFT;
20 import static io.appium.droiddriver.scroll.Direction.PhysicalDirection.RIGHT;
21 import static io.appium.droiddriver.scroll.Direction.PhysicalDirection.UP;
26 public class Direction { class
192 private Direction() {} in Direction() method in Direction
/external/skqp/src/effects/
DSkMorphologyImageFilter.cpp143 enum class Direction { kX, kY }; enum in GrMorphologyEffect
146 static std::unique_ptr<GrFragmentProcessor> Make(sk_sp<GrTextureProxy> proxy, Direction dir, in Make()
152 static std::unique_ptr<GrFragmentProcessor> Make(sk_sp<GrTextureProxy> proxy, Direction dir, in Make()
161 Direction direction() const { return fDirection; } in direction()
174 Direction fDirection;
186 GrMorphologyEffect(sk_sp<GrTextureProxy>, Direction, int radius, Type, const float range[2]);
241 case GrMorphologyEffect::Direction::kX: in emitCode()
244 case GrMorphologyEffect::Direction::kY: in emitCode()
299 case GrMorphologyEffect::Direction::kX: in onSetData()
302 case GrMorphologyEffect::Direction::kY: in onSetData()
[all …]
/external/skia/src/effects/
DSkMorphologyImageFilter.cpp143 enum class Direction { kX, kY }; enum in GrMorphologyEffect
146 static std::unique_ptr<GrFragmentProcessor> Make(sk_sp<GrTextureProxy> proxy, Direction dir, in Make()
152 static std::unique_ptr<GrFragmentProcessor> Make(sk_sp<GrTextureProxy> proxy, Direction dir, in Make()
161 Direction direction() const { return fDirection; } in direction()
174 Direction fDirection;
186 GrMorphologyEffect(sk_sp<GrTextureProxy>, Direction, int radius, Type, const float range[2]);
241 case GrMorphologyEffect::Direction::kX: in emitCode()
244 case GrMorphologyEffect::Direction::kY: in emitCode()
299 case GrMorphologyEffect::Direction::kX: in onSetData()
302 case GrMorphologyEffect::Direction::kY: in onSetData()
[all …]

12345678