Searched refs:yDelta (Results 1 – 3 of 3) sorted by relevance
59 const int yDelta = SkScalarFloorToInt(bounds.height()) + 20; in onDraw() local64 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()
397 SkScalar yDelta = cte.atlas()->getNormalizedTexelHeight(); in onSetData() local398 rgbaYValues[3] = cte.atlas()->getYOffset(cte.atlasRow()) + SK_ScalarHalf * yDelta; in onSetData()399 rgbaYValues[0] = rgbaYValues[3] + yDelta; in onSetData()400 rgbaYValues[1] = rgbaYValues[0] + yDelta; in onSetData()401 rgbaYValues[2] = rgbaYValues[1] + yDelta; in onSetData()