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
235 float elevation = a.getDimension(R.styleable.CardView_cardElevation, 0);
248 if (elevation > maxElevation) {
249 maxElevation = elevation;
256 elevation, maxElevation);
358 * Updates the backward compatible elevation of the CardView.
360 * @param elevation The backward compatible elevation in pixels.
365 public void setCardElevation(float elevation) {
366 IMPL.setElevation(mCardViewDelegate, elevation);
370 * Returns the backward compatible elevation of the CardView.
381 * Updates the backward compatible maximum elevation of the CardView.
386 * @param maxElevation The backward compatible maximum elevation in pixels.
396 * Returns the backward compatible maximum elevation of the CardView.
398 * @return Maximum elevation of the CardView