Home
last modified time | relevance | path

Searched refs:maxTransX (Results 1 – 2 of 2) sorted by relevance

/external/skqp/bench/
DGameBench.cpp111 SkScalar maxTransX, maxTransY; in onDraw() local
114 maxTransX = size.fWidth - (1.5f * width); in onDraw()
117 maxTransX = SkIntToScalar(size.fWidth - width); in onDraw()
122 maxTransX = size.fWidth - SK_ScalarSqrt2 * height; in onDraw()
175 fSaved[fNumSaved][0] = transRand.nextRangeScalar(0.0f, maxTransX); in onDraw()
/external/skia/bench/
DGameBench.cpp113 SkScalar maxTransX, maxTransY; in onDraw() local
116 maxTransX = size.fWidth - (1.5f * width); in onDraw()
119 maxTransX = SkIntToScalar(size.fWidth - width); in onDraw()
124 maxTransX = size.fWidth - SK_ScalarSqrt2 * height; in onDraw()
173 fSaved[fNumSaved][0] = transRand.nextRangeScalar(0.0f, maxTransX); in onDraw()