chenleejr

Results 3 issues of chenleejr

想自定义一些反射代码,有些比较复杂低优的测试case想用反射来简单实现

The getScale method should use the two elements MSCALE_X and MSCALE_Y in the matrix, but usually the two are equal, so I only used one of them.

看到Attacher.java里getScale方法是这么写的 ``` @Override public float getScale() { return (float) Math.sqrt( (float) Math.pow(getMatrixValue(mMatrix, Matrix.MSCALE_X), 2) + (float) Math.pow( getMatrixValue(mMatrix, Matrix.MSKEW_Y), 2)); } ``` 不应该是拿MSCALE_X和MSCALE_Y这两个数来计算吗?