Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DNotificationTopLineView.java133 int childBaseline = child.getBaseline(); in onMeasure() local
135 if (childBaseline != -1) { in onMeasure()
136 mMaxAscent = Math.max(mMaxAscent, childBaseline); in onMeasure()
137 mMaxDescent = Math.max(mMaxDescent, childHeight - childBaseline); in onMeasure()
192 int childBaseline = child.getBaseline(); in onLayout() local
196 if (childBaseline != -1) { in onLayout()
197 childTop += mMaxAscent - childBaseline; in onLayout()
201 if (childBaseline != -1) { in onLayout()
204 childTop = baselineY - childBaseline; in onLayout()
216 if (childBaseline != -1) { in onLayout()
[all …]
/frameworks/base/core/java/android/widget/
DLinearLayout.java596 final int childBaseline = child.getBaseline(); in getBaseline() local
598 if (childBaseline == -1) { in getBaseline()
634 return childTop + lp.topMargin + childBaseline; in getBaseline()
1280 final int childBaseline = child.getBaseline(); in measureHorizontal() local
1281 if (childBaseline != -1) { in measureHorizontal()
1289 maxAscent[index] = Math.max(maxAscent[index], childBaseline); in measureHorizontal()
1290 maxDescent[index] = Math.max(maxDescent[index], childHeight - childBaseline); in measureHorizontal()
1463 final int childBaseline = child.getBaseline(); in measureHorizontal() local
1464 if (childBaseline != -1) { in measureHorizontal()
1471 maxAscent[index] = Math.max(maxAscent[index], childBaseline); in measureHorizontal()
[all …]
DSpinner.java572 final int childBaseline = child.getBaseline(); in getBaseline() local
573 return childBaseline >= 0 ? child.getTop() + childBaseline : -1; in getBaseline()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java367 final int childBaseline = child.getBaseline(); in getBaseline() local
368 if (childBaseline == -1) { in getBaseline()
372 return lp.topMargin + childBaseline; in getBaseline()
DNotificationOptimizedLinearLayout.java220 int childBaseline = -1; in requiresBaselineAlignmentForHorizontalLinearLayout() local
223 childBaseline = child.getBaseline(); in requiresBaselineAlignmentForHorizontalLinearLayout()
225 if (childBaseline == -1) { in requiresBaselineAlignmentForHorizontalLinearLayout()