window.onload = function() {
var canvas = document.getElementById("android");
var ctx = canvas.getContext("2d");
var canvasState = "rendering";
var windowHeight = window.innerHeight;
var windowWidth = window.innerWidth;
var DisplayType = { SQUARE: 0, CIRCLE: 1 }
var totalItemColumns = 20;
var totalItemsHeight = 20;
canvas.width = windowWidth;
canvas.height = windowHeight;
totalItemColumns = Math.ceil(windowWidth / (itemWidth * 2));
if (windowHeight % 2 > 0) {
totalItemsHeight = Math.ceil((windowHeight + 1) / (itemWidth * 2));
totalItemsHeight = Math.ceil(windowHeight / (itemWidth * 2));
for (var i = 0; i < totalItemsHeight; i++) {
itemArray.push(new Array());