Home
last modified time | relevance | path

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

/frameworks/support/percent/tests/java/android/support/percent/
DPercentDynamicLayoutTest.java120 final int availableHeight = containerHeight - percentFrameLayout.getPaddingTop()
129 availableHeight, child1.getHeight());
133 availableHeight, child2.getHeight());
150 final int availableHeight = containerHeight - percentFrameLayout.getPaddingTop()
159 0.5f * availableHeight, child1.getHeight());
163 0.5f* availableHeight, child2.getHeight());
180 final int availableHeight = containerHeight - percentRelativeLayout.getPaddingTop()
189 availableHeight, child1.getHeight());
193 availableHeight, child2.getHeight());
210 final int availableHeight = containerHeight - percentRelativeLayout.getPaddingTop()
[all …]
/frameworks/support/design/src/android/support/design/widget/
DHeaderScrollingViewBehavior.java76 int availableHeight = View.MeasureSpec.getSize(parentHeightMeasureSpec); in onMeasureChild() local
77 if (availableHeight == 0) { in onMeasureChild()
79 availableHeight = parent.getHeight(); in onMeasureChild()
82 final int height = availableHeight - header.getMeasuredHeight() in onMeasureChild()
/frameworks/base/core/java/android/widget/
DAnalogClock.java186 int availableHeight = mBottom - mTop; in onDraw() local
189 int y = availableHeight / 2; in onDraw()
197 if (availableWidth < w || availableHeight < h) { in onDraw()
200 (float) availableHeight / (float) h); in onDraw()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java186 final int availableHeight = getHeight() - mPaddingTop - mPaddingBottom; in getRowHeight() local
187 final int desiredRowHeight = availableHeight / mNumRows; in getRowHeight()
191 final int residualHeight = availableHeight % mNumRows; in getRowHeight()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java410 final int availableHeight = mPreviewArea.getHeight(); in updatePreviewAreaPageSizeAndEmptyState() local
434 availableHeight - 2 * (mPreviewListPadding + mPreviewPageMargin) - mFooterHeight); in updatePreviewAreaPageSizeAndEmptyState()
449 + 2 * mPreviewPageMargin > availableHeight) { in updatePreviewAreaPageSizeAndEmptyState()
451 (availableHeight - mPageContentHeight - mFooterHeight) / 2 in updatePreviewAreaPageSizeAndEmptyState()
455 (availableHeight - totalContentHeight) / 2); in updatePreviewAreaPageSizeAndEmptyState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java196 int availableHeight = taskStackBounds.height() - topMargin - stackBottomOffset; in computeRects() local
197 int ffPaddedHeight = (int) (availableHeight * freeformHeightPct); in computeRects()