Home
last modified time | relevance | path

Searched refs:gameWidth (Results 1 – 15 of 15) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DLevelBuilder.java92 … final int idealSize = (int)Math.max(params.gameWidth * 1.5f, params.gameHeight * 1.5f); in buildBackground()
104 …l float scrollSpeedX = Math.min((float)(width - params.gameWidth) / (levelWidth - params.gameWidth in buildBackground()
DHudSystem.java245 mFlyButtonLocation.set(params.gameWidth - FLY_BUTTON_WIDTH - FLY_BUTTON_X, FLY_BUTTON_Y); in setMovementSliderMode()
246 … mStompButtonLocation.set(params.gameWidth - STOMP_BUTTON_WIDTH - STOMP_BUTTON_X, STOMP_BUTTON_Y); in setMovementSliderMode()
388 mCoinLocation.x = (params.gameWidth / 2.0f) - tex.width / 2.0f; in update()
408 mRubyLocation.x = (params.gameWidth / 2.0f) + 100.0f; in update()
427 …mFPSLocation.set(params.gameWidth - 10.0f - ((count + 1) * (mDigitDrawables[0].getWidth() / 2.0f))… in update()
454 bitmap.setWidth(params.gameWidth); in update()
DDebugSystem.java62 + (params.gameWidth / 2)); in drawShape()
66 if (mWorkVector.x + width >= 0.0f && mWorkVector.x < params.gameWidth in drawShape()
DGameRenderer.java64 public GameRenderer(Context context, Game game, int gameWidth, int gameHeight) { in GameRenderer() argument
67 mWidth = gameWidth; in GameRenderer()
69 mHalfWidth = gameWidth / 2; in GameRenderer()
DGame.java62 …public void bootstrap(Context context, int viewWidth, int viewHeight, int gameWidth, int gameHeigh… in bootstrap() argument
64 mRenderer = new GameRenderer(context, this, gameWidth, gameHeight); in bootstrap()
74 params.gameWidth = gameWidth; in bootstrap()
76 params.viewScaleX = (float)viewWidth / gameWidth; in bootstrap()
DContextParameters.java26 public int gameWidth; field in ContextParameters
DCameraSystem.java173 final float width = sSystemRegistry.contextParameters.gameWidth / 2.0f; in pointVisible()
190 final float width = sSystemRegistry.contextParameters.gameWidth; in snapFocalPointToWorldBoundsX()
DRenderComponent.java62 + (params.gameWidth / 2)); in update()
DInputGameInterface.java205 …flyButtonRegionX = params.gameWidth - ButtonConstants.FLY_BUTTON_REGION_WIDTH - ButtonConstants.FL… in update()
206 …stompButtonRegionX = params.gameWidth - ButtonConstants.STOMP_BUTTON_REGION_WIDTH - ButtonConstant… in update()
DDrawableFactory.java95 result.setViewSize(params.gameWidth, params.gameHeight); in allocate()
DScrollerComponent.java80 mHalfWidth = sSystemRegistry.contextParameters.gameWidth / 2.0f; //width / 2.0f; in setup()
DLevelSystem.java147 scrollSpeed, params.gameWidth, params.gameHeight, in loadLevel()
DLifetimeComponent.java95 if (dx > context.gameWidth || dy > context.gameHeight) { in update()
DPatrolComponent.java212 if (dx > context.gameWidth / 2.0f || dy > context.gameHeight / 2.0f) { in updateAttack()
DGameObjectFactory.java194 final float halfWidth2 = (context.gameWidth * 0.5f) * (context.gameWidth * 0.5f); in GameObjectFactory()
6490 object.width = params.gameWidth;