Home
last modified time | relevance | path

Searched refs:MapScreenYtoValue (Results 1 – 4 of 4) sorted by relevance

/external/skia/samplecode/
DSampleQuadStroker.cpp782 static SkScalar MapScreenYtoValue(int y, const SkRect& control, SkScalar min, in MapScreenYtoValue() function in QuadStrokerView
793 fWeight = MapScreenYtoValue(click->fICurr.fY, fWeightControl, 0, 5); in onClick()
795 fRadius = MapScreenYtoValue(click->fICurr.fY, fRadiusControl, 0, 500); in onClick()
799 gDebugStrokerError = SkTMax(FLT_EPSILON, MapScreenYtoValue(click->fICurr.fY, in onClick()
805 fWidth = SkTMax(FLT_EPSILON, MapScreenYtoValue(click->fICurr.fY, fWidthControl, in onClick()
DSampleAAGeometry.cpp1649 static SkScalar MapScreenYtoValue(int y, const UniControl& control) { in MapScreenYtoValue() function in AAGeometryView
1692 SkScalar val = MapScreenYtoValue(click->fICurr.fY, fFilterControl); in onClick()
1700 fResControl.fValLo = MapScreenYtoValue(click->fICurr.fY, fResControl); in onClick()
1704 SkScalar w = MapScreenYtoValue(click->fICurr.fY, fWeightControl); in onClick()
1710 fWidthControl.fValLo = MapScreenYtoValue(click->fICurr.fY, fWidthControl); in onClick()
/external/skqp/samplecode/
DSampleQuadStroker.cpp782 static SkScalar MapScreenYtoValue(int y, const SkRect& control, SkScalar min, in MapScreenYtoValue() function in QuadStrokerView
793 fWeight = MapScreenYtoValue(click->fICurr.fY, fWeightControl, 0, 5); in onClick()
795 fRadius = MapScreenYtoValue(click->fICurr.fY, fRadiusControl, 0, 500); in onClick()
799 gDebugStrokerError = SkTMax(FLT_EPSILON, MapScreenYtoValue(click->fICurr.fY, in onClick()
805 fWidth = SkTMax(FLT_EPSILON, MapScreenYtoValue(click->fICurr.fY, fWidthControl, in onClick()
DSampleAAGeometry.cpp1649 static SkScalar MapScreenYtoValue(int y, const UniControl& control) { in MapScreenYtoValue() function in AAGeometryView
1692 SkScalar val = MapScreenYtoValue(click->fICurr.fY, fFilterControl); in onClick()
1700 fResControl.fValLo = MapScreenYtoValue(click->fICurr.fY, fResControl); in onClick()
1704 SkScalar w = MapScreenYtoValue(click->fICurr.fY, fWeightControl); in onClick()
1710 fWidthControl.fValLo = MapScreenYtoValue(click->fICurr.fY, fWidthControl); in onClick()