HomeSort by relevance Sort by last modified time
    Searched refs:translations (Results 1 - 25 of 54) sorted by null

1 2 3

  /external/jmonkeyengine/engine/src/core/com/jme3/animation/
BoneTrack.java 56 private CompactVector3Array translations; field in class:BoneTrack
71 * @param translations the translation of the bone for each frame
74 public BoneTrack(int targetBoneIndex, float[] times, Vector3f[] translations, Quaternion[] rotations) {
76 this.setKeyframes(times, translations, rotations);
83 * @param translations the translation of the bone for each frame
87 public BoneTrack(int targetBoneIndex, float[] times, Vector3f[] translations, Quaternion[] rotations, Vector3f[] scales) {
89 this.setKeyframes(times, translations, rotations, scales);
132 * returns the array of translations of this track
136 return translations.toObjectArray();
140 * Set the translations and rotations for this bone trac
273 Vector3f[] translations = new Vector3f[tablesLength]; local
    [all...]
SpatialTrack.java 22 * Translations of the track.
24 private CompactVector3Array translations; field in class:SpatialTrack
49 * @param translations
56 public SpatialTrack(float[] times, Vector3f[] translations,
58 setKeyframes(times, translations, rotations, scales);
82 if (translations != null)
83 translations.get(0, tempV);
90 if (translations != null)
91 translations.get(lastFrame, tempV);
108 if (translations != null)
    [all...]
AnimationFactory.java 132 protected Vector3f[] translations; field in class:AnimationFactory
170 translations = new Vector3f[totalFrames];
392 SpatialTrack spatialTrack = new SpatialTrack(times, translations, rotations, scales);
430 translations[j] = FastMath.interpolateLinear(val, (Vector3f) keyFrames[i], (Vector3f) keyFrames[key]);
449 translations[j] = ((Vector3f) keyFrames[i]).clone();
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/
CalculationBone.java 25 private Vector3f[] translations; field in class:CalculationBone
36 this.translations = new Vector3f[boneFramesCount];
40 Arrays.fill(this.translations, 0, boneFramesCount, this.startTranslation);
56 this.translations = track.getTranslations();
62 return this.translations==null ? 0 : this.translations.length;
106 translations[frame].set(this.getLocalTranslation());
115 track.setKeyframes(track.getTimes(), translations, rotations, scales); local
118 bone.setUserTransforms(translations[0], rotations[0], scales[0]);
Ipo.java 134 Vector3f[] translations = new Vector3f[framesAmount + 1]; local
224 translations[index] = new Vector3f(translation[0], translation[1], translation[2]);
229 calculatedTrack = new SpatialTrack(times, translations, rotations, scales);
231 calculatedTrack = new BoneTrack(targetIndex, times, translations, rotations, scales);
  /external/chromium_org/tools/grit/grit/node/
empty.py 50 '''The <translations> element.'''
io_unittest.py 31 translations = empty.TranslationsNode()
32 translations.StartParsing(u'translations', root)
33 root.AddChild(translations)
35 file_node.StartParsing(u'file', translations)
37 translations.AddChild(file_node)
53 <translations>
55 </translations>
72 <translations>
76 </translations>
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
ConstraintShrinkWrap.java 67 Vector3f[] translations = track.getTranslations(); local
69 int maxFrames = translations.length;
71 Vector3f currentTranslation = translations[frame];
83 translations[frame] = minDistancePoint.clone();
86 track.setKeyframes(track.getTimes(), translations, rotations, track.getScales()); local
BlenderTrack.java 86 * @return the array of translations of this track
96 * Set the translations, rotations and scales for this bone track
100 * @param translations
107 public void setKeyframes(float[] times, Vector3f[] translations,
110 boneTrack.setKeyframes(times, translations, rotations, scales);
112 spatialTrack.setKeyframes(times, translations, rotations, scales);
ConstraintDistLimit.java 58 Vector3f[] translations = blenderTrack.getTranslations(); local
60 Vector3f v = translations[frame].subtract(targetLocation);
62 translations[frame].addLocal(v);
64 blenderTrack.setKeyframes(blenderTrack.getTimes(), translations, blenderTrack.getRotations(), blenderTrack.getScales()); local
ConstraintLocLike.java 72 Vector3f[] translations = blenderTrack.getTranslations(); local
73 int maxFrames = translations.length;
75 this.locLike(translations[frame], targetTransform.getTranslation(), ipo.calculateValue(frame));
77 blenderTrack.setKeyframes(blenderTrack.getTimes(), translations, blenderTrack.getRotations(), blenderTrack.getScales()); local
ConstraintLocLimit.java 83 Vector3f[] translations = track.getTranslations(); local
84 int maxFrames = translations.length;
86 this.locLimit(translations[frame], ipo.calculateValue(frame));
88 track.setKeyframes(track.getTimes(), translations, track.getRotations(), track.getScales()); local
  /external/chromium_org/tools/grit/grit/tool/
transl2tc_unittest.py 32 translations = [
38 tool.WriteTranslations(buf, translations)
101 translations = tool.ExtractTranslations(current_grd,
105 values = translations.values()
126 self.failUnless(output.count('Two different translations for "Howdie"'))
menu_from_parts.py 22 in a single message) based on existing translations of the individual menu
27 return ('Create translations of whole menus from existing translations of '
38 grd.OnlyTheseTranslations([]) # don't load translations
55 translations = [] # list of translations as per transl2tc.WriteTranslations
67 print "WARNING didn't find all translations for menu %s" % node.attrs['name']
75 translations.append([message.GetId(), ''.join(translation)])
78 transl2tc.TranslationToTc.WriteTranslations(f, translations)
newgrd.py 28 <translations>
30 Console) that contain translations of messages in your project. Each
33 </translations>
transl2tc.py 19 '''A tool for importing existing translations in RC format into the
32 translations and ensure that only translatable items and translations still
51 return 'Import existing translations in RC format into the TC'
80 translations = self.ExtractTranslations(grd,
85 self.WriteTranslations(output_file, translations.items())
91 '''Extracts translations from the translated RC file, matching them with
92 translations in the source RC file to calculate their ID, and correcting
202 # Only put each translation once into the map. Warn if translations
214 self.Out('Warning: Two different translations for "%s":\n
    [all...]
android2grd.py 63 to determine the names of resource and translations
86 --xtb-dir XTB_DIR Specify where the xtb files containing translations
200 <translations />
204 translations = root.children[1]
207 isinstance(translations, grit.node.empty.TranslationsNode) and
219 self.__CreateFileNode(translations, lang)
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/common/xmlpool/
gen_xmlpool.py 16 # descriptions and translations.
104 def expandMatches (matches, translations, end=None):
106 nTranslations = len(translations)
108 # Expand the description+enums for all translations
109 for lang,trans in translations:
114 if len(matches) == 1 and i < len(translations) and \
134 translations = [("en", gettext.NullTranslations())] variable
141 translations.append ((lang, trans))
157 # translations.
167 expandMatches (descMatches, translations, line
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/common/xmlpool/
gen_xmlpool.py 16 # descriptions and translations.
104 def expandMatches (matches, translations, end=None):
106 nTranslations = len(translations)
108 # Expand the description+enums for all translations
109 for lang,trans in translations:
114 if len(matches) == 1 and i < len(translations) and \
134 translations = [("en", gettext.NullTranslations())] variable
141 translations.append ((lang, trans))
157 # translations.
167 expandMatches (descMatches, translations, line
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/model/anim/
TestSpatialAnim.java 58 Vector3f[] translations = new Vector3f[totalFrames]; local
64 translations[i] = new Vector3f(x, 0, 0);
69 SpatialTrack spatialTrack = new SpatialTrack(times, translations, rotations, scales);
  /external/chromium_org/remoting/tools/
json_to_grd.py 6 # This script can be used to convert messages.json to grd translations.
53 # translations.
60 grd_translations = grd_xml.getElementsByTagName('translations')[0]
93 # Load translations
96 translations = json.load(translations_file)
100 translations = dict(zip(map(lambda x: x.upper(), translations.iterkeys()),
101 translations.values()))
112 if not translations.has_key(id):
118 text = translations[id]['message'
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/
FontChromiumWin.cpp 85 Vector<FloatPoint, kMaxBufferLength> translations; local
100 translations.resize(curLen);
101 verticalData->getVerticalTranslationsForGlyphs(font, &glyphs[0], curLen, reinterpret_cast<float*>(&translations[0]));
108 offsets[i].du = lroundf(translations[i].x());
109 offsets[i].dv = -lroundf(currentWidth - translations[i].y());
  /external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
SkeletonLoader.java 74 private ArrayList<Vector3f> translations = new ArrayList<Vector3f>(); field in class:SkeletonLoader
185 translations.add(position);
204 Vector3f[] transArray = translations.toArray(new Vector3f[translations.size()]);
215 translations.clear();
244 translations.clear();
  /external/chromium_org/third_party/jinja2/
ext.py 176 def _install(self, translations, newstyle=None):
177 gettext = getattr(translations, 'ugettext', None)
179 gettext = translations.gettext
180 ngettext = getattr(translations, 'ungettext', None)
182 ngettext = translations.ngettext
203 def _uninstall(self, translations):
  /external/chromium_org/v8/src/arm/
deoptimizer-arm.cc 184 ByteArray* translations = data->TranslationByteArray(); local
188 TranslationIterator it(translations, data->TranslationIndex(i)->value());
208 ByteArray* translations = data->TranslationByteArray(); local
210 TranslationIterator iterator(translations, translation_index);

Completed in 1484 milliseconds

1 2 3