Searched refs:availableHeight (Results 1 – 4 of 4) sorted by relevance
193 final int availableHeight = getMeasuredHeight() - getPaddingBottom() - getPaddingTop(); in onLayout() local206 if (childHeight <= availableHeight) { in onLayout()213 if (childHeight <= availableHeight) { in onLayout()215 measureSpacer(availableHeight - childHeight); in onLayout()235 if (childHeight <= availableHeight) { in onLayout()237 measureSpacer(availableHeight - childHeight); in onLayout()
208 int availableHeight = getHeight() - paddingTop - paddingBottom - 2 * minPadding; in updateDrawableBounds() local214 int size = Math.min(maxSize, Math.min(availableWidth, availableHeight)); in updateDrawableBounds()221 float iconSize = Math.max(0, Math.min(availableWidth, availableHeight)); in updateDrawableBounds()226 int maxSize = Math.max(availableWidth, availableHeight); in updateDrawableBounds()249 if (minHeightWithText < availableHeight) { in updateDrawableBounds()
182 int availableHeight = getHeight(); in onDraw() local185 int y = availableHeight / 2; in onDraw()193 if (availableWidth < w || availableHeight < h) { in onDraw()196 (float) availableHeight / (float) h); in onDraw()
543 int availableHeight = getAvailableHeight(); in computeVerticalScrollExtent() local544 int sampleViewsThatCanFitOnScreen = availableHeight / sampleViewHeight; in computeVerticalScrollExtent()581 int availableHeight = getAvailableHeight(); in computeVerticalScrollOffset() local582 int numberOfSampleViewsThatCanFitOnScreen = availableHeight / sampleViewHeight; in computeVerticalScrollOffset()1278 int availableHeight = getAvailableHeight(); in onRequestChildFocusMarioStyle() local1312 if (distanceToChildBeforeFromTop > availableHeight / 2 in onRequestChildFocusMarioStyle()1313 || distanceToChildBeforeFromBottom > availableHeight) { in onRequestChildFocusMarioStyle()