Code example for Rect

0
    int mRequestedType = -1;
 
    long mLastLockTime = 0;
     
    int mType = -1;
    final Rect mSurfaceFrame = new Rect();
    Rect mTmpDirty;
     
    public abstract void onUpdateSurface(); 
    public abstract void onRelayoutContainer(); 
    public abstract boolean onAllowLockCanvas(); 
     
    public int getRequestedWidth() { 
        return mRequestedWidth;
    } 
     
    public int getRequestedHeight() { 
        return mRequestedHeight;
    } 
     
Connect your IDE to all the code out there  Get Codota for Java