Sets the elevation of the shadow, which should be visualized by the view.

@param elevation
The elevation of the shadow, which should be set, in dp as an {@link Integer} value.
The elevation must be at least 0 and at maximum 16
187892
public final void setShadowElevation(final int elevation) {
        Condition.INSTANCE.ensureAtLeast(elevation, 0, "The elevation must be at least 0");
        Condition.INSTANCE.ensureAtMaximum(elevation, ElevationUtil.MAX_ELEVATION,
                "The elevation must be at maximum " + ElevationUtil.MAX_ELEVATION);
        this.elevation = elevation;
        adaptElevationShadow();
    }
1112044
public void setRoot(int root)
  {
    super.setRoot(root);
    m_iterator = getDTM(root).getAxisIterator(m_axis);
    m_iterator.setStartNode(root);
  }
744417
private void obtainShadowElevation(@NonNull final TypedArray typedArray) {
        int defaultValue = getResources().getDimensionPixelSize(
                R.dimen.elevation_shadow_view_shadow_elevation_default_value);
        elevation = pixelsToDp(getContext(), typedArray
                .getDimensionPixelSize(R.styleable.ElevationShadowView_shadowElevation,
                        defaultValue));
    }
778389
private void initializePreferenceScreenElevation(final SharedPreferences sharedPreferences) {
        String key = getString(R.string.preference_screen_elevation_preference_key);
        String defaultValue =
                getString(R.string.preference_screen_elevation_preference_default_value);
        int elevation = Integer.valueOf(sharedPreferences.getString(key, defaultValue));
        setCardViewElevation(elevation);
    }
689719
private void obtainToolbarElevation() {
        int elevation;

        try {
            elevation = ThemeUtil.getDimensionPixelSize(this, R.attr.toolbarElevation);
        } catch (NotFoundException e) {
            elevation = getResources().getDimensionPixelSize(R.dimen.toolbar_elevation);
        }

        setToolbarElevation(pixelsToDp(this, elevation));
    }
952187
public void setDropShadowColor(int color) {
        GradientDrawable.Orientation orientation = getDropShadowOrientation();

        final int endColor = color & 0x00FFFFFF;
        mDropShadowDrawable = new GradientDrawable(orientation,
                new int[] {
                        color,
                        endColor,
                });
        invalidate();
    }
893081
private void obtainButtonBarElevation() {
        int elevation;

        try {
            elevation = ThemeUtil.getDimensionPixelSize(this, R.attr.buttonBarElevation);
        } catch (NotFoundException e) {
            elevation = getResources().getDimensionPixelSize(R.dimen.button_bar_elevation);
        }

        setButtonBarElevation(pixelsToDp(this, elevation));
    }
618458
public static void setDepth(Node control, int level) {
        level = level < 0 ? 0 : level;
        level = level > 5 ? 5 : level;
        control.setEffect(new DropShadow(BlurType.GAUSSIAN,
            depth[level].getColor(),
            depth[level].getRadius(),
            depth[level].getSpread(),
            depth[level].getOffsetX(),
            depth[level].getOffsetY()));
    }
689117
private void drawNextShadow(Canvas canvas) {
		final float degreesFlipped = getDegreesFlipped();
		if (degreesFlipped < 90) {
			final int alpha = (int) ((Math.abs(degreesFlipped - 90) / 90f) * MAX_SHADOW_ALPHA);
			mShadowPaint.setAlpha(alpha);
			canvas.drawPaint(mShadowPaint);
		}
	}
1141683
@UiThread
  public static <T extends View, V> void set(@NonNull T view,
      @NonNull Property<? super T, V> setter, @Nullable V value) {
    setter.set(view, value);
  }
357259
public void setIdleMax(int idleMax)
  {
    if (idleMax <= _idleMin) {
      throw new IllegalArgumentException(L.l("idle-max '{0}' must be greater than idle-min '{1}'.",
                                             idleMax, _idleMin));
    }

    _launcher.setIdleMax(_idleMax);
  }
431704
public void set(int x, int y, int width, int height) {
        setPosition(x, y);
        setSize(width, height);
    }
537906
private void adaptElevationShadow() {
        setImageBitmap(
                createElevationShadow(getContext(), elevation, orientation, emulateParallelLight));
        setScaleType(orientation == Orientation.LEFT || orientation == Orientation.TOP ||
                orientation == Orientation.RIGHT || orientation == Orientation.BOTTOM ?
                ScaleType.FIT_XY : ScaleType.FIT_CENTER);
    }
1317714
private void setSelectHeight(int height) {

        m_markerStyle.setHeight(height, Unit.PX);

        m_overlayBottomStyle.setHeight(m_elementHeight - m_currentSelection.getTop() - height, Unit.PX);

        m_currentSelection.setHeight(height);
    }
850952
public void setBackgroundColor(int color) {
        colorUnpressed = color;

        if(!isSelected()) {
            if (rippleAnimationSupport()) {
                ripple.setRippleBackground(colorUnpressed);
            }
            else {
                view.setBackgroundColor(colorUnpressed);
            }
        }
    }
1352393
private void setValues(int position, Button view) {
        if (position == 10) {
            view.setText("0");
        } else if (position == 9) {
            view.setVisibility(View.INVISIBLE);
        } else {
            view.setText(String.valueOf((position + 1) % 10));
        }
    }
985994
public void setAngle(float angle) {
        this.angle = angle;
        float cos = (float) Math.cos(angle);
        float sin = (float) Math.sin(angle);
        m00 = cos;
        m01 = sin;
        m10 = -sin;
        m11 = cos;
    }