64 lines
2.6 KiB
Java
64 lines
2.6 KiB
Java
package c.b.a.a;
|
|
|
|
import android.widget.FrameLayout;
|
|
import android.widget.ImageView;
|
|
import androidx.appcompat.widget.AppCompatImageButton;
|
|
import com.lytefast.flexinput.R;
|
|
import com.lytefast.flexinput.fragment.FlexInputFragment;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import java.util.concurrent.TimeUnit;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
import kotlin.reflect.KProperty;
|
|
import rx.Observable;
|
|
import rx.functions.Action1;
|
|
/* compiled from: FlexInputFragment.kt */
|
|
public final class l extends o implements Function0<Unit> {
|
|
public final /* synthetic */ FlexInputFragment this$0;
|
|
|
|
/* compiled from: FlexInputFragment.kt */
|
|
public static final class a<T> implements Action1<Long> {
|
|
public final /* synthetic */ l i;
|
|
|
|
public a(l lVar) {
|
|
this.i = lVar;
|
|
}
|
|
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
|
@Override // rx.functions.Action1
|
|
public void call(Long l) {
|
|
FlexInputFragment flexInputFragment = this.i.this$0;
|
|
KProperty[] kPropertyArr = FlexInputFragment.i;
|
|
if (flexInputFragment.m()) {
|
|
FrameLayout frameLayout = this.i.this$0.j().k;
|
|
m.checkNotNullExpressionValue(frameLayout, "binding.expressionTrayContainer");
|
|
frameLayout.setVisibility(0);
|
|
FlexInputFragment.h(this.i.this$0, true);
|
|
this.i.this$0.j().i.setImageResource(R.d.ic_keyboard_24dp);
|
|
ImageView imageView = this.i.this$0.j().j;
|
|
m.checkNotNullExpressionValue(imageView, "binding.expressionBtnBadge");
|
|
imageView.setVisibility(8);
|
|
AppCompatImageButton appCompatImageButton = this.i.this$0.j().i;
|
|
m.checkNotNullExpressionValue(appCompatImageButton, "binding.expressionBtn");
|
|
appCompatImageButton.setContentDescription(this.i.this$0.getString(R.g.show_keyboard));
|
|
FrameLayout frameLayout2 = this.i.this$0.j().g;
|
|
m.checkNotNullExpressionValue(frameLayout2, "binding.defaultWindowInsetsHandler");
|
|
frameLayout2.setVisibility(8);
|
|
}
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public l(FlexInputFragment flexInputFragment) {
|
|
super(0);
|
|
this.this$0 = flexInputFragment;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final void mo1invoke() {
|
|
this.this$0.u = Observable.c0(300, TimeUnit.MILLISECONDS).I(j0.j.b.a.a()).U(new a(this));
|
|
}
|
|
}
|