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/
DPendingAppWidgetHostView.java219 int availableHeight = getHeight() - paddingTop - paddingBottom - 2 * minPadding; in updateDrawableBounds() local
223 int size = Math.min(maxSize, Math.min(availableWidth, availableHeight)); in updateDrawableBounds()
229 float iconSize = Math.max(0, Math.min(availableWidth, availableHeight)); in updateDrawableBounds()
234 int maxSize = Math.max(availableWidth, availableHeight); in updateDrawableBounds()
257 if (minHeightWithText < availableHeight) { in updateDrawableBounds()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DCarLayoutManager.java553 int availableHeight = getAvailableHeight(); in computeVerticalScrollExtent() local
554 int sampleViewsThatCanFitOnScreen = availableHeight / sampleViewHeight; in computeVerticalScrollExtent()
591 int availableHeight = getAvailableHeight(); in computeVerticalScrollOffset() local
592 int numberOfSampleViewsThatCanFitOnScreen = availableHeight / sampleViewHeight; in computeVerticalScrollOffset()
1296 int availableHeight = getAvailableHeight(); in onRequestChildFocusMarioStyle() local
1330 if (distanceToChildBeforeFromTop > availableHeight / 2 in onRequestChildFocusMarioStyle()
1331 || distanceToChildBeforeFromBottom > availableHeight) { in onRequestChildFocusMarioStyle()
/packages/apps/Car/Radio/src/com/android/car/radio/
DCarouselView.java226 int availableHeight = requestedHeight; in onMeasure() local
235 + "availableHeight: %d", requestedWidth, requestedHeight, availableHeight)); in onMeasure()
238 int availableHeightDownwards = availableHeight - mTopOffset; in onMeasure()