Rabbit-R1/original r1/java/sources/androidx/appcompat/view/ActionMode.java

72 lines
1.6 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package androidx.appcompat.view;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
/* loaded from: classes.dex */
public abstract class ActionMode {
private Object mTag;
private boolean mTitleOptionalHint;
/* loaded from: classes.dex */
public interface Callback {
boolean onActionItemClicked(ActionMode actionMode, MenuItem menuItem);
boolean onCreateActionMode(ActionMode actionMode, Menu menu);
void onDestroyActionMode(ActionMode actionMode);
boolean onPrepareActionMode(ActionMode actionMode, Menu menu);
}
public abstract void finish();
public abstract View getCustomView();
public abstract Menu getMenu();
public abstract MenuInflater getMenuInflater();
public abstract CharSequence getSubtitle();
public Object getTag() {
return this.mTag;
}
public abstract CharSequence getTitle();
public boolean getTitleOptionalHint() {
return this.mTitleOptionalHint;
}
public abstract void invalidate();
public boolean isTitleOptional() {
return false;
}
public boolean isUiFocusable() {
return true;
}
public abstract void setCustomView(View view);
public abstract void setSubtitle(int i);
public abstract void setSubtitle(CharSequence charSequence);
public void setTag(Object obj) {
this.mTag = obj;
}
public abstract void setTitle(int i);
public abstract void setTitle(CharSequence charSequence);
public void setTitleOptionalHint(boolean z) {
this.mTitleOptionalHint = z;
}
}