Searched refs:transform (Results 1 - 25 of 569) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/javax/sound/midi/Gervill/ModelStandardTransform/
H A DTransformConcave.java27 @summary Test ModelStandardTransform transform method */
33 private static boolean checkLinearity(ModelStandardTransform transform) argument
40 transform.setPolarity(ModelStandardTransform.POLARITY_UNIPOLAR);
42 transform.setPolarity(ModelStandardTransform.POLARITY_BIPOLAR);
44 transform.setDirection(ModelStandardTransform.DIRECTION_MIN2MAX);
46 transform.setDirection(ModelStandardTransform.DIRECTION_MAX2MIN);
47 double x = transform.transform(i);
66 ModelStandardTransform transform = new ModelStandardTransform();
67 transform
[all...]
H A DTransformConvex.java27 @summary Test ModelStandardTransform transform method */
33 private static boolean checkLinearity(ModelStandardTransform transform) argument
40 transform.setPolarity(ModelStandardTransform.POLARITY_UNIPOLAR);
42 transform.setPolarity(ModelStandardTransform.POLARITY_BIPOLAR);
44 transform.setDirection(ModelStandardTransform.DIRECTION_MIN2MAX);
46 transform.setDirection(ModelStandardTransform.DIRECTION_MAX2MIN);
47 double x = transform.transform(i);
66 ModelStandardTransform transform = new ModelStandardTransform();
67 transform
[all...]
H A DTransformLinear.java27 @summary Test ModelStandardTransform transform method */
33 private static boolean checkLinearity(ModelStandardTransform transform) argument
40 transform.setPolarity(ModelStandardTransform.POLARITY_UNIPOLAR);
42 transform.setPolarity(ModelStandardTransform.POLARITY_BIPOLAR);
44 transform.setDirection(ModelStandardTransform.DIRECTION_MIN2MAX);
46 transform.setDirection(ModelStandardTransform.DIRECTION_MAX2MIN);
47 double x = transform.transform(i);
66 ModelStandardTransform transform = new ModelStandardTransform();
67 transform
[all...]
H A DTransformSwitch.java27 @summary Test ModelStandardTransform transform method */
40 ModelStandardTransform transform = new ModelStandardTransform();
41 transform.setTransform(ModelStandardTransform.TRANSFORM_SWITCH);
43 transform.setDirection(ModelStandardTransform.DIRECTION_MIN2MAX);
44 transform.setPolarity(ModelStandardTransform.POLARITY_UNIPOLAR);
45 assertTrue(Math.abs(transform.transform(0.2f) - 0.0f) < 0.0001f);
46 assertTrue(Math.abs(transform.transform(0.8f) - 1.0f) < 0.0001f);
48 transform
[all...]
H A DSetTransform.java40 private static boolean checkLinearity(ModelStandardTransform transform) argument
47 transform.setPolarity(ModelStandardTransform.POLARITY_UNIPOLAR);
49 transform.setPolarity(ModelStandardTransform.POLARITY_BIPOLAR);
51 transform.setDirection(ModelStandardTransform.DIRECTION_MIN2MAX);
53 transform.setDirection(ModelStandardTransform.DIRECTION_MAX2MIN);
54 double x = transform.transform(i);
68 ModelStandardTransform transform = new ModelStandardTransform();
69 transform.setTransform(ModelStandardTransform.TRANSFORM_CONVEX);
70 if(transform
[all...]
H A DTransformAbsolute.java27 @summary Test ModelStandardTransform transform method */
33 private static boolean checkLinearity(ModelStandardTransform transform) argument
40 transform.setPolarity(ModelStandardTransform.POLARITY_UNIPOLAR);
42 transform.setPolarity(ModelStandardTransform.POLARITY_BIPOLAR);
44 transform.setDirection(ModelStandardTransform.DIRECTION_MIN2MAX);
46 transform.setDirection(ModelStandardTransform.DIRECTION_MAX2MIN);
47 double x = transform.transform(i);
67 ModelStandardTransform transform = new ModelStandardTransform();
68 transform
[all...]
H A DNewModelStandardTransform.java40 ModelStandardTransform transform = new ModelStandardTransform();
41 if(transform.getDirection() != ModelStandardTransform.DIRECTION_MIN2MAX)
42 throw new RuntimeException("transform.getDirection() doesn't return ModelStandardTransform.DIRECTION_MIN2MAX!");
43 if(transform.getPolarity() != ModelStandardTransform.POLARITY_UNIPOLAR)
44 throw new RuntimeException("transform.getPolarity() doesn't return ModelStandardTransform.POLARITY_UNIPOLAR!");
45 if(transform.getTransform() != ModelStandardTransform.TRANSFORM_LINEAR)
46 throw new RuntimeException("transform.getTransform() doesn't return ModelStandardTransform.TRANSFORM_LINEAR!");
H A DNewModelStandardTransformBoolean.java40 ModelStandardTransform transform = new ModelStandardTransform(ModelStandardTransform.DIRECTION_MAX2MIN);
41 if(transform.getDirection() != ModelStandardTransform.DIRECTION_MAX2MIN)
42 throw new RuntimeException("transform.getDirection() doesn't return ModelStandardTransform.DIRECTION_MAX2MIN!");
43 if(transform.getPolarity() != ModelStandardTransform.POLARITY_UNIPOLAR)
44 throw new RuntimeException("transform.getPolarity() doesn't return ModelStandardTransform.POLARITY_UNIPOLAR!");
45 if(transform.getTransform() != ModelStandardTransform.TRANSFORM_LINEAR)
46 throw new RuntimeException("transform.getTransform() doesn't return ModelStandardTransform.TRANSFORM_LINEAR!");
H A DSetDirection.java40 ModelStandardTransform transform = new ModelStandardTransform();
41 transform.setDirection(ModelStandardTransform.DIRECTION_MAX2MIN);
42 if(transform.getDirection() != ModelStandardTransform.DIRECTION_MAX2MIN)
43 throw new RuntimeException("transform.getDirection() doesn't return ModelStandardTransform.DIRECTION_MAX2MIN!");
H A DSetPolarity.java40 ModelStandardTransform transform = new ModelStandardTransform();
41 transform.setPolarity(ModelStandardTransform.POLARITY_BIPOLAR);
42 if(transform.getPolarity() != ModelStandardTransform.POLARITY_BIPOLAR)
43 throw new RuntimeException("transform.getPolarity() doesn't return ModelStandardTransform.POLARITY_BIPOLAR!");
H A DNewModelStandardTransformBooleanBoolean.java40 ModelStandardTransform transform = new ModelStandardTransform(
43 if(transform.getDirection() != ModelStandardTransform.DIRECTION_MAX2MIN)
44 throw new RuntimeException("transform.getDirection() doesn't return ModelStandardTransform.DIRECTION_MAX2MIN!");
45 if(transform.getPolarity() != ModelStandardTransform.POLARITY_BIPOLAR)
46 throw new RuntimeException("transform.getPolarity() doesn't return ModelStandardTransform.POLARITY_BIPOLAR!");
47 if(transform.getTransform() != ModelStandardTransform.TRANSFORM_LINEAR)
48 throw new RuntimeException("transform.getTransform() doesn't return ModelStandardTransform.TRANSFORM_LINEAR!");
H A DNewModelStandardTransformBooleanBooleanInt.java40 ModelStandardTransform transform = new ModelStandardTransform(
44 if(transform.getDirection() != ModelStandardTransform.DIRECTION_MAX2MIN)
45 throw new RuntimeException("transform.getDirection() doesn't return ModelStandardTransform.DIRECTION_MAX2MIN!");
46 if(transform.getPolarity() != ModelStandardTransform.POLARITY_BIPOLAR)
47 throw new RuntimeException("transform.getPolarity() doesn't return ModelStandardTransform.POLARITY_BIPOLAR!");
48 if(transform.getTransform() != ModelStandardTransform.TRANSFORM_CONVEX)
49 throw new RuntimeException("transform.getTransform() doesn't return ModelStandardTransform.TRANSFORM_CONVEX!");
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTransformAttribute.java49 * wrapper for a transform so that it is safe to use as an attribute.
56 * if <code>AffineTransform</code> is the identity transform.
58 private AffineTransform transform; field in class:TransformAttribute
61 * Wraps the specified transform. The transform is cloned and a
62 * reference to the clone is kept. The original transform is unchanged.
64 * it were the identity transform. (Note that it is preferable to use
66 * @param transform the specified {@link AffineTransform} to be wrapped,
69 public TransformAttribute(AffineTransform transform) { argument
70 if (transform !
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DModelTransform.java28 * Model transform interface.
34 abstract public double transform(double value); method in interface:ModelTransform
H A DModelSource.java61 private ModelTransform transform; field in class:ModelSource
64 this.transform = new ModelStandardTransform();
69 this.transform = new ModelStandardTransform();
74 this.transform = new ModelStandardTransform(direction);
79 this.transform = new ModelStandardTransform(direction, polarity);
83 int transform) {
85 this.transform =
86 new ModelStandardTransform(direction, polarity, transform);
89 public ModelSource(ModelIdentifier id, ModelTransform transform) { argument
91 this.transform
82 ModelSource(ModelIdentifier id, boolean direction, boolean polarity, int transform) argument
106 setTransform(ModelTransform transform) argument
[all...]
H A DModelStandardTransform.java31 * The result of the transform is
55 private int transform = TRANSFORM_LINEAR; field in class:ModelStandardTransform
70 int transform) {
73 this.transform = transform;
76 public double transform(double value) { method in class:ModelStandardTransform
83 switch (transform) {
133 return transform;
136 public void setTransform(int transform) { argument
137 this.transform
69 ModelStandardTransform(boolean direction, boolean polarity, int transform) argument
[all...]
/openjdk7/jaxp/src/javax/xml/transform/dom/
H A DDOMLocator.java26 package javax.xml.transform.dom;
28 import javax.xml.transform.SourceLocator;
36 * error must downcast the {@link javax.xml.transform.SourceLocator}
37 * object returned by an exception. A {@link javax.xml.transform.Transformer}
/openjdk7/jaxp/src/javax/xml/transform/sax/
H A DTemplatesHandler.java26 package javax.xml.transform.sax;
28 import javax.xml.transform.*;
H A DTransformerHandler.java26 package javax.xml.transform.sax;
28 import javax.xml.transform.Result;
29 import javax.xml.transform.Transformer;
/openjdk7/jaxp/src/javax/xml/transform/
H A DSource.java26 package javax.xml.transform;
H A DSourceLocator.java26 package javax.xml.transform;
H A DResult.java26 package javax.xml.transform;
56 "javax.xml.transform.disable-output-escaping";
66 "javax.xml.transform.enable-output-escaping";
H A DTemplates.java26 package javax.xml.transform;
57 * {@link javax.xml.transform.Transformer#setOutputProperties}.
H A DURIResolver.java26 package javax.xml.transform;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/txw2/output/
H A DResultFactory.java28 import javax.xml.transform.Result;
29 import javax.xml.transform.dom.DOMResult;
30 import javax.xml.transform.sax.SAXResult;
31 import javax.xml.transform.stream.StreamResult;
46 * Factory method for producing {@link XmlSerializer) from {@link javax.xml.transform.Result}.
48 * This method supports {@link javax.xml.transform.sax.SAXResult},
49 * {@link javax.xml.transform.stream.StreamResult}, and {@link javax.xml.transform.dom.DOMResult}.

Completed in 31 milliseconds

1234567891011>>