97 lines
2.2 KiB
Smali
97 lines
2.2 KiB
Smali
.class public Lf/i/a/a/e$b;
|
|
.super Ljava/lang/Object;
|
|
.source "ColorPickerDialog.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/View$OnTouchListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lf/i/a/a/e;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic d:Lf/i/a/a/e;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lf/i/a/a/e;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lf/i/a/a/e$b;->d:Lf/i/a/a/e;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
|
|
.locals 1
|
|
|
|
iget-object p2, p0, Lf/i/a/a/e$b;->d:Lf/i/a/a/e;
|
|
|
|
iget-object p2, p2, Lf/i/a/a/e;->t:Landroid/widget/EditText;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eq p1, p2, :cond_0
|
|
|
|
invoke-virtual {p2}, Landroid/widget/EditText;->hasFocus()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object p1, p0, Lf/i/a/a/e$b;->d:Lf/i/a/a/e;
|
|
|
|
iget-object p1, p1, Lf/i/a/a/e;->t:Landroid/widget/EditText;
|
|
|
|
invoke-virtual {p1}, Landroid/widget/EditText;->clearFocus()V
|
|
|
|
iget-object p1, p0, Lf/i/a/a/e$b;->d:Lf/i/a/a/e;
|
|
|
|
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "input_method"
|
|
|
|
invoke-virtual {p1, p2}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/view/inputmethod/InputMethodManager;
|
|
|
|
iget-object p2, p0, Lf/i/a/a/e$b;->d:Lf/i/a/a/e;
|
|
|
|
iget-object p2, p2, Lf/i/a/a/e;->t:Landroid/widget/EditText;
|
|
|
|
invoke-virtual {p2}, Landroid/widget/EditText;->getWindowToken()Landroid/os/IBinder;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p1, p2, v0}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z
|
|
|
|
iget-object p1, p0, Lf/i/a/a/e$b;->d:Lf/i/a/a/e;
|
|
|
|
iget-object p1, p1, Lf/i/a/a/e;->t:Landroid/widget/EditText;
|
|
|
|
invoke-virtual {p1}, Landroid/widget/EditText;->clearFocus()V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
return v0
|
|
.end method
|