.class Landroidx/browser/browseractions/BrowserActionsFallbackMenuDialog; .super Landroid/app/Dialog; # static fields .field private static final ENTER_ANIMATION_DURATION_MS:J = 0xfaL .field private static final EXIT_ANIMATION_DURATION_MS:J = 0x96L # instance fields .field private final mContentView:Landroid/view/View; # direct methods .method constructor (Landroid/content/Context;Landroid/view/View;)V .locals 0 invoke-direct {p0, p1}, Landroid/app/Dialog;->(Landroid/content/Context;)V iput-object p2, p0, Landroidx/browser/browseractions/BrowserActionsFallbackMenuDialog;->mContentView:Landroid/view/View; return-void .end method .method static synthetic access$001(Landroidx/browser/browseractions/BrowserActionsFallbackMenuDialog;)V .locals 0 invoke-super {p0}, Landroid/app/Dialog;->dismiss()V return-void .end method .method private startAnimation(Z)V .locals 5 const/high16 v0, 0x3f800000 # 1.0f const/4 v1, 0x0 if-eqz p1, :cond_0 const/4 v2, 0x0 goto :goto_0 :cond_0 const/high16 v2, 0x3f800000 # 1.0f :goto_0 if-eqz p1, :cond_1 goto :goto_1 :cond_1 const/4 v0, 0x0 :goto_1 if-eqz p1, :cond_2 const-wide/16 v3, 0xfa goto :goto_2 :cond_2 const-wide/16 v3, 0x96 :goto_2 iget-object v1, p0, Landroidx/browser/browseractions/BrowserActionsFallbackMenuDialog;->mContentView:Landroid/view/View; invoke-virtual {v1, v2}, Landroid/view/View;->setScaleX(F)V iget-object v1, p0, Landroidx/browser/browseractions/BrowserActionsFallbackMenuDialog;->mContentView:Landroid/view/View; invoke-virtual {v1, v2}, Landroid/view/View;->setScaleY(F)V iget-object v1, p0, Landroidx/browser/browseractions/BrowserActionsFallbackMenuDialog;->mContentView:Landroid/view/View; invoke-virtual {v1}, Landroid/view/View;->animate()Landroid/view/ViewPropertyAnimator; move-result-object v1 invoke-virtual {v1, v0}, Landroid/view/ViewPropertyAnimator;->scaleX(F)Landroid/view/ViewPropertyAnimator; move-result-object v1 invoke-virtual {v1, v0}, Landroid/view/ViewPropertyAnimator;->scaleY(F)Landroid/view/ViewPropertyAnimator; move-result-object v0 invoke-virtual {v0, v3, v4}, Landroid/view/ViewPropertyAnimator;->setDuration(J)Landroid/view/ViewPropertyAnimator; move-result-object v0 new-instance v1, Landroidx/interpolator/view/animation/LinearOutSlowInInterpolator; invoke-direct {v1}, Landroidx/interpolator/view/animation/LinearOutSlowInInterpolator;->()V invoke-virtual {v0, v1}, Landroid/view/ViewPropertyAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)Landroid/view/ViewPropertyAnimator; move-result-object v0 new-instance v1, Landroidx/browser/browseractions/BrowserActionsFallbackMenuDialog$1; invoke-direct {v1, p0, p1}, Landroidx/browser/browseractions/BrowserActionsFallbackMenuDialog$1;->(Landroidx/browser/browseractions/BrowserActionsFallbackMenuDialog;Z)V invoke-virtual {v0, v1}, Landroid/view/ViewPropertyAnimator;->setListener(Landroid/animation/Animator$AnimatorListener;)Landroid/view/ViewPropertyAnimator; move-result-object p1 invoke-virtual {p1}, Landroid/view/ViewPropertyAnimator;->start()V return-void .end method # virtual methods .method public dismiss()V .locals 1 const/4 v0, 0x0 invoke-direct {p0, v0}, Landroidx/browser/browseractions/BrowserActionsFallbackMenuDialog;->startAnimation(Z)V return-void .end method .method public onTouchEvent(Landroid/view/MotionEvent;)Z .locals 0 invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I move-result p1 if-nez p1, :cond_0 invoke-virtual {p0}, Landroidx/browser/browseractions/BrowserActionsFallbackMenuDialog;->dismiss()V const/4 p1, 0x1 return p1 :cond_0 const/4 p1, 0x0 return p1 .end method .method public show()V .locals 3 invoke-virtual {p0}, Landroidx/browser/browseractions/BrowserActionsFallbackMenuDialog;->getWindow()Landroid/view/Window; move-result-object v0 new-instance v1, Landroid/graphics/drawable/ColorDrawable; const/4 v2, 0x0 invoke-direct {v1, v2}, Landroid/graphics/drawable/ColorDrawable;->(I)V invoke-virtual {v0, v1}, Landroid/view/Window;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V const/4 v0, 0x1 invoke-direct {p0, v0}, Landroidx/browser/browseractions/BrowserActionsFallbackMenuDialog;->startAnimation(Z)V invoke-super {p0}, Landroid/app/Dialog;->show()V return-void .end method