Searched refs:availableHeight (Results 1 – 7 of 7) sorted by relevance
121 int availableHeight = MeasureSpec.getSize(heightMeasureSpec) - mPaddingTop - mPaddingBottom; in onMeasure() local122 if (getLayout() != null && getLayout().getHeight() != availableHeight) { in onMeasure()130 if (layout.getHeight() > availableHeight) { in onMeasure()134 while (maxLines > 1 && layout.getLineBottom(maxLines - 1) > availableHeight) { in onMeasure()
191 int availableHeight = mBottom - mTop; in onDraw() local194 int y = availableHeight / 2; in onDraw()202 if (availableWidth < w || availableHeight < h) { in onDraw()205 (float) availableHeight / (float) h); in onDraw()
9445 final int availableHeight = getMeasuredHeight() - getExtendedPaddingBottom() in autoSizeText() local9448 if (availableWidth <= 0 || availableHeight <= 0) { in autoSizeText()9455 TEMP_RECTF.bottom = availableHeight; in autoSizeText()
183 final int availableHeight = getHeight() - mPaddingTop - mPaddingBottom; in getRowHeight() local184 final int desiredRowHeight = availableHeight / mNumRows; in getRowHeight()188 final int residualHeight = availableHeight % mNumRows; in getRowHeight()
180 final int availableHeight = mMaxShadeBottom - mMinTopMargin; in getExpandedClockPosition() local181 final int containerCenter = mMinTopMargin + availableHeight / 2; in getExpandedClockPosition()
140 final int availableHeight = MeasureSpec.getSize(heightMeasureSpec) - mCellMarginTop in updateMaxRows() local143 mRows = availableHeight / (mCellHeight + mCellMarginVertical); in updateMaxRows()
429 final int availableHeight = mPreviewArea.getHeight(); in updatePreviewAreaPageSizeAndEmptyState() local453 availableHeight - 2 * (mPreviewListPadding + mPreviewPageMargin) - mFooterHeight); in updatePreviewAreaPageSizeAndEmptyState()468 + 2 * mPreviewPageMargin > availableHeight) { in updatePreviewAreaPageSizeAndEmptyState()470 (availableHeight - mPageContentHeight - mFooterHeight) / 2 in updatePreviewAreaPageSizeAndEmptyState()474 (availableHeight - totalContentHeight) / 2); in updatePreviewAreaPageSizeAndEmptyState()