Searched refs:yDelta (Results 1 – 3 of 3) sorted by relevance
60 const int yDelta = SkScalarFloorToInt(bounds.height()) + 20; in onDraw() local65 canvas->translate(SkIntToScalar(xDelta), SkIntToScalar(yDelta)); in onDraw()75 canvas->translate(SkIntToScalar(xDelta), SkIntToScalar(yDelta)); in onDraw()
141 final float yDelta = targetPosition.y - mCurrentCameraPosition.y; in update() local142 if (yDelta > Y_UP_FOLLOW_DISTANCE) { in update()144 } else if (yDelta < -Y_DOWN_FOLLOW_DISTANCE) { in update()
376 SkScalar yDelta = cte.atlas()->getNormalizedTexelHeight(); in onSetData() local377 rgbaYValues[3] = cte.atlas()->getYOffset(cte.atlasRow()) + SK_ScalarHalf * yDelta; in onSetData()378 rgbaYValues[0] = rgbaYValues[3] + yDelta; in onSetData()379 rgbaYValues[1] = rgbaYValues[0] + yDelta; in onSetData()380 rgbaYValues[2] = rgbaYValues[1] + yDelta; in onSetData()