/** @brief Called when bounds set via left/top/right/bottom values. */
 @Override
 public void setBounds(int left, int top, int right, int bottom) {
   Rect aspectRatioBounds = elementCalculateAspectRatioBounds(new Rect(left, top, right, bottom));
   super.setBounds(
       aspectRatioBounds.left,
       aspectRatioBounds.top,
       aspectRatioBounds.right,
       aspectRatioBounds.bottom);
 }
 /** @brief Called when bounds set via rect. */
 @Override
 public void setBounds(Rect bounds) {
   super.setBounds(elementCalculateAspectRatioBounds(bounds));
 }