/frameworks/base/core/jni/android/graphics/ |
D | NinePatchPeeker.cpp | 75 void NinePatchPeeker::scale(float scaleX, float scaleY, int scaledWidth, int scaledHeight) { in scale() argument 88 if (!SkScalarNearlyEqual(scaleY, 1.0f)) { in scale() 89 mPatch->paddingTop = int(mPatch->paddingTop * scaleY + 0.5f); in scale() 90 mPatch->paddingBottom = int(mPatch->paddingBottom * scaleY + 0.5f); in scale() 91 scaleDivRange(mPatch->getYDivs(), mPatch->numYDivs, scaleY, scaledHeight - 1); in scale()
|
D | NinePatchPeeker.h | 47 void scale(float scaleX, float scaleY, int scaledWidth, int scaledHeight);
|
D | BitmapFactory.cpp | 407 const float scaleY = scaledHeight / float(decodingBitmap.height()); in doDecode() local 412 peeker.scale(scaleX, scaleY, scaledWidth, scaledHeight); in doDecode() 472 canvas.scale(scaleX, scaleY); in doDecode()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | GlifPatternDrawable.java | 150 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/ |
D | BubbleDismissView.java | 97 .scaleY(1f) in springIn() 114 .scaleY(1f); in springIn() 123 .scaleY(SCALE_FOR_DISMISS) in springOut() 135 .scaleY(SCALE_FOR_DISMISS) in springOut()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | RenderNode_Delegate.java | 179 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/ |
D | ChangeTransform.java | 414 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()
|
D | ChangeImageTransform.java | 104 float scaleY = ((float) bounds.height()) / drawableHeight; in captureValues() local 106 matrix.setScale(scaleX, scaleY); in captureValues()
|
/frameworks/base/libs/hwui/ |
D | VectorDrawable.h | 391 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
|
D | VectorDrawable.cpp | 355 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/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 45 float scaleY; member in android::renderscript::RsdCpuScriptIntrinsicResize 337 …tss_f32(_mm_fmsub_ss(_mm_set1_ps(info->current.y + 0.5f),_mm_set1_ps(cp->scaleY), _mm_set1_ps(0.5f… in kernelU4() 339 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelU4() 415 …tss_f32(_mm_fmsub_ss(_mm_set1_ps(info->current.y + 0.5f),_mm_set1_ps(cp->scaleY), _mm_set1_ps(0.5f… in kernelU2() 417 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelU2() 493 …tss_f32(_mm_fmsub_ss(_mm_set1_ps(info->current.y + 0.5f),_mm_set1_ps(cp->scaleY), _mm_set1_ps(0.5f… in kernelU1() 495 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelU1() 571 …tss_f32(_mm_fmsub_ss(_mm_set1_ps(info->current.y + 0.5f),_mm_set1_ps(cp->scaleY), _mm_set1_ps(0.5f… in kernelF4() 573 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelF4() 623 …tss_f32(_mm_fmsub_ss(_mm_set1_ps(info->current.y + 0.5f),_mm_set1_ps(cp->scaleY), _mm_set1_ps(0.5f… in kernelF2() [all …]
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
D | VectorDrawable_Delegate.java | 295 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/ |
D | ViewState.java | 127 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/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ScaledPathsActivity.java | 84 private void drawPath(Canvas canvas, float scaleX, float scaleY) { in drawPath() argument 86 canvas.scale(scaleX, scaleY); in drawPath()
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveOutlineDrawable.java | 66 final float scaleY = (bounds.bottom - bounds.top) / pathSize; in draw() local 69 canvas.scale(scaleX, scaleY); in draw()
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | MediaStoreSaver.java | 124 float scaleY = height / source.getHeight(); in storeThumbnail() local 126 matrix.setScale(scaleX, scaleY); in storeThumbnail()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MediaStoreSaver.java | 124 float scaleY = height / source.getHeight(); in storeThumbnail() local 126 matrix.setScale(scaleX, scaleY); in storeThumbnail()
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
D | FrameSequenceDrawable.java | 412 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/native/cmds/flatland/ |
D | GLHelper.cpp | 239 float scaleY = float(info.h) / float(h); in computeWindowScale() local 240 *scale = scaleX < scaleY ? scaleX : scaleY; in computeWindowScale()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/ |
D | PhysicsAnimationLayout.java | 800 public PhysicsPropertyAnimator scaleY(float scaleY, Runnable... endActions) { 801 return property(DynamicAnimation.SCALE_Y, scaleY, endActions); 805 public PhysicsPropertyAnimator scaleY(float from, float to, Runnable... endActions) { 807 return scaleY(to, endActions);
|
D | ExpandedAnimationController.java | 284 .scaleY(1.1f) 393 animation.scaleX(1f).scaleY(1f).alpha(1f)).startAll(); in onActiveControllerForLayout() 455 .scaleY(1.1f) in onChildRemoved()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | PhotoViewController.java | 1003 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/ |
D | android_graphics_drawable_VectorDrawable.cpp | 177 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/ |
D | DistortionMapper.cpp | 290 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/ |
D | RenderNode.java | 1089 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
|