/frameworks/base/libs/hwui/ |
D | RecordingCanvas.h | 92 void scale(SkScalar, SkScalar); 93 void translate(SkScalar, SkScalar); 94 void translateZ(SkScalar); 107 void drawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&); 115 void drawTextBlob(const SkTextBlob*, SkScalar, SkScalar, const SkPaint&); 117 void drawImage(sk_sp<const SkImage>, SkScalar, SkScalar, const SkSamplingOptions&, 165 void didScale(SkScalar, SkScalar) override; 166 void didTranslate(SkScalar, SkScalar) override; 179 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override; 187 void onDrawTextBlob(const SkTextBlob*, SkScalar, SkScalar, const SkPaint&) override; [all …]
|
D | RecordingCanvas.cpp | 147 Scale(SkScalar sx, SkScalar sy) : sx(sx), sy(sy) {} in Scale() 148 SkScalar sx, sy; 153 Translate(SkScalar dx, SkScalar dy) : dx(dx), dy(dy) {} in Translate() 154 SkScalar dx, dy; 232 DrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in DrawArc() 240 SkScalar startAngle; 241 SkScalar sweepAngle; 312 DrawImage(sk_sp<const SkImage>&& image, SkScalar x, SkScalar y, in DrawImage() 320 SkScalar x, y; 387 DrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, const SkPaint& paint) in DrawTextBlob() [all …]
|
D | Layer.cpp | 56 static inline SkScalar isIntegerAligned(SkScalar x) { in isIntegerAligned()
|
D | SkiaCanvas.cpp | 608 const SkScalar w = SkIntToScalar(bitmap.width()); in drawBitmapMesh() 609 const SkScalar h = SkIntToScalar(bitmap.height()); in drawBitmapMesh() 610 const SkScalar dx = w / meshWidth; in drawBitmapMesh() 611 const SkScalar dy = h / meshHeight; in drawBitmapMesh() 614 SkScalar y = 0; in drawBitmapMesh() 619 SkScalar x = 0; in drawBitmapMesh()
|
D | CanvasTransform.cpp | 87 std::array<SkScalar, _colorStorage.size()> _offsetStorage; in applyColorTransform()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | FatalTestCanvas.h | 33 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, const SkPaint& paint) { in onDrawTextBlob() 50 void onDrawArc(const SkRect&, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in onDrawArc() 70 void onDrawImage2(const SkImage*, SkScalar dx, SkScalar dy, const SkSamplingOptions&, in onDrawImage2()
|
D | SkiaPipelineTests.cpp | 305 void onDrawImage2(const SkImage*, SkScalar dx, SkScalar dy, const SkSamplingOptions&, in RENDERTHREAD_SKIA_PIPELINE_TEST() 340 void onDrawImage2(const SkImage*, SkScalar dx, SkScalar dy, const SkSamplingOptions&, in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
D | RenderNodeDrawableTests.cpp | 437 void onDrawArc(const SkRect&, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in RENDERTHREAD_SKIA_PIPELINE_TEST() 941 void onDrawImage2(const SkImage*, SkScalar dx, SkScalar dy, const SkSamplingOptions&, in RENDERTHREAD_TEST() 1107 virtual void didTranslate(SkScalar dx, SkScalar dy) override { in TEST()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.cpp | 36 static inline void drawStroke(SkScalar left, SkScalar right, SkScalar top, SkScalar thickness, in drawStroke() 38 const SkScalar strokeWidth = fmax(thickness, 1.0f); in drawStroke() 39 const SkScalar bottom = top + strokeWidth; in drawStroke() 48 const SkScalar left = x; in drawTextDecorations() 49 const SkScalar right = x + length; in drawTextDecorations() 54 SkScalar position; in drawTextDecorations() 58 SkScalar thickness; in drawTextDecorations() 62 const SkScalar top = y + position; in drawTextDecorations() 67 const SkScalar thickness = textSize * Paint::kStdStrikeThru_Thickness; in drawTextDecorations() 68 const SkScalar top = y + position; in drawTextDecorations()
|
D | MinikinSkia.cpp | 59 SkScalar skWidth; in GetHorizontalAdvance()
|
/frameworks/base/libs/hwui/tests/common/ |
D | CallCountingCanvas.h | 76 void onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in onDrawArc() 92 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, in onDrawTextBlob() 111 void onDrawImage2(const SkImage* image, SkScalar dx, SkScalar dy, const SkSamplingOptions&, in onDrawImage2()
|
/frameworks/base/libs/hwui/jni/ |
D | Interpolator.cpp | 28 SkScalar* scalars = autoValues.ptr(); in Interpolator_setKeyFrame() 29 SkScalar* blend = autoBlend.ptr(); in Interpolator_setKeyFrame() 31 #error Need to convert float array to SkScalar array before calling the following function. in Interpolator_setKeyFrame() 53 result = interp->timeToValues(msec, (SkScalar*)values); in Interpolator_timeToValues() 58 values[i] = SkScalarToFloat(*(SkScalar*)&values[i]); in Interpolator_timeToValues()
|
D | Shader.cpp | 32 SkScalar hsv[3]; in Color_RGBToHSV() 46 SkScalar* hsv = autoHSV.ptr(); in Color_HSVToColor() 48 #error Need to convert float array to SkScalar array before calling the following function. in Color_HSVToColor() 121 SkScalar* pos = autoPos.ptr(); in LinearGradient_create() 123 #error Need to convert float array to SkScalar array before calling the following function. in LinearGradient_create() 165 SkScalar* pos = autoPos.ptr(); in RadialGradient_create() 167 #error Need to convert float array to SkScalar array before calling the following function. in RadialGradient_create() 197 SkScalar* pos = autoPos.ptr(); in SweepGradient_create() 199 #error Need to convert float array to SkScalar array before calling the following function. in SweepGradient_create()
|
D | MaskFilter.cpp | 21 SkScalar sigma = SkBlurMask::ConvertRadiusToSigma(radius); in createBlur() 28 SkScalar direction[3]; in createEmboss() 36 SkScalar sigma = SkBlurMask::ConvertRadiusToSigma(radius); in createEmboss()
|
D | PathMeasure.cpp | 84 static void convertTwoElemFloatArray(JNIEnv* env, jfloatArray array, const SkScalar src[2]) { in convertTwoElemFloatArray() 93 SkScalar tmpPos[2], tmpTan[2]; in getPosTan() 94 SkScalar* posPtr = pos ? tmpPos : NULL; in getPosTan() 95 SkScalar* tanPtr = tan ? tmpTan : NULL; in getPosTan()
|
D | PathEffect.cpp | 39 SkScalar* intervals = autoInterval.ptr(); in Dash_constructor() 41 #error Need to convert float array to SkScalar array before calling the following function. in Dash_constructor()
|
D | Paint.cpp | 564 static SkScalar getMetricsInternal(jlong paintHandle, SkFontMetrics *metrics) { in getMetricsInternal() 578 SkScalar spacing = font->getMetrics(metrics); in getMetricsInternal() 585 SkScalar size = font->getSize(); in getMetricsInternal() 598 SkScalar spacing = getMetricsInternal(paintHandle, &metrics); in getFontMetrics() 924 SkScalar position; in getUnderlinePosition() 928 const SkScalar textSize = reinterpret_cast<Paint*>(paintHandle)->getSkFont().getSize(); in getUnderlinePosition() 936 SkScalar thickness; in getUnderlineThickness() 940 const SkScalar textSize = reinterpret_cast<Paint*>(paintHandle)->getSkFont().getSize(); in getUnderlineThickness() 946 const SkScalar textSize = reinterpret_cast<Paint*>(paintHandle)->getSkFont().getSize(); in getStrikeThruPosition() 951 const SkScalar textSize = reinterpret_cast<Paint*>(paintHandle)->getSkFont().getSize(); in getStrikeThruThickness() [all …]
|
D | Camera.cpp | 108 SkScalar dot = v->dotWithNormal(x, y, z); in Camera_dotWithNormal()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | DumpOpsCanvas.h | 73 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override { in onDrawArc() argument 85 void onDrawTextBlob(const SkTextBlob*, SkScalar, SkScalar, const SkPaint&) override { in onDrawTextBlob() argument 89 void onDrawImage2(const SkImage*, SkScalar dx, SkScalar dy, const SkSamplingOptions&, in onDrawImage2()
|
D | SkiaUtils.h | 24 const SkScalar v = SK_ScalarMax; in SkRectMakeLargest()
|
D | LayerDrawable.cpp | 36 static inline SkScalar isIntegerAligned(SkScalar x) { in isIntegerAligned()
|
D | ReorderBarrierDrawables.cpp | 136 const SkScalar casterAlpha = in drawShadow()
|
/frameworks/base/libs/hwui/canvas/ |
D | CanvasOps.h | 217 SkScalar rx; 218 SkScalar ry; 239 SkScalar cx; 240 SkScalar cy; 241 SkScalar radius; 262 SkScalar startAngle; 263 SkScalar sweepAngle;
|
/frameworks/base/libs/hwui/jni/pdf/ |
D | PdfRenderer.cpp | 93 SkScalar transformValues[6]; in nativeRenderPage()
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | Font.cpp | 168 SkScalar skWidth; in Font_getGlyphBounds() 187 SkScalar spacing = skFont->getMetrics(&metrics); in Font_getFontMetrics()
|