public Dimension getScreenSize() {
		if (screenSize == null) {
			String dumpsysResult = chimpDevice.shell("dumpsys window");

			for (Pattern pattern : DISPLAY_SIZE_PATTERNS) {
				Matcher matcher = pattern.matcher(dumpsysResult);

				if (matcher.find()) {
					int width = Integer.parseInt(matcher.group("width"));
					int height = Integer.parseInt(matcher.group("height"));

					screenSize = new Dimension(width, height);
				}
			}
		}

		return screenSize;
	}