content: package androidx.appcompat.app;
  
  import android.content.Context;
  import android.content.res.Configuration;
  import android.content.res.TypedArray;
  import android.graphics.drawable.Drawable;
  import android.util.AttributeSet;
  import android.view.KeyEvent;
  import android.view.View;
  import android.view.ViewGroup;
  import android.widget.SpinnerAdapter;
  import androidx.appcompat.R;
  import androidx.appcompat.view.ActionMode;
  import androidx.fragment.app.FragmentTransaction;
  import java.lang.annotation.Retention;
  import java.lang.annotation.RetentionPolicy;
  
  public abstract class ActionBar {
      public static final int DISPLAY_HOME_AS_UP = 4;
      public static final int DISPLAY_SHOW_CUSTOM = 16;
      public static final int DISPLAY_SHOW_HOME = 2;
      public static final int DISPLAY_SHOW_TITLE = 8;
      public static final int DISPLAY_USE_LOGO = 1;
      @Deprecated
      public static final int NAVIGATION_MODE_LIST = 1;
      @Deprecated
      public static final int NAVIGATION_MODE_STANDARD = 0;
      @Deprecated
      public static final int NAVIGATION_MODE_TABS = 2;
  
      @Retention(RetentionPolicy.SOURCE)
      public @interface DisplayOptions {
      }
  
      public static class LayoutParams extends ViewGroup.MarginLayoutParams {
          public int gravity;
  
          public LayoutParams(int gravity2) {
              this(-2, -1, gravity2);
          }
  
          public LayoutParams(int width, int height) {
              super(width, height);
              this.gravity = 0;
              this.gravity = 8388627;
          }
  
          public LayoutParams(int width, int height, int gravity2) {
              super(width, height);
              this.gravity = 0;
              this.gravity = gravity2;
          }
  
          public LayoutParams(Context c, AttributeSet attrs) {
              super(c, attrs);
              this.gravity = 0;
              TypedArray obtainStyledAttributes = c.obtainStyledAttributes(attrs, R.styleable.ActionBarLayout);
              this.gravity = obtainStyledAttributes.getInt(R.styleable.ActionBarLayout_android_layout_gravity, 0);
              obtainStyledAttributes.recycle();
          }
  
          public LayoutParams(ViewGroup.LayoutParams source) {
              super(source);
              this.gravity = 0;
          }
  
          public LayoutParams(LayoutParams source) {
              super(source);
              this.gravity = 0;
              this.gravity = source.gravity;
          }
      }
  
      @Retention(RetentionPolicy.SOURCE)
      public @interface NavigationMode {
      }
  
      public interface OnMenuVisibilityListener {
          void onMenuVisibilityChanged(boolean z);
      }
  
      @Deprecated
      public interface OnNavigationListener {
          boolean onNavigationItemSelected(int i, long j);
      }
  
      @Deprecated
      public static abstract class Tab {
          public static final int INVALID_POSITION = -1;
  
          public abstract CharSequence getContentDescription();
  
          public abstract View getCustomView();
  
          public abstract Drawable getIcon();
  
          public abstract int getPosition();
  
          public abstract Object getTag();
  
          public abstract CharSequence getText();
  
          public abstract void select();
  
          public abstract Tab setContentDescription(int i);
  
          public abstract Tab setContentDescription(CharSequence charSequence);
  
          public abstract Tab setCustomView(int i);
  
          public abstract Tab setCustomView(View view);
  
          public abstract Tab setIcon(int i);
  
          public abstract Tab setIcon(Drawable drawable);
  
          public abstract Tab setTabListener(TabListener tabListener);
  
          public abstract Tab setTag(Object obj);
  
          public abstract Tab setText(int i);
  
          public abstract Tab setText(CharSequence charSequence);
      }
  
      @Deprecated
      public interface TabListener {
          void onTabReselected(Tab tab, FragmentTransaction fragmentTransaction);
  
          void onTabSelected(Tab tab, FragmentTransaction fragmentTransaction);
  
          void onTabUnselected(Tab tab, FragmentTransaction fragmentTransaction);
      }
  
      public abstract void addOnMenuVisibilityListener(OnMenuVisibilityListener onMenuVisibilityListener);
  
      @Deprecated
      public abstract void addTab(Tab tab);
  
      @Deprecated
      public abstract void addTab(Tab tab, int i);
  
      @Deprecated
      public abstract void addTab(Tab tab, int i, boolean z);
  
      @Deprecated
      public abstract void addTab(Tab tab, boolean z);
  
      public boolean closeOptionsMenu() {
          return false;
      }
  
      public boolean collapseActionView() {
          return false;
      }
  
      public void dispatchMenuVisibilityChanged(boolean visible) {
      }
  
      public abstract View getCustomView();
  
      public abstract int getDisplayOptions();
  
      public float getElevation() {
          return 0.0f;
      }
  
      public abstract int getHeight();
  
      public int getHideOffset() {
          return 0;
      }
  
      @Deprecated
      public abstract int getNavigationItemCount();
  
      @Deprecated
      public abstract int getNavigationMode();
  
      @Deprecated
      public abstract int getSelectedNavigationIndex();
  
      @Deprecated
      public abstract Tab getSelectedTab();
  
      public abstract CharSequence getSubtitle();
  
      @Deprecated
      public abstract Tab getTabAt(int i);
  
      @Deprecated
      public abstract int getTabCount();
  
      public Context getThemedContext() {
          return null;
      }
  
      public abstract CharSequence getTitle();
  
      public abstract void hide();
  
      public boolean invalidateOptionsMenu() {
          return false;
      }
  
      public boolean isHideOnContentScrollEnabled() {
          return false;
      }
  
      public abstract boolean isShowing();
  
      public boolean isTitleTruncated() {
          return false;
      }
  
      @Deprecated
      public abstract Tab newTab();
  
      public void onConfigurationChanged(Configuration config) {
      }
  
      /* access modifiers changed from: package-private */
      public void onDestroy() {
      }
  
      public boolean onKeyShortcut(int keyCode, KeyEvent ev) {
          return false;
      }
  
      public boolean onMenuKeyEvent(KeyEvent event) {
          return false;
      }
  
      public boolean openOptionsMenu() {
          return false;
      }
  
      @Deprecated
      public abstract void removeAllTabs();
  
      public abstract void removeOnMenuVisibilityListener(OnMenuVisibilityListener onMenuVisibilityListener);
  
      @Deprecated
      public abstract void removeTab(Tab tab);
  
      @Deprecated
      public abstract void removeTabAt(int i);
  
      /* access modifiers changed from: package-private */
      public boolean requestFocus() {
          return false;
      }
  
      @Deprecated
      public abstract void selectTab(Tab tab);
  
      public abstract void setBackgroundDrawable(Drawable drawable);
  
      public abstract void setCustomView(int i);
  
      public abstract void setCustomView(View view);
  
      public abstract void setCustomView(View view, LayoutParams layoutParams);
  
      public void setDefaultDisplayHomeAsUpEnabled(boolean enabled) {
      }
  
      public abstract void setDisplayHomeAsUpEnabled(boolean z);
  
      public abstract void setDisplayOptions(int i);
  
      public abstract void setDisplayOptions(int i, int i2);
  
      public abstract void setDisplayShowCustomEnabled(boolean z);
  
      public abstract void setDisplayShowHomeEnabled(boolean z);
  
      public abstract void setDisplayShowTitleEnabled(boolean z);
  
      public abstract void setDisplayUseLogoEnabled(boolean z);
  
      public void setElevation(float elevation) {
          if (elevation != 0.0f) {
              throw new UnsupportedOperationException("Setting a non-zero elevation is not supported in this action bar configuration.");
          }
      }
  
      public void setHideOffset(int offset) {
          if (offset != 0) {
              throw new UnsupportedOperationException("Setting an explicit action bar hide offset is not supported in this action bar configuration.");
          }
      }
  
      public void setHideOnContentScrollEnabled(boolean hideOnContentScroll) {
          if (hideOnContentScroll) {
              throw new UnsupportedOperationException("Hide on content scroll is not supported in this action bar configuration.");
          }
      }
  
      public void setHomeActionContentDescription(int resId) {
      }
  
      public void setHomeActionContentDescription(CharSequence description) {
      }
  
      public void setHomeAsUpIndicator(int resId) {
      }
  
      public void setHomeAsUpIndicator(Drawable indicator) {
      }
  
      public void setHomeButtonEnabled(boolean enabled) {
      }
  
      public abstract void setIcon(int i);
  
      public abstract void setIcon(Drawable drawable);
  
      @Deprecated
      public abstract void setListNavigationCallbacks(SpinnerAdapter spinnerAdapter, OnNavigationListener onNavigationListener);
  
      public abstract void setLogo(int i);
  
      public abstract void setLogo(Drawable drawable);
  
      @Deprecated
      public abstract void setNavigationMode(int i);
  
      @Deprecated
      public abstract void setSelectedNavigationItem(int i);
  
      public void setShowHideAnimationEnabled(boolean enabled) {
      }
  
      public void setSplitBackgroundDrawable(Drawable d) {
      }
  
      public void setStackedBackgroundDrawable(Drawable d) {
      }
  
      public abstract void setSubtitle(int i);
  
      public abstract void setSubtitle(CharSequence charSequence);
  
      public abstract void setTitle(int i);
  
      public abstract void setTitle(CharSequence charSequence);
  
      public void setWindowTitle(CharSequence title) {
      }
  
      public abstract void show();
  
      public ActionMode startActionMode(ActionMode.Callback callback) {
          return null;
      }
  }
  