Exemplo n.º 1
0
 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;
     }
 }
Exemplo n.º 2
0
 internal ClipDrawable(android.graphics.drawable.ClipDrawable.ClipState state, android.content.res.Resources
                       res)
 {
     mClipState = new android.graphics.drawable.ClipDrawable.ClipState(state, this, res
                                                                       );
 }
Exemplo n.º 3
0
		internal ClipDrawable(android.graphics.drawable.ClipDrawable.ClipState state, android.content.res.Resources
			 res)
		{
			mClipState = new android.graphics.drawable.ClipDrawable.ClipState(state, this, res
				);
		}