Home
last modified time | relevance | path

Searched refs:maxHeight (Results 1 – 17 of 17) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
DTargetDrawable.java127 int maxHeight = 0; in resizeDrawables() local
133 maxHeight = Math.max(maxHeight, childDrawable.getIntrinsicHeight()); in resizeDrawables()
137 + maxWidth + "x" + maxHeight); in resizeDrawables()
138 d.setBounds(0, 0, maxWidth, maxHeight); in resizeDrawables()
144 + maxWidth + "x" + maxHeight); in resizeDrawables()
145 childDrawable.setBounds(0, 0, maxWidth, maxHeight); in resizeDrawables()
DGlowPadView.java581 int maxHeight = mHandleDrawable.getHeight(); in internalSetTargetResources() local
586 maxHeight = Math.max(maxHeight, target.getHeight()); in internalSetTargetResources()
588 if (mMaxTargetWidth != maxWidth || mMaxTargetHeight != maxHeight) { in internalSetTargetResources()
590 mMaxTargetHeight = maxHeight; in internalSetTargetResources()
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
DTargetDrawable.java127 int maxHeight = 0; in resizeDrawables() local
133 maxHeight = Math.max(maxHeight, childDrawable.getIntrinsicHeight()); in resizeDrawables()
137 + maxWidth + "x" + maxHeight); in resizeDrawables()
138 d.setBounds(0, 0, maxWidth, maxHeight); in resizeDrawables()
144 + maxWidth + "x" + maxHeight); in resizeDrawables()
145 childDrawable.setBounds(0, 0, maxWidth, maxHeight); in resizeDrawables()
DGlowPadView.java609 int maxHeight = mHandleDrawable.getHeight(); in internalSetTargetResources() local
614 maxHeight = Math.max(maxHeight, target.getHeight()); in internalSetTargetResources()
616 if (mMaxTargetWidth != maxWidth || mMaxTargetHeight != maxHeight) { in internalSetTargetResources()
618 mMaxTargetHeight = maxHeight; in internalSetTargetResources()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSharePopup.java172 float maxHeight = mPreviewFrame.getHeight() - vPaddingRootView; in setOrientation() local
176 maxWidth = maxHeight; in setOrientation()
177 maxHeight = temp; in setOrientation()
179 float actualAspect = maxWidth / maxHeight; in setOrientation()
191 params.width = Math.round(maxHeight * desiredAspect); in setOrientation()
192 params.height = Math.round(maxHeight); in setOrientation()
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java470 int maxHeight = maxHeightForWidgetPreview(cellSpans[1]); in generateWidgetPreview() local
472 cellSpans[0], cellSpans[1], maxWidth, maxHeight, preview, null); in generateWidgetPreview()
601 ResolveInfo info, int maxWidth, int maxHeight, Bitmap preview) { in generateShortcutPreview() argument
606 tempBitmap.getHeight() != maxHeight) { in generateShortcutPreview()
607 tempBitmap = Bitmap.createBitmap(maxWidth, maxHeight, Config.ARGB_8888); in generateShortcutPreview()
630 (preview.getWidth() != maxWidth || preview.getHeight() != maxHeight)) { in generateShortcutPreview()
633 preview = Bitmap.createBitmap(maxWidth, maxHeight, Config.ARGB_8888); in generateShortcutPreview()
DDeviceProfile.java298 int maxHeight = (availableHeightPx - workspacePadding.top - workspacePadding.bottom); in updateAvailableDimensions() local
299 if (usedHeight > maxHeight) { in updateAvailableDimensions()
300 scale = maxHeight / usedHeight; in updateAvailableDimensions()
DAppsCustomizePagedView.java727 int maxWidth, maxHeight; in beginDraggingWidget() local
729 maxHeight = Math.min((int) (previewDrawable.getIntrinsicHeight() * minScale), size[1]); in beginDraggingWidget()
735 maxWidth, maxHeight, null, previewSizeBeforeScale); in beginDraggingWidget()
DCellLayout.java991 int maxHeight = 0; in onMeasure() local
1000 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); in onMeasure()
1003 setMeasuredDimension(maxWidth, maxHeight); in onMeasure()
/packages/apps/Launcher2/src/com/android/launcher2/
DWidgetPreviewLoader.java426 int maxHeight = maxHeightForWidgetPreview(cellSpans[1]); in generateWidgetPreview() local
428 cellSpans[0], cellSpans[1], maxWidth, maxHeight, preview, null); in generateWidgetPreview()
557 ResolveInfo info, int maxWidth, int maxHeight, Bitmap preview) { in generateShortcutPreview() argument
562 tempBitmap.getHeight() != maxHeight) { in generateShortcutPreview()
563 tempBitmap = Bitmap.createBitmap(maxWidth, maxHeight, Config.ARGB_8888); in generateShortcutPreview()
586 (preview.getWidth() != maxWidth || preview.getHeight() != maxHeight)) { in generateShortcutPreview()
589 preview = Bitmap.createBitmap(maxWidth, maxHeight, Config.ARGB_8888); in generateShortcutPreview()
DAppsCustomizePagedView.java731 int maxWidth, maxHeight; in beginDraggingWidget() local
733 maxHeight = Math.min((int) (previewDrawable.getIntrinsicHeight() * minScale), size[1]); in beginDraggingWidget()
739 maxWidth, maxHeight, null, previewSizeBeforeScale); in beginDraggingWidget()
/packages/apps/Browser/src/com/android/browser/
DWallpaperHandler.java108 int maxHeight = wm.getDesiredMinimumHeight(); in run() local
111 maxHeight *= 1.25; in run()
116 while (bmWidth > maxWidth || bmHeight > maxHeight) { in run()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPopupList.java144 int maxHeight = mPopupWindow.getMaxAvailableHeight(mAnchorView) - p.top - p.bottom; in updatePopupLayoutParams() local
147 MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST)); in updatePopupLayoutParams()
149 mPopupHeight = Math.min(maxHeight, content.getMeasuredHeight() + p.left + p.right); in updatePopupLayoutParams()
/packages/apps/UnifiedEmail/src/com/android/mail/lib/html/parser/
DHtmlTree.java291 int maxHeight = 0; in getTreeHeight() local
297 if (currentHeight > maxHeight) { in getTreeHeight()
298 maxHeight = currentHeight; in getTreeHeight()
310 return maxHeight; in getTreeHeight()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlTree.java324 int maxHeight = 0; in getTreeHeight() local
330 if (currentHeight > maxHeight) { in getTreeHeight()
331 maxHeight = currentHeight; in getTreeHeight()
343 return maxHeight; in getTreeHeight()
/packages/apps/Settings/src/com/android/settings/
DKeyguardAppWidgetPickActivity.java301 int iconId, int maxWidth, int maxHeight) { in getWidgetPreview() argument
305 if (maxHeight < 0) maxHeight = Integer.MAX_VALUE; in getWidgetPreview()
355 bitmapHeight = Math.min(finalPreviewHeight, maxHeight); in getWidgetPreview()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DMasterImage.java560 float maxHeight = mOriginalBounds.height() / (float) h; in setImageShowSize() local
561 mMaxScaleFactor = Math.max(3.f, Math.max(maxWidth, maxHeight)); in setImageShowSize()