Home
last modified time | relevance | path

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

/development/samples/CrossCompatibility/src/com/example/android/touchexample/
DTouchExampleView.java31 private float mScaleFactor = 1.f; field in TouchExampleView
61 canvas.scale(mScaleFactor, mScaleFactor); in onDraw()
74 mScaleFactor *= scaleFactor; in onScale()
77 mScaleFactor = Math.max(0.1f, Math.min(mScaleFactor, 5.0f)); in onScale()