Home
last modified time | relevance | path

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

/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()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackOverlayFragment.java435 int newPadding = (mWindowWidth - Math.round(mWindowHeight * videoAspectRatio)) / 2; in updateAspectRatio() local
436 ((ViewGroup) mTvView.getParent()).setPadding(newPadding, 0, newPadding, 0); in updateAspectRatio()
438 int newPadding = (mWindowHeight - Math.round(mWindowWidth / videoAspectRatio)) / 2; in updateAspectRatio() local
439 ((ViewGroup) mTvView.getParent()).setPadding(0, newPadding, 0, newPadding); in updateAspectRatio()