Searched defs:newWidth (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DConversationMessageBubbleView.java97 public void kickOffMorphAnimation(final int oldWidth, final int newWidth) { argument
99 mAnimator.setIntValues(mRunningStartWidth, newWidth);
103 mAnimator = ObjectAnimator.ofInt(this, "morphWidth", oldWidth, newWidth);
/packages/apps/PhoneCommon/src/com/android/phone/common/animation/
H A DAnimUtils.java192 * @param newWidth The new width of the view.
195 public static void changeDimensions(final View view, final int newWidth, final int newHeight) { argument
200 final int deltaWidth = newWidth - oldWidth;
/packages/apps/Camera2/src/com/android/camera/ui/
H A DModeSelectorItem.java165 * @param newWidth new visible width
167 public void setVisibleWidth(int newWidth) { argument
169 newWidth = Math.max(newWidth, 0);
171 newWidth = Math.min(newWidth, fullyShownIconWidth);
173 if (mVisibleWidth != newWidth) {
174 mVisibleWidth = newWidth;
176 mListener.onVisibleWidthChanged(newWidth);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DGeometryMathUtils.java204 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/Messaging/src/com/android/messaging/util/
H A DImageUtils.java821 * @param newWidth destination width
825 public static Bitmap scaleCenterCrop(final Bitmap source, final int newWidth, argument
833 final float xScale = (float) newWidth / sourceWidth;
843 final float left = (newWidth - scaledWidth) / 2;
852 final Bitmap dest = Bitmap.createBitmap(newWidth, newHeight, source.getConfig());

Completed in 225 milliseconds