Home
last modified time | relevance | path

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

12

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DTiledTexture.java267 float scaleY) { in mapRect() argument
269 y + (src.top - y0) * scaleY, in mapRect()
271 y + (src.bottom - y0) * scaleY); in mapRect()
281 float scaleY = (float) height / mHeight; in drawMixed() local
287 mapRect(dest, src, 0, 0, x, y, scaleX, scaleY); in drawMixed()
300 float scaleY = (float) height / mHeight; in draw() local
306 mapRect(dest, src, 0, 0, x, y, scaleX, scaleY); in draw()
322 float scaleY = target.height() / source.height(); in draw() local
330 mapRect(dest, src, x0, y0, x, y, scaleX, scaleY); in draw()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollPreviewFragment.java313 float scaleY = (float) viewHeight / mPreviewSize.getHeight(); in configureTransform() local
316 float smaller = Math.min(scaleX, scaleY); in configureTransform()
318 scaleY = scaleY / smaller; in configureTransform()
330 transform.setScale(scaleX * scale.getFloat(), scaleY * scale.getFloat()); in configureTransform()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseScrollAdapterFragment.java197 float scaleY = (float) view.getHeight() / selectorHeight; in onScrolled() local
206 mSelectorView.setScaleY(scaleY); in onScrolled()
210 animation.scaleY(scaleY); in onScrolled()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/
DPawAnswerHint.java219 Animator scaleY = ObjectAnimator.ofFloat(target, View.SCALE_Y, scaleBegin, scaleEnd); in createUniformScaleAnimator() local
221 scaleY.setDuration(duration); in createUniformScaleAnimator()
223 scaleY.setInterpolator(interpolator); in createUniformScaleAnimator()
225 set.play(scaleX).with(scaleY).after(delay); in createUniformScaleAnimator()
DDotAnswerHint.java267 Animator scaleY = ObjectAnimator.ofFloat(target, View.SCALE_Y, scaleBegin, scaleEnd); in createUniformScaleAnimator() local
269 scaleY.setDuration(duration); in createUniformScaleAnimator()
271 scaleY.setInterpolator(interpolator); in createUniformScaleAnimator()
273 set.play(scaleX).with(scaleY).after(delay); in createUniformScaleAnimator()
/packages/apps/Camera2/src/com/android/camera/
DAnimationManager.java53 float scaleY = ((float) parentView.getHeight()) / ((float) view.getHeight()); in startCaptureAnimation() local
54 float scale = scaleX > scaleY ? scaleX : scaleY; in startCaptureAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DPropertyListBuilder.java31 public PropertyListBuilder scaleY(float value) { in scaleY() method in PropertyListBuilder
40 return scaleX(value).scaleY(value); in scale()
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCamera.java354 float scaleY = 1.0f; in setTransformationMatrix() local
356 scaleY = scaleX / ratioPreview; in setTransformationMatrix()
358 scaleX = scaleY / ratioPreview; in setTransformationMatrix()
363 matrix.setScale(scaleX, scaleY); in setTransformationMatrix()
/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/
DVideoScale.java55 float scaleY = scaleHeight; in scaleVideoAndFillView() local
56 scaleWidth = viewHeight / viewWidth * scaleY; in scaleVideoAndFillView()
/packages/apps/Dialer/java/com/android/dialer/speeddial/
DSpeedDialAdapter.java283 .scaleY(IN_REMOVE_VIEW_SCALE)
296 .scaleY(1)
315 .scaleY(0)
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java187 float scaleY = profile.appWidgetScale.y; in layoutChild() local
189 lahv.setScaleToFit(Math.min(scaleX, scaleY)); in layoutChild()
191 -(lp.height - (lp.height * scaleY)) / 2.0f); in layoutChild()
DDeviceProfile.java532 float scaleY = maxHeight / usedHeight; in updateAvailableDimensions() local
533 boolean shouldScale = scaleY < 1f; in updateAvailableDimensions()
549 float scale = Math.min(scaleX, scaleY); in updateAvailableDimensions()
658 float scaleY = contentMaxHeight / contentUsedHeight; in updateAvailableFolderCellDimensions() local
667 float scale = Math.min(scaleX, scaleY); in updateAvailableFolderCellDimensions()
DUtilities.java368 public static float shrinkRect(Rect r, float scaleX, float scaleY) { in shrinkRect() argument
369 float scale = Math.min(Math.min(scaleX, scaleY), 1.0f); in shrinkRect()
375 int deltaY = (int) (r.height() * (scaleY - scale) * 0.5f); in shrinkRect()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java221 float scaleX, float scaleY, int animationEndStyle, Runnable onFinishRunnable, in animateViewIntoPosition() argument
228 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY, in animateViewIntoPosition()
372 float scaleY = finalScaleY * percent + initialScaleY * (1 - percent); in animateView()
390 mDropView.setScaleY(scaleY); in animateView()
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewAnimationTestActivity.java134 mWebView.animate().scaleX(.5f).scaleY(.5f); in runScale()
136 mWebView.animate().scaleX(1f).scaleY(1f); in runScale()
/packages/apps/Messaging/src/com/android/messaging/ui/
DMultiAttachmentLayout.java383 final float scaleY = viewWrapper.prevHeight / (float) view.getHeight(); in trySlideAttachmentView() local
385 if (xOffset == 0 && yOffset == 0 && scaleX == 1 && scaleY == 1) { in trySlideAttachmentView()
393 animationSet.addAnimation(new ScaleAnimation(scaleX, 1, scaleY, 1)); in trySlideAttachmentView()
DOrientedBitmapDrawable.java99 canvas.scale(mOrientationParams.scaleX, mOrientationParams.scaleY, mCenterX, mCenterY); in draw()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DExifInterface.java291 int scaleY = 1; field in ExifInterface.OrientationParams
302 params.scaleY = -1; in getOrientationParams()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActivity.java264 float scaleY = decor.getHeight() / maxY; in onGenericMotionEvent() local
267 float y = event.getY() * scaleY; in onGenericMotionEvent()
/packages/apps/WallpaperPicker/src/com/android/photos/views/
DTiledImageRenderer.java625 float scaleY = (float) mPreview.getHeight() / mImageHeight; in drawTile() local
626 source.set(tx * scaleX, ty * scaleY, (tx + size) * scaleX, in drawTile()
627 (ty + size) * scaleY); in drawTile()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java616 float scaleY = (float) mScreenNail.getHeight() / mImageHeight; in drawTile() local
617 source.set(tx * scaleX, ty * scaleY, (tx + size) * scaleX, in drawTile()
618 (ty + size) * scaleY); in drawTile()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java625 float scaleY = (float) mPreview.getHeight() / mImageHeight; in drawTile() local
626 source.set(tx * scaleX, ty * scaleY, (tx + size) * scaleX, in drawTile()
627 (ty + size) * scaleY); in drawTile()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DClipIconView.java163 float scaleY = rect.height() / minSize; in update() local
164 float scale = Math.max(1f, Math.min(scaleX, scaleY)); in update()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardView.java461 mCurrentFocusView.animate().scaleX(1f).scaleY(1f) in setFocus()
471 mCurrentFocusView.animate().scaleX(scale).scaleY(scale) in setFocus()
/packages/apps/Camera2/src/com/android/camera/ui/
DCountDownView.java119 mRemainingSecondsView.animate().scaleX(endScale).scaleY(endScale) in startFadeOutAnimation()

12