Home
last modified time | relevance | path

Searched refs:SkScalarInvert (Results 1 – 25 of 89) sorted by relevance

1234

/external/skqp/gm/
Dimagefiltersscaled.cpp119 SkVector::Make(SkScalarInvert(2), SkScalarInvert(2)), in onDraw()
144 canvas->scale(SkScalarInvert(RESIZE_FACTOR), in onDraw()
145 SkScalarInvert(RESIZE_FACTOR)); in onDraw()
Dimageresizetiled.cpp32 canvas->scale(SkScalarInvert(RESIZE_FACTOR), in DEF_SIMPLE_GM()
33 SkScalarInvert(RESIZE_FACTOR)); in DEF_SIMPLE_GM()
Dimagefiltersstroked.cpp85 canvas->scale(SkScalarInvert(RESIZE_FACTOR_X), in onDraw()
86 SkScalarInvert(RESIZE_FACTOR_Y)); in onDraw()
Dresizeimagefilter.cpp41 matrix.setScale(SkScalarInvert(deviceScaleX), SkScalarInvert(deviceScaleY)); in draw()
Dimagefiltersclipped.cpp57 canvas->scale(SkScalarInvert(RESIZE_FACTOR_X), SkScalarInvert(RESIZE_FACTOR_Y)); in draw_clipped_filter()
/external/skia/gm/
Dimagefiltersscaled.cpp115 SkVector::Make(SkScalarInvert(2), SkScalarInvert(2)), in onDraw()
140 canvas->scale(SkScalarInvert(RESIZE_FACTOR), in onDraw()
141 SkScalarInvert(RESIZE_FACTOR)); in onDraw()
Dimageresizetiled.cpp41 canvas->scale(SkScalarInvert(RESIZE_FACTOR), in DEF_SIMPLE_GM()
42 SkScalarInvert(RESIZE_FACTOR)); in DEF_SIMPLE_GM()
Dimagefiltersstroked.cpp91 canvas->scale(SkScalarInvert(RESIZE_FACTOR_X), in onDraw()
92 SkScalarInvert(RESIZE_FACTOR_Y)); in onDraw()
Dresizeimagefilter.cpp53 matrix.setScale(SkScalarInvert(deviceScaleX), SkScalarInvert(deviceScaleY)); in draw()
Dimagefiltersclipped.cpp66 canvas->scale(SkScalarInvert(RESIZE_FACTOR_X), SkScalarInvert(RESIZE_FACTOR_Y)); in draw_clipped_filter()
/external/skqp/src/core/
DSkBitmapController.cpp89 const SkSize scale = SkSize::Make(SkScalarInvert(invScaleSize.width()), in processMediumRequest()
90 SkScalarInvert(invScaleSize.height())); in processMediumRequest()
DSkMaskGamma.cpp31 return SkScalarPow(luma, SkScalarInvert(gamma)); in fromLuma()
53 return 1.055f * SkScalarPow(luma, SkScalarInvert(2.4f)) in fromLuma()
/external/skia/src/core/
DSkMaskGamma.cpp31 return SkScalarPow(luma, SkScalarInvert(gamma)); in fromLuma()
53 return 1.055f * SkScalarPow(luma, SkScalarInvert(2.4f)) in fromLuma()
DSkImageFilterTypes.cpp56 remainder.preScale(SkScalarInvert(scale), SkScalarInvert(scale)); in DecomposeCTM()
DSkScalerCache.cpp263 matrix.preScale(SkScalarInvert(rec.fTextSize), SkScalarInvert(rec.fTextSize)); in dump()
/external/skia/tests/
DPointTest.cpp40 const SkScalar variants[] = { val, -val, SkScalarInvert(val), -SkScalarInvert(val) }; in test_normalize_cannormalize_consistent()
/external/skqp/tests/
DPointTest.cpp40 const SkScalar variants[] = { val, -val, SkScalarInvert(val), -SkScalarInvert(val) }; in test_normalize_cannormalize_consistent()
/external/skqp/src/shaders/gradients/
DSkRadialGradient.cpp17 SkScalar inv = SkScalarInvert(radius); in rad_to_unit_matrix()
DSkLinearGradient.cpp18 SkScalar inv = mag ? SkScalarInvert(mag) : 0; in pts_to_unit_matrix()
/external/skia/src/shaders/gradients/
DSkRadialGradient.cpp16 SkScalar inv = SkScalarInvert(radius); in rad_to_unit_matrix()
DSkLinearGradient.cpp17 SkScalar inv = mag ? SkScalarInvert(mag) : 0; in pts_to_unit_matrix()
/external/skqp/src/gpu/effects/
DGrGaussianConvolutionFragmentProcessor.cpp148 SkScalar inv = SkScalarInvert(SkIntToScalar(texture.width())); in onSetData()
152 SkScalar inv = SkScalarInvert(SkIntToScalar(texture.height())); in onSetData()
DGrCircleEffect.cpp76 SkScalarInvert(effectiveRadius)); in onSetData()
/external/skia/src/effects/
DSkEmbossMaskFilter.cpp20 SkScalar scale = SkScalarInvert(SkScalarSqrt(mag)); in normalize3()
/external/skqp/src/effects/
DSkEmbossMaskFilter.cpp19 SkScalar scale = SkScalarInvert(SkScalarSqrt(mag)); in normalize3()

1234