Home
last modified time | relevance | path

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

/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
DSkewableTextView.java33 private float mSkewX; field in SkewableTextView
50 if (mSkewX != 0) { in onDraw()
52 canvas.skew(mSkewX, 0); in onDraw()
59 return mSkewX; in getSkewX()
63 if (value != mSkewX) { in setSkewX()
64 mSkewX = value; in setSkewX()
74 if (mSkewX != 0) { in invalidateSkewedBounds()
76 matrix.setSkew(-mSkewX, 0); in invalidateSkewedBounds()
/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/
DAnticiButton.java49 private float mSkewX = 0; field in AnticiButton
84 if (mSkewX != 0) { in draw()
86 canvas.skew(mSkewX, 0); in draw()
201 return mSkewX; in getSkewX()
209 if (value != mSkewX) { in setSkewX()
210 mSkewX = value; in setSkewX()
220 if (mSkewX != 0) { in invalidateSkewedBounds()
222 matrix.setSkew(-mSkewX, 0); in invalidateSkewedBounds()