Lines Matching defs:layers
62 * Create a new layer drawable with the list of specified layers.
64 * @param layers A list of drawables to use as layers in this new drawable.
66 public LayerDrawable(Drawable[] layers) {
67 this(layers, null);
71 * Create a new layer drawable with the specified list of layers and the specified
74 * @param layers The list of layers to add to this drawable.
77 LayerDrawable(Drawable[] layers, LayerState state) {
79 int length = layers.length;
84 r[i].mDrawable = layers[i];
85 layers[i].setCallback(this);
86 mLayerState.mChildrenChangingConfigurations |= layers[i].getChangingConfigurations();
219 final ChildDrawable[] layers = mLayerState.mChildren;
222 if (layers[i].mId == id) {
223 return layers[i].mDrawable;
241 * Returns the number of layers contained within this.
242 * @return The number of layers.
279 final ChildDrawable[] layers = mLayerState.mChildren;
282 if (layers[i].mId == id) {
283 if (layers[i].mDrawable != null) {
285 Rect bounds = layers[i].mDrawable.getBounds();
288 layers[i].mDrawable.setCallback(null);
293 layers[i].mDrawable = drawable;
417 * the layers