Exemple #1
0
		public override android.graphics.drawable.Drawable mutate()
		{
			if (!mMutated && base.mutate() == this)
			{
				mGradientState = new android.graphics.drawable.GradientDrawable.GradientState(mGradientState
					);
				initializeWithState(mGradientState);
				mMutated = true;
			}
			return this;
		}
Exemple #2
0
		internal GradientDrawable(android.graphics.drawable.GradientDrawable.GradientState
			 state)
		{
			mGradientState = state;
			initializeWithState(state);
			mRectIsDirty = true;
		}