Searched refs:viewPortWidth (Results 1 – 1 of 1) sorted by relevance
1439 int viewPortWidth = r - l; in onLayout() local1443 if (viewPortWidth * 3 >= viewPortHeight * 4) { in onLayout()1447 safeWidth = viewPortWidth; in onLayout()1448 safeHeight = viewPortWidth * 3 / 4; in onLayout()1452 int left = (viewPortWidth - safeWidth) / 2; in onLayout()