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

1 2

  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
MidpointDisplacementHeightMap.java 123 float[][] tempBuffer = new float[size][size];
126 tempBuffer[0][0] = random.nextFloat();
127 tempBuffer[0][size - 1] = random.nextFloat();
128 tempBuffer[size - 1][0] = random.nextFloat();
129 tempBuffer[size - 1][size - 1] = random.nextFloat();
136 nextCoords = doSquareStep(tempBuffer, nextCoords, stepSize, offsetRange, random);
140 nextCoords = doDiamondStep(tempBuffer, nextCoords, stepSize, offsetRange, random);
148 setHeightAtPoint((float) tempBuffer[i][j], j, i);
162 * @param tempBuffer the temprary heightmap
169 protected int[] doSquareStep(float[][] tempBuffer, int[] coords, int stepSize, float offsetRange, Random random) {
    [all...]
ParticleDepositionHeightMap.java 137 float[][] tempBuffer = new float[size][size];
184 tempBuffer[x][y] += 1;
206 if (tempBuffer[tx][ty] + 1.0f < tempBuffer[sx][sy]) {
207 tempBuffer[tx][ty] += 1.0f;
208 tempBuffer[sx][sy] -= 1.0f;
220 if (tempBuffer[sx][sy] > tempBuffer[calderaX][calderaY]) {
228 calderaStartPoint = tempBuffer[calderaX][calderaY];
260 if (tempBuffer[calderaX][calderaY] > cutoff
    [all...]
HillHeightMap.java 126 float[][] tempBuffer = new float[size][size];
131 addHill(tempBuffer, random);
137 setHeightAtPoint((float) tempBuffer[i][j], j, i);
154 * @param tempBuffer
159 protected void addHill(float[][] tempBuffer, Random random) {
199 tempBuffer[i][j] += height;
FaultHeightMap.java 138 float[][] tempBuffer = new float[size][size];
142 addFault(tempBuffer, random);
147 setHeightAtPoint(tempBuffer[i][j], i, j);
157 protected void addFault(float[][] tempBuffer, Random random) {
162 addLineFault(tempBuffer, random, faultHeight, range);
165 addCircleFault(tempBuffer, random, faultHeight, range);
170 protected void addLineFault(float[][] tempBuffer, Random random, float faultHeight, float range) {
181 tempBuffer[i][j] += calcHeight(dist, random, faultHeight, range);
186 protected void addCircleFault(float[][] tempBuffer, Random random, float faultHeight, float range) {
209 tempBuffer[i][j] += calcHeight(dist, random, faultHeight, range);
    [all...]
FluidSimHeightMap.java 148 float[][] tempBuffer = new float[2][size * size];
159 tempBuffer[0][j + i * size] = tempBuffer[1][j + i * size] = randomRange(random, minInitialHeight, maxInitialHeight);
175 oldBuffer = tempBuffer[1 - curBuf];
176 newBuffer = tempBuffer[curBuf];
214 heightData[x + y * size] = (float) (tempBuffer[curBuf][x + y * size]);
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
ThreadSafeDataTransportTest.cpp 47 SharedBuffer* tempBuffer = 0;
49 transport.data(&tempBuffer, &allDataReceived);
72 SharedBuffer* tempBuffer = 0;
74 transport.data(&tempBuffer, &allDataReceived);
76 EXPECT_FALSE(memcmp(testString3, tempBuffer->data(), tempBuffer->size()));
  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoDownloadRunnable.java 185 byte[] tempBuffer = new byte[READ_SIZE];
188 int bufferLeft = tempBuffer.length;
214 readResult = byteStream.read(tempBuffer, bufferOffset,
259 int newSize = tempBuffer.length + READ_SIZE;
268 System.arraycopy(tempBuffer, 0, expandedBuffer, 0,
269 tempBuffer.length);
270 tempBuffer = expandedBuffer;
277 * (equal to the next open byte, because tempBuffer
283 System.arraycopy(tempBuffer, 0, byteBuffer, 0, bufferOffset);
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
omxVCM4P2_TransRecBlockCoef_inter.c 71 OMX_S16 tempBuffer[72];
76 pTempBuffer = armAlignTo16Bytes(tempBuffer);
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
GZIPSerializer.java 85 ByteBuffer tempBuffer = ByteBuffer.allocate(512000);
86 Serializer.writeClassAndObject(tempBuffer, message);
91 gzipOutput.write(tempBuffer.array());
ZIPSerializer.java 92 ByteBuffer tempBuffer = ByteBuffer.allocate(512000);
93 Serializer.writeClassAndObject(tempBuffer, message);
102 zipOutput.write(tempBuffer.array());
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
Utf8Utils.java 71 private static char[] tempBuffer = null;
84 if (tempBuffer == null || tempBuffer.length < length) {
85 tempBuffer = new char[length];
87 char[] chars = tempBuffer;
  /external/chromium_org/third_party/icu/source/test/intltest/
msfmrgts.cpp 104 UnicodeString tempBuffer;
106 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status);
107 if( tempBuffer != "Message with param:BUG" || failure(status, "messageFormat->format"))
109 logln("Formatted with one extra param : " + tempBuffer);
122 //tempBuffer = messageFormatter->format(NULL, 1, tempBuffer, FieldPosition(FieldPosition::DONT_CARE), status);
123 tempBuffer.remove();
124 tempBuffer = messageFormatter->format(NULL, 0, tempBuffer, pos, status)
    [all...]
  /external/icu4c/test/intltest/
msfmrgts.cpp 101 UnicodeString tempBuffer;
103 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status);
104 if( tempBuffer != "Message with param:BUG" || failure(status, "messageFormat->format"))
106 logln("Formatted with one extra param : " + tempBuffer);
119 //tempBuffer = messageFormatter->format(NULL, 1, tempBuffer, FieldPosition(FieldPosition::DONT_CARE), status);
120 tempBuffer.remove();
121 tempBuffer = messageFormatter->format(NULL, 0, tempBuffer, pos, status)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
image.c 464 GLuint *tempBuffer;
467 tempBuffer = malloc(count * MAX_PIXEL_BYTES);
468 if (!tempBuffer)
477 GLushort (*dst2)[4] = (GLushort (*)[4]) (useTemp ? tempBuffer : dst);
488 memcpy(dst, tempBuffer, count * 4 * sizeof(GLushort));
492 GLfloat (*dst4)[4] = (GLfloat (*)[4]) (useTemp ? tempBuffer : dst);
504 memcpy(dst, tempBuffer, count * 4 * sizeof(GLfloat));
510 GLubyte (*dst1)[4] = (GLubyte (*)[4]) (useTemp ? tempBuffer : dst);
521 memcpy(dst, tempBuffer, count * 4 * sizeof(GLubyte));
525 GLfloat (*dst4)[4] = (GLfloat (*)[4]) (useTemp ? tempBuffer : dst)
    [all...]
  /external/mesa3d/src/mesa/main/
image.c 464 GLuint *tempBuffer;
467 tempBuffer = malloc(count * MAX_PIXEL_BYTES);
468 if (!tempBuffer)
477 GLushort (*dst2)[4] = (GLushort (*)[4]) (useTemp ? tempBuffer : dst);
488 memcpy(dst, tempBuffer, count * 4 * sizeof(GLushort));
492 GLfloat (*dst4)[4] = (GLfloat (*)[4]) (useTemp ? tempBuffer : dst);
504 memcpy(dst, tempBuffer, count * 4 * sizeof(GLfloat));
510 GLubyte (*dst1)[4] = (GLubyte (*)[4]) (useTemp ? tempBuffer : dst);
521 memcpy(dst, tempBuffer, count * 4 * sizeof(GLubyte));
525 GLfloat (*dst4)[4] = (GLfloat (*)[4]) (useTemp ? tempBuffer : dst)
    [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
WmaDecTest.c     [all...]
  /external/chromium_org/third_party/icu/source/common/
uloc.c     [all...]
  /external/icu4c/common/
uloc.cpp     [all...]
  /external/lzma/CPP/7zip/Archive/7z/
7zEncode.cpp 167 CMyComPtr<ISequentialOutStream> tempBuffer = tempBufferSpec;
169 tempBuffers.Add(tempBuffer);
  /frameworks/base/libs/hwui/
PathTessellator.cpp     [all...]
  /prebuilts/devtools/tools/lib/
sdkmanager.jar 
ddmlib.jar 
  /external/yaffs2/yaffs2/
yaffs_guts.c 189 if (dev->tempBuffer[i].line == 0) {
190 dev->tempBuffer[i].line = lineNo;
194 dev->tempBuffer[j].maxLine =
195 dev->tempBuffer[j].line;
198 return dev->tempBuffer[i].buffer;
206 T(YAFFS_TRACE_BUFFERS, (TSTR(" %d "), dev->tempBuffer[i].line));
225 if (dev->tempBuffer[i].buffer == buffer) {
226 dev->tempBuffer[i].line = 0;
249 if (dev->tempBuffer[i].buffer == buffer)
    [all...]
yaffs_guts.h 739 yaffs_TempBuffer tempBuffer[YAFFS_N_TEMP_BUFFERS];
  /prebuilts/gradle-plugin/com/android/tools/ddms/ddmlib/22.2.0/
ddmlib-22.2.0.jar 

Completed in 1274 milliseconds

1 2