Home
last modified time | relevance | path

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

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTextOnPathActivity.java78 private final float[] mTan; field in TextOnPathActivity.TextOnPathView
103 mTan = new float[2]; in TextOnPathView()
119 mMeasure.getPosTan(i * mLength / 100.0f, mPos, mTan); in onDraw()
122 mLines[i * 4 + 2] = mPos[0] + mTan[1] * 15; in onDraw()
123 mLines[i * 4 + 3] = mPos[1] - mTan[0] * 15; in onDraw()
136 mMeasure.getPosTan(5.0f, mPos, mTan); in onDraw()
137 canvas.drawLine(mPos[0], mPos[1], mPos[0] + mTan[1] * 10, mPos[1] - mTan[0] * 10, in onDraw()