Lines Matching defs:elevation
36 * CardView uses <code>elevation</code> property on Lollipop for shadows and falls back to a
58 * To change CardView's elevation in a backward compatible way, use
59 * {@link #setCardElevation(float)}. CardView will use elevation API on Lollipop and before
61 * shadow size is clamped by {@link #getMaxCardElevation()}. If you want to change elevation
242 float elevation = a.getDimension(R.styleable.CardView_cardElevation, 0);
255 if (elevation > maxElevation) {
256 maxElevation = elevation;
263 elevation, maxElevation);
365 * Updates the backward compatible elevation of the CardView.
367 * @param elevation The backward compatible elevation in pixels.
372 public void setCardElevation(float elevation) {
373 IMPL.setElevation(mCardViewDelegate, elevation);
377 * Returns the backward compatible elevation of the CardView.
388 * Updates the backward compatible maximum elevation of the CardView.
393 * @param maxElevation The backward compatible maximum elevation in pixels.
403 * Returns the backward compatible maximum elevation of the CardView.
405 * @return Maximum elevation of the CardView