internal ClipState(android.graphics.drawable.ClipDrawable.ClipState orig, android.graphics.drawable.ClipDrawable owner, android.content.res.Resources res) { if (orig != null) { if (res != null) { mDrawable = orig.mDrawable.getConstantState().newDrawable(res); } else { mDrawable = orig.mDrawable.getConstantState().newDrawable(); } mDrawable.setCallback(owner); mOrientation = orig.mOrientation; mGravity = orig.mGravity; mCheckedConstantState = mCanConstantState = true; } }
internal ClipDrawable(android.graphics.drawable.ClipDrawable.ClipState state, android.content.res.Resources res) { mClipState = new android.graphics.drawable.ClipDrawable.ClipState(state, this, res ); }