mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-14 01:47:17 +01:00
108 lines
2.9 KiB
Java
108 lines
2.9 KiB
Java
package com.google.android.material.textfield;
|
|
|
|
import android.content.Context;
|
|
import android.text.Editable;
|
|
import android.view.View;
|
|
import android.view.accessibility.AccessibilityEvent;
|
|
import android.view.accessibility.AccessibilityManager;
|
|
import android.widget.EditText;
|
|
import androidx.annotation.DrawableRes;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.StringRes;
|
|
import androidx.core.view.accessibility.AccessibilityNodeInfoCompat;
|
|
import com.google.android.material.internal.CheckableImageButton;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes7.dex */
|
|
abstract class EndIconDelegate {
|
|
final Context context;
|
|
final CheckableImageButton endIconView;
|
|
final EndCompoundLayout endLayout;
|
|
final TextInputLayout textInputLayout;
|
|
|
|
public EndIconDelegate(@NonNull EndCompoundLayout endCompoundLayout) {
|
|
this.textInputLayout = endCompoundLayout.textInputLayout;
|
|
this.endLayout = endCompoundLayout;
|
|
this.context = endCompoundLayout.getContext();
|
|
this.endIconView = endCompoundLayout.getEndIconView();
|
|
}
|
|
|
|
@StringRes
|
|
public int getIconContentDescriptionResId() {
|
|
return 0;
|
|
}
|
|
|
|
@DrawableRes
|
|
public int getIconDrawableResId() {
|
|
return 0;
|
|
}
|
|
|
|
public View.OnFocusChangeListener getOnEditTextFocusChangeListener() {
|
|
return null;
|
|
}
|
|
|
|
public View.OnClickListener getOnIconClickListener() {
|
|
return null;
|
|
}
|
|
|
|
public View.OnFocusChangeListener getOnIconViewFocusChangeListener() {
|
|
return null;
|
|
}
|
|
|
|
public AccessibilityManager.TouchExplorationStateChangeListener getTouchExplorationStateChangeListener() {
|
|
return null;
|
|
}
|
|
|
|
public boolean isBoxBackgroundModeSupported(int i) {
|
|
return true;
|
|
}
|
|
|
|
public boolean isIconActivable() {
|
|
return false;
|
|
}
|
|
|
|
public boolean isIconActivated() {
|
|
return false;
|
|
}
|
|
|
|
public boolean isIconCheckable() {
|
|
return false;
|
|
}
|
|
|
|
public boolean isIconChecked() {
|
|
return false;
|
|
}
|
|
|
|
public final void refreshIconState() {
|
|
this.endLayout.refreshIconState(false);
|
|
}
|
|
|
|
public boolean shouldTintIconOnError() {
|
|
return false;
|
|
}
|
|
|
|
public void setUp() {
|
|
}
|
|
|
|
public void tearDown() {
|
|
}
|
|
|
|
public void afterEditTextChanged(Editable editable) {
|
|
}
|
|
|
|
public void onEditTextAttached(@Nullable EditText editText) {
|
|
}
|
|
|
|
public void onSuffixVisibilityChanged(boolean z) {
|
|
}
|
|
|
|
public void onInitializeAccessibilityNodeInfo(View view, @NonNull AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) {
|
|
}
|
|
|
|
public void onPopulateAccessibilityEvent(View view, @NonNull AccessibilityEvent accessibilityEvent) {
|
|
}
|
|
|
|
public void beforeEditTextChanged(CharSequence charSequence, int i, int i2, int i3) {
|
|
}
|
|
}
|