Home | History | Annotate | Download | only in widget

Lines Matching defs:elevation

39  * CardView uses <code>elevation</code> property on Lollipop for shadows and falls back to a
61 * To change CardView's elevation in a backward compatible way, use
62 * {@link #setCardElevation(float)}. CardView will use elevation API on Lollipop and before
64 * shadow size is clamped by {@link #getMaxCardElevation()}. If you want to change elevation
142 float elevation = a.getDimension(R.styleable.CardView_cardElevation, 0);
155 if (elevation > maxElevation) {
156 maxElevation = elevation;
163 elevation, maxElevation);
368 * Updates the backward compatible elevation of the CardView.
370 * @param elevation The backward compatible elevation in pixels.
375 public void setCardElevation(float elevation) {
376 IMPL.setElevation(mCardViewDelegate, elevation);
380 * Returns the backward compatible elevation of the CardView.
382 * @return Elevation of the CardView
391 * Updates the backward compatible maximum elevation of the CardView.
396 * @param maxElevation The backward compatible maximum elevation in pixels.
406 * Returns the backward compatible maximum elevation
408 * @return Maximum elevation of the CardView