/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
BoneTrack.java | 58 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) { 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) { 275 Vector3f[] scales = new Vector3f[tablesLength]; local [all...] |
SpatialTrack.java | 32 * Scales of the track.
34 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) { [all...] |
AnimationFactory.java | 138 * 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/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/ |
CalculationBone.java | 27 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);
local 118 bone.setUserTransforms(translations[0], rotations[0], scales[0]);
|
Ipo.java | 139 Vector3f[] scales = new Vector3f[framesAmount + 1];
local 226 scales[index] = new Vector3f(scale[0], scale[1], scale[2]);
229 calculatedTrack = new SpatialTrack(times, translations, rotations, scales);
231 calculatedTrack = new BoneTrack(targetIndex, times, translations, rotations, scales);
|
/external/chromium_org/ui/gfx/image/ |
image_unittest_util.cc | 52 std::vector<float> scales; local 53 scales.push_back(1.0f); 54 scales.push_back(2.0f); 55 return scales; 152 const std::vector<float>& scales) { 156 image_skia.image_reps().size() != scales.size()) { 160 for (size_t i = 0; i < scales.size(); ++i) { 162 image_skia.GetRepresentation(scales[i]); 163 if (image_rep.is_null() || image_rep.scale() != scales[i]) 166 if (image_rep.pixel_width() != static_cast<int>(width * scales[i]) | [all...] |
image_skia.h | 64 // Changes the value of GetSupportedScales() to |scales|. 65 static void SetSupportedScales(const std::vector<float>& scales);
|
image_unittest.cc | 36 std::vector<float> scales; local 37 scales.push_back(1.0f); 39 scales.push_back(2.0f); 41 gfx::ImageSkia::SetSupportedScales(scales); 245 std::vector<float> scales; local 246 scales.push_back(1.0f); 247 scales.push_back(2.0f); 250 scales)); 271 std::vector<float> scales = gfx::ImageSkia::GetSupportedScales(); local 272 EXPECT_EQ(scales.size(), 1U) 651 std::vector<float> scales; local [all...] |
/external/chromium_org/tools/grit/grit/gather/ |
chrome_scaled_image.py | 105 scales = [req_scale] 108 if try_low_res and 100 not in scales: 109 scales.append(100) 111 for scale in scales: 118 _MakeBraceGlob(map(str, scales)))
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ |
BlenderTrack.java | 66 * @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);
|
ConstraintSizeLike.java | 64 Vector3f[] scales = track.getScales();
local 65 int maxFrames = scales.length;
67 this.sizeLike(scales[frame], targetScale, ipo.calculateValue(frame));
69 track.setKeyframes(track.getTimes(), track.getTranslations(), track.getRotations(), scales);
local
|
ConstraintSizeLimit.java | 83 Vector3f[] scales = track.getScales();
local 84 int maxFrames = scales.length;
86 this.sizeLimit(scales[frame], ipo.calculateValue(frame));
88 track.setKeyframes(track.getTimes(), track.getTranslations(), track.getRotations(), scales);
local
|
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/ |
TestSpatialAnim.java | 60 Vector3f[] scales = new Vector3f[totalFrames];
local 67 scales[i] = Vector3f.UNIT_XYZ;
69 SpatialTrack spatialTrack = new SpatialTrack(times, translations, rotations, scales);
|
/external/chromium_org/ui/base/ |
layout.cc | 88 // Set ImageSkia's supported scales. 89 std::vector<float> scales; local 93 scales.push_back(GetImageScale(*it)); 95 gfx::ImageSkia::SetSupportedScales(scales);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_format_aos.c | 157 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, 4), "") [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_format_aos.c | 157 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, 4), "") [all...] |
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
SkeletonLoader.java | 76 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/chromium_org/chrome/browser/history/ |
select_favicon_frames_unittest.cc | 22 vector<ui::ScaleFactor> scales; local 23 scales.push_back(ui::SCALE_FACTOR_100P); 24 scales.push_back(ui::SCALE_FACTOR_200P); 25 return scales;
|
/external/chromium_org/ash/display/ |
display_manager.cc | 55 // List of value UI Scale values. Scales for 2x are equivalent to 640, 192 std::vector<float> scales = GetScalesForDisplay(info); local 193 for (size_t i = 0; i < scales.size(); ++i) { 194 if (ScaleComparator(scales[i])(scale)) { 195 if (up && i != scales.size() - 1) 196 return scales[i + 1]; 198 return scales[i - 1]; 199 return scales[i]; 412 std::vector<float> scales = GetScalesForDisplay(info); 414 if (std::find_if(scales.begin(), scales.end(), comparator) = [all...] |
/external/jpeg/ |
jddctmgr.c | 278 static const unsigned short scales[DCTSIZE2] = { local 293 ifmtbl[j] = (qtbl->quantval[i] * scales[i] + 2) >> 2;
|
/external/libvorbis/lib/ |
Makefile.am | 16 registry.h scales.h window.h lookup.h lookup_data.h\
|
/external/qemu/distrib/jpeg-6b/ |
jddctmgr.c | 238 static const unsigned short scales[DCTSIZE2] = { local 253 ifmtbl[j] = (qtbl->quantval[i] * scales[i] + 2) >> 2;
|
/frameworks/base/core/java/android/view/ |
IWindowManager.aidl | 130 void setAnimationScales(in float[] scales);
|
ScaleGestureDetector.java | 460 * @param scales true to enable quick scaling, false to disable 462 public void setQuickScaleEnabled(boolean scales) { 463 mQuickScaleEnabled = scales;
|
/external/chromium_org/chrome/browser/themes/ |
browser_theme_pack.cc | 237 // Returns true if the scales in |input| match those in |expected|. 244 scoped_ptr<float[]> scales(new float[scales_size]); 246 memcpy(scales.get(), input.data(), input.size()); 248 if (scales[index] != ui::GetImageScale(expected[index])) 257 scoped_ptr<float[]> scales(new float[scale_factors.size()]); 259 scales[i] = ui::GetImageScale(scale_factors[i]); 261 reinterpret_cast<const char*>(scales.get()), 472 // A ImageSkiaSource that scales 100P image to the target scale factor [all...] |