Searched refs:viewPortWidth (Results 1 – 1 of 1) sorted by relevance
1485 int viewPortWidth = r - l; in onLayout() local1489 if (viewPortWidth * 3 >= viewPortHeight * 4) { in onLayout()1493 safeWidth = viewPortWidth; in onLayout()1494 safeHeight = viewPortWidth * 3 / 4; in onLayout()1498 int left = (viewPortWidth - safeWidth) / 2; in onLayout()