/frameworks/base/libs/hwui/ |
D | RecordingCanvas.h | 85 void concat44(const SkScalar colMajor[16]); 88 void scale(SkScalar, SkScalar); 89 void translate(SkScalar, SkScalar); 90 void translateZ(SkScalar); 103 void drawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&); 111 void drawTextBlob(const SkTextBlob*, SkScalar, SkScalar, const SkPaint&); 113 void drawImage(sk_sp<const SkImage>, SkScalar, SkScalar, const SkPaint*, BitmapPalette palette); 158 void didConcat44(const SkScalar[16]) override; 161 void didScale(SkScalar, SkScalar) override; 162 void didTranslate(SkScalar, SkScalar) override; [all …]
|
D | RecordingCanvas.cpp | 135 Concat44(const SkScalar m[16]) { memcpy(colMajor, m, sizeof(colMajor)); } in Concat44() 136 SkScalar colMajor[16]; 155 Scale(SkScalar sx, SkScalar sy) : sx(sx), sy(sy) {} in Scale() 156 SkScalar sx, sy; 161 Translate(SkScalar dx, SkScalar dy) : dx(dx), dy(dy) {} in Translate() 162 SkScalar dx, dy; 240 DrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in DrawArc() 248 SkScalar startAngle; 249 SkScalar sweepAngle; 320 DrawImage(sk_sp<const SkImage>&& image, SkScalar x, SkScalar y, const SkPaint* paint, in DrawImage() [all …]
|
D | SkiaCanvas.cpp | 622 const SkScalar w = SkIntToScalar(bitmap.width()); in drawBitmapMesh() 623 const SkScalar h = SkIntToScalar(bitmap.height()); in drawBitmapMesh() 624 const SkScalar dx = w / meshWidth; in drawBitmapMesh() 625 const SkScalar dy = h / meshHeight; in drawBitmapMesh() 628 SkScalar y = 0; in drawBitmapMesh() 633 SkScalar x = 0; in drawBitmapMesh()
|
D | CanvasTransform.cpp | 77 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 onDrawImage(const SkImage*, SkScalar dx, SkScalar dy, const SkPaint*) { in onDrawImage() 84 void onDrawBitmap(const SkBitmap&, SkScalar dx, SkScalar dy, const SkPaint*) { in onDrawBitmap()
|
D | SkiaPipelineTests.cpp | 305 void onDrawImage(const SkImage*, SkScalar dx, SkScalar dy, const SkPaint*) override { in RENDERTHREAD_SKIA_PIPELINE_TEST() 339 void onDrawImage(const SkImage*, SkScalar dx, SkScalar dy, const SkPaint*) override { 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 onDrawImage(const SkImage*, SkScalar dx, SkScalar dy, const SkPaint*) override { in RENDERTHREAD_TEST() 1104 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/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 | 29 SkScalar hsv[3]; in Color_RGBToHSV() 43 SkScalar* hsv = autoHSV.ptr(); in Color_HSVToColor() 45 #error Need to convert float array to SkScalar array before calling the following function. in Color_HSVToColor() 116 SkScalar* pos = autoPos.ptr(); in LinearGradient_create() 118 #error Need to convert float array to SkScalar array before calling the following function. in LinearGradient_create() 146 SkScalar* pos = autoPos.ptr(); in RadialGradient_create() 148 #error Need to convert float array to SkScalar array before calling the following function. in RadialGradient_create() 172 SkScalar* pos = autoPos.ptr(); in SweepGradient_create() 174 #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 | 583 static SkScalar getMetricsInternal(jlong paintHandle, SkFontMetrics *metrics) { in getMetricsInternal() 597 SkScalar spacing = font->getMetrics(metrics); in getMetricsInternal() 604 SkScalar size = font->getSize(); in getMetricsInternal() 617 SkScalar spacing = getMetricsInternal(paintHandle, &metrics); in getFontMetrics() 964 SkScalar position; in getUnderlinePosition() 968 const SkScalar textSize = reinterpret_cast<Paint*>(paintHandle)->getSkFont().getSize(); in getUnderlinePosition() 976 SkScalar thickness; in getUnderlineThickness() 980 const SkScalar textSize = reinterpret_cast<Paint*>(paintHandle)->getSkFont().getSize(); in getUnderlineThickness() 986 const SkScalar textSize = reinterpret_cast<Paint*>(paintHandle)->getSkFont().getSize(); in getStrikeThruPosition() 991 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()
|
D | android_graphics_Canvas.cpp | 416 SkScalar scale = dstDensity / (float)srcDensity; in drawNinePatch() 453 SkScalar scale = canvasDensity / (float)bitmapDensity; in drawBitmap()
|
D | Path.cpp | 176 #error Need to convert float array to SkScalar array before calling the following function. in addRoundRect8()
|
/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 onDrawImage(const SkImage*, SkScalar dx, SkScalar dy, const SkPaint*) override { in onDrawImage()
|
D | SkiaRecordingCanvas.cpp | 227 …applyLooper(get_looper(paint), *filterBitmap(paint), [&](SkScalar x, SkScalar y, const SkPaint& p)… in drawBitmap() 245 …applyLooper(get_looper(paint), *filterBitmap(paint), [&](SkScalar x, SkScalar y, const SkPaint& p)… in drawBitmap() 262 …applyLooper(get_looper(paint), *filterBitmap(paint), [&](SkScalar x, SkScalar y, const SkPaint& p)… in drawBitmap() 304 …applyLooper(get_looper(paint), *filterBitmap(paint), [&](SkScalar x, SkScalar y, const SkPaint& p)… in drawNinePatch()
|
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/jni/pdf/ |
D | PdfRenderer.cpp | 93 SkScalar transformValues[6]; in nativeRenderPage()
|