Home
last modified time | relevance | path

Searched refs:direction (Results 1 – 25 of 809) sorted by relevance

12345678910>>...33

/external/icu/icu4c/source/data/translit/
Droot.txt27 direction {"FORWARD"}
34 direction {"FORWARD"}
40 direction {"REVERSE"}
47 direction {"FORWARD"}
53 direction {"REVERSE"}
60 direction {"FORWARD"}
66 direction {"REVERSE"}
73 direction {"FORWARD"}
80 direction {"FORWARD"}
87 direction {"FORWARD"}
[all …]
/external/ImageMagick/MagickCore/
Dfeature.c628 direction[4]; /* horizontal, vertical, left and right diagonals */ in GetImageFeatures() member
950 cooccurrence[u][v].direction[i].red++; in GetImageFeatures()
951 cooccurrence[v][u].direction[i].red++; in GetImageFeatures()
958 cooccurrence[u][v].direction[i].green++; in GetImageFeatures()
959 cooccurrence[v][u].direction[i].green++; in GetImageFeatures()
966 cooccurrence[u][v].direction[i].blue++; in GetImageFeatures()
967 cooccurrence[v][u].direction[i].blue++; in GetImageFeatures()
976 cooccurrence[u][v].direction[i].black++; in GetImageFeatures()
977 cooccurrence[v][u].direction[i].black++; in GetImageFeatures()
987 cooccurrence[u][v].direction[i].alpha++; in GetImageFeatures()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/environment/
DDirectionalLight.java23 public final Vector3 direction = new Vector3(); field in DirectionalLight
26 this.direction.set(directionX, directionY, directionZ); in setDirection()
30 public DirectionalLight setDirection(Vector3 direction) { in setDirection() argument
31 this.direction.set(direction); in setDirection()
36 return set(copyFrom.color, copyFrom.direction); in set()
39 public DirectionalLight set (final Color color, final Vector3 direction) { in set() argument
41 if (direction != null) this.direction.set(direction).nor(); in set()
45 …public DirectionalLight set (final float r, final float g, final float b, final Vector3 direction)… in set() argument
47 if (direction != null) this.direction.set(direction).nor(); in set()
53 this.direction.set(dirX, dirY, dirZ).nor(); in set()
[all …]
DSpotLight.java27 public final Vector3 direction = new Vector3(); field in SpotLight
43 this.direction.set(directionX, directionY, directionZ); in setDirection()
47 public SpotLight setDirection(Vector3 direction) { in setDirection() argument
48 this.direction.set(direction); in setDirection()
68 …return set(copyFrom.color, copyFrom.position, copyFrom.direction, copyFrom.intensity, copyFrom.cut… in set()
71 …public SpotLight set (final Color color, final Vector3 position, final Vector3 direction, final fl… in set() argument
75 if (direction != null) this.direction.set(direction).nor(); in set()
82 … set (final float r, final float g, final float b, final Vector3 position, final Vector3 direction, in set() argument
86 if (direction != null) this.direction.set(direction).nor(); in set()
97 this.direction.set(dirX, dirY, dirZ).nor(); in set()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/math/collision/
DRay.java30 public final Vector3 direction = new Vector3(); field in Ray
38 public Ray (Vector3 origin, Vector3 direction) { in Ray() argument
40 this.direction.set(direction).nor(); in Ray()
45 return new Ray(this.origin, this.direction); in cpy()
53 return out.set(direction).scl(distance).add(origin); in getEndPoint()
63 tmp.set(origin).add(direction); in mul()
66 direction.set(tmp.sub(origin)); in mul()
72 return "ray [" + origin + ":" + direction + "]"; in toString()
80 public Ray set (Vector3 origin, Vector3 direction) { in set() argument
82 this.direction.set(direction); in set()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DRay.java63 public Vector3f direction = new Vector3f(0, 0, 1); field in Ray
82 public Ray(Vector3f origin, Vector3f direction) { in Ray() argument
84 setDirection(direction); in Ray()
214 float dirDotNorm = direction.dot(norm); in intersects()
227 float dirDotDiffxEdge2 = sign * direction.dot(diff.cross(edge2, edge2)); in intersects()
230 * direction.dot(edge1.crossLocal(diff)); in intersects()
249 store.set(origin).addLocal(direction.x * t, in intersects()
250 direction.y * t, direction.z * t); in intersects()
284 float dirDotNorm = direction.x * normX + direction.y * normY + direction.z * normZ; in intersects()
305 float dirDotDiffxEdge2 = sign * (direction.x * diffEdge2X in intersects()
[all …]
DLine.java52 private Vector3f direction; field in Line
61 direction = new Vector3f(); in Line()
70 public Line(Vector3f origin, Vector3f direction) { in Line() argument
72 this.direction = direction; in Line()
99 return direction; in getDirection()
107 public void setDirection(Vector3f direction) { in setDirection() argument
108 this.direction = direction; in setDirection()
118 float lineParameter = direction.dot(compVec1); in distanceSquared()
119 origin.add(direction.mult(lineParameter, compVec2), compVec2); in distanceSquared()
183 direction = compEigen1.getEigenVector(0); in orthogonalLineFit()
[all …]
DLineSegment.java57 private Vector3f direction; field in LineSegment
62 direction = new Vector3f(); in LineSegment()
67 this.direction = new Vector3f(ls.getDirection()); in LineSegment()
75 public LineSegment(Vector3f origin, Vector3f direction, float extent) { in LineSegment() argument
77 this.direction = direction; in LineSegment()
87 this.direction = end.subtract(start); in LineSegment()
88 this.extent = direction.length() * 0.5f; in LineSegment()
89 direction.normalizeLocal(); in LineSegment()
94 this.direction = new Vector3f(ls.getDirection()); in set()
115 float segmentParameter = direction.dot(compVec1); in distanceSquared()
[all …]
/external/tcpdump/
Dprint-usb.c41 int direction; in get_direction() local
43 direction = -1; in get_direction()
51 direction = 2; in get_direction()
55 direction = 1; in get_direction()
58 direction = -1; in get_direction()
65 direction = 1; in get_direction()
69 direction = 2; in get_direction()
72 direction = -1; in get_direction()
76 direction = -1; in get_direction()
79 return direction; in get_direction()
[all …]
/external/autotest/client/site_tests/touch_MouseScroll/
Dtouch_MouseScroll.py48 def _verify_single_tick(self, direction, scroll_vertical=True): argument
58 name = direction + '_1'
59 expected_direction = self._EXPECTED_DIRECTION[direction]
69 def _verify_fast_vs_slow(self, direction, scroll_vertical=True): argument
80 slow = direction + '_slow'
81 fast = direction + '_fast'
82 expected = self._EXPECTED_DIRECTION[direction]
89 (direction, slow_delta, fast_delta))
116 for direction in ['down', 'up']:
117 self._verify_single_tick(direction)
[all …]
/external/icu/icu4c/source/layout/
DGlyphIterator.cpp20 : direction(1), position(-1), nextLimit(-1), prevLimit(-1), in GlyphIterator()
39 direction = -1; in GlyphIterator()
50 direction = that.direction; in GlyphIterator()
69 direction = that.direction; in GlyphIterator()
88 direction = that.direction; in GlyphIterator()
127 if (direction < 0) { in applyInsertions()
143 return direction < 0; in isRightToLeft()
158 if (direction < 0) { in getCurrGlyphID()
173 if (direction < 0) { in getCursiveEntryPoint()
188 if (direction < 0) { in getCursiveExitPoint()
[all …]
/external/droiddriver/src/io/appium/droiddriver/actions/
DSwipeAction.java77 public static SwipeAction toScroll(PhysicalDirection direction) { in toScroll() argument
78 return new SwipeAction(direction, scrollSteps); in toScroll()
93 public static SwipeAction toFling(PhysicalDirection direction) { in toFling() argument
94 return new SwipeAction(direction, flingSteps); in toFling()
97 private final PhysicalDirection direction; field in SwipeAction
108 public SwipeAction(PhysicalDirection direction, int steps) { in SwipeAction() argument
109 this(direction, steps, false, 1000L); in SwipeAction()
115 public SwipeAction(PhysicalDirection direction, int steps, boolean drag, long timeoutMillis) { in SwipeAction() argument
116 this(direction, steps, drag, timeoutMillis, 0.1F, 0.1F, 0.1F, 0.1F); in SwipeAction()
131 public SwipeAction(PhysicalDirection direction, int steps, boolean drag, long timeoutMillis, in SwipeAction() argument
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
DSemiVariance.java109 public SemiVariance(final Direction direction) { in SemiVariance() argument
110 this.varianceDirection = direction; in SemiVariance()
125 public SemiVariance(final boolean corrected, final Direction direction) { in SemiVariance() argument
127 this.varianceDirection = direction; in SemiVariance()
217 public double evaluate(final double[] values, Direction direction) { in evaluate() argument
219 return evaluate (values, m, direction, biasCorrected, 0, values.length); in evaluate()
251 … public double evaluate(final double[] values, final double cutoff, final Direction direction) { in evaluate() argument
252 return evaluate(values, cutoff, direction, biasCorrected, 0, values.length); in evaluate()
273 public double evaluate (final double[] values, final double cutoff, final Direction direction, in evaluate() argument
283 final boolean booleanDirection = direction.getDirection(); in evaluate()
[all …]
/external/droiddriver/src/io/appium/droiddriver/scroll/
DAccessibilityEventScrollStepStrategy.java58 public boolean match(Finder containerFinder, PhysicalDirection direction) { in match() argument
59 return containerFinderAtEnd == containerFinder && directionAtEnd == direction; in match()
62 public void set(Finder containerFinder, PhysicalDirection direction) { in set() argument
64 directionAtEnd = direction; in set()
112 final PhysicalDirection direction) { in scroll() argument
114 if (endData.match(containerFinder, direction)) { in scroll()
118 AccessibilityEvent event = doScrollAndReturnEvent(driver.on(containerFinder), direction); in scroll()
119 if (detectEnd(event, direction.axis())) { in scroll()
120 endData.set(containerFinder, direction); in scroll()
164 PhysicalDirection direction) { in beginScrolling() argument
[all …]
DForwardingScrollStepStrategy.java39 public boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction) { in scroll() argument
40 return delegate().scroll(driver, containerFinder, direction); in scroll()
50 PhysicalDirection direction) { in beginScrolling() argument
51 delegate().beginScrolling(driver, containerFinder, itemFinder, direction); in beginScrolling()
56 PhysicalDirection direction) { in endScrolling() argument
57 delegate().endScrolling(driver, containerFinder, itemFinder, direction); in endScrolling()
61 public void doScroll(UiElement container, PhysicalDirection direction) { in doScroll() argument
62 delegate().doScroll(container, direction); in doScroll()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/utils/
DBoundingSphereDirectionalAnalyzer.java48 tmpV2.set(light.direction); in analyze()
52 out.direction.set(light.direction); in analyze()
60 Vector3 d = light.direction; in analyze()
62 out.up.set(-light.direction.y, light.direction.x, light.direction.z); in analyze()
64 out.up.set(light.direction.x, -light.direction.z, light.direction.y); in analyze()
/external/droiddriver/src/io/appium/droiddriver/actions/accessibility/
DAccessibilityScrollAction.java32 private final PhysicalDirection direction; field in AccessibilityScrollAction
34 public AccessibilityScrollAction(PhysicalDirection direction) { in AccessibilityScrollAction() argument
35 this(direction, 1000L); in AccessibilityScrollAction()
38 public AccessibilityScrollAction(PhysicalDirection direction, long timeoutMillis) { in AccessibilityScrollAction() argument
40 this.direction = direction; in AccessibilityScrollAction()
49 switch (direction) { in perform()
62 return Strings.toStringHelper(this).addValue(direction).toString(); in toString()
/external/skia/src/opts/
DSkMorphologyImageFilter_opts.h17 template<MorphType type, MorphDirection direction>
20 const int srcStrideX = direction == MorphDirection::kX ? 1 : srcStride; in morph()
21 const int dstStrideX = direction == MorphDirection::kX ? 1 : dstStride; in morph()
22 const int srcStrideY = direction == MorphDirection::kX ? srcStride : 1; in morph()
23 const int dstStrideY = direction == MorphDirection::kX ? dstStride : 1; in morph()
50 template<MorphType type, MorphDirection direction>
53 const int srcStrideX = direction == MorphDirection::kX ? 1 : srcStride; in morph()
54 const int dstStrideX = direction == MorphDirection::kX ? 1 : dstStride; in morph()
55 const int srcStrideY = direction == MorphDirection::kX ? srcStride : 1; in morph()
56 const int dstStrideY = direction == MorphDirection::kX ? dstStride : 1; in morph()
[all …]
/external/eigen/Eigen/src/Eigen2Support/Geometry/
DParametrizedLine.h48 ParametrizedLine(const VectorType& origin, const VectorType& direction) in ParametrizedLine() argument
49 : m_origin(origin), m_direction(direction) {} in ParametrizedLine()
65 const VectorType& direction() const { return m_direction; } in direction() function
66 VectorType& direction() { return m_direction; } in direction() function
74 return (diff - diff.eigen2_dot(direction())* direction()).squaredNorm(); in squaredDistance()
83 { return origin() + (p-origin()).eigen2_dot(direction()) * direction(); } in projection()
105 m_direction = other.direction().template cast<Scalar>(); in ParametrizedLine()
128 direction() = hyperplane.normal().unitOrthogonal(); in ParametrizedLine()
138 /(direction().eigen2_dot(hyperplane.normal())); in intersection()
/external/v8/src/heap/
Dremembered-set.cc16 template <PointerDirection direction>
17 void RememberedSet<direction>::ClearInvalidSlots(Heap* heap) { in ClearInvalidSlots()
18 STATIC_ASSERT(direction == OLD_TO_NEW); in ClearInvalidSlots()
30 template <PointerDirection direction>
31 void RememberedSet<direction>::VerifyValidSlots(Heap* heap) { in VerifyValidSlots()
40 CHECK_NE(direction, OLD_TO_OLD); in VerifyValidSlots()
53 template <PointerDirection direction>
54 bool RememberedSet<direction>::IsValidSlot(Heap* heap, MemoryChunk* chunk, in IsValidSlot()
56 STATIC_ASSERT(direction == OLD_TO_NEW); in IsValidSlot()
/external/eigen/Eigen/src/Geometry/
DParametrizedLine.h48 : m_origin(other.origin()), m_direction(other.direction()) in ParametrizedLine()
58 ParametrizedLine(const VectorType& origin, const VectorType& direction) in ParametrizedLine() argument
59 : m_origin(origin), m_direction(direction) {} in ParametrizedLine()
76 const VectorType& direction() const { return m_direction; } in direction() function
77 VectorType& direction() { return m_direction; } in direction() function
85 return (diff - direction().dot(diff) * direction()).squaredNorm(); in squaredDistance()
94 { return origin() + direction().dot(p-origin()) * direction(); } in projection()
125 m_direction = other.direction().template cast<Scalar>(); in ParametrizedLine()
149 direction() = hyperplane.normal().unitOrthogonal(); in ParametrizedLine()
159 return origin() + (direction()*t); in pointAt()
[all …]
/external/autotest/server/site_tests/firmware_PDDataSwap/
Dfirmware_PDDataSwap.py163 def _attempt_data_swap(self, pd_port, direction): argument
185 self.swap_attempt[(direction, dut_dr)] += 1
186 if direction == 'tx':
203 direction, dut_dr, swap_dr, ctrl)
206 self.swap_failure[(direction, dut_dr)] += 1
225 direction = 'tx'
227 direction = 'rx'
228 ctrl_msg = self._attempt_data_swap(pd_port, direction)
229 if (direction == 'rx' and
340 for direction, role in self.swap_attempt.iterkeys():
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-layout-gdef-table.hh100 …inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t gl… in get_caret_value()
102 …return HB_DIRECTION_IS_HORIZONTAL (direction) ? font->em_scale_x (coordinate) : font->em_scale_y (… in get_caret_value()
123 …inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t gl… in get_caret_value()
126 if (font->get_glyph_contour_point_for_origin (glyph_id, caretValuePoint, direction, &x, &y)) in get_caret_value()
127 return HB_DIRECTION_IS_HORIZONTAL (direction) ? x : y; in get_caret_value()
149 …inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t gl… in get_caret_value()
151 return HB_DIRECTION_IS_HORIZONTAL (direction) ? in get_caret_value()
175 …inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t gl… in get_caret_value()
178 case 1: return u.format1.get_caret_value (font, direction, glyph_id); in get_caret_value()
179 case 2: return u.format2.get_caret_value (font, direction, glyph_id); in get_caret_value()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DNamePrepTransform.java128 int direction=UCharacterDirection.CHAR_DIRECTION_COUNT, in prepare() local
142 direction = UCharacter.getDirection(ch); in prepare()
144 firstCharDir = direction; in prepare()
146 if(direction == UCharacterDirection.LEFT_TO_RIGHT){ in prepare()
150 …if(direction == UCharacterDirection.RIGHT_TO_LEFT || direction == UCharacterDirection.RIGHT_TO_LEF… in prepare()
165 …(direction == UCharacterDirection.RIGHT_TO_LEFT || direction == UCharacterDirection.RIGHT_TO_LEFT_… in prepare()
180 MapTransform(String id, String rule, int direction) { in MapTransform() argument
181 isReady = initialize(id, rule, direction); in MapTransform()
184 boolean initialize(String id, String rule, int direction) { in initialize() argument
188 translitInstance = createMethod.invoke(null, id, rule, Integer.valueOf(direction)); in initialize()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DNamePrepTransform.java129 int direction=UCharacterDirection.CHAR_DIRECTION_COUNT, in prepare() local
143 direction = UCharacter.getDirection(ch); in prepare()
145 firstCharDir = direction; in prepare()
147 if(direction == UCharacterDirection.LEFT_TO_RIGHT){ in prepare()
151 …if(direction == UCharacterDirection.RIGHT_TO_LEFT || direction == UCharacterDirection.RIGHT_TO_LEF… in prepare()
166 …(direction == UCharacterDirection.RIGHT_TO_LEFT || direction == UCharacterDirection.RIGHT_TO_LEFT_… in prepare()
181 MapTransform(String id, String rule, int direction) { in MapTransform() argument
182 isReady = initialize(id, rule, direction); in MapTransform()
185 boolean initialize(String id, String rule, int direction) { in initialize() argument
189 translitInstance = createMethod.invoke(null, id, rule, Integer.valueOf(direction)); in initialize()

12345678910>>...33