Searched refs:direction (Results 1 - 25 of 290) sorted by relevance

1234567891011>>

/external/libpcap/pcap/
H A Dbluetooth.h44 u_int32_t direction; /* if first bit is set direction is incoming */ member in struct:_pcap_bluetooth_h4_header
/external/tcpdump/
H A Dprint-usb.c38 /* returns direction: 1=inbound 2=outbound -1=invalid */
42 int direction; local
44 direction = -1;
52 direction = 2;
56 direction = 1;
59 direction = -1;
66 direction = 1;
70 direction = 2;
73 direction = -1;
77 direction
86 int direction; local
[all...]
/external/droiddriver/src/io/appium/droiddriver/actions/accessibility/
H A DAccessibilityScrollAction.java32 private final PhysicalDirection direction; field in class:AccessibilityScrollAction
34 public AccessibilityScrollAction(PhysicalDirection direction) { argument
35 this(direction, 1000L);
38 public AccessibilityScrollAction(PhysicalDirection direction, long timeoutMillis) { argument
40 this.direction = direction;
49 switch (direction) {
62 return Strings.toStringHelper(this).addValue(direction).toString();
/external/droiddriver/src/io/appium/droiddriver/scroll/
H A DForwardingScrollStepStrategy.java39 public boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction) { argument
40 return delegate().scroll(driver, containerFinder, direction);
50 PhysicalDirection direction) {
51 delegate().beginScrolling(driver, containerFinder, itemFinder, direction);
56 PhysicalDirection direction) {
57 delegate().endScrolling(driver, containerFinder, itemFinder, direction);
61 public void doScroll(UiElement container, PhysicalDirection direction) { argument
62 delegate().doScroll(container, direction);
49 beginScrolling(DroidDriver driver, Finder containerFinder, Finder itemFinder, PhysicalDirection direction) argument
55 endScrolling(DroidDriver driver, Finder containerFinder, Finder itemFinder, PhysicalDirection direction) argument
H A DScrollStepStrategy.java29 * Tries to scroll {@code containerFinder} in {@code direction}. Returns whether scrolling is
34 * @param direction specifies where the view port will move instead of the finger
37 boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction); argument
51 * @param direction specifies where the view port will move instead of the finger
54 PhysicalDirection direction);
63 * @param direction specifies where the view port will move instead of the finger
66 PhysicalDirection direction);
73 * @param direction specifies where the view port will move instead of the finger
75 void doScroll(UiElement container, PhysicalDirection direction); argument
53 beginScrolling(DroidDriver driver, Finder containerFinder, Finder itemFinder, PhysicalDirection direction) argument
65 endScrolling(DroidDriver driver, Finder containerFinder, Finder itemFinder, PhysicalDirection direction) argument
H A DAccessibilityEventScrollStepStrategy.java58 public boolean match(Finder containerFinder, PhysicalDirection direction) { argument
59 return containerFinderAtEnd == containerFinder && directionAtEnd == direction;
62 public void set(Finder containerFinder, PhysicalDirection direction) { argument
64 directionAtEnd = direction;
112 final PhysicalDirection direction) {
114 if (endData.match(containerFinder, direction)) {
118 AccessibilityEvent event = doScrollAndReturnEvent(driver.on(containerFinder), direction);
119 if (detectEnd(event, direction.axis())) {
120 endData.set(containerFinder, direction);
164 PhysicalDirection direction) {
111 scroll(DroidDriver driver, Finder containerFinder, final PhysicalDirection direction) argument
163 beginScrolling(DroidDriver driver, Finder containerFinder, Finder itemFinder, PhysicalDirection direction) argument
169 endScrolling(DroidDriver driver, Finder containerFinder, Finder itemFinder, PhysicalDirection direction) argument
172 doScrollAndReturnEvent(final UiElement container, final PhysicalDirection direction) argument
192 doScroll(final UiElement container, final PhysicalDirection direction) argument
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/light/
H A DDirectionalLight.java44 * <code>DirectionalLight</code> is a light coming from a certain direction in world space.
48 * come from their direction regardless of where an object is placed.
52 protected Vector3f direction = new Vector3f(0f, -1f, 0f); field in class:DirectionalLight
60 * Returns the direction vector of the light.
62 * @return The direction vector of the light.
67 return direction;
71 * Sets the direction of the light.
73 * Represents the vector direction the light is coming from.
76 * @param dir the direction of the light.
79 direction
[all...]
H A DSpotLight.java43 * A spot light emmit a cone of light from a position and in a direction.
46 * In addition to a position and a direction, spot lights also have a range which
58 protected Vector3f direction = new Vector3f(0,-1,0); field in class:SpotLight
93 return direction;
96 public void setDirection(Vector3f direction) { argument
97 this.direction.set(direction);
155 * This angle is the angle between the spot direction axis and the inner border of the cone of influence.
173 * This angle is the angle between the spot direction axis and the outer border of the cone of influence.
196 oc.write(direction, "directio
[all...]
/external/skia/src/gpu/effects/
H A DGr1DKernelEffect.h32 Direction direction,
35 , fDirection(direction)
44 Direction direction() const { return fDirection; } function in class:Gr1DKernelEffect
31 Gr1DKernelEffect(GrTexture* texture, Direction direction, int radius) argument
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DRay.java44 * <code>Ray</code> defines a line segment which has an origin and a direction.
46 * defined by the following equation: R(t) = origin + t*direction for t >= 0.
61 * The direction of the ray.
63 public Vector3f direction = new Vector3f(0, 0, 1); field in class:Ray
70 * origin is (0,0,0) and the direction is (0,0,1).
78 * direction are given.
80 * @param direction the direction the ray travels in.
82 public Ray(Vector3f origin, Vector3f direction) { argument
84 setDirection(direction);
478 setDirection(Vector3f direction) argument
[all...]
H A DLine.java42 * two points. The two points of the line are defined as the origin and direction.
52 private Vector3f direction; field in class:Line
56 * direction are set to defaults (0,0,0).
61 direction = new Vector3f();
66 * and direction are set via the parameters.
68 * @param direction the direction of the line.
70 public Line(Vector3f origin, Vector3f direction) { argument
72 this.direction = direction;
107 setDirection(Vector3f direction) argument
[all...]
/external/skia/gm/
H A Darcofzorro.cpp42 int direction = 0; variable
54 switch (direction) {
58 direction = 1;
65 direction = 2;
/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DParametrizedLine.h22 * direction vector \f$ \mathbf{d} \f$ such that the line corresponds to
45 /** Initializes a parametrized line of direction \a direction and origin \a origin.
46 * \warning the vector direction is assumed to be normalized.
48 ParametrizedLine(const VectorType& origin, const VectorType& direction) argument
49 : m_origin(origin), m_direction(direction) {}
65 const VectorType& direction() const { return m_direction; } function in class:Eigen::ParametrizedLine
66 VectorType& direction() { return m_direction; } function in class:Eigen::ParametrizedLine
74 return (diff - diff.eigen2_dot(direction())* direction())
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/
H A DNonMonotonousSequenceException.java37 private final MathUtils.OrderDirection direction; field in class:NonMonotonousSequenceException
72 * @param direction Strictly positive for a sequence required to be
80 MathUtils.OrderDirection direction,
82 super(direction == MathUtils.OrderDirection.INCREASING ?
91 this.direction = direction;
98 * @return the order direction.
101 return direction;
77 NonMonotonousSequenceException(Number wrong, Number previous, int index, MathUtils.OrderDirection direction, boolean strict) argument
/external/droiddriver/src/io/appium/droiddriver/actions/
H A DSwipeAction.java73 * @param direction specifies where the view port will move, instead of the
77 public static SwipeAction toScroll(PhysicalDirection direction) { argument
78 return new SwipeAction(direction, scrollSteps);
89 * @param direction specifies where the view port will move, instead of the
93 public static SwipeAction toFling(PhysicalDirection direction) { argument
94 return new SwipeAction(direction, flingSteps);
97 private final PhysicalDirection direction; field in class:SwipeAction
108 public SwipeAction(PhysicalDirection direction, int steps) { argument
109 this(direction, steps, false, 1000L);
115 public SwipeAction(PhysicalDirection direction, in argument
131 SwipeAction(PhysicalDirection direction, int steps, boolean drag, long timeoutMillis, float topMarginRatio, float leftMarginRatio, float bottomMarginRatio, float rightMarginRatio) argument
[all...]
H A DEventUiElementActor.java45 public void scroll(UiElement uiElement, PhysicalDirection direction) { argument
46 uiElement.perform(SwipeAction.toScroll(direction));
H A DUiElementActor.java45 * Scrolls in the given direction.
47 * @param direction specifies where the view port will move, instead of the
50 void scroll(UiElement uiElement, PhysicalDirection direction); argument
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
H A DSemiVariance.java37 * and the "variance direction" (upside or downside) defaults to downside. The variance direction
106 * @param direction setting for the direction of the SemiVariance
109 public SemiVariance(final Direction direction) { argument
110 this.varianceDirection = direction;
122 * @param direction setting for the direction of the SemiVariance
125 public SemiVariance(final boolean corrected, final Direction direction) { argument
127 this.varianceDirection = direction;
217 evaluate(final double[] values, Direction direction) argument
251 evaluate(final double[] values, final double cutoff, final Direction direction) argument
273 evaluate(final double[] values, final double cutoff, final Direction direction, final boolean corrected, final int start, final int length) argument
359 private boolean direction; field in class:SemiVariance.Direction
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
H A DNamePrepTransform.java128 int direction=UCharacterDirection.CHAR_DIRECTION_COUNT,
142 direction = UCharacter.getDirection(ch);
144 firstCharDir = direction;
146 if(direction == UCharacterDirection.LEFT_TO_RIGHT){
150 if(direction == UCharacterDirection.RIGHT_TO_LEFT || direction == UCharacterDirection.RIGHT_TO_LEFT_ARABIC){
165 (direction == UCharacterDirection.RIGHT_TO_LEFT || direction == UCharacterDirection.RIGHT_TO_LEFT_ARABIC))
180 MapTransform(String id, String rule, int direction) { argument
181 isReady = initialize(id, rule, direction);
184 initialize(String id, String rule, int direction) argument
[all...]
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/
H A DFadeFilter.java56 private float direction = 1; field in class:FadeFilter
89 value += tpf * direction / duration;
91 if (direction > 0 && value > 1) {
96 if (direction < 0 && value < 0) {
125 direction = 1;
134 direction = -1;
/external/skia/include/effects/
H A DSkBlurMaskFilter.h45 @param direction array of 3 scalars [x, y, z] specifying the direction of the light source
50 static SkMaskFilter* CreateEmboss(SkScalar blurSigma, const SkScalar direction[3],
54 static SkMaskFilter* CreateEmboss(const SkScalar direction[3],
/external/iptables/include/linux/netfilter/
H A Dxt_connbytes.h24 __u8 direction; /* ipt_connbytes_direction */ member in struct:xt_connbytes_info
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_connbytes.h24 __u8 direction; /* ipt_connbytes_direction */ member in struct:xt_connbytes_info
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/
H A DBresenhamYUpGridTracer.java75 // simplify access to direction
76 Vector3f direction = this.walkRay.getDirection();
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) {
92 distToNextXIntersection = (start.x - (gridLocation.x * gridSpacing.x)) * -direction.x;
101 // Check which direction on the Z world axis we are moving.
102 if (direction
[all...]
/external/jmonkeyengine/engine/src/test/jme3test/input/
H A DTestCameraNode.java56 Vector3f direction = new Vector3f(); field in class:TestCameraNode
86 //Setting the direction to Spatial to camera, this means the camera will copy the movements of the Node
114 //computing the normalized direction of the cam to move the teaNode
115 direction.set(cam.getDirection()).normalizeLocal();
117 direction.multLocal(5 * tpf);
118 teaNode.move(direction);
121 direction.multLocal(-5 * tpf);
122 teaNode.move(direction);
125 direction.crossLocal(Vector3f.UNIT_Y).multLocal(5 * tpf);
126 teaNode.move(direction);
[all...]

Completed in 696 milliseconds

1234567891011>>