Searched refs:newPadding (Results 1 – 2 of 2) sorted by relevance
435 int newPadding = (mWindowWidth - Math.round(mWindowHeight * videoAspectRatio)) / 2; in updateAspectRatio() local436 ((ViewGroup) mTvView.getParent()).setPadding(newPadding, 0, newPadding, 0); in updateAspectRatio()438 int newPadding = (mWindowHeight - Math.round(mWindowWidth / videoAspectRatio)) / 2; in updateAspectRatio() local439 ((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()