Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMiniDrawerView.java193 final int availableHeight = getMeasuredHeight() - getPaddingBottom() - getPaddingTop(); in onLayout() local
206 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()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAppWidgetHostView.java213 int availableHeight = getHeight() - paddingTop - paddingBottom - 2 * minPadding; in updateDrawableBounds() local
217 int size = Math.min(maxSize, Math.min(availableWidth, availableHeight)); in updateDrawableBounds()
223 float iconSize = Math.max(0, Math.min(availableWidth, availableHeight)); in updateDrawableBounds()
228 int maxSize = Math.max(availableWidth, availableHeight); in updateDrawableBounds()
251 if (minHeightWithText < availableHeight) { in updateDrawableBounds()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLayoutUtils.java100 float availableHeight = launcherVisibleHeight in calculateTaskSize() local
104 float scale = Math.min(availableWidth / taskWidth, availableHeight / taskHeight); in calculateTaskSize()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DPreviewPager.java122 int availableHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
126 int pagerHeight = availableHeight - indicatorHeight; in onMeasure()