Buggy code:
public class WorldController extends Entity { private static final String TAG = WorldController . class . getSimpleName ( ) ; public static final FixtureDef SENSOR_FIX_DEF = PhysicsFactory . createFixtureDef ( 0 , 0 , 0 , true ) ; private static final float BOUNDS_THICKNESS_FACTOR = 0.005F ; private static final float BALL_SIZE_FACTOR = 0.025F ; private static final float SINKHOLE_SIZE_FACTOR = 0.15F ; private static final float SMALL_SINKHOLE_SIZE_FACTOR = 0.11F ; private static final float BAR_HEIGHT = 70 ; private static final FixtureDef OBSTACLE_FIX_DEF = PhysicsFactory . createFixtureDef ( 0 , 0.5F , 0.01F ) ; private static final FixtureDef BALL_FIX_DEF = PhysicsFactory . createFixtureDef ( BALL_DENSITY , 0.45F , 0.01F ) ; private static final float MAX_ORIENTATION_ANGLE = 0.35F ; private int _width ; private int _height ; private float _scale ; private float _density ; private Engine _engine ; private boolean _doDebugDraw ; private PhysicsWorld _physicsWorld ; private OrientationProvider _orientationProvider ; private Vector2 _gravity = Vector2Pool . obtain ( ) ; private LevelController _levelController ; private GameLevelStateListener _gameLevelStateListener ; private Body _ball ; private Ball _ballSprite ; private GameLevel _gameLevel ; private boolean _isAnimating ; private float _radToGravity = ( ( float ) ( ( Physics . GRAVITY_FACTOR ) // ( Math . PI ) ) ) ; private final Vector2 _gravityCorrection ; private Rectangle _timerBar ; private float _timePassed ; private float _levelDuration ; private Text _timeText ; private boolean _started ; private SpawnHole _sinkHole ; private SpawnHole _spawnHole ; private SpawnHole _sinkHoleBorder ; private Flash _flash ; private Flash _timesUpFlash ; private int _backgroundColor ; private int _nextBackgroundColor ; private AnimationCallback _flashAnimationCallback ; private AnimationCallback _spawnHoleAnimationCallback ; private boolean _doDestructBall ; private boolean _isLevelCompleted ; private SpriteBackground _background ; public WorldController ( int width , int height , float scale , float density , Engine engine ) { } public void setDoDebugDraw ( boolean doDebugDraw ) { } public void clearLevel ( ) { } @ Override public void dispose ( ) { } public GameLevel createLevel ( LevelVO levelVO , int backgroundColor , int nextBackgroundColor ) { } private GameLevel createLevel ( Class levelClass , Class controllerClass , boolean isTutorial ) { } public void respawnBall ( ) { } private void initTimer ( float levelDuration ) { _levelDuration = levelDuration ; _timePassed = 0.0F ; float scaleY = ( _height ) // 1920.0F ; scaleY = scaleY + ( ( 1 - scaleY ) * 0.5F ) ; int barHeight = ( ( int ) ( ( ( WorldController . BAR_HEIGHT ) + ( ( ( _density ) - 1.5 ) * 30 ) ) * scaleY ) ) ; if ( levelDuration > 0 ) { Rectangle timerBarBackground = new Rectangle ( ( ( _width ) // 2 ) , ( ( _height ) - ( barHeight // 2 ) ) , _width , barHeight , _engine . getVertexBufferObjectManager ( ) ) ; timerBarBackground . setColor ( _backgroundColor ) ; attachChild ( timerBarBackground ) ; timerBarBackground = new Rectangle ( ( ( _width ) // 2 ) , ( ( _height ) - ( barHeight // 2 ) ) , _width , barHeight , _engine . getVertexBufferObjectManager ( ) ) ; timerBarBackground . setColor ( new Color ( 0 , 0 , 0 , 0.3F ) ) ; attachChild ( timerBarBackground ) ; _timerBar = new Rectangle ( ( ( _width ) // 2 ) , ( ( _height ) - ( barHeight // 2 ) ) , _width , barHeight , _engine . getVertexBufferObjectManager ( ) ) ; _timerBar . setColor ( ColorUtils . convertARGBPackedIntToColor ( - 142304 ) ) ; _timerBar . setScaleX ( 0 ) ; _timerBar . setScaleCenterX ( 0 ) ; attachChild ( _timerBar ) ; Typeface typeFace = Typeface . createFromAsset ( sContext . getAssets ( ) , FUTURA_MEDIUM . getAssetName ( ) ) ; Font smallWhiteFont = FontFactory . create ( _engine . getFontManager ( ) , _engine . getTextureManager ( ) , 256 , 256 , BILINEAR , typeFace , ( 20 * ( _density ) ) , WHITE_ARGB_PACKED_INT ) ; smallWhiteFont . load ( ) ; _timeText = new Text ( _width , ( ( _height ) - ( barHeight // 2 ) ) , smallWhiteFont , "00.0" , _engine . getVertexBufferObjectManager ( ) ) ; _timeText . setOffsetCenterX ( 0 ) ; _timeText . setX ( ( ( _width ) - ( ( _timeText . getWidth ( ) ) + ( 15 * ( _density ) ) ) ) ) ; <START_BUG> _timeText . setText ( "0.0" ) ; <END_BUG> attachChild ( _timeText ) ; } } private void createBackground ( final Bitmap background , @ Nullable final String backgroundUrl ) { } private Flash createFlash ( int color ) { } private void createLevelController ( Class controllerClass , GameLevel level ) { } private void createBall ( Vector2 location ) { } private void createPhysicalBall ( Vector2 location ) { } private void createEdgeSensors ( ) { } private void createSinkHole ( Vector2 location ) { } private SpawnHole drawHole ( Vector2 location , String textureName ) { } private void createSpawnHole ( Vector2 location ) { } private void createEdgeSensor ( float x , float y , float w , float h ) { } public void setOrientationProvider ( OrientationProvider orientationProvider ) { } @ Override public void onManagedUpdate ( float pSecondsElapsed ) { } public void checkDestroyBall ( ) { } private void updateTimer ( float pSecondsElapsed ) { } public void playTimeUpAnimation ( ) { } public void playLevelEndAnimation ( ) { } public void start ( ) { } @ Override public void reset ( ) { } public void setGameLevelStateListener ( GameLevelStateListener handler ) { } public float getTimePassed ( ) { } public void setIsLevelCompleted ( boolean isLevelCompleted ) { } }

Fix:
_timeText . setText ( String . format ( "%.01f" , 0.0F ) ) ;