public class KeyRect
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
KeyRect.InterpolatedValueListener |
static interface |
KeyRect.RippleAnimListener
Interface to get notified on ripple animation status
|
| Modifier and Type | Field and Description |
|---|---|
android.animation.ValueAnimator |
animator |
int |
circleAlpha |
boolean |
hasRippleEffect |
android.graphics.Rect |
rect |
int |
requiredRadius |
int |
rippleRadius |
java.lang.String |
value |
| Constructor and Description |
|---|
KeyRect(android.view.View view,
android.graphics.Rect rect,
java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
void |
playRippleAnim(KeyRect.RippleAnimListener listener)
Start Playing ripple animation and notify listener accordingly
|
void |
setError()
Show animation indicated invalid pincode
|
void |
setOnValueUpdateListener(KeyRect.InterpolatedValueListener listener) |
void |
setValue(java.lang.String value)
Set the valued of this Key
|
public android.graphics.Rect rect
public java.lang.String value
public int rippleRadius
public int requiredRadius
public int circleAlpha
public boolean hasRippleEffect
public android.animation.ValueAnimator animator
public KeyRect(android.view.View view,
android.graphics.Rect rect,
java.lang.String value)
public void setValue(java.lang.String value)
value - - Value to be set for this keypublic void setError()
public void setOnValueUpdateListener(KeyRect.InterpolatedValueListener listener)
public void playRippleAnim(KeyRect.RippleAnimListener listener)
listener - - KeyRect.RippleAnimListener object to be
notified