code: private void obtainEmulateParallelLight(@NonNull final TypedArray typedArray) {
          boolean defaultValue = getResources()
                  .getBoolean(R.bool.elevation_shadow_view_emulate_parallel_light_default_value);
          emulateParallelLight = typedArray
                  .getBoolean(R.styleable.ElevationShadowView_emulateParallelLight, defaultValue);
      }
docs: Obtains the boolean value, which specifies whether parallel light should be emulated, from a
  specific typed array.
  
  @param typedArray
  The typed array, the boolean value should be obtained from, as an instance of the
  class {@link TypedArray}