Lines Matching refs:viewWidth
155 final int viewWidth = getWidth();
157 if (viewWidth <= 0) {
216 int viewWidth = getWidth();
217 if (width < viewWidth) {
218 deltaX = (viewWidth - width) / 2 - rect.left;
221 } else if (rect.right < viewWidth) {
222 deltaX = viewWidth - rect.right;
260 float viewWidth = getWidth();
269 float widthScale = Math.min(viewWidth / w, 3.0f);
277 (viewWidth - w * scale) / 2F,