Home
last modified time | relevance | path

Searched refs:newPadding (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrPlaybackOverlayFragment.java222 int newPadding = (mWindowWidth - Math.round(mWindowHeight * videoAspectRatio)) / 2; in updateAspectRatio() local
223 ((ViewGroup) mTvView.getParent()).setPadding(newPadding, 0, newPadding, 0); in updateAspectRatio()
225 int newPadding = (mWindowHeight - Math.round(mWindowWidth / videoAspectRatio)) / 2; in updateAspectRatio() local
226 ((ViewGroup) mTvView.getParent()).setPadding(0, newPadding, 0, newPadding); in updateAspectRatio()
/packages/apps/Dialer/java/com/android/incallui/hold/
DOnHoldFragment.java96 int newPadding = padTopInset ? topInset : 0; in applyInset() local
97 if (newPadding != getView().getPaddingTop()) { in applyInset()
99 getView().setPadding(0, newPadding, 0, 0); in applyInset()