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.java208 int availableHeight = getHeight() - paddingTop - paddingBottom - 2 * minPadding; in updateDrawableBounds() local
214 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()
/packages/apps/DeskClock/src/com/android/deskclock/
DAnalogClock.java182 int availableHeight = getHeight(); in onDraw() local
185 int y = availableHeight / 2; in onDraw()
193 if (availableWidth < w || availableHeight < h) { in onDraw()
196 (float) availableHeight / (float) h); in onDraw()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DCarLayoutManager.java543 int availableHeight = getAvailableHeight(); in computeVerticalScrollExtent() local
544 int sampleViewsThatCanFitOnScreen = availableHeight / sampleViewHeight; in computeVerticalScrollExtent()
581 int availableHeight = getAvailableHeight(); in computeVerticalScrollOffset() local
582 int numberOfSampleViewsThatCanFitOnScreen = availableHeight / sampleViewHeight; in computeVerticalScrollOffset()
1278 int availableHeight = getAvailableHeight(); in onRequestChildFocusMarioStyle() local
1312 if (distanceToChildBeforeFromTop > availableHeight / 2 in onRequestChildFocusMarioStyle()
1313 || distanceToChildBeforeFromBottom > availableHeight) { in onRequestChildFocusMarioStyle()