protected void changeWorkspaceGridSize(int x, int y) { // android.util.Log.i("QsLog", "changeWorkspaceGridSize=====" // +"==x:"+mSharePrefManager.getWorkspaceCountCellX() // +"==y:"+mSharePrefManager.getWorkspaceCountCellY() // +"==x:"+x // +"==y:"+y); if (x > 0 && y > 0 && (x != mSharePrefManager.getWorkspaceCountCellX() || y != mSharePrefManager.getWorkspaceCountCellY())) { mLauncher.changeWorkspaceGridSize(mSharePrefManager, x, y, mUpdateGridComplete); int count = mWorkspaceGridContainer.getChildCount(); for (int i = 0; i < count; i++) { final View child = mWorkspaceGridContainer.getChildAt(i); child.setEnabled(false); } } }