/external/jmonkeyengine/engine/src/bullet-native/ |
com_jme3_bullet_collision_shapes_HeightfieldCollisionShape.cpp | 50 (JNIEnv * env, jobject object, jint heightStickWidth, jint heightStickLength, jobject heightfieldData, jfloat heightScale, jfloat minHeight, jfloat maxHeight, jint upAxis, jboolean flipQuadEdges) { 53 btHeightfieldTerrainShape* shape=new btHeightfieldTerrainShape(heightStickWidth, heightStickLength, data, heightScale, minHeight, maxHeight, upAxis, PHY_FLOAT, flipQuadEdges);
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/ |
FractalTileLoader.java | 45 private final float heightScale; 47 public FractalTileLoader(Basis base, float heightScale) { 49 this.heightScale = heightScale; 59 arr[i] = arr[i] * this.heightScale;
|
ImageTileLoader.java | 31 private float heightScale = 1; 52 public void setHeightScale(float heightScale) { 53 this.heightScale = heightScale;
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
ImageBasedHeightMap.java | 74 public ImageBasedHeightMap(Image colorImage, float heightScale) {
76 this.heightScale = heightScale;
116 heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale;
121 heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale;
130 heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale;
135 heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale;
164 return byte2float(buf.get())*255*heightScale;
168 return (sbuf.get() & 0xFFFF) / 65535f * 255f * heightScale;
|
AbstractHeightMap.java | 62 protected float heightScale = 1.0f;
85 heightScale = scale;
167 return ((heightData[x + (z * size)]) * heightScale);
224 hm[i] = heightScale * heightData[i];
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
HeightfieldCollisionShape.java | 36 protected float heightScale;
57 this.heightScale = 1;//don't change away from 1, we use worldScale instead to scale
106 objectId = createShape(heightStickWidth, heightStickLength, bbuf, heightScale, minHeight, maxHeight, upAxis, flipQuadEdges);
112 private native long createShape(int heightStickWidth, int heightStickLength, ByteBuffer heightfieldData, float heightScale, float minHeight, float maxHeight, int upAxis, boolean flipQuadEdges);
124 capsule.write(heightScale, "heightScale", 0);
137 heightScale = capsule.readFloat("heightScale", 0);
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
HeightfieldCollisionShape.java | 36 protected float heightScale; 56 this.heightScale = 1;//don't change away from 1, we use worldScale instead to scale 94 HeightfieldTerrainShape shape = new HeightfieldTerrainShape(heightStickWidth, heightStickLength, heightfieldData, heightScale, minHeight, maxHeight, upAxis, flipQuadEdges); 111 capsule.write(heightScale, "heightScale", 0); 124 heightScale = capsule.readFloat("heightScale", 0);
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
LayoutSize.h | 84 void scale(float widthScale, float heightScale) 87 m_height *= heightScale; 122 float heightScale = height().toFloat() / aspectRatio.height().toFloat(); 124 if ((widthScale > heightScale) != (fit == AspectRatioFitGrow))
|
IntSize.h | 66 void scale(float widthScale, float heightScale) 69 m_height = static_cast<int>(static_cast<float>(m_height) * heightScale);
|
FloatRect.cpp | 263 float heightScale = destRect.height() / srcRect.height(); 265 destRect.y() + (r.y() - srcRect.y()) * heightScale, 266 r.width() * widthScale, r.height() * heightScale);
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
image_util.js | 30 var heightScale = imageSpec.height / img.height; 31 if (heightScale < scaleFactor) 32 scaleFactor = heightScale;
|
/cts/apps/CtsVerifier/lib/colorchecker/ |
testingimage.cpp | 71 int heightScale = inputHeight / newHeight; 81 for (int l = 0; l < heightScale; ++l) { 84 (i * heightScale + l) * inputRowSpan 88 pixelValue = pixelValue / (heightScale * widthScale);
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
ImageResource.cpp | 252 float heightScale = m_image->hasRelativeHeight() ? 1.0f : multiplier; 254 imageSize.scale(widthScale, heightScale);
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
ImageDocument.cpp | 228 float heightScale = (float)windowSize.height() / imageSize.height(); 230 return min(widthScale, heightScale);
|
/packages/apps/Gallery/src/com/android/camera/ |
ImageViewTouchBase.java | 270 float heightScale = Math.min(viewHeight / h, 3.0f); 271 float scale = Math.min(widthScale, heightScale);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
ImageViewTouchBase.java | 275 float heightScale = Math.min(viewHeight / h, 10.0f); 276 float scale = Math.min(widthScale, heightScale);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderThemeChromiumMac.mm | 826 CGFloat heightScale = r.height() / kSquareSize; 828 heightScale, 0, // A B 829 0, heightScale, // C D [all...] |