Searched refs:scaleX (Results 1 - 25 of 45) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/anim/
H A DPropertyListBuilder.java25 public PropertyListBuilder scaleX(float value) { method in class:PropertyListBuilder
36 * Helper method to set both scaleX and scaleY
39 return scaleX(value).scaleY(value);
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
H A DFlipDrawable.java142 final float scaleX;
145 scaleX = 1;
148 scaleX = 1;
156 scaleX = distFraction * multiplier;
161 canvas.scale(scaleX, 1, bounds.exactCenterX(), bounds.exactCenterY());
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DTiledTexture.java261 // | | by (scaleX, scaleY) | +----+ |
266 RectF src, float x0, float y0, float x, float y, float scaleX,
268 output.set(x + (src.left - x0) * scaleX,
270 x + (src.right - x0) * scaleX,
280 float scaleX = (float) width / mWidth;
287 mapRect(dest, src, 0, 0, x, y, scaleX, scaleY);
299 float scaleX = (float) width / mWidth;
306 mapRect(dest, src, 0, 0, x, y, scaleX, scaleY);
321 float scaleX = target.width() / source.width();
330 mapRect(dest, src, x0, y0, x, y, scaleX, scale
265 mapRect(RectF output, RectF src, float x0, float y0, float x, float y, float scaleX, float scaleY) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/
H A DAnimationManager.java52 float scaleX = ((float) parentView.getWidth()) / ((float) view.getWidth());
54 float scale = scaleX > scaleY ? scaleX : scaleY;
90 ObjectAnimator.ofFloat(view, "scaleX", scale, 1f)
/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/
H A DVideoScale.java54 float scaleX = scaleWidth;
57 scaleHeight = viewWidth / viewHeight * scaleX;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherAnimUtils.java113 float alpha, float scaleX, float scaleY) {
116 PropertyValuesHolder.ofFloat(View.SCALE_X, scaleX),
112 ofViewAlphaAndScale(View target, float alpha, float scaleX, float scaleY) argument
H A DShortcutAndWidgetContainer.java154 float scaleX = profile.appWidgetScale.x;
157 lahv.setScaleToFit(Math.min(scaleX, scaleY));
158 lahv.setTranslationForCentering(-(lp.width - (lp.width * scaleX)) / 2.0f,
H A DPagedView.java286 public void setScaleX(float scaleX) { argument
287 super.setScaleX(scaleX);
569 float scaleX = mFreeScroll ? getScaleX() : 1f;
570 int scrollX = (int) (mScroller.getCurrX() * (1 / scaleX));
1637 float scaleX = getScaleX();
1638 int vX = (int) (-velocityX * scaleX);
1639 int initialScrollX = (int) (getScrollX() * scaleX);
1644 mNextPage = getPageNearestToCenterOfScreen((int) (mScroller.getFinalX() / scaleX));
2059 mDragView.animate().scaleX(1.15f).scaleY(1.15f).setDuration(100).start();
H A DUtilities.java249 public static float shrinkRect(Rect r, float scaleX, float scaleY) { argument
250 float scale = Math.min(Math.min(scaleX, scaleY), 1.0f);
252 int deltaX = (int) (r.width() * (scaleX - scale) * 0.5f);
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
H A DExifInterface.java290 int scaleX = 1; field in class:ExifInterface.OrientationParams
299 params.scaleX = -1;
317 params.scaleX = -1;
322 params.scaleX = -1;
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/
H A DPawAnswerHint.java218 Animator scaleX = ObjectAnimator.ofFloat(target, View.SCALE_X, scaleBegin, scaleEnd);
220 scaleX.setDuration(duration);
222 scaleX.setInterpolator(interpolator);
225 set.play(scaleX).with(scaleY).after(delay);
H A DDotAnswerHint.java266 Animator scaleX = ObjectAnimator.ofFloat(target, View.SCALE_X, scaleBegin, scaleEnd);
268 scaleX.setDuration(duration);
270 scaleX.setInterpolator(interpolator);
273 set.play(scaleX).with(scaleY).after(delay);
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
H A DHolographicOutlineHelper.java159 float scaleX = view.getScaleX();
163 int bitmapWidth = (int) (rect.width() * scaleX);
181 mCanvas.scale(scaleX, scaleY);
/packages/apps/Camera2/src/com/android/camera/ui/
H A DCountDownView.java119 mRemainingSecondsView.animate().scaleX(endScale).scaleY(endScale)
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DOrientedBitmapDrawable.java99 canvas.scale(mOrientationParams.scaleX, mOrientationParams.scaleY, mCenterX, mCenterY);
H A DMultiAttachmentLayout.java377 final float scaleX = viewWrapper.prevWidth / (float) view.getWidth();
380 if (xOffset == 0 && yOffset == 0 && scaleX == 1 && scaleY == 1) {
388 animationSet.addAnimation(new ScaleAnimation(scaleX, 1, scaleY, 1));
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
H A DDialogAdapter.java65 v.animate().scaleX(scale).scaleY(scale).setDuration(
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherViewPropertyAnimator.java206 mViewPropertyAnimator.scaleX(mScaleX);
243 public LauncherViewPropertyAnimator scaleX(float value) { method in class:LauncherViewPropertyAnimator
H A DDragLayer.java459 float scaleX, float scaleY, int animationEndStyle, Runnable onFinishRunnable,
466 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY,
609 float scaleX = finalScaleX * percent + initialScaleX * (1 - percent);
625 mDropView.setScaleX(scaleX);
458 animateViewIntoPosition(DragView dragView, final int[] pos, float alpha, float scaleX, float scaleY, int animationEndStyle, Runnable onFinishRunnable, int duration) argument
H A DFolder.java421 PropertyValuesHolder scaleX = PropertyValuesHolder.ofFloat("scaleX", 1.0f);
424 LauncherAnimUtils.ofPropertyValuesHolder(this, alpha, scaleX, scaleY);
471 PropertyValuesHolder scaleX = PropertyValuesHolder.ofFloat("scaleX", 0.9f);
474 LauncherAnimUtils.ofPropertyValuesHolder(this, alpha, scaleX, scaleY);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DGalleryActivity.java263 float scaleX = decor.getWidth() / maxX;
265 float x = event.getX() * scaleX;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
H A DSuggestionStripLayoutHelper.java442 final float scaleX = wordView.getTextScaleX();
444 wordView.setTextScaleX(scaleX);
585 final float scaleX = getTextScaleX(text, maxWidth, paint);
586 if (scaleX >= MIN_TEXT_XSCALE) {
587 paint.setTextScaleX(scaleX);
/packages/apps/Dialer/java/com/android/dialer/animation/
H A DAnimUtils.java199 .scaleX(endScaleValue)
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
H A DDragLayer.java563 float scaleX, float scaleY, int animationEndStyle, Runnable onFinishRunnable,
570 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY,
722 float scaleX = finalScaleX * percent + initialScaleX * (1 - percent);
740 mDropView.setScaleX(scaleX);
562 animateViewIntoPosition(DragView dragView, final int[] pos, float alpha, float scaleX, float scaleY, int animationEndStyle, Runnable onFinishRunnable, int duration) argument
/packages/apps/PhoneCommon/src/com/android/phone/common/animation/
H A DAnimUtils.java180 .scaleX(endScaleValue)

Completed in 754 milliseconds

12