Code example for Rect

0
 */ 
public class KeyguardSecurityViewFlipper extends ViewFlipper implements KeyguardSecurityView {
    private static final String TAG = "KeyguardSecurityViewFlipper";
    private static final boolean DEBUG = false;
 
    private Rect mTempRect = new Rect();
 
    public KeyguardSecurityViewFlipper(Context context) {
        this(context, null);
    } 
 
    public KeyguardSecurityViewFlipper(Context context, AttributeSet attr) {
        super(context, attr);
    } 
 
    @Override 
    public boolean onTouchEvent(MotionEvent ev) {
        boolean result = super.onTouchEvent(ev);
        mTempRect.set(0, 0, 0, 0);
        for (int i = 0; i < getChildCount(); i++) {
            View child = getChildAt(i);