Searched refs:constraint (Results 1 - 25 of 54) sorted by relevance

123

/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/joints/
H A DSliderJoint.java48 * The slider constraint allows the body to rotate around one axis and translate along this axis.
83 return ((SliderConstraint) constraint).getLowerLinLimit();
87 ((SliderConstraint) constraint).setLowerLinLimit(lowerLinLimit);
91 return ((SliderConstraint) constraint).getUpperLinLimit();
95 ((SliderConstraint) constraint).setUpperLinLimit(upperLinLimit);
99 return ((SliderConstraint) constraint).getLowerAngLimit();
103 ((SliderConstraint) constraint).setLowerAngLimit(lowerAngLimit);
107 return ((SliderConstraint) constraint).getUpperAngLimit();
111 ((SliderConstraint) constraint).setUpperAngLimit(upperAngLimit);
115 return ((SliderConstraint) constraint)
[all...]
H A DHingeJoint.java46 * Hinge constraint, or revolute joint restricts two additional angular degrees of freedom,
77 ((HingeConstraint) constraint).enableAngularMotor(enable, targetVelocity, maxMotorImpulse);
81 ((HingeConstraint) constraint).setLimit(low, high);
88 ((HingeConstraint) constraint).setLimit(low, high, _softness, _biasFactor, _relaxationFactor);
92 return ((HingeConstraint) constraint).getUpperLimit();
96 return ((HingeConstraint) constraint).getLowerLimit();
101 ((HingeConstraint) constraint).setAngularOnly(angularOnly);
105 return ((HingeConstraint) constraint).getHingeAngle();
116 capsule.write(((HingeConstraint) constraint).getLowerLimit(), "lowerLimit", 1e30f);
117 capsule.write(((HingeConstraint) constraint)
[all...]
H A DPoint2PointJoint.java46 * Point to point constraint, also known as ball socket joint limits the translation
48 * A chain of rigidbodies can be connected using this constraint.
66 ((Point2PointConstraint) constraint).setting.damping = value;
70 ((Point2PointConstraint) constraint).setting.impulseClamp = value;
74 ((Point2PointConstraint) constraint).setting.tau = value;
78 return ((Point2PointConstraint) constraint).setting.damping;
82 return ((Point2PointConstraint) constraint).setting.impulseClamp;
86 return ((Point2PointConstraint) constraint).setting.tau;
109 constraint = new Point2PointConstraint(nodeA.getObjectId(), nodeB.getObjectId(), Converter.convert(pivotA), Converter.convert(pivotB));
H A DPhysicsJoint.java46 protected TypedConstraint constraint; field in class:PhysicsJoint
70 return constraint.getAppliedImpulse();
74 * @return the constraint
77 return constraint;
H A DConeJoint.java48 * To create ragdolls, the conve twist constraint is very useful for limbs like the upper arm.
49 * It is a special point to point constraint that adds cone and twist axis limits.
90 ((ConeTwistConstraint) constraint).setLimit(swingSpan1, swingSpan2, twistSpan);
95 ((ConeTwistConstraint) constraint).setAngularOnly(value);
134 constraint = new ConeTwistConstraint(nodeA.getObjectId(), nodeB.getObjectId(), transA, transB);
135 ((ConeTwistConstraint) constraint).setLimit(swingSpan1, swingSpan2, twistSpan);
136 ((ConeTwistConstraint) constraint).setAngularOnly(angularOnly);
H A DSixDofJoint.java52 * This generic constraint can emulate a variety of standard constraints,
90 constraint = new Generic6DofConstraint(nodeA.getObjectId(), nodeB.getObjectId(), transA, transB, useLinearReferenceFrameA);
108 constraint = new Generic6DofConstraint(nodeA.getObjectId(), nodeB.getObjectId(), transA, transB, useLinearReferenceFrameA);
114 RotationalLimitMotor rmot = new RotationalLimitMotor(((Generic6DofConstraint) constraint).getRotationalLimitMotor(i));
117 translationalMotor = new TranslationalLimitMotor(((Generic6DofConstraint) constraint).getTranslationalLimitMotor());
141 ((Generic6DofConstraint) constraint).setLinearUpperLimit(Converter.convert(vector));
146 ((Generic6DofConstraint) constraint).setLinearLowerLimit(Converter.convert(vector));
151 ((Generic6DofConstraint) constraint).setAngularUpperLimit(Converter.convert(vector));
156 ((Generic6DofConstraint) constraint).setAngularLowerLimit(Converter.convert(vector));
169 constraint
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DConstraints.java59 * Returns a constraint that verifies that the element is not null. If the
70 * constraint. Any operations that add new elements to the collection will
71 * call the provided constraint. However, this method does not verify that
72 * existing elements satisfy the constraint.
77 * @param constraint the constraint that validates added elements
81 Collection<E> collection, Constraint<? super E> constraint) {
82 return new ConstrainedCollection<E>(collection, constraint);
88 private final Constraint<? super E> constraint; field in class:Constraints.ConstrainedCollection
91 Collection<E> delegate, Constraint<? super E> constraint) {
80 constrainedCollection( Collection<E> collection, Constraint<? super E> constraint) argument
90 ConstrainedCollection( Collection<E> delegate, Constraint<? super E> constraint) argument
119 constrainedSet( Set<E> set, Constraint<? super E> constraint) argument
127 private final Constraint<? super E> constraint; field in class:Constraints.ConstrainedSet
129 ConstrainedSet(Set<E> delegate, Constraint<? super E> constraint) argument
157 constrainedSortedSet( SortedSet<E> sortedSet, Constraint<? super E> constraint) argument
165 final Constraint<? super E> constraint; field in class:Constraints.ConstrainedSortedSet
167 ConstrainedSortedSet( SortedSet<E> delegate, Constraint<? super E> constraint) argument
207 constrainedList( List<E> list, Constraint<? super E> constraint) argument
218 final Constraint<? super E> constraint; field in class:Constraints.ConstrainedList
220 ConstrainedList(List<E> delegate, Constraint<? super E> constraint) argument
262 ConstrainedRandomAccessList( List<E> delegate, Constraint<? super E> constraint) argument
277 constrainedListIterator( ListIterator<E> listIterator, Constraint<? super E> constraint) argument
285 private final Constraint<? super E> constraint; field in class:Constraints.ConstrainedListIterator
287 ConstrainedListIterator( ListIterator<E> delegate, Constraint<? super E> constraint) argument
306 constrainedTypePreservingCollection( Collection<E> collection, Constraint<E> constraint) argument
331 constrainedMultiset( Multiset<E> multiset, Constraint<? super E> constraint) argument
339 private final Constraint<? super E> constraint; field in class:Constraints.ConstrainedMultiset
341 ConstrainedMultiset( Multiset<E> delegate, Constraint<? super E> constraint) argument
374 checkElements( Collection<E> elements, Constraint<? super E> constraint) argument
[all...]
H A DMapConstraints.java49 * Returns a constraint that verifies that neither the key nor the value is
73 * constraint. Any operations that add new mappings will call the provided
74 * constraint. However, this method does not verify that existing mappings
75 * satisfy the constraint.
80 * @param constraint the constraint that validates added entries
84 Map<K, V> map, MapConstraint<? super K, ? super V> constraint) {
85 return new ConstrainedMap<K, V>(map, constraint);
90 * constraint. Any operations that add new mappings will call the provided
91 * constraint
83 constrainedMap( Map<K, V> map, MapConstraint<? super K, ? super V> constraint) argument
104 constrainedMultimap( Multimap<K, V> multimap, MapConstraint<? super K, ? super V> constraint) argument
125 constrainedListMultimap( ListMultimap<K, V> multimap, MapConstraint<? super K, ? super V> constraint) argument
146 constrainedSetMultimap( SetMultimap<K, V> multimap, MapConstraint<? super K, ? super V> constraint) argument
167 constrainedSortedSetMultimap( SortedSetMultimap<K, V> multimap, MapConstraint<? super K, ? super V> constraint) argument
182 constrainedEntry( final Entry<K, V> entry, final MapConstraint<? super K, ? super V> constraint) argument
208 constrainedAsMapEntry( final Entry<K, Collection<V>> entry, final MapConstraint<? super K, ? super V> constraint) argument
242 constrainedAsMapEntries( Set<Entry<K, Collection<V>>> entries, MapConstraint<? super K, ? super V> constraint) argument
260 constrainedEntries( Collection<Entry<K, V>> entries, MapConstraint<? super K, ? super V> constraint) argument
283 constrainedEntrySet( Set<Entry<K, V>> entries, MapConstraint<? super K, ? super V> constraint) argument
292 final MapConstraint<? super K, ? super V> constraint; field in class:MapConstraints.ConstrainedMap
295 ConstrainedMap( Map<K, V> delegate, MapConstraint<? super K, ? super V> constraint) argument
331 constrainedBiMap( BiMap<K, V> map, MapConstraint<? super K, ? super V> constraint) argument
353 ConstrainedBiMap(BiMap<K, V> delegate, @Nullable BiMap<V, K> inverse, MapConstraint<? super K, ? super V> constraint) argument
385 final MapConstraint<? super V, ? super K> constraint; field in class:MapConstraints.InverseConstraint
387 InverseConstraint(MapConstraint<? super V, ? super K> constraint) argument
399 final MapConstraint<? super K, ? super V> constraint; field in class:MapConstraints.ConstrainedMultimap
404 ConstrainedMultimap(Multimap<K, V> delegate, MapConstraint<? super K, ? super V> constraint) argument
569 final MapConstraint<? super K, ? super V> constraint; field in class:MapConstraints.ConstrainedEntries
572 ConstrainedEntries(Collection<Entry<K, V>> entries, MapConstraint<? super K, ? super V> constraint) argument
621 ConstrainedEntrySet(Set<Entry<K, V>> entries, MapConstraint<? super K, ? super V> constraint) argument
640 private final MapConstraint<? super K, ? super V> constraint; field in class:MapConstraints.ConstrainedAsMapEntries
643 ConstrainedAsMapEntries(Set<Entry<K, Collection<V>>> entries, MapConstraint<? super K, ? super V> constraint) argument
706 ConstrainedListMultimap(ListMultimap<K, V> delegate, MapConstraint<? super K, ? super V> constraint) argument
724 ConstrainedSetMultimap(SetMultimap<K, V> delegate, MapConstraint<? super K, ? super V> constraint) argument
745 ConstrainedSortedSetMultimap(SortedSetMultimap<K, V> delegate, MapConstraint<? super K, ? super V> constraint) argument
765 checkValues(K key, Iterable<? extends V> values, MapConstraint<? super K, ? super V> constraint) argument
775 checkMap(Map<? extends K, ? extends V> map, MapConstraint<? super K, ? super V> constraint) argument
[all...]
/external/libsepol/src/
H A Dconstraint.c21 #include <sepol/policydb/constraint.h>
H A Dservices.c115 * Return the boolean value of a constraint expression
313 constraint_node_t *constraint; local
380 * Remove any permissions prohibited by a constraint (this includes
383 constraint = tclass_datum->constraints;
384 while (constraint) {
385 if ((constraint->permissions & (avd->allowed)) &&
387 constraint->expr)) {
389 (avd->allowed) & ~(constraint->permissions);
391 constraint = constraint
434 constraint_node_t *constraint; local
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DConstraintManager.h32 /// Construct a ConditionTruthVal indicating the constraint is constrained
34 ConditionTruthVal(bool constraint) : Val(constraint) {} argument
36 /// Construct a ConstraintVal indicating the constraint is underconstrained.
39 /// Return true if the constraint is perfectly constrained to 'true'.
44 /// Return true if the constraint is perfectly constrained to 'false'.
55 /// if the constraint is true of value.
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
H A DConstraintHelper.java19 * This class should be used for constraint calculations.
72 * the structure we read constraint's for
117 for (Structure constraint : constraints) {
118 String constraintName = constraint.getFieldValue("name").toString();
122 float enforce = ((Number) constraint.getFieldValue("enforce")).floatValue();
125 constraintsList.add(this.createConstraint(constraint, boneOMA, ipo, blenderContext));
135 for(Structure constraint : constraints) {
136 String constraintName = constraint.getFieldValue("name").toString();
142 float enforce = ((Number) constraint.getFieldValue("enforce")).floatValue();
145 constraintsList.add(this.createConstraint(constraint, objectStructur
[all...]
/external/jmonkeyengine/engine/src/bullet-native/
H A Dcom_jme3_bullet_PhysicsSpace.cpp321 btTypedConstraint* constraint = reinterpret_cast<btTypedConstraint*>(objectId); local
327 if (constraint == NULL) {
329 env->ThrowNew(newExc, "The constraint object does not exist.");
332 space->getDynamicsWorld()->addConstraint(constraint);
343 btTypedConstraint* constraint = reinterpret_cast<btTypedConstraint*>(objectId); local
349 if (constraint == NULL) {
351 env->ThrowNew(newExc, "The constraint object does not exist.");
354 space->getDynamicsWorld()->removeConstraint(constraint);
/external/libsepol/
H A DAndroid.mk10 src/constraint.c \
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DPKIXNameConstraintValidator.java601 * <code>constraint</code>.
604 * @param constraint The constraint. This is an IP address concatenated with
609 private boolean isIPConstrained(byte ip[], byte[] constraint) argument
613 if (ipLength != (constraint.length / 2))
619 System.arraycopy(constraint, ipLength, subnetMask, 0, ipLength);
628 permittedSubnetAddress[i] = (byte)(constraint[i] & subnetMask[i]);
635 private boolean emailIsConstrained(String email, String constraint) argument
639 if (constraint.indexOf('@') != -1)
641 if (email.equalsIgnoreCase(constraint))
1404 isUriConstrained(String uri, String constraint) argument
[all...]
H A DRFC3280CertPathUtilities.java1565 ASN1TaggedObject constraint = ASN1TaggedObject.getInstance(policyConstraints.nextElement());
1566 if (constraint.getTagNo() == 0)
1568 tmpInt = DERInteger.getInstance(constraint, false).getValue().intValue();
1619 ASN1TaggedObject constraint = ASN1TaggedObject.getInstance(policyConstraints.nextElement());
1620 if (constraint.getTagNo() == 1)
1622 tmpInt = DERInteger.getInstance(constraint, false).getValue().intValue();
2336 ASN1TaggedObject constraint = (ASN1TaggedObject)policyConstraints.nextElement();
2337 switch (constraint.getTagNo())
2342 tmpInt = DERInteger.getInstance(constraint, false).getValue().intValue();
/external/guava/guava-tests/test/com/google/common/collect/
H A DConstraintsTest.java66 Constraint<? super String> constraint = Constraints.notNull();
67 assertSame(TEST_ELEMENT, constraint.checkElement(TEST_ELEMENT));
69 constraint.checkElement(null);
72 assertEquals("Not null", constraint.toString());
H A DMapConstraintsTest.java84 MapConstraint<Object, Object> constraint = MapConstraints.notNull();
85 constraint.checkKeyValue("foo", 1);
86 assertEquals("Not null", constraint.toString());
88 constraint.checkKeyValue(null, 1);
92 constraint.checkKeyValue("foo", null);
96 constraint.checkKeyValue(null, null);
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitor.h139 TrackConstraintBRVisitor(DefinedSVal constraint, bool assumption) argument
140 : Constraint(constraint), Assumption(assumption), isSatisfied(false) {}
/external/llvm/lib/Target/CellSPU/
H A DSPUISelLowering.h133 /// Examine constraint string and operand type and determine a weight value.
136 AsmOperandInfo &info, const char *constraint) const;
/external/llvm/lib/Target/MBlaze/
H A DMBlazeISelLowering.h161 /// Examine constraint string and operand type and determine a weight value.
164 AsmOperandInfo &info, const char *constraint) const;
/external/webkit/Source/WebKit/qt/Api/
H A Dqgraphicswebview.h101 virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint) const;
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/
H A DArmatureModifier.java196 for (Constraint constraint : constraints) {
197 constraint.bake();
/external/webkit/Source/WebKit2/UIProcess/API/qt/
H A Dqgraphicswkview.cpp241 QSizeF QGraphicsWKView::sizeHint(Qt::SizeHint which, const QSizeF& constraint) const
245 return QGraphicsWidget::sizeHint(which, constraint);
/external/compiler-rt/lib/interception/mach_override/
H A Dmach_override.c659 unsigned char constraint[15]; // sequence of bytes in memory order member in struct:__anon4910
747 unsigned char constraint = instruction->constraint[i]; local
752 match = ((codeValue & mask) == constraint);

Completed in 426 milliseconds

123