233 lines
6.9 KiB
Smali
233 lines
6.9 KiB
Smali
.class public Landroidx/appcompat/view/SupportActionModeWrapper;
|
|
.super Landroid/view/ActionMode;
|
|
.source "SupportActionModeWrapper.java"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/appcompat/view/SupportActionModeWrapper$CallbackWrapper;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final mContext:Landroid/content/Context;
|
|
|
|
.field public final mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;Landroidx/appcompat/view/ActionMode;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Landroid/view/ActionMode;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mContext:Landroid/content/Context;
|
|
|
|
iput-object p2, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public finish()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v0}, Landroidx/appcompat/view/ActionMode;->finish()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getCustomView()Landroid/view/View;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v0}, Landroidx/appcompat/view/ActionMode;->getCustomView()Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getMenu()Landroid/view/Menu;
|
|
.locals 3
|
|
|
|
new-instance v0, Landroidx/appcompat/view/menu/MenuWrapperICS;
|
|
|
|
iget-object v1, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mContext:Landroid/content/Context;
|
|
|
|
iget-object v2, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v2}, Landroidx/appcompat/view/ActionMode;->getMenu()Landroid/view/Menu;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroidx/core/internal/view/SupportMenu;
|
|
|
|
invoke-direct {v0, v1, v2}, Landroidx/appcompat/view/menu/MenuWrapperICS;-><init>(Landroid/content/Context;Landroidx/core/internal/view/SupportMenu;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getMenuInflater()Landroid/view/MenuInflater;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v0}, Landroidx/appcompat/view/ActionMode;->getMenuInflater()Landroid/view/MenuInflater;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getSubtitle()Ljava/lang/CharSequence;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v0}, Landroidx/appcompat/view/ActionMode;->getSubtitle()Ljava/lang/CharSequence;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getTag()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v0}, Landroidx/appcompat/view/ActionMode;->getTag()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getTitle()Ljava/lang/CharSequence;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v0}, Landroidx/appcompat/view/ActionMode;->getTitle()Ljava/lang/CharSequence;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getTitleOptionalHint()Z
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v0}, Landroidx/appcompat/view/ActionMode;->getTitleOptionalHint()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public invalidate()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v0}, Landroidx/appcompat/view/ActionMode;->invalidate()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public isTitleOptional()Z
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v0}, Landroidx/appcompat/view/ActionMode;->isTitleOptional()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public setCustomView(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/view/ActionMode;->setCustomView(Landroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSubtitle(I)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/view/ActionMode;->setSubtitle(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSubtitle(Ljava/lang/CharSequence;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/view/ActionMode;->setSubtitle(Ljava/lang/CharSequence;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTag(Ljava/lang/Object;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/view/ActionMode;->setTag(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTitle(I)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/view/ActionMode;->setTitle(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTitle(Ljava/lang/CharSequence;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/view/ActionMode;->setTitle(Ljava/lang/CharSequence;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTitleOptionalHint(Z)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/view/SupportActionModeWrapper;->mWrappedObject:Landroidx/appcompat/view/ActionMode;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/view/ActionMode;->setTitleOptionalHint(Z)V
|
|
|
|
return-void
|
|
.end method
|