在我的應用程序中,我通過手段android.graphics.Camera
3d轉換。這似乎工作得很好,直到我嘗試Nexus。三維動畫/相機轉換和現代設備
我在Nexus 7(4.2.1)和Galaxy Nexus(4.1.2)上安裝了應用程序,它們都不執行相機轉換。我有兩個不同的相機視圖,都顯示標準動畫,不適用相機轉換。
誰能解釋這種行爲?
UPD: 相機代碼
transformation.clear();
transformation.setTransformationType(Transformation.TYPE_MATRIX);
mCamera.save();
final Matrix matrix = transformation.getMatrix();
mCamera.translate(x,y,z);
mCamera.getMatrix(matrix);
matrix.preTranslate(-centerX, -centerY);
matrix.postTranslate(centerX, centerY);
mCamera.restore();
UPD2: 銀河S3相同的(4.2),而與S2(4.0.4)
您的轉換代碼在哪裏? –
有人可以在任何Nexus上試用嗎? – Mikhail