Home
last modified time | relevance | path

Searched refs:stringBuilder (Results 1 – 17 of 17) sorted by relevance

/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
DBenchmark3DTest.java170 protected void getStatus (final StringBuilder stringBuilder) { in getStatus() argument
171 stringBuilder.setLength(0); in getStatus()
172 stringBuilder.append("GL calls: "); in getStatus()
173 stringBuilder.append(GLProfiler.calls); in getStatus()
174 glCallsLabel.setText(stringBuilder); in getStatus()
176 stringBuilder.setLength(0); in getStatus()
177 stringBuilder.append("Draw calls: "); in getStatus()
178 stringBuilder.append(GLProfiler.drawCalls); in getStatus()
179 drawCallsLabel.setText(stringBuilder); in getStatus()
181 stringBuilder.setLength(0); in getStatus()
[all …]
DShaderLoader.java92 final static StringBuilder stringBuilder = new StringBuilder();
99 stringBuilder.setLength(0); in parse()
104 …if (snipName.length() > 0 || stringBuilder.length() > 0) result.put(snipName, stringBuilder.toStri… in parse()
105 stringBuilder.setLength(0); in parse()
108 stringBuilder.append(line.trim()).append("\r\n"); in parse()
113 …if (snipName.length() > 0 || stringBuilder.length() > 0) result.put(snipName, stringBuilder.toStri… in parse()
119 stringBuilder.setLength(0); in toString()
121 stringBuilder.append(entry.key).append(": {"); in toString()
123 stringBuilder.append(snipname).append(", "); in toString()
124 stringBuilder.append("}\n"); in toString()
[all …]
DBaseG3dHudTest.java51 protected final StringBuilder stringBuilder = new StringBuilder(); field in BaseG3dHudTest
134 protected void getStatus (final StringBuilder stringBuilder) {
135 stringBuilder.append("FPS: ").append(Gdx.graphics.getFramesPerSecond());
136 if (loading) stringBuilder.append(" loading...");
155 stringBuilder.setLength(0);
156 getStatus(stringBuilder);
157 fpsLabel.setText(stringBuilder);
DModelTest.java68 protected void getStatus (StringBuilder stringBuilder) { in getStatus() argument
69 super.getStatus(stringBuilder); in getStatus()
73 stringBuilder.append(" press space or menu to switch animation"); in getStatus()
DSkeletonTest.java97 protected void getStatus (StringBuilder stringBuilder) { in getStatus() argument
98 super.getStatus(stringBuilder); in getStatus()
102 stringBuilder.append(" press space or menu to switch animation"); in getStatus()
DShaderCollectionTest.java236 protected void getStatus (StringBuilder stringBuilder) { in getStatus() argument
237 super.getStatus(stringBuilder); in getStatus()
240 stringBuilder.append(" ERROR CREATING SHADER, REVERTED TO DEFAULT"); in getStatus()
244 stringBuilder.append(" press space or menu to switch animation"); in getStatus()
DAnimation3DTest.java176 protected void getStatus (StringBuilder stringBuilder) { in getStatus() argument
177 super.getStatus(stringBuilder); in getStatus()
178stringBuilder.append(" use arrow keys to walk around, space to attack, Z to toggle attached node."… in getStatus()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DVBOWithVAOPerformanceTest.java55 StringBuilder stringBuilder; field in VBOWithVAOPerformanceTest
121 stringBuilder = new StringBuilder(); in create()
262 stringBuilder.setLength(0); in render()
263 stringBuilder.append("O Mean Time: "); in render()
264 stringBuilder.append(oldCounter.getMean()); in render()
265 bitmapFont.draw(batch, stringBuilder, 0, 200); in render()
266 stringBuilder.setLength(0); in render()
267 stringBuilder.append("N Mean Time: "); in render()
268 stringBuilder.append(newCounter.getMean()); in render()
269 bitmapFont.draw(batch, stringBuilder, 0, 200 - 20); in render()
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/
DStrings.java12 StringBuilder stringBuilder = new StringBuilder(); in fromStream() local
14 stringBuilder.append(new String(buffer, 0, inSize)); in fromStream()
16 return stringBuilder.toString(); in fromStream()
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DAbstractData.java117 StringBuilder stringBuilder = new StringBuilder(); in toString() local
118 toString(stringBuilder, 0); in toString()
119 return stringBuilder.toString(); in toString()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DEditTextTest.java68 StringBuilder stringBuilder = new StringBuilder(); in stringOfLength() local
71 stringBuilder.append('x'); in stringOfLength()
73 return stringBuilder.toString(); in stringOfLength()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
DFlameMain.java628 StringBuilder stringBuilder; field in FlameMain.AppRenderer
708 stringBuilder = new StringBuilder(); in create()
765 stringBuilder.delete(0, stringBuilder.length); in update()
766 stringBuilder.append("Point Sprites : ").append(pointSpriteBatch.getBufferedCount()); in update()
767 pointCountLabel.setText(stringBuilder); in update()
768 stringBuilder.delete(0, stringBuilder.length); in update()
769 stringBuilder.append("Billboards : ").append(billboardBatch.getBufferedCount()); in update()
770 billboardCountLabel.setText(stringBuilder); in update()
771 stringBuilder.delete(0, stringBuilder.length); in update()
772stringBuilder.append("Model Instances : ").append(modelInstanceParticleBatch.getBufferedCount()); in update()
[all …]
/external/guice/core/src/com/google/inject/internal/
DMoreTypes.java417 StringBuilder stringBuilder = new StringBuilder(30 * (typeArguments.length + 1)); in toString() local
418 stringBuilder.append(typeToString(rawType)); in toString()
421 return stringBuilder.toString(); in toString()
424 stringBuilder.append("<").append(typeToString(typeArguments[0])); in toString()
426 stringBuilder.append(", ").append(typeToString(typeArguments[i])); in toString()
428 return stringBuilder.append(">").toString(); in toString()
/external/mockito/src/org/mockito/exceptions/
DReporter.java716 …StringBuilder stringBuilder = new StringBuilder("the possible argument indexes for this method are… in possibleArgumentTypesOf() local
718 stringBuilder.append(" [").append(i); in possibleArgumentTypesOf()
721stringBuilder.append("+] ").append(parameterTypes[i].getComponentType().getSimpleName()).append(" … in possibleArgumentTypesOf()
723 stringBuilder.append("] ").append(parameterTypes[i].getSimpleName()).append("\n"); in possibleArgumentTypesOf()
726 return stringBuilder; in possibleArgumentTypesOf()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieMap.java560 private static void getChars(BytesTrie.Entry entry, StringBuilder stringBuilder) { in getChars() argument
565 stringBuilder.append((char) b); in getChars()
569 stringBuilder.append((char) ((b1 << 8) | b2)); in getChars()
573 stringBuilder.append((char) ((b2 << 8) | b3)); in getChars()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieMap.java561 private static void getChars(BytesTrie.Entry entry, StringBuilder stringBuilder) { in getChars() argument
566 stringBuilder.append((char) b); in getChars()
570 stringBuilder.append((char) ((b1 << 8) | b2)); in getChars()
574 stringBuilder.append((char) ((b2 << 8) | b3)); in getChars()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_sender.cc708 NACKStringBuilder stringBuilder; in BuildNACK() local
710 stringBuilder.PushNACK(ctx.nack_list_[idx]); in BuildNACK()
718 TRACE_STR_COPY(stringBuilder.GetResult().c_str())); in BuildNACK()