content: package com.google.android.material.appbar;
  
  import android.animation.AnimatorInflater;
  import android.animation.ObjectAnimator;
  import android.animation.StateListAnimator;
  import android.content.Context;
  import android.content.res.TypedArray;
  import android.util.AttributeSet;
  import android.view.View;
  import android.view.ViewOutlineProvider;
  import com.google.android.material.R;
  import com.google.android.material.internal.ThemeEnforcement;
  
  class ViewUtilsLollipop {
      private static final int[] STATE_LIST_ANIM_ATTRS = {16843848};
  
      ViewUtilsLollipop() {
      }
  
      static void setBoundsViewOutlineProvider(View view) {
          view.setOutlineProvider(ViewOutlineProvider.BOUNDS);
      }
  
      static void setDefaultAppBarLayoutStateListAnimator(View view, float elevation) {
          int integer = view.getResources().getInteger(R.integer.app_bar_elevation_anim_duration);
          StateListAnimator stateListAnimator = new StateListAnimator();
          stateListAnimator.addState(new int[]{16842910, R.attr.state_liftable, -R.attr.state_lifted}, ObjectAnimator.ofFloat(view, "elevation", new float[]{0.0f}).setDuration((long) integer));
          stateListAnimator.addState(new int[]{16842910}, ObjectAnimator.ofFloat(view, "elevation", new float[]{elevation}).setDuration((long) integer));
          stateListAnimator.addState(new int[0], ObjectAnimator.ofFloat(view, "elevation", new float[]{0.0f}).setDuration(0));
          view.setStateListAnimator(stateListAnimator);
      }
  
      static void setStateListAnimatorFromAttrs(View view, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
          Context context = view.getContext();
          TypedArray obtainStyledAttributes = ThemeEnforcement.obtainStyledAttributes(context, attrs, STATE_LIST_ANIM_ATTRS, defStyleAttr, defStyleRes, new int[0]);
          try {
              if (obtainStyledAttributes.hasValue(0)) {
                  view.setStateListAnimator(AnimatorInflater.loadStateListAnimator(context, obtainStyledAttributes.getResourceId(0, 0)));
              }
          } finally {
              obtainStyledAttributes.recycle();
          }
      }
  }
  