/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
D | TargetDrawable.java | 127 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()
|
D | GlowPadView.java | 581 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/ |
D | TargetDrawable.java | 127 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()
|
D | GlowPadView.java | 609 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/ |
D | SharePopup.java | 172 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/ |
D | WidgetPreviewLoader.java | 470 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()
|
D | DeviceProfile.java | 298 int maxHeight = (availableHeightPx - workspacePadding.top - workspacePadding.bottom); in updateAvailableDimensions() local 299 if (usedHeight > maxHeight) { in updateAvailableDimensions() 300 scale = maxHeight / usedHeight; in updateAvailableDimensions()
|
D | AppsCustomizePagedView.java | 727 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()
|
D | CellLayout.java | 991 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/ |
D | WidgetPreviewLoader.java | 426 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()
|
D | AppsCustomizePagedView.java | 731 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/ |
D | WallpaperHandler.java | 108 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/ |
D | PopupList.java | 144 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/ |
D | HtmlTree.java | 291 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/ |
D | HtmlTree.java | 324 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/ |
D | KeyguardAppWidgetPickActivity.java | 301 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/ |
D | MasterImage.java | 560 float maxHeight = mOriginalBounds.height() / (float) h; in setImageShowSize() local 561 mMaxScaleFactor = Math.max(3.f, Math.max(maxWidth, maxHeight)); in setImageShowSize()
|