Take screen rotation into account

Change-Id: I354c58eb1d28552d46b8fa269e12c00eaf6cbb99
1 file changed