com.mottimotti.android.widget
Class AutoLayerDrawable

java.lang.Object
  extended by android.graphics.drawable.Drawable
      extended by android.graphics.drawable.LayerDrawable
          extended by com.mottimotti.android.widget.AutoLayerDrawable
All Implemented Interfaces:
android.graphics.drawable.Drawable.Callback

public class AutoLayerDrawable
extends android.graphics.drawable.LayerDrawable


Nested Class Summary
 
Nested classes/interfaces inherited from class android.graphics.drawable.Drawable
android.graphics.drawable.Drawable.Callback, android.graphics.drawable.Drawable.ConstantState
 
Field Summary
protected  int _disabledAlpha
           
protected  int _fullAlpha
           
protected  android.graphics.ColorFilter _pressedFilter
           
 
Constructor Summary
AutoLayerDrawable(android.graphics.drawable.Drawable d)
           
 
Method Summary
 boolean isStateful()
           
protected  boolean onStateChange(int[] states)
           
 
Methods inherited from class android.graphics.drawable.LayerDrawable
draw, findDrawableByLayerId, getChangingConfigurations, getConstantState, getDrawable, getId, getIntrinsicHeight, getIntrinsicWidth, getNumberOfLayers, getOpacity, getPadding, inflate, invalidateDrawable, mutate, onBoundsChange, onLevelChange, scheduleDrawable, setAlpha, setColorFilter, setDither, setDrawableByLayerId, setId, setLayerInset, setOpacity, setVisible, unscheduleDrawable
 
Methods inherited from class android.graphics.drawable.Drawable
clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXmlInner, getBounds, getCallback, getCurrent, getLevel, getMinimumHeight, getMinimumWidth, getState, getTransparentRegion, invalidateSelf, isVisible, jumpToCurrentState, resolveOpacity, scheduleSelf, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setFilterBitmap, setLevel, setState, unscheduleSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_pressedFilter

protected android.graphics.ColorFilter _pressedFilter

_disabledAlpha

protected int _disabledAlpha

_fullAlpha

protected int _fullAlpha
Constructor Detail

AutoLayerDrawable

public AutoLayerDrawable(android.graphics.drawable.Drawable d)
Method Detail

onStateChange

protected boolean onStateChange(int[] states)
Overrides:
onStateChange in class android.graphics.drawable.LayerDrawable

isStateful

public boolean isStateful()
Overrides:
isStateful in class android.graphics.drawable.LayerDrawable


Copyright © 2013 MottiMotti Norway. All Rights Reserved.