Searched defs:scales (Results 1 - 22 of 22) sorted by relevance

/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/
H A DCalculationBone.java27 private Vector3f[] scales; field in class:CalculationBone
38 this.scales = new Vector3f[boneFramesCount];
42 Arrays.fill(this.scales, 0, boneFramesCount, this.startScale);
58 this.scales = track.getScales();
107 if (scales != null) {
108 scales[frame].set(this.getLocalScale());
115 track.setKeyframes(track.getTimes(), translations, rotations, scales);
118 bone.setUserTransforms(translations[0], rotations[0], scales[0]);
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
H A DBoneTrack.java58 private CompactVector3Array scales; field in class:BoneTrack
85 * @param scales the scale of the bone for each frame
87 public BoneTrack(int targetBoneIndex, float[] times, Vector3f[] translations, Quaternion[] rotations, Vector3f[] scales) { argument
89 this.setKeyframes(times, translations, rotations, scales);
116 * returns the array of scales for this track
120 return scales == null ? null : scales.toObjectArray();
162 * Set the translations, rotations and scales for this bone track
166 * @param scales the scale of the bone for each frame
168 public void setKeyframes(float[] times, Vector3f[] translations, Quaternion[] rotations, Vector3f[] scales) { argument
[all...]
H A DSpatialTrack.java34 private CompactVector3Array scales; field in class:SpatialTrack
53 * @param scales
57 Quaternion[] rotations, Vector3f[] scales) {
58 setKeyframes(times, translations, rotations, scales);
84 if (scales != null) {
85 scales.get(0, tempS);
92 if (scales != null) {
93 scales.get(lastFrame, tempS);
110 if (scales != null) {
111 scales
56 SpatialTrack(float[] times, Vector3f[] translations, Quaternion[] rotations, Vector3f[] scales) argument
146 setKeyframes(float[] times, Vector3f[] translations, Quaternion[] rotations, Vector3f[] scales) argument
[all...]
H A DAnimationFactory.java138 * scales array for this animation
140 protected Vector3f[] scales; field in class:AnimationFactory
172 scales = new Vector3f[totalFrames];
392 SpatialTrack spatialTrack = new SpatialTrack(times, translations, rotations, scales);
437 scales[j] = FastMath.interpolateLinear(val, (Vector3f) keyFrames[i], (Vector3f) keyFrames[key]);
455 scales[j] = ((Vector3f) keyFrames[i]).clone();
/external/skia/gm/
H A Ddftext.cpp46 SkScalar scales[] = { 2.0f*5.0f, 5.0f, 2.0f, 1.0f }; variable
81 canvas->scale(scales[i], scales[i]);
84 y += paint.getFontMetrics(nullptr)*scales[i];
110 SkScalar scaleFactor = SkScalarInvert(scales[arraySize - i - 1]);
H A Dimagefiltersscaled.cpp95 SkVector scales[] = { variable
108 for (size_t j = 0; j < SK_ARRAY_COUNT(scales); ++j) {
116 canvas->scale(scales[j].fX, scales[j].fY);
126 canvas->translate(r.width() * scales[j].fX + margin, 0);
129 canvas->translate(0, r.height() * scales[j].fY + margin);
H A Dblurrect.cpp116 SkScalar scales[] = { SK_Scalar1, 0.6f }; variable
118 for (size_t s = 0; s < SK_ARRAY_COUNT(scales); ++s) {
133 canvas->scale(scales[s], scales[s]);
143 canvas->translate(0, SK_ARRAY_COUNT(procs) * r.height() * 4/3 * scales[s]);
146 canvas->translate(4 * r.width() * 4/3 * scales[s], 0);
H A Dconvex_all_line_paths.cpp268 const float scales[] = { 1.0f, 0.75f, 0.5f, 0.25f, 0.1f, 0.01f, 0.001f }; local
273 for (size_t i = 0; i < SK_ARRAY_COUNT(scales); ++i) {
278 canvas->scale(scales[i], scales[i]);
H A Dimage.cpp381 const float scales[] = { 0.75f, 0.5f, 0.25f }; local
382 for (auto scale : scales) {
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
H A DBlenderTrack.java66 * @return the array of scales for this track
96 * Set the translations, rotations and scales for this bone track
104 * @param scales
108 Quaternion[] rotations, Vector3f[] scales) {
110 boneTrack.setKeyframes(times, translations, rotations, scales);
112 spatialTrack.setKeyframes(times, translations, rotations, scales);
107 setKeyframes(float[] times, Vector3f[] translations, Quaternion[] rotations, Vector3f[] scales) argument
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
H A DSkeletonLoader.java76 private ArrayList<Vector3f> scales = new ArrayList<Vector3f>(); field in class:SkeletonLoader
188 scales.add(scale);
190 scales.add(new Vector3f(1,1,1));
206 Vector3f[] scalesArray = scales.toArray(new Vector3f[scales.size()]);
217 scales.clear();
/external/dng_sdk/source/
H A Ddng_misc_opcodes.cpp1277 uint32 scales = SafeUint32DivideUp (fAreaSpec.Area ().H (), local
1280 if (scales != stream.Get_uint32 ())
1285 if (dataSize != dng_area_spec::kDataSize + 4 + scales * 4)
1290 fTable.Reset (host.Allocate (SafeUint32Mult (scales,
1295 for (uint32 j = 0; j < scales; j++)
1305 printf ("Count: %u\n", (unsigned) scales);
1307 for (uint32 k = 0; k < scales && k < gDumpLineLimit; k++)
1312 if (scales > gDumpLineLimit)
1314 printf (" ... %u scales skipped\n", (unsigned) (scales
1328 uint32 scales = SafeUint32DivideUp (fAreaSpec.Area ().H (), local
1454 uint32 scales = SafeUint32DivideUp (fAreaSpec.Area ().W (), local
1505 uint32 scales = SafeUint32DivideUp (fAreaSpec.Area ().W (), local
[all...]
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_aos.c157 LLVMValueRef scales[4]; local
201 scales[i] = LLVMConstNull(LLVMFloatTypeInContext(gallivm->context));
216 scales[i] = lp_build_const_float(gallivm, 1.0 / mask);
220 scales[i] = lp_build_const_float(gallivm, 1.0);
246 scaled = LLVMBuildFMul(builder, casted, LLVMConstVector(scales, 4), "");
273 LLVMValueRef scales[4]; local
307 scales[i] = LLVMGetUndef(LLVMFloatTypeInContext(gallivm->context));
318 scales[i] = lp_build_const_float(gallivm, mask);
322 scales[i] = lp_build_const_float(gallivm, 1.0);
329 scaled = LLVMBuildFMul(builder, unswizzled, LLVMConstVector(scales,
[all...]
/external/skia/src/gpu/effects/
H A DGrBicubicEffect.cpp201 SkScalar scales[2]; local
202 if (!matrix.getMinMaxScales(scales) || scales[0] < SK_Scalar1) {
208 // At this point if scales[1] == SK_Scalar1 then the matrix doesn't do any scaling.
209 if (scales[1] == SK_Scalar1) {
/external/v8/test/unittests/compiler/ia32/
H A Dinstruction-selector-ia32-unittest.cc346 Node* scales[4]; member in class:v8::internal::compiler::AddressingModeUnitTest
359 scales[0] = m->Int32Constant(1);
360 scales[1] = m->Int32Constant(2);
361 scales[2] = m->Int32Constant(4);
362 scales[3] = m->Int32Constant(8);
390 for (size_t i = 0; i < arraysize(scales); ++i) {
393 Node* load_index = m->Int32Mul(index_reg, scales[i]);
394 Node* store_index = m->Int32Mul(index_reg, scales[i]);
410 for (size_t i = 0; i < arraysize(scales); ++i) {
413 Node* load_index = m->Int32Add(m->Int32Mul(index_reg, scales[
[all...]
/external/skia/tests/
H A DMatrixTest.cpp162 SkScalar scales[2]; local
169 success = identity.getMinMaxScales(scales);
170 REPORTER_ASSERT(reporter, success && SK_Scalar1 == scales[0] && SK_Scalar1 == scales[1]);
176 success = scale.getMinMaxScales(scales);
177 REPORTER_ASSERT(reporter, success && SK_Scalar1 * 2 == scales[0] && SK_Scalar1 * 4 == scales[1]);
184 success = rot90Scale.getMinMaxScales(scales);
185 REPORTER_ASSERT(reporter, success && SK_Scalar1 / 4 == scales[0] && SK_Scalar1 / 2 == scales[
253 SkScalar scales[2]; local
[all...]
/external/robolectric/v3/runtime/
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...

Completed in 194 milliseconds