/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
H A D | PillHeightRevealOutlineProvider.java | 31 public PillHeightRevealOutlineProvider(Rect pillRect, float radius, int newHeight) { argument 34 mNewHeight = newHeight;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | ImageFilterDownsample.java | 69 int newHeight = orig_h * p / 100; 72 if (newWidth <= 0 || newHeight <= 0 || newWidth >= w || newHeight >= h) { 75 Bitmap ret = Bitmap.createScaledBitmap(bitmap, newWidth, newHeight, true);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | ContactsAsyncHelper.java | 170 int newHeight = (int) (orgHeight / ratio); 173 if (newWidth <= 0 || newHeight <= 0) { 180 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
H A D | NotificationItemView.java | 90 final int newHeight = getHeight() - heightToRemove; 92 getBackgroundRadius(), newHeight).createRevealAnimator(this, true /* isReversed */);
|
/packages/apps/Dialer/java/com/android/incallui/ |
H A D | ContactsAsyncHelper.java | 253 int newHeight = (int) (orgHeight / ratio); 256 if (newWidth <= 0 || newHeight <= 0) { 263 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | PhotoProcessor.java | 226 final int newHeight = (int) (cropHeight * scaleFactor); 227 if (newWidth <= 0 || newHeight <= 0) { 230 final Bitmap scaledBitmap = Bitmap.createBitmap(newWidth, newHeight,
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PagedViewCellLayout.java | 200 int newHeight = heightSpecSize; 204 newHeight = getPaddingTop() + getPaddingBottom() + (mCellCountY * mCellHeight) + 206 setMeasuredDimension(newWidth, newHeight); 216 MeasureSpec.makeMeasureSpec(newHeight - getPaddingTop() - 221 setMeasuredDimension(newWidth, newHeight);
|
H A D | AppWidgetResizeFrame.java | 409 int newHeight = mWidgetView.getHeight() + 2 * mBackgroundPadding - mWidgetPaddingTop - 424 if (newY + newHeight > mDragLayer.getHeight()) { 426 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); 433 lp.height = newHeight; 444 newHeight);
|
H A D | CellLayout.java | 1006 int newHeight = heightSpecSize; 1010 newHeight = getPaddingTop() + getPaddingBottom() + (mCountY * mCellHeight) + 1012 setMeasuredDimension(newWidth, newHeight); 1020 int childheightMeasureSpec = MeasureSpec.makeMeasureSpec(newHeight - getPaddingTop() - 1024 setMeasuredDimension(newWidth, newHeight);
|
/packages/apps/Dialer/java/com/android/dialer/animation/ |
H A D | AnimUtils.java | 217 * @param newHeight The new height of the view. 219 public static void changeDimensions(final View view, final int newWidth, final int newHeight) { argument 225 final int deltaHeight = newHeight - oldHeight;
|
/packages/apps/PhoneCommon/src/com/android/phone/common/animation/ |
H A D | AnimUtils.java | 197 * @param newHeight The new height of the view. 199 public static void changeDimensions(final View view, final int newWidth, final int newHeight) { argument 205 final int deltaHeight = newHeight - oldHeight;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | AppWidgetResizeFrame.java | 399 int newHeight = sTmpRect.height(); 412 if (newY + newHeight > mDragLayer.getHeight()) { 414 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); 422 lp.height = newHeight; 432 newHeight);
|
H A D | CellLayout.java | 816 int newHeight = childHeightSize; 819 newHeight = mFixedHeight; 833 MeasureSpec.makeMeasureSpec(newHeight, MeasureSpec.EXACTLY));
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationFooterView.java | 29 * @param newHeight the new height in px 31 void onConversationFooterHeightChange(int newHeight); argument
|
H A D | ConversationViewHeader.java | 62 * @param newHeight the new height in px 64 void onConversationViewHeaderHeightChange(int newHeight); argument
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
H A D | SendUi.java | 656 int newHeight = bitmap.getHeight(); 657 float smallestWidth = (float)Math.min(newWidth, newHeight); 661 newHeight = bitmap.getHeight() - statusBarHeight - navBarHeight; 666 newHeight = bitmap.getHeight() - statusBarHeight - navBarHeightLandscape; 668 newHeight = bitmap.getHeight() - statusBarHeight; 672 bitmap = Bitmap.createBitmap(bitmap, newLeft, newTop, newWidth, newHeight);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | GeometryMathUtils.java | 204 public static float scale(float oldWidth, float oldHeight, float newWidth, float newHeight) { argument 205 if (oldHeight == 0 || oldWidth == 0 || (oldWidth == newWidth && oldHeight == newHeight)) { 208 return Math.min(newWidth / oldWidth, newHeight / oldHeight);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
H A D | BoundedRect.java | 304 float newHeight = Math.abs(fixed_y - p[1]); 305 newWidth = Math.max(newWidth, aspRatio * newHeight);
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | ImageUtils.java | 822 * @param newHeight destination height 826 final int newHeight) { 834 final float yScale = (float) newHeight / sourceHeight; 844 final float top = (newHeight - scaledHeight) / 2; 852 final Bitmap dest = Bitmap.createBitmap(newWidth, newHeight, source.getConfig()); 825 scaleCenterCrop(final Bitmap source, final int newWidth, final int newHeight) argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | SecureConversationViewFragment.java | 227 public void onConversationViewHeaderHeightChange(int newHeight) { argument
|
H A D | ConversationViewFragment.java | 969 public void onConversationViewHeaderHeightChange(int newHeight) { argument 970 final int h = mWebView.screenPxToWebPx(newHeight); 980 public void onConversationFooterHeightChange(int newHeight) { argument 981 final int h = mWebView.screenPxToWebPx(newHeight);
|
H A D | AbstractConversationViewFragment.java | 223 public abstract void onConversationViewHeaderHeightChange(int newHeight); argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | Utils.java | 674 int newHeight = SCALED_SCREENSHOT_MAX_HEIGHT_WIDTH; 678 scaleY = newHeight / originalHeight; 681 newHeight = (int)Math.round(originalHeight * scale); 682 return Bitmap.createScaledBitmap(originalBitmap, newWidth, newHeight, true);
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | PhotoModule.java | 830 int newHeight; 833 newHeight = (int) (originalWidth / targetAspectRatio); 837 newHeight = originalHeight; 840 int yOffset = (originalHeight - newHeight)/2; 846 Bitmap resized = Bitmap.createBitmap(original,xOffset,yOffset,newWidth, newHeight); 848 exif.setTagValue(ExifInterface.TAG_PIXEL_Y_DIMENSION, new Integer(newHeight));
|
/packages/apps/Car/Media/src/com/android/car/media/ |
H A D | MediaPlaybackFragment.java | 741 int newHeight = height > mAlbumArtHeight ? mAlbumArtHeight : height; 742 return Bitmap.createBitmap(icon, startX, startY, newWidth, newHeight);
|