Home
last modified time | relevance | path

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

12

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifPatternDrawable.java150 float scaleY = drawableHeight / VIEWBOX_HEIGHT; in createBitmapCache() local
151 float scale = Math.max(scaleX, scaleY); in createBitmapCache()
248 float scaleY = drawableBounds.height() / (float) bitmapHeight; in scaleCanvasToBounds() local
251 canvas.scale(scaleX, scaleY); in scaleCanvasToBounds()
252 if (scaleY > scaleX) { in scaleCanvasToBounds()
255 canvas.scale(scaleY / scaleX, 1f, SCALE_FOCUS_X * bitmapWidth, 0f); in scaleCanvasToBounds()
256 } else if (scaleX > scaleY) { in scaleCanvasToBounds()
259 canvas.scale(1f, scaleX / scaleY, 0f, SCALE_FOCUS_Y * bitmapHeight); in scaleCanvasToBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleDismissView.java155 mDismissCircle.animate().alpha(0f).scaleX(1.2f).scaleY(1.2f); in springOut()
201 .scaleY(encircle ? 1f : 0f); in animateEncircleCenterWithX()
210 .scaleY(0.9f) in animateEncirclingCircleDisappearance()
214 .scaleY(0.9f) in animateEncirclingCircleDisappearance()
/frameworks/layoutlib/bridge/src/android/graphics/
DRenderNode_Delegate.java179 float scaleY = renderNode.getScaleY(); in getMatrix() local
183 outMatrix.preScale(scaleX, scaleY, pivotX, pivotY); in getMatrix()
316 /*package*/ static boolean nSetScaleY(long renderNode, float scaleY) { in nSetScaleY() argument
318 if (delegate != null && delegate.mScaleY != scaleY) { in nSetScaleY()
319 delegate.mScaleY = scaleY; in nSetScaleY()
/frameworks/base/core/java/android/transition/
DChangeTransform.java414 float translationZ, float scaleX, float scaleY, float rotationX, in setTransforms() argument
420 view.setScaleY(scaleY); in setTransforms()
431 public final float scaleY; field in ChangeTransform.Transforms
441 scaleY = view.getScaleY(); in Transforms()
448 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY, in restore()
462 thatTransform.scaleY == scaleY && in equals()
DChangeImageTransform.java104 float scaleY = ((float) bounds.height()) / drawableHeight; in captureValues() local
106 matrix.setScale(scaleX, scaleY); in captureValues()
/frameworks/base/libs/hwui/
DVectorDrawable.h391 float scaleY = 1; member
407 float getScaleY() const { return mPrimitiveFields.scaleY; } in getScaleY()
408 void setScaleY(float scaleY) { VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(scaleY, scaleY); } in setScaleY() argument
417 void updateProperties(float rotate, float pivotX, float pivotY, float scaleX, float scaleY, in updateProperties() argument
423 mPrimitiveFields.scaleY = scaleY; in updateProperties()
439 scaleY, enumerator
DVectorDrawable.cpp355 case Property::scaleY: in getPropertyValue()
383 case Property::scaleY: in setPropertyValue()
607 float scaleY = cacheHeight / viewportHeight; in updateBitmapCache() local
608 outCanvas.scale(scaleX, scaleY); in updateBitmapCache()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DScaledPathsActivity.java84 private void drawPath(Canvas canvas, float scaleX, float scaleY) { in drawPath() argument
86 canvas.scale(scaleX, scaleY); in drawPath()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
DUtils.java136 PropertyValuesHolder scaleY = PropertyValuesHolder.ofKeyframe("scaleY", k0, k1, k2, k3); in getPulseAnimator() local
138 ObjectAnimator.ofPropertyValuesHolder(labelToAnimate, scaleX, scaleY); in getPulseAnimator()
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
DAdaptiveOutlineDrawable.java66 final float scaleY = (bounds.bottom - bounds.top) / pathSize; in draw() local
69 canvas.scale(scaleX, scaleY); in draw()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java295 float pivotY, float scaleX, float scaleY, float translateX, float translateY) { in nUpdateGroupProperties() argument
302 group.setScaleY(scaleY); in nUpdateGroupProperties()
381 static void nSetScaleY(long groupPtr, float scaleY) { in nSetScaleY() argument
383 group.setScaleY(scaleY); in nSetScaleY()
944 private void setScaleY(float scaleY) { in setScaleY() argument
945 if (scaleY != mScaleY) { in setScaleY()
946 mScaleY = scaleY; in setScaleY()
1130 final float scaleY = h / mViewportHeight; in drawPath() local
1131 final float minScale = Math.min(scaleX, scaleY); in drawPath()
1135 mFinalPathMatrix.postScale(scaleX, scaleY); in drawPath()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DViewState.java127 public float scaleY = 1.0f; field in ViewState
137 scaleY = viewState.scaleY; in copyFrom()
148 scaleY = view.getScaleY(); in initFrom()
195 updateAnimation(view, SCALE_Y_PROPERTY, scaleY); in applyToView()
196 } else if (view.getScaleY() != scaleY) { in applyToView()
197 view.setScaleY(scaleY); in applyToView()
311 if (child.getScaleY() != scaleY) { in animateTo()
312 PropertyAnimator.startAnimation(child, SCALE_Y_PROPERTY, scaleY, animationProperties); in animateTo()
/frameworks/base/core/jni/android/graphics/
DNinePatchPeeker.h47 void scale(float scaleX, float scaleY, int scaledWidth, int scaledHeight);
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DMediaStoreSaver.java124 float scaleY = height / source.getHeight(); in storeThumbnail() local
126 matrix.setScale(scaleX, scaleY); in storeThumbnail()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DMediaStoreSaver.java124 float scaleY = height / source.getHeight(); in storeThumbnail() local
126 matrix.setScale(scaleX, scaleY); in storeThumbnail()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/
DExpandedAnimationController.java208 .scaleY(1.1f)
319 animation.scaleX(1f).scaleY(1f).alpha(1f)).startAll(); in onActiveControllerForLayout()
381 .scaleY(1.1f) in onChildRemoved()
DPhysicsAnimationLayout.java676 public PhysicsPropertyAnimator scaleY(float scaleY, Runnable... endActions) {
677 return property(DynamicAnimation.SCALE_Y, scaleY, endActions);
681 public PhysicsPropertyAnimator scaleY(float from, float to, Runnable... endActions) {
683 return scaleY(to, endActions);
DStackAnimationController.java535 .scaleY(0.5f)
640 .scaleY(ANIMATE_IN_STARTING_SCALE)
755 .scaleY(ANIMATE_IN_STARTING_SCALE /* from */, 1f /* to */)
/frameworks/ex/framesequence/src/android/support/rastermill/
DFrameSequenceDrawable.java412 final float scaleY = 1.0f * bounds.height() / bitmapHeight; in draw() local
418 canvas.scale(scaleX, scaleY); in draw()
422 final float scaledDiameterY = unscaledCircleDiameter / scaleY; in draw()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicResize.cpp40 float scaleY; member in android::renderscript::RsdCpuScriptIntrinsicResize
320 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelU4()
387 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelU2()
454 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelU1()
521 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelF4()
561 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelF2()
601 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelF1()
679 scaleY = (float)srcHeight / aout->mHal.drvState.lod[0].dimY; in preLaunch()
/frameworks/native/cmds/flatland/
DGLHelper.cpp239 float scaleY = float(info.h) / float(h); in computeWindowScale() local
240 *scale = scaleX < scaleY ? scaleX : scaleY; in computeWindowScale()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java1003 final float scaleY = (float) mAnimationStartHeight / totalHeight; in runEnterAnimation() local
1004 final float scale = Math.max(scaleW, scaleY); in runEnterAnimation()
1031 ViewPropertyAnimator animator = mTemporaryImage.animate().scaleX(1f).scaleY(1f) in runEnterAnimation()
1093 final float scaleY = (float) mAnimationStartHeight / totalHeight; in runExitAnimation() local
1094 final float scale = Math.max(scaleW, scaleY); in runExitAnimation()
1118 animator = mTemporaryImage.animate().scaleX(scale).scaleY(scale) in runExitAnimation()
1122 animator = mViewPager.animate().scaleX(scale).scaleY(scale) in runExitAnimation()
/frameworks/base/core/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp177 jfloat pivotY, jfloat scaleX, jfloat scaleY, jfloat translateX, jfloat translateY) { in updateGroupProperties() argument
179 group->mutateStagingProperties()->updateProperties(rotate, pivotX, pivotY, scaleX, scaleY, in updateGroupProperties()
246 static void setScaleY(JNIEnv*, jobject, jlong groupPtr, jfloat scaleY) { in setScaleY() argument
248 group->mutateStagingProperties()->setScaleY(scaleY); in setScaleY()
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp290 float scaleY = mActiveHeight / mArrayHeight; in mapRawToCorrectedSimple() local
295 float corrY = y * scaleY; in mapRawToCorrectedSimple()
376 float scaleY = mArrayHeight / mActiveHeight; in mapCorrectedToRawImplSimple() local
381 float rawY = y * scaleY; in mapCorrectedToRawImplSimple()
/frameworks/base/graphics/java/android/graphics/
DRenderNode.java1089 public boolean setScaleY(float scaleY) { in setScaleY() argument
1090 return nSetScaleY(mNativeRenderNode, scaleY); in setScaleY()
1673 private static native boolean nSetScaleY(long renderNode, float scaleY); in nSetScaleY() argument

12