Home
last modified time | relevance | path

Searched refs:scaledHeight (Results 1 – 6 of 6) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAttachmentTile.java186 final int scaledHeight = height * getResources().getDisplayMetrics().densityDpi in setThumbnail() local
192 || height >= maxSize || scaledHeight >= mIcon.getHeight(); in setThumbnail()
199 && scaledHeight >= mIcon.getWidth() * skinnyThresholdRatio); in setThumbnail()
201 scaledHeight, large, skinny); in setThumbnail()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallTypeIconsView.java219 int scaledHeight = in getScaledBitmap() local
222 * ((float) scaledHeight / (float) icon.getHeight())); in getScaledBitmap()
223 Bitmap scaledIcon = Bitmap.createScaledBitmap(icon, scaledWidth, scaledHeight, false); in getScaledBitmap()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java839 final float scaledHeight = scale * sourceHeight; in scaleCenterCrop() local
844 final float top = (newHeight - scaledHeight) / 2; in scaleCenterCrop()
848 final RectF targetRect = new RectF(left, top, left + scaledWidth, top + scaledHeight); in scaleCenterCrop()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java2091 int scaledHeight = (int) (mOverviewModeShrinkFactor * getNormalChildHeight()); in getOverviewModeTranslationY() local
2096 … int workspaceOffsetTopEdge = workspaceTop + ((workspaceBottom - workspaceTop) - scaledHeight) / 2; in getOverviewModeTranslationY()
2097 int overviewOffsetTopEdge = overviewTop + (overviewBottom - overviewTop - scaledHeight) / 2; in getOverviewModeTranslationY()
2330 int scaledHeight = (int) (scaleFactor * orig.getHeight()); in createDragOutline() local
2331 Rect dst = new Rect(0, 0, scaledWidth, scaledHeight); in createDragOutline()
2334 dst.offset((w - scaledWidth) / 2, (h - scaledHeight) / 2); in createDragOutline()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/widget/multiwaveview/
DGlowPadView.java384 int scaledHeight = getScaledSuggestedMinimumHeight(); in onMeasure() local
386 computeInsets(computedWidth - scaledWidth, computedHeight - scaledHeight); in onMeasure()
/packages/apps/Launcher2/src/com/android/launcher2/
DWorkspace.java1860 int scaledHeight = (int) (scaleFactor * orig.getHeight());
1861 Rect dst = new Rect(0, 0, scaledWidth, scaledHeight);
1864 dst.offset((w - scaledWidth) / 2, (h - scaledHeight) / 2);