Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DNotificationHeaderView.java157 int overFlow = totalWidth - givenWidth + endMargin; in onMeasure() local
159 overFlow = shrinkViewForOverflow(wrapContentHeightSpec, overFlow, mAppName, in onMeasure()
163 overFlow = shrinkViewForOverflow(wrapContentHeightSpec, overFlow, mHeaderText, 0); in onMeasure()
166 shrinkViewForOverflow(wrapContentHeightSpec, overFlow, mSecondaryHeaderText, in onMeasure()
174 private int shrinkViewForOverflow(int heightSpec, int overFlow, View targetView, in shrinkViewForOverflow() argument
177 if (overFlow > 0 && targetView.getVisibility() != GONE && oldWidth > minimumWidth) { in shrinkViewForOverflow()
179 int newSize = Math.max(minimumWidth, oldWidth - overFlow); in shrinkViewForOverflow()
182 overFlow -= oldWidth - newSize; in shrinkViewForOverflow()
184 return overFlow; in shrinkViewForOverflow()