Lines Matching refs:layer

34  * It can be defined in an XML file with the <code>&lt;layer-list></code> element.
35 * Each Drawable in the layer is defined in a nested <code>&lt;item></code>. For more
58 * Create a new layer drawable with the list of specified layers.
67 * Create a new layer drawable with the specified list of layers and the specified
165 * Add a new layer to this drawable. The new layer is identified by an id.
167 * @param layer The drawable to add as a layer.
168 * @param id The id of the new layer.
169 * @param left The left padding of the new layer.
170 * @param top The top padding of the new layer.
171 * @param right The right padding of the new layer.
172 * @param bottom The bottom padding of the new layer.
174 private void addLayer(Drawable layer, int id, int left, int top, int right, int bottom) {
186 mLayerState.mChildrenChangingConfigurations |= layer.getChangingConfigurations();
191 childDrawable.mDrawable = layer;
198 layer.setCallback(this);
202 * Look for a layer with the given id, and returns its {@link Drawable}.
204 * @param id The layer ID to search for.
205 * @return The {@link Drawable} of the layer that has the given id in the hierarchy or null.
220 * Sets the ID of a layer.
222 * @param index The index of the layer which will received the ID.
223 * @param id The ID to assign to the layer.
238 * Returns the drawable at the specified layer index.
240 * @param index The layer index of the drawable to retrieve.
242 * @return The {@link android.graphics.drawable.Drawable} at the specified layer index.
249 * Returns the id of the specified layer.
251 * @param index The index of the layer.
253 * @return The id of the layer or {@link android.view.View#NO_ID} if the layer has no id.
260 * Sets (or replaces) the {@link Drawable} for the layer with the given id.
262 * @param id The layer ID to search for.