/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
InterpolationTest.java | 31 import com.badlogic.gdx.scenes.scene2d.Stage;
44 Stage stage;
field in class:InterpolationTest 55 startPosition.set(stage.getWidth() - stage.getWidth() / 5f, stage.getHeight() - stage.getHeight() / 5f);
56 targetPosition.set(startPosition.x, stage.getHeight() / 5f);
84 stage = new Stage(new ScreenViewport()); [all...] |
Scene2dTest.java | 30 import com.badlogic.gdx.scenes.scene2d.Stage;
48 Stage stage;
field in class:Scene2dTest 53 stage = new Stage();
54 Gdx.input.setInputProcessor(stage);
67 stage.addActor(actor);
89 stage.addActor(table);
99 stage.addActor(table);
137 stage.addActor(button); [all...] |
TableLayoutTest.java | 26 import com.badlogic.gdx.scenes.scene2d.Stage;
36 Stage stage;
field in class:TableLayoutTest 39 stage = new Stage();
40 Gdx.input.setInputProcessor(stage);
49 stage.addActor(table);
71 stage.addActor(table2);
92 stage.act(Gdx.graphics.getDeltaTime());
93 stage.draw(); [all...] |
ContainerTest.java | 8 import com.badlogic.gdx.scenes.scene2d.Stage; 18 Stage stage; field in class:ContainerTest 23 stage = new Stage(); 24 Gdx.input.setInputProcessor(stage); 32 stage.addActor(root); 82 stage.act(); 83 stage.draw(); 88 stage.getViewport().update(width, height, true) [all...] |
SimpleStageCullingTest.java | 29 import com.badlogic.gdx.scenes.scene2d.Stage;
38 /** This is a simple demonstration of how to perform VERY basic culling on hierarchies of stage actors that do not scale or rotate.
45 /** We need to extend a base actor class so we can add the culling in the render method. We also add a method to get the stage
75 // we start by setting the stage coordinates to this
105 Stage stage;
field in class:SimpleStageCullingTest 112 // create a stage and a camera controller so we can pan the view.
113 stage = new Stage();;
114 camController = new OrthoCamController((OrthographicCamera)stage.getCamera()); // we know it's an ortho cam at this point! [all...] |
StagePerformanceTest.java | 28 import com.badlogic.gdx.scenes.scene2d.Stage;
41 Stage stage;
field in class:StagePerformanceTest 51 stage = new Stage(new ScalingViewport(Scaling.fit, 24, 12));
67 stage.addActor(img);
81 stage.act(Gdx.graphics.getDeltaTime());
82 stage.getBatch().disableBlending();
83 Group root = stage.getRoot();
88 stage.draw(); [all...] |
TableTest.java | 26 import com.badlogic.gdx.scenes.scene2d.Stage;
38 Stage stage;
field in class:TableTest 44 stage = new Stage();
45 Gdx.input.setInputProcessor(stage);
61 stage.addActor(root);
109 stage.act(Math.min(Gdx.graphics.getDeltaTime(), 1 / 30f));
110 stage.draw();
115 stage.getViewport().update(width, height, true); [all...] |
UISimpleTest.java | 28 import com.badlogic.gdx.scenes.scene2d.Stage; 39 Stage stage; field in class:UISimpleTest 45 stage = new Stage(); 46 Gdx.input.setInputProcessor(stage); 73 stage.addActor(table); 98 stage.act(Math.min(Gdx.graphics.getDeltaTime(), 1 / 30f)); 99 stage.draw(); 104 stage.getViewport().update(width, height, true) [all...] |
YDownTest.java | 33 import com.badlogic.gdx.scenes.scene2d.Stage;
44 Stage stage;
field in class:YDownTest 73 // a stage which uses our y-down camera and a simple actor (see MyActor below),
75 // set our y-down camera on the stage, the rest is just for demo purposes.
76 stage = new Stage();
77 stage.getViewport().setCamera(camera);
80 stage.addActor(image);
82 // finally we write up the stage as the input process and call it a day. [all...] |
ViewportTest1.java | 25 import com.badlogic.gdx.scenes.scene2d.Stage; 41 /** Cycles viewports while rendering a stage with a root Table for the layout. */ 45 Stage stage; field in class:ViewportTest1 49 stage = new Stage(); 62 stage.addActor(root); 64 viewports = getViewports(stage.getCamera()); 67 stage.setViewport(viewports.first()); 73 int index = (viewports.indexOf(stage.getViewport(), true) + 1) % viewports.size [all...] |
CpuSpriteBatchTest.java | 31 import com.badlogic.gdx.scenes.scene2d.Stage; 60 private Stage stage; field in class:CpuSpriteBatchTest 70 stage = new Stage(new ExtendViewport(500, 500), batch); 72 Gdx.input.setInputProcessor(stage); 81 stage.addActor(group); 112 float x = MathUtils.random(margin, stage.getWidth() - margin); 113 float y = MathUtils.random(margin, stage.getHeight() - margin); 124 stage.act(Gdx.graphics.getDeltaTime()) [all...] |
ColorTest.java | 23 import com.badlogic.gdx.scenes.scene2d.Stage; 30 Stage stage; field in class:ColorTest 34 stage = new Stage(new ScreenViewport()); 35 Gdx.input.setInputProcessor(stage); 41 stage.addActor(root); 96 stage.act(Math.min(Gdx.graphics.getDeltaTime(), 1 / 30f)); 97 stage.draw(); 102 stage.getViewport().update(width, height, true) [all...] |
StageTest.java | 34 import com.badlogic.gdx.scenes.scene2d.Stage;
49 Stage stage;
field in class:StageTest 50 Stage ui;
69 stage = new Stage(new ScreenViewport());
74 group.setX((float)Math.random() * (stage.getWidth() - NUM_SPRITES * (32 + SPACING)));
75 group.setY((float)Math.random() * (stage.getHeight() - NUM_SPRITES * (32 + SPACING)));
79 stage.addActor(group);
84 ui = new Stage(new ScreenViewport()); [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_aaline.c | 29 * AA line stage: AA lines are converted to texture mapped triangles. 88 struct draw_stage stage; member in struct:aaline_stage 352 struct pipe_context *pipe = aaline->stage.draw->pipe; 406 struct pipe_context *pipe = aaline->stage.draw->pipe; 500 struct pipe_context *pipe = aaline->stage.draw->pipe; 528 struct draw_context *draw = aaline->stage.draw; 545 aaline_stage( struct draw_stage *stage ) 547 return (struct aaline_stage *) stage; 556 aaline_line(struct draw_stage *stage, struct prim_header *header) 558 const struct aaline_stage *aaline = aaline_stage(stage); [all...] |
draw_pipe_aapoint.c | 29 * AA point stage: AA points are converted to quads and rendered with a 86 struct draw_stage stage; member in struct:aapoint_stage 501 struct pipe_context *pipe = aapoint->stage.draw->pipe; 551 struct draw_context *draw = aapoint->stage.draw; 568 aapoint_stage( struct draw_stage *stage ) 570 return (struct aapoint_stage *) stage; 580 aapoint_point(struct draw_stage *stage, struct prim_header *header) 582 const struct aapoint_stage *aapoint = aapoint_stage(stage); 632 v[i] = dup_vert(stage, header->v[0], i); 669 stage->next->tri( stage->next, &tri ) [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_quad_fs.c | 52 struct quad_stage stage; /**< base class */ member in struct:quad_shade_stage 169 qss->stage.softpipe = softpipe; 170 qss->stage.begin = shade_begin; 171 qss->stage.run = shade_quads; 172 qss->stage.destroy = shade_destroy; 174 return &qss->stage;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/integration/ |
SimpsonIntegrator.java | 76 final double s = (4 * qtrap.stage(f, min, max, 1) - qtrap.stage(f, min, max, 0)) / 3.0; 82 double oldt = qtrap.stage(f, min, max, 0); 84 final double t = qtrap.stage(f, min, max, i);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
EngineRunnable.java | 14 * In the first stage, this class attempts to decode a resource 16 * this class then requests to be posted again. During the second stage this class then attempts to use the 33 private Stage stage; field in class:EngineRunnable 40 this.stage = Stage.CACHE; 81 return stage == Stage.CACHE; 90 stage = Stage.SOURCE [all...] |
/external/libgdx/tests/gdx-tests-lwjgl3/src/com/badlogic/gdx/tests/lwjgl3/ |
Lwjgl3TestStarter.java | 30 import com.badlogic.gdx.scenes.scene2d.Stage; 49 private Stage stage; field in class:Lwjgl3TestStarter.TestChooser 56 stage = new Stage(new ScreenViewport()); 57 Gdx.input.setInputProcessor(stage); 61 stage.addActor(container); 69 stage.setScrollFocus(scroll); 111 stage.act(1f); 112 stage.act(1f) [all...] |
/external/guice/core/src/com/google/inject/internal/ |
InjectorShell.java | 30 import com.google.inject.Stage; 79 private Stage stage; field in class:InjectorShell.Builder 84 Builder stage(Stage stage) { method in class:InjectorShell.Builder 85 this.stage = stage; 93 this.stage = options.stage; [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/net/ |
NetAPITest.java | 31 import com.badlogic.gdx.scenes.scene2d.Stage;
44 Stage stage;
field in class:NetAPITest 68 stage.dispose();
79 stage = new Stage();
80 Gdx.input.setInputProcessor(stage);
89 stage.addActor(statusLabel);
149 stage.addActor(btnCancel);
154 stage.addActor(btnDownloadImage); [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
WidgetGroup.java | 22 import com.badlogic.gdx.scenes.scene2d.Stage;
98 Stage stage = getStage();
local 99 if (stage != null && parent == stage.getRoot()) {
100 parentWidth = stage.getWidth();
101 parentHeight = stage.getHeight();
|
/device/linaro/hikey/l-loader/ |
gen_loader.py | 34 stage = 0 variable in class:generator 109 if (self.stage == 1): 114 elif (self.stage == 2): 128 print "wrong stage ", stage, "is specified" 131 if (self.idx == 0) and (self.stage == 1): 152 if (self.idx == 0) and (self.stage == 1): 162 if self.stage == 1: 164 elif self.stage == 2: 177 if self.stage == 1 [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_shader.cpp | 84 unsigned int stage; local 86 for (stage = 0; stage < ARRAY_SIZE(shProg->_LinkedShaders); stage++) { 88 (struct brw_shader *)shProg->_LinkedShaders[stage]; 99 ctx->Driver.NewProgram(ctx, targets[stage], shader->base.Name); 107 if (stage == 0) { 143 bool output = stage == MESA_SHADER_FRAGMENT; 144 bool temp = stage == MESA_SHADER_FRAGMENT; 145 bool uniform = stage == MESA_SHADER_FRAGMENT [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_vertex.c | 51 #define VERTEX_STAGE_DATA(stage) ((struct vertex_stage_data *)stage->privatePtr) 138 struct tnl_pipeline_stage *stage ) 140 struct vertex_stage_data *store = (struct vertex_stage_data *)stage->privatePtr; 211 * is essentially required to be in this stage. 233 struct tnl_pipeline_stage *stage ) 239 stage->privatePtr = CALLOC(sizeof(*store)); 240 store = VERTEX_STAGE_DATA(stage); 259 static void dtr( struct tnl_pipeline_stage *stage ) 261 struct vertex_stage_data *store = VERTEX_STAGE_DATA(stage); [all...] |