/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterDownsample.java | 69 int newHeight = orig_h * p / 100; in apply() local 72 if (newWidth <= 0 || newHeight <= 0 || newWidth >= w || newHeight >= h) { in apply() 75 Bitmap ret = Bitmap.createScaledBitmap(bitmap, newWidth, newHeight, true); in apply()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedViewCellLayout.java | 194 int newHeight = heightSpecSize; in onMeasure() local 198 newHeight = getPaddingTop() + getPaddingBottom() + (mCellCountY * mCellHeight) + in onMeasure() 200 setMeasuredDimension(newWidth, newHeight); in onMeasure() 210 MeasureSpec.makeMeasureSpec(newHeight - getPaddingTop() - in onMeasure() 215 setMeasuredDimension(newWidth, newHeight); in onMeasure()
|
D | AppWidgetResizeFrame.java | 401 int newHeight = mWidgetView.getHeight() + 2 * mBackgroundPadding - mWidgetPaddingTop - in snapToWidget() local 420 if (newY + newHeight > mDragLayer.getHeight()) { in snapToWidget() 422 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); in snapToWidget() 429 lp.height = newHeight; in snapToWidget() 440 newHeight); in snapToWidget()
|
D | CellLayout.java | 856 int newHeight = childHeightSize; in onMeasure() local 859 newHeight = mFixedHeight; in onMeasure() 887 int childheightMeasureSpec = MeasureSpec.makeMeasureSpec(newHeight, in onMeasure()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedViewCellLayout.java | 200 int newHeight = heightSpecSize; in onMeasure() local 204 newHeight = getPaddingTop() + getPaddingBottom() + (mCellCountY * mCellHeight) + in onMeasure() 206 setMeasuredDimension(newWidth, newHeight); in onMeasure() 216 MeasureSpec.makeMeasureSpec(newHeight - getPaddingTop() - in onMeasure() 221 setMeasuredDimension(newWidth, newHeight); in onMeasure()
|
D | AppWidgetResizeFrame.java | 409 int newHeight = mWidgetView.getHeight() + 2 * mBackgroundPadding - mWidgetPaddingTop - in snapToWidget() local 424 if (newY + newHeight > mDragLayer.getHeight()) { in snapToWidget() 426 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); in snapToWidget() 433 lp.height = newHeight; in snapToWidget() 444 newHeight); in snapToWidget()
|
D | CellLayout.java | 1006 int newHeight = heightSpecSize; in onMeasure() local 1010 newHeight = getPaddingTop() + getPaddingBottom() + (mCountY * mCellHeight) + in onMeasure() 1012 setMeasuredDimension(newWidth, newHeight); in onMeasure() 1020 int childheightMeasureSpec = MeasureSpec.makeMeasureSpec(newHeight - getPaddingTop() - in onMeasure() 1024 setMeasuredDimension(newWidth, newHeight); in onMeasure()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | SendUi.java | 642 int newHeight = bitmap.getHeight(); in createScreenshot() local 643 float smallestWidth = (float)Math.min(newWidth, newHeight); in createScreenshot() 647 newHeight = bitmap.getHeight() - statusBarHeight - navBarHeight; in createScreenshot() 652 newHeight = bitmap.getHeight() - statusBarHeight - navBarHeightLandscape; in createScreenshot() 654 newHeight = bitmap.getHeight() - statusBarHeight; in createScreenshot() 658 bitmap = Bitmap.createBitmap(bitmap, newLeft, newTop, newWidth, newHeight); in createScreenshot()
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | ContactsAsyncHelper.java | 182 int newHeight = (int) (orgHeight / ratio); in getPhotoIconWhenAppropriate() local 185 if (newWidth <= 0 || newHeight <= 0) { in getPhotoIconWhenAppropriate() 192 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true); in getPhotoIconWhenAppropriate()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhotoProcessor.java | 226 final int newHeight = (int) (cropHeight * scaleFactor); in getNormalizedBitmap() local 227 if (newWidth <= 0 || newHeight <= 0) { in getNormalizedBitmap() 230 final Bitmap scaledBitmap = Bitmap.createBitmap(newWidth, newHeight, in getNormalizedBitmap()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ContactsAsyncHelper.java | 182 int newHeight = (int) (orgHeight / ratio); in getPhotoIconWhenAppropriate() local 185 if (newWidth <= 0 || newHeight <= 0) { in getPhotoIconWhenAppropriate() 192 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true); in getPhotoIconWhenAppropriate()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | Utils.java | 669 int newHeight = SCALED_SCREENSHOT_MAX_HEIGHT_WIDTH; in getReducedSizeBitmap() local 673 scaleY = newHeight / originalHeight; in getReducedSizeBitmap() 676 newHeight = (int)Math.round(originalHeight * scale); in getReducedSizeBitmap() 677 return Bitmap.createScaledBitmap(originalBitmap, newWidth, newHeight, true); in getReducedSizeBitmap()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PhotoModule.java | 989 int newHeight; 992 newHeight = (int) (originalWidth / targetAspectRatio); 996 newHeight = originalHeight; 999 int yOffset = (originalHeight - newHeight)/2; 1005 Bitmap resized = Bitmap.createBitmap(original,xOffset,yOffset,newWidth, newHeight); 1007 exif.setTagValue(ExifInterface.TAG_PIXEL_Y_DIMENSION, new Integer(newHeight));
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardContainerView.java | 80 final int newHeight = (int) ((mNumRows * cellHeight) + ((mNumRows - 1) * mCellGapY)) + in onMeasure() local 83 setMeasuredDimension(width, newHeight); in onMeasure()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | GeometryMathUtils.java | 204 public static float scale(float oldWidth, float oldHeight, float newWidth, float newHeight) { in scale() argument 205 if (oldHeight == 0 || oldWidth == 0 || (oldWidth == newWidth && oldHeight == newHeight)) { in scale() 208 return Math.min(newWidth / oldWidth, newHeight / oldHeight); in scale()
|
/packages/apps/PhoneCommon/src/com/android/phone/common/animation/ |
D | AnimUtils.java | 195 public static void changeDimensions(final View view, final int newWidth, final int newHeight) { in changeDimensions() argument 201 final int deltaHeight = newHeight - oldHeight; in changeDimensions()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationViewFragment.java | 969 public void onConversationViewHeaderHeightChange(int newHeight) { in onConversationViewHeaderHeightChange() argument 970 final int h = mWebView.screenPxToWebPx(newHeight); in onConversationViewHeaderHeightChange() 980 public void onConversationFooterHeightChange(int newHeight) { in onConversationFooterHeightChange() argument 981 final int h = mWebView.screenPxToWebPx(newHeight); in onConversationFooterHeightChange()
|
D | SecureConversationViewFragment.java | 227 public void onConversationViewHeaderHeightChange(int newHeight) { in onConversationViewHeaderHeightChange() argument
|
D | AbstractConversationViewFragment.java | 223 public abstract void onConversationViewHeaderHeightChange(int newHeight); in onConversationViewHeaderHeightChange() argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | BoundedRect.java | 304 float newHeight = Math.abs(fixed_y - p[1]); in fixedAspectResizeInner() local 305 newWidth = Math.max(newWidth, aspRatio * newHeight); in fixedAspectResizeInner()
|
/packages/apps/Dialer/src/com/android/dialer/widget/ |
D | OverlappingPaneLayout.java | 531 final int newHeight = heightAvailable - verticalMargin; in onMeasure() 533 newHeight, MeasureSpec.EXACTLY); in onMeasure() 534 if (measuredHeight != newHeight) { in onMeasure()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationFooterView.java | 31 void onConversationFooterHeightChange(int newHeight); in onConversationFooterHeightChange() argument
|
D | ConversationViewHeader.java | 64 void onConversationViewHeaderHeightChange(int newHeight); in onConversationViewHeaderHeightChange() argument
|