/frameworks/minikin/include/minikin/ |
D | MinikinPaint.h | 52 scaleX(0), in MinikinPaint() 65 float scaleX; member 85 return size == paint.size && scaleX == paint.scaleX && skewX == paint.skewX && 95 .update(scaleX) in hash()
|
/frameworks/base/libs/hwui/jni/ |
D | NinePatchPeeker.cpp | 75 void NinePatchPeeker::scale(float scaleX, float scaleY, int scaledWidth, int scaledHeight) { in scale() argument 82 if (!SkScalarNearlyEqual(scaleX, 1.0f)) { in scale() 83 mPatch->paddingLeft = int(mPatch->paddingLeft * scaleX + 0.5f); in scale() 84 mPatch->paddingRight = int(mPatch->paddingRight * scaleX + 0.5f); in scale() 85 scaleDivRange(mPatch->getXDivs(), mPatch->numXDivs, scaleX, scaledWidth - 1); in scale()
|
D | NinePatchPeeker.h | 47 void scale(float scaleX, float scaleY, int scaledWidth, int scaledHeight);
|
D | android_graphics_drawable_VectorDrawable.cpp | 175 jfloat pivotY, jfloat scaleX, jfloat scaleY, jfloat translateX, jfloat translateY) { in updateGroupProperties() argument 177 group->mutateStagingProperties()->updateProperties(rotate, pivotX, pivotY, scaleX, scaleY, in updateGroupProperties() 234 static void setScaleX(JNIEnv*, jobject, jlong groupPtr, jfloat scaleX) { in setScaleX() argument 236 group->mutateStagingProperties()->setScaleX(scaleX); in setScaleX()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | GlifPatternDrawable.java | 149 float scaleX = drawableWidth / VIEWBOX_WIDTH; in createBitmapCache() local 151 float scale = Math.max(scaleX, scaleY); in createBitmapCache() 247 float scaleX = drawableBounds.width() / (float) bitmapWidth; 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 | 96 .scaleX(1f) in springIn() 113 .scaleX(1f) in springIn() 122 .scaleX(SCALE_FOR_DISMISS) in springOut() 134 .scaleX(SCALE_FOR_DISMISS) in springOut()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 44 float scaleX; member in android::renderscript::RsdCpuScriptIntrinsicResize 361 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { in kernelU4() 362 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU4() 364 uint32_t xinc16 = rint(cp->scaleX * 0x10000); in kernelU4() 389 …float xf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(x1 + 0.5f) , _mm_set1_ps(cp->scaleX) , _mm_set1_… in kernelU4() 391 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU4() 438 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { in kernelU2() 439 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU2() 441 uint32_t xinc16 = rint(cp->scaleX * 0x10000); in kernelU2() 467 …float xf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(x1 + 0.5f) , _mm_set1_ps(cp->scaleX) , _mm_set1_… in kernelU2() [all …]
|
/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() 89 canvas.translate(mPathBounds.width() * scaleX, 0.0f); in drawPath()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistHandleViewController.java | 138 Animator scaleX = ObjectAnimator.ofFloat(view, View.SCALE_X, scaleStart, scaleEnd); in getHandleAnimator() local 151 set.play(scaleX).with(scaleY); in getHandleAnimator() 152 set.play(scaleX).with(translateX); in getHandleAnimator() 153 set.play(scaleX).with(translateY); in getHandleAnimator()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | RenderNode_Delegate.java | 178 float scaleX = renderNode.getScaleX(); in getMatrix() local 183 outMatrix.preScale(scaleX, scaleY, pivotX, pivotY); in getMatrix() 297 /*package*/ static boolean nSetScaleX(long renderNode, float scaleX) { in nSetScaleX() argument 299 if (delegate != null && delegate.mScaleX != scaleX) { in nSetScaleX() 300 delegate.mScaleX = scaleX; in nSetScaleX()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeTransform.java | 414 float translationZ, float scaleX, float scaleY, float rotationX, in setTransforms() argument 419 view.setScaleX(scaleX); in setTransforms() 430 public final float scaleX; field in ChangeTransform.Transforms 440 scaleX = view.getScaleX(); in Transforms() 448 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY, in restore() 461 thatTransform.scaleX == scaleX && in equals()
|
D | ChangeImageTransform.java | 103 float scaleX = ((float) bounds.width()) / drawableWidth; in captureValues() local 106 matrix.setScale(scaleX, scaleY); in captureValues()
|
/frameworks/base/libs/hwui/ |
D | VectorDrawable.h | 390 float scaleX = 1; member 405 float getScaleX() const { return mPrimitiveFields.scaleX; } in getScaleX() 406 void setScaleX(float scaleX) { VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(scaleX, scaleX); } in setScaleX() argument 417 void updateProperties(float rotate, float pivotX, float pivotY, float scaleX, float scaleY, in updateProperties() argument 422 mPrimitiveFields.scaleX = scaleX; in updateProperties() 438 scaleX, enumerator
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/ |
D | AnimatableScaleMatrix.java | 102 public void setScaleX(float scaleX) { in setScaleX() argument 103 mScaleX = scaleX; in setScaleX()
|
/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 301 group.setScaleX(scaleX); in nUpdateGroupProperties() 369 static void nSetScaleX(long groupPtr, float scaleX) { in nSetScaleX() argument 371 group.setScaleX(scaleX); in nSetScaleX() 933 private void setScaleX(float scaleX) { in setScaleX() argument 934 if (scaleX != mScaleX) { in setScaleX() 935 mScaleX = scaleX; in setScaleX() 1129 final float scaleX = w / mViewportWidth; 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 | 126 public float scaleX = 1.0f; field in ViewState 136 scaleX = viewState.scaleX; in copyFrom() 147 scaleX = view.getScaleX(); in initFrom() 187 updateAnimation(view, SCALE_X_PROPERTY, scaleX); in applyToView() 188 } else if (view.getScaleX() != scaleX) { in applyToView() 189 view.setScaleX(scaleX); in applyToView() 304 if (child.getScaleX() != scaleX) { in animateTo() 305 PropertyAnimator.startAnimation(child, SCALE_X_PROPERTY, scaleX, animationProperties); in animateTo()
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | MediaStoreSaver.java | 123 float scaleX = width / source.getWidth(); in storeThumbnail() local 126 matrix.setScale(scaleX, scaleY); in storeThumbnail()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MediaStoreSaver.java | 123 float scaleX = width / source.getWidth(); in storeThumbnail() local 126 matrix.setScale(scaleX, scaleY); in storeThumbnail()
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveOutlineDrawable.java | 130 final float scaleX = (bounds.right - bounds.left) / pathSize; in draw() local 134 canvas.scale(scaleX, scaleY); in draw()
|
/frameworks/minikin/libs/minikin/ |
D | LayoutCore.cpp | 377 double scaleX = paint.scaleX; in LayoutPiece() local 421 hb_font_set_ppem(hbFont.get(), size * scaleX, size); in LayoutPiece() 422 hb_font_set_scale(hbFont.get(), HBFloatToFixed(size * scaleX), HBFloatToFixed(size)); in LayoutPiece() 448 letterSpace = paint.letterSpacing * size * scaleX; in LayoutPiece()
|
/frameworks/base/libs/hwui/hwui/ |
D | ImageDecoder.cpp | 207 float scaleX = (float) mTargetSize.width() / mDecodeSize.width(); in decode() local 209 canvas.scale(scaleX, scaleY); in decode()
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
D | FrameSequenceDrawable.java | 411 final float scaleX = 1.0f * bounds.width() / bitmapWidth; in draw() local 418 canvas.scale(scaleX, scaleY); in draw() 421 final float scaledDiameterX = unscaledCircleDiameter / scaleX; in draw()
|
/frameworks/native/cmds/flatland/ |
D | GLHelper.cpp | 237 float scaleX = static_cast<float>(config.resolution.getWidth()) / w; in computeWindowScale() local 239 *scale = scaleX < scaleY ? scaleX : scaleY; in computeWindowScale()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotSurface.java | 431 final float scaleX = (float) mSnapshot.getSnapshot().getWidth() / mSnapshot.getTaskSize().x; in calculateSnapshotCrop() local 438 rect.inset((int) (insets.left * scaleX), in calculateSnapshotCrop() 440 (int) (insets.right * scaleX), in calculateSnapshotCrop() 452 final float scaleX = (float) mSnapshot.getSnapshot().getWidth() / mSnapshot.getTaskSize().x; in calculateSnapshotFrame() local 458 (int) (crop.width() / scaleX + 0.5f), in calculateSnapshotFrame()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | DistortionMapper.cpp | 262 float scaleX = mActiveWidth / mArrayWidth; in mapRawToCorrectedSimple() local 267 float corrX = x * scaleX; in mapRawToCorrectedSimple() 348 float scaleX = mArrayWidth / mActiveWidth; in mapCorrectedToRawImplSimple() local 353 float rawX = x * scaleX; in mapCorrectedToRawImplSimple()
|