これらの出力を取得するコードがあります。libgdx フレームワークを使用していますが、アプリケーションの起動後に resize が 2 回呼び出されているようです。私は何も変わったことをしていないのに、なぜ2回呼び出されるのだろうか。以下のクラスは、Screen クラスを実装する AbstractScreen から拡張されています。アプリケーションのライフサイクルへのリンク: http://code.google.com/p/libgdx/wiki/ApplicationLifeCycle
The tags refer to the Functions being called:
SHOW(): devInfo.glyphWidth=18
SHOW(): devInfo.glyphHeight=27
AbstractScreen.resize: screenScaleX=0.8
AbstractScreen.resize: screenScaleY=0.8
resize(): devInfo.glyphWidth=14
resize(): devInfo.glyphHeight=21
resize(): logoSplashSprite.getWidth=204.8
resize(): logoSplashSprite.getHeight=204.8
AbstractScreen.resize: screenScaleX=0.8
AbstractScreen.resize: screenScaleY=0.8
resize(): devInfo.glyphWidth=11
resize(): devInfo.glyphHeight=16
resize(): logoSplashSprite.getWidth=204.8
resize(): logoSplashSprite.getHeight=204.8
fps 0
fps 65
.
.
.
ありがとう