Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DNotificationHeaderView.java163 int overFlow = totalWidth - givenWidth + endMargin; in onMeasure() local
165 overFlow = shrinkViewForOverflow(wrapContentHeightSpec, overFlow, mAppName, in onMeasure()
169 overFlow = shrinkViewForOverflow(wrapContentHeightSpec, overFlow, mHeaderText, 0); in onMeasure()
172 shrinkViewForOverflow(wrapContentHeightSpec, overFlow, mSecondaryHeaderText, in onMeasure()
180 private int shrinkViewForOverflow(int heightSpec, int overFlow, View targetView, in shrinkViewForOverflow() argument
183 if (overFlow > 0 && targetView.getVisibility() != GONE && oldWidth > minimumWidth) { in shrinkViewForOverflow()
185 int newSize = Math.max(minimumWidth, oldWidth - overFlow); in shrinkViewForOverflow()
188 overFlow -= oldWidth - newSize; in shrinkViewForOverflow()
190 return overFlow; in shrinkViewForOverflow()