去掉log

This commit is contained in:
2020-12-02 11:12:34 +08:00
parent 707093b70d
commit 0201dc03e7

View File

@@ -61,14 +61,14 @@ public class ClippedFolderIconLayoutRule {
int tempIndex = index % 16; int tempIndex = index % 16;
transX = x + mIconSize * MIN_SCALE * getCol(tempIndex) + getCol(tempIndex) * 2; transX = x + mIconSize * MIN_SCALE * getCol(tempIndex) + getCol(tempIndex) * 2;
transY = x + mIconSize * MIN_SCALE * (getRow(tempIndex) - 1) + (getRow(tempIndex) - 1) * 2; transY = x + mIconSize * MIN_SCALE * (getRow(tempIndex) - 1) + (getRow(tempIndex) - 1) * 2;
Log.e("fht", "transX: "+transX); // Log.e("fht", "transX: "+transX);
Log.e("fht", "transX: "+ getCol(tempIndex) * 2); // Log.e("fht", "transX: "+ getCol(tempIndex) * 2);
Log.e("fht", "transX: "+(getRow(tempIndex) - 1) * 2); // Log.e("fht", "transX: "+(getRow(tempIndex) - 1) * 2);
Log.e("fht", "getColX: "+mIconSize * MIN_SCALE * getCol(tempIndex)); // Log.e("fht", "getColX: "+mIconSize * MIN_SCALE * getCol(tempIndex));
Log.e("fht", "getRowY: "+mIconSize * MIN_SCALE * (getRow(tempIndex) - 1)); // Log.e("fht", "getRowY: "+mIconSize * MIN_SCALE * (getRow(tempIndex) - 1));
Log.e("fht", "transY: "+transY); // Log.e("fht", "transY: "+transY);
Log.e("fht", "mIconSize: "+mIconSize); // Log.e("fht", "mIconSize: "+mIconSize);
Log.e("fht", "mAvailableSpace: "+mAvailableSpace); // Log.e("fht", "mAvailableSpace: "+mAvailableSpace);
if (params == null) { if (params == null) {
params = new PreviewItemDrawingParams(transX, transY, totalScale, overlayAlpha); params = new PreviewItemDrawingParams(transX, transY, totalScale, overlayAlpha);