Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DTouchPaint.java453 float distance, float tilt) { in paint() argument
476 drawSplat(mCanvas, x, y, orientation, distance, tilt, mPaint); in paint()
514 float distance, float tilt, Paint paint) { in drawSplat() argument
518 float nx = (float) (Math.sin(orientation) * Math.sin(tilt)); in drawSplat()
519 float ny = (float) (- Math.cos(orientation) * Math.sin(tilt)); in drawSplat()
520 float nz = (float) Math.cos(tilt); in drawSplat()
540 vy = temp * Math.cos(tilt) - vz * Math.sin(tilt); in drawSplat()
541 vz = temp * Math.sin(tilt) + vz * Math.cos(tilt); in drawSplat()