Home
last modified time | relevance | path

Searched refs:scaleY (Results 1 – 25 of 43) 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/Launcher3/go/quickstep/src/com/android/quickstep/
DThumbnailDrawable.java127 float scaleY; in updateMatrix() local
136 scaleY = (float) bounds.height() / thumbnail.getWidth(); in updateMatrix()
139 scaleY = (float) bounds.height() / thumbnail.getHeight(); in updateMatrix()
142 mMatrix.postScale(scaleX, scaleY); in updateMatrix()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DFaceEnrollPreviewFragment.java312 float scaleY = (float) viewHeight / mPreviewSize.getHeight(); in configureTransform() local
315 float smaller = Math.min(scaleX, scaleY); in configureTransform()
317 scaleY = scaleY / smaller; in configureTransform()
326 mTextureView.setScaleY(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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/
DQrCamera.java329 float scaleY = 1.0f; in setTransformationMatrix() local
331 scaleY = scaleX / ratioPreview; in setTransformationMatrix()
333 scaleX = scaleY / ratioPreview; in setTransformationMatrix()
338 matrix.setScale(scaleX, scaleY); in setTransformationMatrix()
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCamera.java336 float scaleY = 1.0f; in setTransformationMatrix() local
338 scaleY = scaleX / ratioPreview; in setTransformationMatrix()
340 scaleX = scaleY / ratioPreview; in setTransformationMatrix()
345 matrix.setScale(scaleX, scaleY); in setTransformationMatrix()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java155 float scaleY = profile.appWidgetScale.y; in onLayout() local
157 lahv.setScaleToFit(Math.min(scaleX, scaleY)); in onLayout()
159 -(lp.height - (lp.height * scaleY)) / 2.0f); in onLayout()
DUtilities.java314 public static float shrinkRect(Rect r, float scaleX, float scaleY) { in shrinkRect() argument
315 float scale = Math.min(Math.min(scaleX, scaleY), 1.0f); in shrinkRect()
321 int deltaY = (int) (r.height() * (scaleY - scale) * 0.5f); in shrinkRect()
DDeviceProfile.java409 float scaleY = contentMaxHeight / contentUsedHeight; in updateAvailableFolderCellDimensions() local
416 float scale = Math.min(scaleX, scaleY); in updateAvailableFolderCellDimensions()
/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/Dialer/java/com/android/dialer/speeddial/
DSpeedDialAdapter.java283 .scaleY(IN_REMOVE_VIEW_SCALE)
296 .scaleY(1)
315 .scaleY(0)
/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/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()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java240 float scaleX, float scaleY, int animationEndStyle, Runnable onFinishRunnable, in animateViewIntoPosition() argument
247 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY, in animateViewIntoPosition()
393 float scaleY = finalScaleY * percent + initialScaleY * (1 - percent); in animateView()
411 mDropView.setScaleY(scaleY); in animateView()
/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/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/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/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()

12