Lines Matching defs:layers
89 * Create a new layer drawable with the list of specified layers.
91 * @param layers A list of drawables to use as layers in this new drawable.
93 public LayerDrawable(Drawable[] layers) {
94 this(layers, null);
98 * Create a new layer drawable with the specified list of layers and the
101 * @param layers The list of layers to add to this drawable.
104 LayerDrawable(Drawable[] layers, LayerState state) {
107 final int length = layers.length;
111 r[i].mDrawable = layers[i];
112 layers[i].setCallback(this);
113 mLayerState.mChildrenChangingConfigurations |= layers[i].getChangingConfigurations();
172 * Inflates child layers using the specified parser.
292 final ChildDrawable[] layers = mLayerState.mChildren;
295 if (layers[i].mDrawable.isProjected()) {
355 * If multiple layers are found for the given ID, returns the
363 final ChildDrawable[] layers = mLayerState.mChildren;
365 if (layers[i].mId == id) {
366 return layers[i].mDrawable;
384 * Returns the number of layers contained within this.
385 * @return The number of layers.
422 final ChildDrawable[] layers = mLayerState.mChildren;
425 final ChildDrawable childDrawable = layers[i];
468 * layers. The default value is {@link #PADDING_MODE_NEST}.
663 // All layers should have the same alpha set on them - just return
700 * states from the layers