/frameworks/base/core/jni/android/graphics/ |
NinePatchPeeker.cpp | 26 size_t patchSize = patch->serializedSize(); 27 assert(length == patchSize); 29 Res_png_9patch* patchNew = (Res_png_9patch*) malloc(patchSize); 30 memcpy(patchNew, patch, patchSize);
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
TerrainGridTileLoader.java | 18 public void setPatchSize(int patchSize);
|
TerrainGrid.java | 145 q = new TerrainQuad(getName() + "Quad" + quadCell, patchSize, quadSize, heightMapAt == null ? null : heightMapAt.getHeightMap()); 194 public TerrainGrid(String name, int patchSize, int maxVisibleSize, Vector3f scale, TerrainGridTileLoader terrainQuadGrid, 197 this.patchSize = patchSize; 204 terrainQuadGrid.setPatchSize(this.patchSize); 209 public TerrainGrid(String name, int patchSize, int maxVisibleSize, Vector3f scale, TerrainGridTileLoader terrainQuadGrid) { 210 this(name, patchSize, maxVisibleSize, scale, terrainQuadGrid, new Vector2f(), 0); 213 public TerrainGrid(String name, int patchSize, int maxVisibleSize, TerrainGridTileLoader terrainQuadGrid) { 214 this(name, patchSize, maxVisibleSize, Vector3f.UNIT_XYZ, terrainQuadGrid); 218 public TerrainGrid(String name, int patchSize, int maxVisibleSize, Vector3f scale, HeightMapGrid heightMapGrid [all...] |
TerrainQuad.java | 98 protected int size; // size of this quad, can be between totalSize and patchSize
100 protected int patchSize; // size of the individual patches
143 * @param patchSize size of the individual patches
148 public TerrainQuad(String name, int patchSize, int totalSize, float[] heightMap) {
149 this(name, patchSize, totalSize, Vector3f.UNIT_XYZ, heightMap);
156 * @param patchSize size of the individual patches
162 public TerrainQuad(String name, int patchSize, int quadSize, int totalSize, float[] heightMap) {
163 this(name, patchSize, totalSize, quadSize, Vector3f.UNIT_XYZ, heightMap);
170 * @param patchSize size of the individual patches
171 * @param size size of this quad, can be between totalSize and patchSize
[all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/ |
FractalTileLoader.java | 42 private int patchSize; 68 TerrainQuad q = new TerrainQuad("Quad" + location, patchSize, quadSize, heightMapAt == null ? null : heightMapAt.getHeightMap()); 72 public void setPatchSize(int patchSize) { 73 this.patchSize = patchSize;
|
ImageTileLoader.java | 29 private int patchSize; 96 im = new BufferedImage(patchSize, patchSize, imageType); 129 this.patchSize = size - 1; 134 TerrainQuad q = new TerrainQuad("Quad" + location, patchSize, quadSize, heightMapAt == null ? null : heightMapAt.getHeightMap()); 138 public void setPatchSize(int patchSize) { 139 this.patchSize = patchSize;
|
AssetTileLoader.java | 29 private int patchSize; 67 public void setPatchSize(int patchSize) { 68 this.patchSize = patchSize; 76 TerrainQuad q = new TerrainQuad("Quad" + location, patchSize, quadSize, null);
|
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
HelloTerrain.java | 103 int patchSize = 65; 104 terrain = new TerrainQuad("my terrain", patchSize, 513, heightmap.getHeightMap()); 114 control.setLodCalculator( new DistanceLodCalculator(patchSize, 2.7f) ); // patch size, and a multiplier
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/ |
SimpleLodThreshold.java | 66 public SimpleLodThreshold(int patchSize, float lodMultiplier) {
67 this.size = patchSize;
|
DistanceLodCalculator.java | 60 public DistanceLodCalculator(int patchSize, float multiplier) { 61 this.size = patchSize; 118 oc.write(size, "patchSize", 32); 124 size = ic.readInt("patchSize", 32);
|
/external/opencv/cv/src/ |
cvlkpyramid.cpp | 307 CvSize patchSize = cvSize( winSize.width * 2 + 1, winSize.height * 2 + 1 ); 308 int patchLen = patchSize.width * patchSize.height; 309 int srcPatchLen = (patchSize.width + 2)*(patchSize.height + 2); 488 u.x += (minI.x - (patchSize.width - maxI.x + 1))*0.5f; 489 u.y += (minI.y - (patchSize.height - maxI.y + 1))*0.5f; 519 _v.x = v.x + (minJ.x - (patchSize.width - maxJ.x + 1))*0.5f; 520 _v.y = v.y + (minJ.y - (patchSize.height - maxJ.y + 1))*0.5f; 696 CvSize patchSize = cvSize( winSize.width * 2 + 1, winSize.height * 2 + 1 ) [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
svn-create-patch | 104 my $patchSize = 0; 108 $patchSize += generateDiff($path, $prefix); 111 if ($patchSize > 20480) { 112 print STDERR "WARNING: Patch's size is " . int($patchSize/1024) . " kbytes.\n";
|
/frameworks/base/tools/aapt/ |
Images.cpp | 699 size_t patchSize = inPatch->serializedSize(); 700 void * newData = malloc(patchSize); 701 memcpy(newData, data, patchSize); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
nv50_ir_from_sm4.cpp | 144 unsigned g3dPrim(const unsigned prim, unsigned *patchSize = NULL) const; 167 Converter::g3dPrim(const unsigned prim, unsigned *patchSize) const 184 if (patchSize) 185 *patchSize = [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_from_sm4.cpp | 144 unsigned g3dPrim(const unsigned prim, unsigned *patchSize = NULL) const; 167 Converter::g3dPrim(const unsigned prim, unsigned *patchSize) const 184 if (patchSize) 185 *patchSize = [all...] |