Home
last modified time | relevance | path

Searched refs:scaleX (Results 1 – 25 of 40) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DTiledTexture.java266 RectF src, float x0, float y0, float x, float y, float scaleX, in mapRect() argument
268 output.set(x + (src.left - x0) * scaleX, in mapRect()
270 x + (src.right - x0) * scaleX, in mapRect()
280 float scaleX = (float) width / mWidth; in drawMixed() local
287 mapRect(dest, src, 0, 0, x, y, scaleX, scaleY); in drawMixed()
299 float scaleX = (float) width / mWidth; in draw() local
306 mapRect(dest, src, 0, 0, x, y, scaleX, scaleY); in draw()
321 float scaleX = target.width() / source.width(); in draw() local
330 mapRect(dest, src, x0, y0, x, y, scaleX, scaleY); in draw()
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DFlipDrawable.java142 final float scaleX; in draw() local
145 scaleX = 1; in draw()
148 scaleX = 1; in draw()
156 scaleX = distFraction * multiplier; in draw()
161 canvas.scale(scaleX, 1, bounds.exactCenterX(), bounds.exactCenterY()); in draw()
/packages/apps/Launcher3/src/com/android/launcher3/
DFocusIndicatorView.java92 nextState.scaleX = v.getScaleX() * v.getWidth() / indicatorWidth; in onFocusChange()
96 … nextState.x = mTargetViewPos[0] - mIndicatorPos[0] - (1 - nextState.scaleX) * indicatorWidth / 2; in onFocusChange()
105 PropertyValuesHolder.ofFloat(View.SCALE_X, mTargetState.scaleX), in onFocusChange()
140 setScaleX(state.scaleX); in applyState()
182 float x, y, scaleX, scaleY; field in FocusIndicatorView.ViewAnimState
DPagedView.java348 public void setScaleX(float scaleX) { in setScaleX() argument
349 super.setScaleX(scaleX); in setScaleX()
645 float scaleX = mFreeScroll ? getScaleX() : 1f; in computeScrollHelper() local
646 int scrollX = (int) (mScroller.getCurrX() * (1 / scaleX)); in computeScrollHelper()
1798 float scaleX = getScaleX(); in onTouchEvent()
1799 int vX = (int) (-velocityX * scaleX); in onTouchEvent()
1800 int initialScrollX = (int) (getScrollX() * scaleX); in onTouchEvent()
2229 mDragView.animate().scaleX(1.15f).scaleY(1.15f).setDuration(100).start(); in startReordering()
DFolder.java461 PropertyValuesHolder scaleX = PropertyValuesHolder.ofFloat("scaleX", 1.0f); in animateOpen() local
464 LauncherAnimUtils.ofPropertyValuesHolder(this, alpha, scaleX, scaleY); in animateOpen()
634 PropertyValuesHolder scaleX = PropertyValuesHolder.ofFloat("scaleX", 0.9f); in animateClosed() local
637 LauncherAnimUtils.ofPropertyValuesHolder(this, alpha, scaleX, scaleY); in animateClosed()
1222 float scaleX = getScaleX(); in onDrop() local
1228 setScaleX(scaleX); in onDrop()
DDragLayer.java573 float scaleX, float scaleY, int animationEndStyle, Runnable onFinishRunnable, in animateViewIntoPosition() argument
580 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY, in animateViewIntoPosition()
731 float scaleX = finalScaleX * percent + initialScaleX * (1 - percent); in animateView()
749 mDropView.setScaleX(scaleX); in animateView()
DPageIndicatorMarker.java69 .scaleX(1f) in activate()
92 .scaleX(0.5f) in inactivate()
DLauncherViewPropertyAnimator.java207 mViewPropertyAnimator.scaleX(mScaleX); in start()
247 public LauncherViewPropertyAnimator scaleX(float value) { in scaleX() method in LauncherViewPropertyAnimator
DLauncherClings.java168 PropertyValuesHolder scaleX = PropertyValuesHolder.ofFloat("scaleX", 1); in showLongPressCling()
170 anim = LauncherAnimUtils.ofPropertyValuesHolder(content, scaleX, scaleY); in showLongPressCling()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripLayoutHelper.java442 final float scaleX = wordView.getTextScaleX(); in layoutWord() local
444 wordView.setTextScaleX(scaleX); in layoutWord()
585 final float scaleX = getTextScaleX(text, maxWidth, paint); in getEllipsizedTextWithSettingScaleX() local
586 if (scaleX >= MIN_TEXT_XSCALE) { in getEllipsizedTextWithSettingScaleX()
587 paint.setTextScaleX(scaleX); in getEllipsizedTextWithSettingScaleX()
/packages/apps/Camera2/src/com/android/camera/
DAnimationManager.java52 float scaleX = ((float) parentView.getWidth()) / ((float) view.getWidth()); in startCaptureAnimation() local
54 float scale = scaleX > scaleY ? scaleX : scaleY; in startCaptureAnimation()
/packages/apps/Launcher2/src/com/android/launcher2/
DDragLayer.java459 float scaleX, float scaleY, int animationEndStyle, Runnable onFinishRunnable, in animateViewIntoPosition() argument
466 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY, in animateViewIntoPosition()
609 float scaleX = finalScaleX * percent + initialScaleX * (1 - percent); in animateView()
625 mDropView.setScaleX(scaleX); in animateView()
DFolder.java421 PropertyValuesHolder scaleX = PropertyValuesHolder.ofFloat("scaleX", 1.0f); in animateOpen() local
424 LauncherAnimUtils.ofPropertyValuesHolder(this, alpha, scaleX, scaleY); in animateOpen()
471 PropertyValuesHolder scaleX = PropertyValuesHolder.ofFloat("scaleX", 0.9f); in animateClosed() local
474 LauncherAnimUtils.ofPropertyValuesHolder(this, alpha, scaleX, scaleY); in animateClosed()
DLauncherViewPropertyAnimator.java206 mViewPropertyAnimator.scaleX(mScaleX); in start()
243 public LauncherViewPropertyAnimator scaleX(float value) { in scaleX() method in LauncherViewPropertyAnimator
/packages/apps/Messaging/src/com/android/messaging/ui/
DMultiAttachmentLayout.java377 final float scaleX = viewWrapper.prevWidth / (float) view.getWidth(); in trySlideAttachmentView() local
380 if (xOffset == 0 && yOffset == 0 && scaleX == 1 && scaleY == 1) { in trySlideAttachmentView()
388 animationSet.addAnimation(new ScaleAnimation(scaleX, 1, scaleY, 1)); in trySlideAttachmentView()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
DTiledImageRenderer.java625 float scaleX = (float) mPreview.getWidth() / mImageWidth; in drawTile() local
627 source.set(tx * scaleX, ty * scaleY, (tx + size) * scaleX, in drawTile()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java615 float scaleX = (float) mScreenNail.getWidth() / mImageWidth; in drawTile() local
617 source.set(tx * scaleX, ty * scaleY, (tx + size) * scaleX, in drawTile()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java624 float scaleX = (float) mPreview.getWidth() / mImageWidth; in drawTile() local
626 source.set(tx * scaleX, ty * scaleY, (tx + size) * scaleX, in drawTile()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMainKeyboardView.java834 final float scaleX = maxTextWidth / textWidth; in fitsTextIntoWidth() local
835 if (scaleX < MINIMUM_XSCALE_OF_LANGUAGE_NAME) { in fitsTextIntoWidth()
839 paint.setTextScaleX(scaleX); in fitsTextIntoWidth()
/packages/apps/Camera/src/com/android/camera/ui/
DCameraSwitcher.java254 .scaleX(0.3f).scaleY(0.3f) in animateHidePopup()
284 .scaleX(1f).scaleY(1f) in animateShowPopup()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActivity.java263 float scaleX = decor.getWidth() / maxX; in onGenericMotionEvent() local
265 float x = event.getX() * scaleX; in onGenericMotionEvent()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DUtils.java671 double scaleX, scaleY; in getReducedSizeBitmap() local
672 scaleX = newWidth / originalWidth; in getReducedSizeBitmap()
674 final double scale = Math.min(scaleX, scaleY); in getReducedSizeBitmap()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java551 float scaleX = mView.getScaleX() * postScale; in postScale() local
553 updateTransform(transX, transY, scaleX, scaleY, viewportWidth, in postScale()
557 void updateTransform(float transX, float transY, float scaleX, float scaleY, in updateTransform() argument
562 left + mView.getWidth() * scaleX, in updateTransform()
565 mView.setScaleX(scaleX); in updateTransform()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java729 .scaleX(scale) in placeOnDeck()
868 .scaleX(mTableRatio / mImageRatio) in dropOnTable()
947 .scaleX(scale) in pickUp()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifInterface.java1901 params.scaleX = -1; in getOrientationParams()
1919 params.scaleX = -1; in getOrientationParams()
1924 params.scaleX = -1; in getOrientationParams()
1933 public int scaleX = 1; field in ExifInterface.OrientationParams

12