Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DMotionIndicatorView.java237 int xNStep = covered.getNSteps() + 4; // two on each side as a buffer in onDraw() local
238 int xStepSize = mXSize * 3/4 / xNStep; in onDraw()
239 int xLeft = mXSize * 1/8 + (mXSize * 3/4 % xNStep)/2; in onDraw()
243 xLeft+xStepSize*xNStep-1, XBAR_WIDTH+XBAR_MARGIN, mRangePaint); in onDraw()
258 canvas.drawRect(xLeft+xStepSize*(xNStep-2)-4, XBAR_MARGIN, in onDraw()
259 xLeft+xStepSize*(xNStep-2)+3, XBAR_WIDTH+XBAR_MARGIN, mLimitPaint); in onDraw()