Home
last modified time | relevance | path

Searched refs:sprite (Results 1 – 25 of 55) sorted by relevance

123

/external/libpng/contrib/examples/
Dsimpleover.c50 struct sprite { struct
103 sprite_op(const struct sprite *sprite, int x_offset, int y_offset, in sprite_op() argument
115 if ((y_offset < 0 || (unsigned)/*SAFE*/y_offset < sprite->height) && in sprite_op()
116 (x_offset < 0 || (unsigned)/*SAFE*/x_offset < sprite->width)) in sprite_op()
141 png_uint_16 *out_pixel = sprite->buffer + in sprite_op()
142 ((y+y_offset) * sprite->width + (x+x_offset))*4; in sprite_op()
188 create_sprite(struct sprite *sprite, int *argc, const char ***argv) in create_sprite() argument
237 sprite_op(sprite, x, y, &image, buffer); in create_sprite()
278 sprite->file = tmpfile(); in create_sprite()
280 if (sprite->file != NULL) in create_sprite()
[all …]
/external/clang/test/SemaObjC/
Divar-ref-misuse.m4 int sprite, spree;
8 + (void)setSprite:(int)sprite;
10 - (void)setSprite:(int)sprite;
18 sprite = foo; // expected-error {{instance variable 'sprite' accessed in class method}}
23 + (void)setSprite:(int)sprite {
25 sprite = 15;
27 ((Sprite *)self)->sprite = 16; /* NB: This is how one _should_ access */
31 sprite = foo;
34 - (void)setSprite:(int)sprite {
36 sprite = 15; // expected-warning {{local declaration of 'sprite' hides instance variable}}
[all …]
/external/proguard/src/proguard/gui/splash/
DTimeSwitchSprite.java35 private final Sprite sprite; field in TimeSwitchSprite
44 public TimeSwitchSprite(long onTime, Sprite sprite) in TimeSwitchSprite() argument
46 this(onTime, 0L, sprite); in TimeSwitchSprite()
57 public TimeSwitchSprite(long onTime, long offTime, Sprite sprite) in TimeSwitchSprite() argument
61 this.sprite = sprite; in TimeSwitchSprite()
71 sprite.paint(graphics, time - onTime); in paint()
DSplashPanel.java40 private final Sprite sprite; field in SplashPanel
56 public SplashPanel(Sprite sprite, double processorLoad) in SplashPanel() argument
58 this(sprite, processorLoad, (long)Integer.MAX_VALUE); in SplashPanel()
71 public SplashPanel(Sprite sprite, double processorLoad, long stopTime) in SplashPanel() argument
73 this.sprite = sprite; in SplashPanel()
138 sprite.paint(graphics, System.currentTimeMillis() - startTime); in paintComponent()
212 Sprite sprite = in main() local
226 SplashPanel panel = new SplashPanel(sprite, 0.5); in main()
DBufferedSprite.java37 private final Sprite sprite; field in BufferedSprite
59 Sprite sprite, in BufferedSprite() argument
68 sprite, in BufferedSprite()
90 Sprite sprite, in BufferedSprite() argument
98 this.sprite = sprite; in BufferedSprite()
132 sprite.paint(bufferGraphics, time); in paint()
DFontSprite.java33 private final Sprite sprite; field in FontSprite
42 Sprite sprite) in FontSprite() argument
45 this.sprite = sprite; in FontSprite()
60 sprite.paint(graphics, time); in paint()
DColorSprite.java33 private final Sprite sprite; field in ColorSprite
42 Sprite sprite) in ColorSprite() argument
45 this.sprite = sprite; in ColorSprite()
60 sprite.paint(graphics, time); in paint()
DClipSprite.java35 private final Sprite sprite; field in ClipSprite
48 Sprite sprite) in ClipSprite() argument
53 this.sprite = sprite; in ClipSprite()
72 sprite.paint(g, time); in paint()
82 sprite.paint(g, time); in paint()
DShadowedSprite.java36 private final Sprite sprite; field in ShadowedSprite
55 Sprite sprite) in ShadowedSprite() argument
61 this.sprite = sprite; in ShadowedSprite()
98 sprite.paint(graphics, time); in paint()
107 sprite.paint(graphics, time); in paint()
/external/replicaisland/src/com/replica/replicaisland/
DGameObjectFactory.java632 private void addStaticData(GameObjectType type, GameObject object, SpriteComponent sprite) {
643 } else if (entry instanceof SpriteAnimation && sprite != null) {
644 sprite.addAnimation((SpriteAnimation)entry);
888 SpriteComponent sprite = (SpriteComponent)allocateComponent(SpriteComponent.class);
889 sprite.setSize((int)object.width, (int)object.height);
890 sprite.setRenderComponent(render);
891 animation.setSprite(sprite);
897 sprite.setCollisionComponent(dynamicCollision);
964 object.add(sprite);
970 addStaticData(GameObjectType.PLAYER, object, sprite);
[all …]
DFixedAnimationComponent.java37 SpriteComponent sprite = parentObject.findByClass(SpriteComponent.class); in update() local
38 if (sprite != null) { in update()
39 sprite.playAnimation(mAnimationIndex); in update()
DAnimationComponent.java345 public void setSprite(SpriteComponent sprite) { in setSprite() argument
346 mSprite = sprite; in setSprite()
349 public void setJetSprite(SpriteComponent sprite) { in setJetSprite() argument
350 mJetSprite = sprite; in setJetSprite()
353 public void setSparksSprite(SpriteComponent sprite) { in setSparksSprite() argument
354 mSparksSprite = sprite; in setSparksSprite()
DGenericAnimationComponent.java71 public void setSprite(SpriteComponent sprite) { in setSprite() argument
72 mSprite = sprite; in setSprite()
DButtonAnimationComponent.java74 public void setSprite(SpriteComponent sprite) { in setSprite() argument
75 mSprite = sprite; in setSprite()
DGhostComponent.java72 SpriteComponent sprite = parentObject.findByClass(SpriteComponent.class); in update() local
73 if (sprite != null) { in update()
74 sprite.setOpacity(mLifeTime); in update()
DEnemyAnimationComponent.java149 public void setSprite(SpriteComponent sprite) { in setSprite() argument
150 mSprite = sprite; in setSprite()
DDoorAnimationComponent.java179 public void setSprite(SpriteComponent sprite) { in setSprite() argument
180 mSprite = sprite; in setSprite()
/external/igt-gpu-tools/tests/
Dkms_universal_plane.c134 igt_plane_t *primary, *sprite; in functional_test_pipe() local
161 sprite = igt_output_get_plane_type(output, DRM_PLANE_TYPE_OVERLAY); in functional_test_pipe()
162 if (!sprite) { in functional_test_pipe()
167 igt_plane_set_position(sprite, 100, 100); in functional_test_pipe()
171 igt_plane_set_fb(sprite, &test.red_fb); in functional_test_pipe()
177 igt_plane_set_fb(sprite, &test.red_fb); in functional_test_pipe()
188 igt_plane_set_fb(sprite, &test.red_fb); in functional_test_pipe()
204 igt_plane_set_fb(sprite, NULL); in functional_test_pipe()
215 igt_plane_set_fb(sprite, &test.red_fb); in functional_test_pipe()
241 igt_plane_set_fb(sprite, &test.red_fb); in functional_test_pipe()
[all …]
Dkms_panel_fitting.c164 igt_plane_t *primary, *sprite; in test_panel_fitting_fastset() local
173 sprite = igt_output_get_plane_type(output, DRM_PLANE_TYPE_OVERLAY); in test_panel_fitting_fastset()
188 igt_plane_set_fb(sprite, &red); in test_panel_fitting_fastset()
196 igt_plane_set_fb(sprite, NULL); in test_panel_fitting_fastset()
Dkms_frontbuffer_tracking.c261 struct fb_region sprite; member
366 params->sprite.plane = igt_pipe_get_plane_type(&drm.display.pipes[pipe], DRM_PLANE_TYPE_OVERLAY); in init_mode_params()
367 igt_require(params->sprite.plane); in init_mode_params()
368 params->sprite.fb = NULL; in init_mode_params()
369 params->sprite.x = 0; in init_mode_params()
370 params->sprite.y = 0; in init_mode_params()
371 params->sprite.w = 64; in init_mode_params()
372 params->sprite.h = 64; in init_mode_params()
660 create_fb(format, prim_mode_params.sprite.w, in create_fbs()
661 prim_mode_params.sprite.h, opt.tiling, PLANE_SPR, in create_fbs()
[all …]
Dkms_psr.c332 igt_plane_t *primary, *sprite, *cursor; in setup_test_plane() local
355 sprite = igt_output_get_plane_type(data->output, in setup_test_plane()
357 igt_plane_set_fb(sprite, NULL); in setup_test_plane()
360 data->test_plane = sprite; in setup_test_plane()
Dkms_plane.c165 igt_plane_t *primary, *sprite; in test_plane_position_with_output() local
177 sprite = igt_output_get_plane(output, plane); in test_plane_position_with_output()
189 igt_plane_set_fb(sprite, &sprite_fb); in test_plane_position_with_output()
192 igt_plane_set_position(sprite, 100, 100); in test_plane_position_with_output()
194 igt_plane_set_position(sprite, 132, 132); in test_plane_position_with_output()
220 igt_plane_set_fb(sprite, NULL); in test_plane_position_with_output()
/external/swiftshader/src/Renderer/
DSetupProcessor.cpp120 const bool sprite = context->pointSpriteActive(); in update() local
148 case Shader::USAGE_TEXCOORD: flat = point && !sprite; break; in update()
172 state.gradient[interpolant][component].flat = semantic.flat || (point && !sprite); in update()
193 state.texture[coordinate][component].flat = point && !sprite; in update()
/external/mesa3d/docs/_extra/specs/OLD/
DMESA_sprite_point.spec62 define and implement so POINT_SMOOTH is ignored when drawing sprite
70 4. What about sprite rotation?
95 8. Should there be an advertisized maximum sprite point size?
/external/swiftshader/src/Shader/
DSetupRoutine.hpp36 …nter<Byte> &v2, int attribute, int planeEquation, bool flatShading, bool sprite, bool perspective,…

123