Searched refs:translation (Results 1 - 25 of 68) sorted by relevance

123

/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGTransformableContainer.cpp52 FloatSize translation = static_cast<SVGShadowTreeContainerElement*>(element)->containerTranslation();
53 if (!translation.width() && !translation.height())
60 m_localTransform.translate(translation.width(), translation.height());
H A DRenderSVGViewportContainer.cpp75 m_localToParentTransform = AffineTransform::translation(m_viewport.x(), m_viewport.y()) * viewportTransform();
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DTransform.java40 * Represents a translation, rotation and scale in one object.
52 private Vector3f translation = new Vector3f(); field in class:Transform
55 public Transform(Vector3f translation, Quaternion rot){ argument
56 this.translation.set(translation);
60 public Transform(Vector3f translation, Quaternion rot, Vector3f scale){ argument
61 this(translation, rot);
65 public Transform(Vector3f translation){ argument
66 this(translation, Quaternion.IDENTITY);
88 * Sets this translation t
[all...]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
H A DConstraintLocLimit.java101 * This method modifies the given translation.
102 * @param translation the translation to be modified.
105 private void locLimit(Vector3f translation, float influence) { argument
107 if (translation.x < limits[0][0]) {
108 translation.x -= (translation.x - limits[0][0]) * influence;
112 if (translation.x > limits[0][1]) {
113 translation.x -= (translation
[all...]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/
H A DIpo.java135 float[] translation = new float[3];
152 translation[0] = (float) value;
156 translation[2] = (float) -value;
158 translation[1] = (float) value;
162 translation[fixUpAxis && spatialTrack ? 1 : 2] = (float) value;
224 translations[index] = new Vector3f(translation[0], translation[1], translation[2]);
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
H A DBone.java335 //translation
425 // Computing translation
437 public void setUserTransforms(Vector3f translation, Quaternion rotation, Vector3f scale) { argument
446 localPos.addLocal(translation);
453 * @param translation
456 public void setUserTransformsWorld(Vector3f translation, Quaternion rotation) { argument
462 worldPos.set(translation);
467 attachNode.setLocalTranslation(translation);
508 void setAnimTransforms(Vector3f translation, Quaternion rotation, Vector3f scale) { argument
513 // localPos.addLocal(translation);
525 blendAnimTransforms(Vector3f translation, Quaternion rotation, Vector3f scale, float weight) argument
559 setBindTransforms(Vector3f translation, Quaternion rotation, Vector3f scale) argument
[all...]
H A DAnimationFactory.java41 * you can add some keyFrames for a given time or a given keyFrameIndex, for translation rotation and scale.
203 * Adds a key frame for the given translation at the given time
205 * @param translation the translation to use for this keyFrame
207 public void addTimeTranslation(float time, Vector3f translation) { argument
208 addKeyFrameTranslation((int) (time / tpf), translation);
212 * Adds a key frame for the given translation at the given keyFrame index
214 * @param translation the translation to use for this keyFrame
216 public void addKeyFrameTranslation(int keyFrameIndex, Vector3f translation) { argument
[all...]
/external/quake/quake/src/WinQuake/
H A Ddraw.h31 void Draw_TransPicTranslate (int x, int y, qpic_t *pic, byte *translation);
H A Ddraw.cpp427 void Draw_TransPicTranslate (int x, int y, qpic_t *pic, byte *translation) argument
451 dest[u] = translation[tbyte];
464 dest[u] = translation[tbyte];
466 dest[u+1] = translation[tbyte];
468 dest[u+2] = translation[tbyte];
470 dest[u+3] = translation[tbyte];
472 dest[u+4] = translation[tbyte];
474 dest[u+5] = translation[tbyte];
476 dest[u+6] = translation[tbyte];
478 dest[u+7] = translation[tbyt
[all...]
/external/quake/quake/src/QW/client/
H A Ddraw.h32 void Draw_TransPicTranslate (int x, int y, qpic_t *pic, byte *translation);
H A Ddraw.c533 void Draw_TransPicTranslate (int x, int y, qpic_t *pic, byte *translation) argument
557 dest[u] = translation[tbyte];
570 dest[u] = translation[tbyte];
572 dest[u+1] = translation[tbyte];
574 dest[u+2] = translation[tbyte];
576 dest[u+3] = translation[tbyte];
578 dest[u+4] = translation[tbyte];
580 dest[u+5] = translation[tbyte];
582 dest[u+6] = translation[tbyte];
584 dest[u+7] = translation[tbyt
[all...]
/external/webkit/Source/WebCore/platform/graphics/win/
H A DFontCGWin.cpp202 FloatSize translation = glyphBuffer.offsetAt(from); local
203 if (translation.width() || translation.height()) {
209 xform.eDx = translation.width();
210 xform.eDy = translation.height();
353 FloatSize translation = glyphBuffer.offsetAt(from); local
371 float shadowTextX = point.x() + translation.width() + shadowOffset.width();
373 float shadowTextY = point.y() + translation.height() + shadowOffset.height() * (graphicsContext->shadowsIgnoreTransforms() ? -1 : 1);
377 CGContextSetTextPosition(cgContext, point.x() + translation.width() + shadowOffset.width() + font->syntheticBoldOffset(), point.y() + translation
[all...]
/external/opencv/cv/src/
H A Dcvposit.cpp114 CvMatr32f rotation, CvVect32f translation )
137 if( !translation )
237 translation[0] = imagePoints[0].x * invScale;
238 translation[1] = imagePoints[0].y * invScale;
239 translation[2] = 1 / inv_Z;
354 CvMatr32f rotation, CvVect32f translation )
361 rotation, translation ));
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/objects/
H A DObjectHelper.java309 Vector3f translation = localMatrix.toTranslationVector();
314 float y = translation.y;
315 translation.y = translation.z;
316 translation.z = -y;
328 Transform t = new Transform(translation, rotation);
366 Vector3f translation = result.toTranslationVector();
370 float y = translation.y;
371 translation.y = translation
[all...]
/external/jmonkeyengine/engine/src/test/jme3test/light/
H A DTestTangentGen.java86 private void addMesh(String name, Mesh mesh, Vector3f translation) { argument
92 testGeom.getLocalTranslation().set(translation);
102 debug.getLocalTranslation().set(translation);
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/
H A DMirrorModifier.java83 Vector3f translation = object.getWorldTranslation();
84 center[0] = translation.x;
85 center[1] = translation.y;
86 center[2] = translation.z;
H A DArrayModifier.java168 Vector3f translation = objectHelper.getTransformation(offsetStructure, blenderContext).getTranslation();
169 objectOffset[0] = translation.x;
170 objectOffset[1] = translation.y;
171 objectOffset[2] = translation.z;
/external/qemu/
H A Dblockdev.c144 int cyls, heads, secs, translation; local
158 translation = BIOS_ATA_TRANSLATION_AUTO;
244 translation = BIOS_ATA_TRANSLATION_NONE;
246 translation = BIOS_ATA_TRANSLATION_LBA;
248 translation = BIOS_ATA_TRANSLATION_AUTO;
250 fprintf(stderr, "qemu: '%s' invalid translation type\n", buf);
435 bdrv_set_translation_hint(dinfo->bdrv, translation);
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/
H A Dsymshift.pl132 #translation between symbol names used in decision trees
134 %translation = (
273 $translated = $translation{$table}{$sym};
/external/bison/lib/
H A Dquotearg.c163 /* MSGID approximates a quotation mark. Return its translation if it
168 char const *translation = _(msgid); local
169 if (translation == msgid && s == clocale_quoting_style)
170 translation = "\"";
171 return translation;
230 "'". If the catalog has no translation,
/external/webkit/Source/WebCore/svg/
H A DSVGTransformDistance.cpp207 FloatPoint translation = transform.translate(); local
208 translation += FloatSize::narrowPrecision(m_transform.e(), m_transform.f());
209 newTransform.setTranslate(translation.x(), translation.y());
219 // FIXME: I'm not certain the translation is calculated correctly here
/external/e2fsprogs/intl/
H A Ddcigettext.c236 /* And finally the translation. */
237 const char *translation; member in struct:known_translation_t
311 const char *translation, size_t translation_len)
480 /* Try to find the translation among those which we found at
494 retval = plural_lookup ((*foundp)->domain, n, (*foundp)->translation,
497 retval = (char *) (*foundp)->translation;
580 got an ordered list of languages to consider for the translation. */
590 by implicitly appending a "C" entry, i.e. no translation
642 /* Found the translation of MSGID1 in domain DOMAIN:
662 newp->translation
1033 plural_lookup(struct loaded_l10nfile *domain, unsigned long int n, const char *translation, size_t translation_len) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/mac/
H A DFontMac.mm112 CGSize translation = CGSizeApplyAffineTransform(translations[i], translationsTransform);
113 positions[i] = CGPointApplyAffineTransform(CGPointMake(position.x - translation.width, position.y + translation.height), transform);
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
H A DLODGeomap.java941 protected Triangle getTriangleAtPoint(float x, float z, Vector3f scale, Vector3f translation) { argument
944 tri.get1().multLocal(scale).addLocal(translation);
945 tri.get2().multLocal(scale).addLocal(translation);
946 tri.get3().multLocal(scale).addLocal(translation);
958 * @param translation
961 protected Triangle[] getGridTrianglesAtPoint(float x, float z, Vector3f scale, Vector3f translation) { argument
964 tris[0].get1().multLocal(scale).addLocal(translation);
965 tris[0].get2().multLocal(scale).addLocal(translation);
966 tris[0].get3().multLocal(scale).addLocal(translation);
967 tris[1].get1().multLocal(scale).addLocal(translation);
[all...]
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DPathCG.cpp157 CGAffineTransform translation = CGAffineTransformMake(1, 0, 0, 1, size.width(), size.height()); local
159 CGPathAddPath(newPath, &translation, m_path);

Completed in 381 milliseconds

123