HomeSort by relevance Sort by last modified time
    Searched refs:Batch (Results 51 - 75 of 82) sorted by null

1 23 4

  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
Scene2dTest.java 25 import com.badlogic.gdx.graphics.g2d.Batch;
58 public void draw (Batch batch, float parentAlpha) {
60 batch.setColor(color.r, color.g, color.b, parentAlpha);
61 batch.draw(region, getX(), getY(), getOriginX(), getOriginY(), getWidth(), getHeight(), getScaleX(), getScaleY(),
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
BitmapFont.java 45 * Text is drawn using a {@link Batch}. Text can be cached in a {@link BitmapFontCache} for faster rendering of static text, which
188 public GlyphLayout draw (Batch batch, CharSequence str, float x, float y) {
191 cache.draw(batch);
197 public GlyphLayout draw (Batch batch, CharSequence str, float x, float y, float targetWidth, int halign, boolean wrap) {
200 cache.draw(batch);
206 public GlyphLayout draw (Batch batch, CharSequence str, float x, float y, int start, int end, float targetWidth, int halign,
210 cache.draw(batch);
    [all...]
BitmapFontCache.java 232 public void draw (Batch spriteBatch) {
242 public void draw (Batch spriteBatch, int start, int end) {
277 public void draw (Batch spriteBatch, float alphaModulation) {
ParticleEffect.java 67 public void draw (Batch spriteBatch) {
72 public void draw (Batch spriteBatch, float delta) {
272 * IMPORTANT: If set to false and if the next object to use this Batch expects alpha blending, you are responsible for setting
273 * the Batch's blend function to (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) before that next object is drawn.
Sprite.java 27 /** Holds the geometry, color, and texture information for drawing 2D sprites using {@link Batch}. A Sprite has a position and a
29 * {@link Batch#begin()} and the respective matrices. A Sprite is always rectangular and its position (x, y) are located in the
514 public void draw (Batch batch) {
515 batch.draw(texture, getVertices(), 0, SPRITE_SIZE);
518 public void draw (Batch batch, float alphaModulation) {
521 draw(batch);
NinePatch.java 346 public void draw (Batch batch, float x, float y, float width, float height) {
351 final float c = tmpDrawColor.set(color).mul(batch.getColor()).toFloatBits();
364 batch.draw(texture, vertices, 0, idx);
367 /** Copy given color. The color will be blended with the batch color, then combined with the texture colors at
368 * {@link NinePatch#draw(Batch, float, float, float, float) draw} time. Default is {@link Color#WHITE}. */
ParticleEmitter.java 234 public void draw (Batch batch) {
236 batch.setBlendFunction(GL20.GL_ONE, GL20.GL_ONE_MINUS_SRC_ALPHA);
238 batch.setBlendFunction(GL20.GL_SRC_ALPHA, GL20.GL_ONE);
240 batch.setBlendFunction(GL20.GL_SRC_ALPHA, GL20.GL_ONE_MINUS_SRC_ALPHA);
246 if (active[i]) particles[i].draw(batch);
250 batch.setBlendFunction(GL20.GL_SRC_ALPHA, GL20.GL_ONE_MINUS_SRC_ALPHA);
255 * {@link #draw(Batch)} separately. */
256 public void draw (Batch batch, float delta) {
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/
Stage.java 29 import com.badlogic.gdx.graphics.g2d.Batch;
69 private final Batch batch; field in class:Stage
88 /** Creates a stage with a {@link ScalingViewport} set to {@link Scaling#stretch}. The stage will use its own {@link Batch}
96 /** Creates a stage with the specified viewport. The stage will use its own {@link Batch} which will be disposed when the stage
103 /** Creates a stage with the specified viewport and batch. This can be used to avoid creating a new batch (which can be somewhat
105 * @param batch Will not be disposed if {@link #dispose()} is called, handle disposal yourself. */
106 public Stage (Viewport viewport, Batch batch) {
    [all...]
Actor.java 23 import com.badlogic.gdx.graphics.g2d.Batch;
74 /** Draws the actor. The batch is configured to draw in the parent's coordinate system.
75 * {@link Batch#draw(com.badlogic.gdx.graphics.g2d.TextureRegion, float, float, float, float, float, float, float, float, float)
76 * This draw method} is convenient to draw a rotated and scaled TextureRegion. {@link Batch#begin()} has already been called on
77 * the batch. If {@link Batch#end()} is called to draw without the batch then {@link Batch#begin()} must be called before the
82 public void draw (Batch batch, float parentAlpha) {
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
Container.java 5 import com.badlogic.gdx.graphics.g2d.Batch;
40 public void draw (Batch batch, float parentAlpha) {
43 applyTransform(batch, computeTransform());
44 drawBackground(batch, parentAlpha, 0, 0);
46 batch.flush();
50 drawChildren(batch, parentAlpha);
51 batch.flush();
55 drawChildren(batch, parentAlpha);
56 resetTransform(batch);
    [all...]
SelectBox.java 26 import com.badlogic.gdx.graphics.g2d.Batch;
205 public void draw (Batch batch, float parentAlpha) {
228 batch.setColor(color.r, color.g, color.b, color.a * parentAlpha);
229 if (background != null) background.draw(batch, x, y, width, height);
244 font.draw(batch, layout, x, y);
467 public void draw (Batch batch, float parentAlpha) {
470 super.draw(batch, parentAlpha);
Label.java 20 import com.badlogic.gdx.graphics.g2d.Batch;
207 public void draw (Batch batch, float parentAlpha) {
212 batch.setColor(color.r, color.g, color.b, color.a);
213 style.background.draw(batch, getX(), getY(), getWidth(), getHeight());
218 cache.draw(batch);
331 /** Allows subclasses to access the cache in {@link #draw(Batch, float)}. */
ProgressBar.java 22 import com.badlogic.gdx.graphics.g2d.Batch;
111 public void draw (Batch batch, float parentAlpha) {
128 batch.setColor(color.r, color.g, color.b, color.a * parentAlpha);
135 bg.draw(batch, x + (int)((width - bg.getMinWidth()) * 0.5f), y, bg.getMinWidth(), height);
157 knobBefore.draw(batch, x + (int)((width - knobBefore.getMinWidth()) * 0.5f), y + offset, knobBefore.getMinWidth(),
161 knobAfter.draw(batch, x + (int)((width - knobAfter.getMinWidth()) * 0.5f), y + (int)(position + knobHeightHalf),
164 if (knob != null) knob.draw(batch, x + (int)((width - knobWidth) * 0.5f), (int)(y + position), knobWidth, knobHeight);
170 bg.draw(batch, x, y + (int)((height - bg.getMinHeight()) * 0.5f), width, bg.getMinHeight());
192 knobBefore.draw(batch, x + offset, y + (int)((height - knobBefore.getMinHeight()) * 0.5f)
    [all...]
SplitPane.java 20 import com.badlogic.gdx.graphics.g2d.Batch;
228 public void draw (Batch batch, float parentAlpha) {
234 applyTransform(batch, computeTransform());
235 Matrix4 transform = batch.getTransformMatrix();
237 batch.flush();
240 if (firstWidget.isVisible()) firstWidget.draw(batch, parentAlpha * color.a);
241 batch.flush();
246 batch.flush();
249 if (secondWidget.isVisible()) secondWidget.draw(batch, parentAlpha * color.a);
    [all...]
TextField.java 23 import com.badlogic.gdx.graphics.g2d.Batch;
269 public void draw (Batch batch, float parentAlpha) {
288 batch.setColor(color.r, color.g, color.b, color.a * parentAlpha);
291 background.draw(batch, x, y, width, height);
300 drawSelection(selection, batch, font, x + bgLeftWidth, y + textY);
312 messageFont.draw(batch, messageText, x + bgLeftWidth, y + textY + yOffset, 0, messageText.length(),
317 drawText(batch, font, x + bgLeftWidth, y + textY + yOffset);
322 drawCursor(cursorPatch, batch, font, x + bgLeftWidth, y + textY);
341 protected void drawSelection (Drawable selection, Batch batch, BitmapFont font, float x, float y)
    [all...]
Tree.java 20 import com.badlogic.gdx.graphics.g2d.Batch;
210 public void draw (Batch batch, float parentAlpha) {
212 batch.setColor(color.r, color.g, color.b, color.a * parentAlpha);
213 if (style.background != null) style.background.draw(batch, getX(), getY(), getWidth(), getHeight());
214 draw(batch, rootNodes, leftColumnWidth);
215 super.draw(batch, parentAlpha); // Draw actors.
219 private void draw (Batch batch, Array<Node> nodes, float indent) {
227 style.selection.draw(batch, x, y + actor.getY() - ySpacing / 2, getWidth(), node.height + ySpacing);
    [all...]
ScrollPane.java 21 import com.badlogic.gdx.graphics.g2d.Batch;
529 public void draw (Batch batch, float parentAlpha) {
535 applyTransform(batch, computeTransform());
578 batch.setColor(color.r, color.g, color.b, color.a * parentAlpha);
579 if (style.background != null) style.background.draw(batch, 0, 0, getWidth(), getHeight());
581 // Caculate the scissor bounds based on the batch transform, the available widget area and the camera transform. We need to
586 batch.flush();
588 drawChildren(batch, parentAlpha);
589 batch.flush();
    [all...]
Table.java 20 import com.badlogic.gdx.graphics.g2d.Batch;
100 public void draw (Batch batch, float parentAlpha) {
103 applyTransform(batch, computeTransform());
104 drawBackground(batch, parentAlpha, 0, 0);
106 batch.flush();
110 drawChildren(batch, parentAlpha);
111 batch.flush();
115 drawChildren(batch, parentAlpha);
116 resetTransform(batch);
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/superkoalio/
SuperKoalio.java 26 import com.badlogic.gdx.graphics.g2d.Batch;
307 Batch batch = renderer.getBatch(); local
308 batch.begin();
310 batch.draw(frame, koala.position.x, koala.position.y, Koala.WIDTH, Koala.HEIGHT);
312 batch.draw(frame, koala.position.x + Koala.WIDTH, koala.position.y, -Koala.WIDTH, Koala.HEIGHT);
314 batch.end();
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/
Camera.java 22 import com.badlogic.gdx.graphics.g2d.Batch;
219 * useable in conjunction with {@link Batch} and similar classes. */
228 * useable in conjunction with {@link Batch} and similar classes. This method allows you to specify the viewport position and
  /external/snakeyaml/
mvnw.bat 21 @REM Maven2 Start Up Batch script
28 @REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
  /prebuilts/eclipse/maven/apache-maven-3.2.1/bin/
mvn.bat 21 @REM Maven2 Start Up Batch script
28 @REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
190 @REM pause the batch file if MAVEN_BATCH_PAUSE is set to 'on'
mvnDebug.bat 21 @REM Maven2 Start Up Batch script
28 @REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
194 @REM pause the batch file if MAVEN_BATCH_PAUSE is set to 'on'
  /external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/renderers/
OrthoCachedTiledMapRenderer.java 19 import static com.badlogic.gdx.graphics.g2d.Batch.*;
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/machinelearning/
layer1.py 110 (Amazon S3) bucket or directory to store the batch prediction
256 evaluations and batch predictions. If you plan to use the
365 evaluations and batch predictions. If you plan to use the
    [all...]

Completed in 849 milliseconds

1 23 4