Searched refs:newPadding (Results 1 – 2 of 2) sorted by relevance
222 int newPadding = (mWindowWidth - Math.round(mWindowHeight * videoAspectRatio)) / 2; in updateAspectRatio() local223 ((ViewGroup) mTvView.getParent()).setPadding(newPadding, 0, newPadding, 0); in updateAspectRatio()225 int newPadding = (mWindowHeight - Math.round(mWindowWidth / videoAspectRatio)) / 2; in updateAspectRatio() local226 ((ViewGroup) mTvView.getParent()).setPadding(0, newPadding, 0, newPadding); in updateAspectRatio()
96 int newPadding = padTopInset ? topInset : 0; in applyInset() local97 if (newPadding != getView().getPaddingTop()) { in applyInset()99 getView().setPadding(0, newPadding, 0, 0); in applyInset()