正在查看: Kaspi.kz v5.85.1 应用的 LowMemoryQuirk.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Kaspi.kz v5.85.1 应用的 LowMemoryQuirk.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package o;
import android.app.PendingIntent;
import android.app.SearchableInfo;
import android.content.ActivityNotFoundException;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.database.Cursor;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import android.text.Editable;
import android.text.SpannableStringBuilder;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.text.style.ImageSpan;
import android.util.AttributeSet;
import android.util.Log;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.inputmethod.EditorInfo;
import android.view.inputmethod.InputConnection;
import android.view.inputmethod.InputMethodManager;
import android.widget.AdapterView;
import android.widget.AutoCompleteTextView;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.Nullable;
import java.lang.reflect.Method;
import java.util.WeakHashMap;
import o.setLastBaselineToBottomHeight;
public class LowMemoryQuirk extends nativeConvertAndroid420ToABGR implements setQueryRefinementEnabled {
private static final String MediaBrowserCompatMediaItem = "nm";
static final String setError = "SearchView";
static final boolean setFieldValue = false;
static final setOptions setLabel;
private Rect ActivityResultRegistry1;
SearchableInfo AudioAttributesCompatParcelizer;
final ImageView AudioAttributesImplApi21Parcelizer;
final ImageView AudioAttributesImplApi26Parcelizer;
View.OnFocusChangeListener AudioAttributesImplBaseParcelizer;
private boolean ComponentActivity2;
private final TextView.OnEditorActionListener ComponentActivity3;
private setError ComponentActivity4;
private final View.OnClickListener ComponentActivity6;
private boolean ImmLeaksCleaner;
private int[] Keep;
final setElement MediaBrowserCompatCustomActionResultReceiver;
private Bundle MediaBrowserCompatItemReceiver;
setUnboundedRippleResource MediaBrowserCompatSearchResultReceiver;
private boolean MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver;
View.OnKeyListener MediaDescriptionCompat;
final ImageView MediaMetadataCompat;
private final CharSequence MediaSessionCompatQueueItem;
private int MediaSessionCompatResultReceiverWrapper;
private final ImageView MediaSessionCompatToken;
private TextWatcher NonNull;
private write Nullable;
private final int OnBackPressedDispatcherLifecycleOnBackPressedCancellable;
private boolean ParcelableVolumeInfo;
private CharSequence PlaybackStateCompat;
private int PlaybackStateCompatCustomAction;
private final View RatingCompat;
private CharSequence addContentView;
private boolean create;
private CharSequence getContext;
private View.OnClickListener getLifecycle;
private final AdapterView.OnItemSelectedListener getLifecycleRegistry;
private setLabel getOnBackPressedDispatcher;
private final WeakHashMap<String, Drawable.ConstantState> getOnBackPressedDispatcherannotations;
private boolean getSavedStateRegistry;
private final View initializeViewTreeOwners;
private Runnable onBackPressed;
private setBackground onBackPressedDispatcherlambda1;
private final Drawable onCreate;
private final View onSaveInstanceState;
private final View onStart;
private Rect onStop;
private final AdapterView.OnItemClickListener r8lambdaqrzmfDOyDuplJFtpJLozn3P9EZI;
private boolean setContentView;
private final Runnable setHasDecor;
private final Intent setNegativeButton;
final ImageView setOptions;
private final Intent setPositiveButton;
private final int valueOf;
private int[] values;
public interface setError {
boolean setFieldValue();
}
public interface setLabel {
boolean setBackground(String str);
boolean setFieldValue(String str);
}
static {
setLabel = Build.VERSION.SDK_INT < 29 ? new setOptions() : null;
}
public LowMemoryQuirk(@androidx.annotation.NonNull Context context) {
this(context, null);
}
public LowMemoryQuirk(@androidx.annotation.NonNull Context context, @Nullable AttributeSet attributeSet) {
this(context, attributeSet, setLastBaselineToBottomHeight.setLabel.setHoverListener);
}
public LowMemoryQuirk(@androidx.annotation.NonNull Context context, @Nullable AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
this.ActivityResultRegistry1 = new Rect();
this.onStop = new Rect();
this.Keep = new int[2];
this.values = new int[2];
this.setHasDecor = new Runnable() {
@Override
public void run() {
LowMemoryQuirk.this.ComponentActivity4();
}
};
this.onBackPressed = new Runnable() {
@Override
public void run() {
setUnboundedRippleResource setunboundedrippleresource = LowMemoryQuirk.this.MediaBrowserCompatSearchResultReceiver;
if (setunboundedrippleresource instanceof ImageUtilCodecFailedException) {
setunboundedrippleresource.setError((Cursor) null);
}
}
};
this.getOnBackPressedDispatcherannotations = new WeakHashMap<>();
View.OnClickListener onClickListener = new View.OnClickListener() {
@Override
public void onClick(View view) {
LowMemoryQuirk lowMemoryQuirk = LowMemoryQuirk.this;
if (view == lowMemoryQuirk.AudioAttributesImplApi26Parcelizer) {
lowMemoryQuirk.PlaybackStateCompat();
return;
}
if (view == lowMemoryQuirk.setOptions) {
lowMemoryQuirk.PlaybackStateCompatCustomAction();
return;
}
if (view == lowMemoryQuirk.AudioAttributesImplApi21Parcelizer) {
lowMemoryQuirk.r8lambdaqrzmfDOyDuplJFtpJLozn3P9EZI();
} else if (view == lowMemoryQuirk.MediaMetadataCompat) {
lowMemoryQuirk.getLifecycleRegistry();
} else if (view == lowMemoryQuirk.MediaBrowserCompatCustomActionResultReceiver) {
lowMemoryQuirk.setFieldValue();
}
}
};
this.ComponentActivity6 = onClickListener;
this.MediaDescriptionCompat = new View.OnKeyListener() {
@Override
public boolean onKey(View view, int i2, KeyEvent keyEvent) {
LowMemoryQuirk lowMemoryQuirk = LowMemoryQuirk.this;
if (lowMemoryQuirk.AudioAttributesCompatParcelizer == null) {
return false;
}
if (lowMemoryQuirk.MediaBrowserCompatCustomActionResultReceiver.isPopupShowing() && LowMemoryQuirk.this.MediaBrowserCompatCustomActionResultReceiver.getListSelection() != -1) {
return LowMemoryQuirk.this.setError(view, i2, keyEvent);
}
if (LowMemoryQuirk.this.MediaBrowserCompatCustomActionResultReceiver.setError() || !keyEvent.hasNoModifiers() || keyEvent.getAction() != 1 || i2 != 66) {
return false;
}
view.cancelLongPress();
LowMemoryQuirk lowMemoryQuirk2 = LowMemoryQuirk.this;
lowMemoryQuirk2.setOptions(0, (String) null, lowMemoryQuirk2.MediaBrowserCompatCustomActionResultReceiver.getText().toString());
return true;
}
};
TextView.OnEditorActionListener onEditorActionListener = new TextView.OnEditorActionListener() {
@Override
public boolean onEditorAction(TextView textView, int i2, KeyEvent keyEvent) {
LowMemoryQuirk.this.r8lambdaqrzmfDOyDuplJFtpJLozn3P9EZI();
return true;
}
};
this.ComponentActivity3 = onEditorActionListener;
AdapterView.OnItemClickListener onItemClickListener = new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> adapterView, View view, int i2, long j) {
LowMemoryQuirk.this.setOptions(i2, 0, (String) null);
}
};
this.r8lambdaqrzmfDOyDuplJFtpJLozn3P9EZI = onItemClickListener;
AdapterView.OnItemSelectedListener onItemSelectedListener = new AdapterView.OnItemSelectedListener() {
@Override
public void onNothingSelected(AdapterView<?> adapterView) {
}
@Override
public void onItemSelected(AdapterView<?> adapterView, View view, int i2, long j) {
LowMemoryQuirk.this.setError(i2);
}
};
this.getLifecycleRegistry = onItemSelectedListener;
this.NonNull = new TextWatcher() {
@Override
public void afterTextChanged(Editable editable) {
}
@Override
public void beforeTextChanged(CharSequence charSequence, int i2, int i3, int i4) {
}
@Override
public void onTextChanged(CharSequence charSequence, int i2, int i3, int i4) {
LowMemoryQuirk.this.setBackground(charSequence);
}
};
LifecycleCameraRepositoryLifecycleCameraRepositoryObserver fieldValue = LifecycleCameraRepositoryLifecycleCameraRepositoryObserver.setFieldValue(context, attributeSet, setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.YuvImageOnePixelShiftQuirk, i, 0);
setContentPaddingRelative.setFieldValue(this, context, setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.YuvImageOnePixelShiftQuirk, attributeSet, fieldValue.setBackground(), i, 0);
LayoutInflater.from(context).inflate(fieldValue.setElement(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.InitializationException, setLastBaselineToBottomHeight.RemoteActionCompatParcelizer.setContentView), (ViewGroup) this, true);
setElement setelement = (setElement) findViewById(setLastBaselineToBottomHeight.write.setHasDecor);
this.MediaBrowserCompatCustomActionResultReceiver = setelement;
setelement.setLabel(this);
this.onSaveInstanceState = findViewById(setLastBaselineToBottomHeight.write.Nullable);
View findViewById = findViewById(setLastBaselineToBottomHeight.write.getContext);
this.initializeViewTreeOwners = findViewById;
View findViewById2 = findViewById(setLastBaselineToBottomHeight.write.getSupportActionBar);
this.onStart = findViewById2;
ImageView imageView = (ImageView) findViewById(setLastBaselineToBottomHeight.write.NonNull);
this.AudioAttributesImplApi26Parcelizer = imageView;
ImageView imageView2 = (ImageView) findViewById(setLastBaselineToBottomHeight.write.values);
this.AudioAttributesImplApi21Parcelizer = imageView2;
ImageView imageView3 = (ImageView) findViewById(setLastBaselineToBottomHeight.write.Keep);
this.setOptions = imageView3;
ImageView imageView4 = (ImageView) findViewById(setLastBaselineToBottomHeight.write.create);
this.MediaMetadataCompat = imageView4;
ImageView imageView5 = (ImageView) findViewById(setLastBaselineToBottomHeight.write.valueOf);
this.MediaSessionCompatToken = imageView5;
setContentPaddingRelative.setError(findViewById, fieldValue.setBackground(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.nativeRotateYUV));
setContentPaddingRelative.setError(findViewById2, fieldValue.setBackground(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.DeferrableSurfaceSurfaceClosedException));
imageView.setImageDrawable(fieldValue.setBackground(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.CameraControlInternalCameraControlException));
imageView2.setImageDrawable(fieldValue.setBackground(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.nativeWriteJpegToSurface));
imageView3.setImageDrawable(fieldValue.setBackground(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.nativeCopyBetweenByteBufferAndBitmap));
imageView4.setImageDrawable(fieldValue.setBackground(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.InterruptedRuntimeException));
imageView5.setImageDrawable(fieldValue.setBackground(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.CameraControlInternalCameraControlException));
this.onCreate = fieldValue.setBackground(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.DeferrableSurfaceSurfaceUnavailableException);
EncoderNotUsePersistentInputSurfaceQuirk.setError(imageView, getResources().getString(setLastBaselineToBottomHeight.MediaBrowserCompatCustomActionResultReceiver.RatingCompat));
this.valueOf = fieldValue.setElement(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.CameraValidatorCameraIdListIncorrectException, setLastBaselineToBottomHeight.RemoteActionCompatParcelizer.RatingCompat);
this.OnBackPressedDispatcherLifecycleOnBackPressedCancellable = fieldValue.setElement(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.ImageProcessingUtil, 0);
imageView.setOnClickListener(onClickListener);
imageView3.setOnClickListener(onClickListener);
imageView2.setOnClickListener(onClickListener);
imageView4.setOnClickListener(onClickListener);
setelement.setOnClickListener(onClickListener);
setelement.addTextChangedListener(this.NonNull);
setelement.setOnEditorActionListener(onEditorActionListener);
setelement.setOnItemClickListener(onItemClickListener);
setelement.setOnItemSelectedListener(onItemSelectedListener);
setelement.setOnKeyListener(this.MediaDescriptionCompat);
setelement.setOnFocusChangeListener(new View.OnFocusChangeListener() {
@Override
public void onFocusChange(View view, boolean z) {
LowMemoryQuirk lowMemoryQuirk = LowMemoryQuirk.this;
View.OnFocusChangeListener onFocusChangeListener = lowMemoryQuirk.AudioAttributesImplBaseParcelizer;
if (onFocusChangeListener != null) {
onFocusChangeListener.onFocusChange(lowMemoryQuirk, z);
}
}
});
setIconifiedByDefault(fieldValue.setError(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.nativeShiftPixel, true));
int label = fieldValue.setLabel(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.nativeConvertAndroid420ToABGR, -1);
if (label != -1) {
setMaxWidth(label);
}
this.MediaSessionCompatQueueItem = fieldValue.read(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.ProcessingException);
this.addContentView = fieldValue.read(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.readResolve);
int error = fieldValue.setError(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.ImageCaptureException, -1);
if (error != -1) {
setImeOptions(error);
}
int error2 = fieldValue.setError(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.nativeConvertAndroid420ToBitmap, -1);
if (error2 != -1) {
setInputType(error2);
}
setFocusable(fieldValue.setError(setLastBaselineToBottomHeight.AudioAttributesImplApi21Parcelizer.CameraInfoUnavailableException, true));
fieldValue.write();
Intent intent = new Intent("android.speech.action.WEB_SEARCH");
this.setNegativeButton = intent;
intent.addFlags(268435456);
intent.putExtra("android.speech.extra.LANGUAGE_MODEL", "web_search");
Intent intent2 = new Intent("android.speech.action.RECOGNIZE_SPEECH");
this.setPositiveButton = intent2;
intent2.addFlags(268435456);
View findViewById3 = findViewById(setelement.getDropDownAnchor());
this.RatingCompat = findViewById3;
if (findViewById3 != null) {
findViewById3.addOnLayoutChangeListener(new View.OnLayoutChangeListener() {
@Override
public void onLayoutChange(View view, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9) {
LowMemoryQuirk.this.setLabel();
}
});
}
setOptions(this.ParcelableVolumeInfo);
onCreate();
}
int AudioAttributesImplApi26Parcelizer() {
return this.valueOf;
}
int AudioAttributesImplApi21Parcelizer() {
return this.OnBackPressedDispatcherLifecycleOnBackPressedCancellable;
}
public void setSearchableInfo(SearchableInfo searchableInfo) {
this.AudioAttributesCompatParcelizer = searchableInfo;
if (searchableInfo != null) {
initializeViewTreeOwners();
onCreate();
}
boolean onBackPressedDispatcher = getOnBackPressedDispatcher();
this.create = onBackPressedDispatcher;
if (onBackPressedDispatcher) {
this.MediaBrowserCompatCustomActionResultReceiver.setPrivateImeOptions(MediaBrowserCompatMediaItem);
}
setOptions(setContentView());
}
public void setAppSearchData(Bundle bundle) {
this.MediaBrowserCompatItemReceiver = bundle;
}
public void setImeOptions(int i) {
this.MediaBrowserCompatCustomActionResultReceiver.setImeOptions(i);
}
public int read() {
return this.MediaBrowserCompatCustomActionResultReceiver.getImeOptions();
}
public void setInputType(int i) {
this.MediaBrowserCompatCustomActionResultReceiver.setInputType(i);
}
public int setElement() {
return this.MediaBrowserCompatCustomActionResultReceiver.getInputType();
}
@Override
public boolean requestFocus(int i, Rect rect) {
if (this.MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver || !isFocusable()) {
return false;
}
if (!setContentView()) {
boolean requestFocus = this.MediaBrowserCompatCustomActionResultReceiver.requestFocus(i, rect);
if (requestFocus) {
setOptions(false);
}
return requestFocus;
}
return super.requestFocus(i, rect);
}
@Override
public void clearFocus() {
this.MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver = true;
super.clearFocus();
this.MediaBrowserCompatCustomActionResultReceiver.clearFocus();
this.MediaBrowserCompatCustomActionResultReceiver.setFieldValue(false);
this.MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver = false;
}
public void setOnQueryTextListener(setLabel setlabel) {
this.getOnBackPressedDispatcher = setlabel;
}
public void setOnCloseListener(setError seterror) {
this.ComponentActivity4 = seterror;
}
public void setOnQueryTextFocusChangeListener(View.OnFocusChangeListener onFocusChangeListener) {
this.AudioAttributesImplBaseParcelizer = onFocusChangeListener;
}
public void setOnSuggestionListener(setBackground setbackground) {
this.onBackPressedDispatcherlambda1 = setbackground;
}
public void setOnSearchClickListener(View.OnClickListener onClickListener) {
this.getLifecycle = onClickListener;
}
public CharSequence IconCompatParcelizer() {
return this.MediaBrowserCompatCustomActionResultReceiver.getText();
}
public void setQuery(CharSequence charSequence, boolean z) {
this.MediaBrowserCompatCustomActionResultReceiver.setText(charSequence);
if (charSequence != null) {
setElement setelement = this.MediaBrowserCompatCustomActionResultReceiver;
setelement.setSelection(setelement.length());
this.getContext = charSequence;
}
if (!z || TextUtils.isEmpty(charSequence)) {
return;
}
r8lambdaqrzmfDOyDuplJFtpJLozn3P9EZI();
}
public void setQueryHint(@Nullable CharSequence charSequence) {
this.addContentView = charSequence;
onCreate();
}
public CharSequence RemoteActionCompatParcelizer() {
CharSequence charSequence = this.addContentView;
if (charSequence != null) {
return charSequence;
}
SearchableInfo searchableInfo = this.AudioAttributesCompatParcelizer;
if (searchableInfo != null && searchableInfo.getHintId() != 0) {
return getContext().getText(this.AudioAttributesCompatParcelizer.getHintId());
}
return this.MediaSessionCompatQueueItem;
}
public void setIconifiedByDefault(boolean z) {
if (this.ParcelableVolumeInfo == z) {
return;
}
this.ParcelableVolumeInfo = z;
setOptions(z);
onCreate();
}
public boolean AudioAttributesImplBaseParcelizer() {
return this.ParcelableVolumeInfo;
}
public void setIconified(boolean z) {
if (z) {
PlaybackStateCompatCustomAction();
} else {
PlaybackStateCompat();
}
}
public boolean setContentView() {
return this.setContentView;
}
public void setSubmitButtonEnabled(boolean z) {
this.ImmLeaksCleaner = z;
setOptions(setContentView());
}
public boolean ParcelableVolumeInfo() {
return this.ImmLeaksCleaner;
}
public void setQueryRefinementEnabled(boolean z) {
this.getSavedStateRegistry = z;
ImageUtilCodecFailedException imageUtilCodecFailedException = this.MediaBrowserCompatSearchResultReceiver;
if (imageUtilCodecFailedException instanceof ImageUtilCodecFailedException) {
imageUtilCodecFailedException.setFieldValue(z ? 2 : 1);
}
}
public boolean ComponentActivity2() {
return this.getSavedStateRegistry;
}
public void setSuggestionsAdapter(setUnboundedRippleResource setunboundedrippleresource) {
this.MediaBrowserCompatSearchResultReceiver = setunboundedrippleresource;
this.MediaBrowserCompatCustomActionResultReceiver.setAdapter(setunboundedrippleresource);
}
public setUnboundedRippleResource AudioAttributesCompatParcelizer() {
return this.MediaBrowserCompatSearchResultReceiver;
}
public void setMaxWidth(int i) {
this.PlaybackStateCompatCustomAction = i;
requestLayout();
}
public int write() {
return this.PlaybackStateCompatCustomAction;
}
@Override
protected void onMeasure(int i, int i2) {
int i3;
if (setContentView()) {
super.onMeasure(i, i2);
return;
}
int mode = View.MeasureSpec.getMode(i);
int size = View.MeasureSpec.getSize(i);
if (mode == Integer.MIN_VALUE) {
int i4 = this.PlaybackStateCompatCustomAction;
size = i4 > 0 ? Math.min(i4, size) : Math.min(getLifecycle(), size);
} else if (mode == 0) {
size = this.PlaybackStateCompatCustomAction;
if (size <= 0) {
size = getLifecycle();
}
} else if (mode == 1073741824 && (i3 = this.PlaybackStateCompatCustomAction) > 0) {
size = Math.min(i3, size);
}
int mode2 = View.MeasureSpec.getMode(i2);
int size2 = View.MeasureSpec.getSize(i2);
if (mode2 == Integer.MIN_VALUE) {
size2 = Math.min(addContentView(), size2);
} else if (mode2 == 0) {
size2 = addContentView();
}
super.onMeasure(View.MeasureSpec.makeMeasureSpec(size, 1073741824), View.MeasureSpec.makeMeasureSpec(size2, 1073741824));
}
@Override
public void onLayout(boolean z, int i, int i2, int i3, int i4) {
super.onLayout(z, i, i2, i3, i4);
if (z) {
setLabel(this.MediaBrowserCompatCustomActionResultReceiver, this.ActivityResultRegistry1);
Rect rect = this.onStop;
Rect rect2 = this.ActivityResultRegistry1;
rect.set(rect2.left, 0, rect2.right, i4 - i2);
write writeVar = this.Nullable;
if (writeVar == null) {
write writeVar2 = new write(this.onStop, this.ActivityResultRegistry1, this.MediaBrowserCompatCustomActionResultReceiver);
this.Nullable = writeVar2;
setTouchDelegate(writeVar2);
return;
}
writeVar.setFieldValue(this.onStop, this.ActivityResultRegistry1);
}
}
private void setLabel(View view, Rect rect) {
view.getLocationInWindow(this.Keep);
getLocationInWindow(this.values);
int[] iArr = this.Keep;
int i = iArr[1];
int[] iArr2 = this.values;
int i2 = i - iArr2[1];
int i3 = iArr[0] - iArr2[0];
rect.set(i3, i2, view.getWidth() + i3, view.getHeight() + i2);
}
private int getLifecycle() {
return getContext().getResources().getDimensionPixelSize(setLastBaselineToBottomHeight.setOptions.create);
}
private int addContentView() {
return getContext().getResources().getDimensionPixelSize(setLastBaselineToBottomHeight.setOptions.Nullable);
}
private void setOptions(boolean z) {
this.setContentView = z;
int i = z ? 0 : 8;
boolean isEmpty = TextUtils.isEmpty(this.MediaBrowserCompatCustomActionResultReceiver.getText());
this.AudioAttributesImplApi26Parcelizer.setVisibility(i);
setLabel(!isEmpty);
this.onSaveInstanceState.setVisibility(z ? 8 : 0);
this.MediaSessionCompatToken.setVisibility((this.MediaSessionCompatToken.getDrawable() == null || this.ParcelableVolumeInfo) ? 8 : 0);
onBackPressed();
setFieldValue(isEmpty);
getSavedStateRegistry();
}
private boolean getOnBackPressedDispatcher() {
Intent intent;
SearchableInfo searchableInfo = this.AudioAttributesCompatParcelizer;
if (searchableInfo != null && searchableInfo.getVoiceSearchEnabled()) {
if (this.AudioAttributesCompatParcelizer.getVoiceSearchLaunchWebSearch()) {
intent = this.setNegativeButton;
} else {
intent = this.AudioAttributesCompatParcelizer.getVoiceSearchLaunchRecognizer() ? this.setPositiveButton : null;
}
if (intent != null && getContext().getPackageManager().resolveActivity(intent, 65536) != null) {
return true;
}
}
return false;
}
private boolean getOnBackPressedDispatcherannotations() {
return (this.ImmLeaksCleaner || this.create) && !setContentView();
}
private void setLabel(boolean z) {
this.AudioAttributesImplApi21Parcelizer.setVisibility((this.ImmLeaksCleaner && getOnBackPressedDispatcherannotations() && hasFocus() && (z || !this.create)) ? 0 : 8);
}
private void getSavedStateRegistry() {
this.onStart.setVisibility((getOnBackPressedDispatcherannotations() && (this.AudioAttributesImplApi21Parcelizer.getVisibility() == 0 || this.MediaMetadataCompat.getVisibility() == 0)) ? 0 : 8);
}
private void onBackPressed() {
boolean isEmpty = TextUtils.isEmpty(this.MediaBrowserCompatCustomActionResultReceiver.getText());
this.setOptions.setVisibility(!isEmpty || (this.ParcelableVolumeInfo && !this.ComponentActivity2) ? 0 : 8);
Drawable drawable = this.setOptions.getDrawable();
if (drawable != null) {
drawable.setState(!isEmpty ? ViewGroup.ENABLED_STATE_SET : ViewGroup.EMPTY_STATE_SET);
}
}
private void onBackPressedDispatcherlambda1() {
post(this.setHasDecor);
}
void ComponentActivity4() {
int[] iArr = this.MediaBrowserCompatCustomActionResultReceiver.hasFocus() ? ViewGroup.FOCUSED_STATE_SET : ViewGroup.EMPTY_STATE_SET;
Drawable background = this.initializeViewTreeOwners.getBackground();
if (background != null) {
background.setState(iArr);
}
Drawable background2 = this.onStart.getBackground();
if (background2 != null) {
background2.setState(iArr);
}
invalidate();
}
@Override
protected void onDetachedFromWindow() {
removeCallbacks(this.setHasDecor);
post(this.onBackPressed);
super.onDetachedFromWindow();
}
protected void setFieldValue(@Nullable CharSequence charSequence) {
setOptions(charSequence);
}
boolean setError(View view, int i, KeyEvent keyEvent) {
if (this.AudioAttributesCompatParcelizer != null && this.MediaBrowserCompatSearchResultReceiver != null && keyEvent.getAction() == 0 && keyEvent.hasNoModifiers()) {
if (i == 66 || i == 84 || i == 61) {
return setOptions(this.MediaBrowserCompatCustomActionResultReceiver.getListSelection(), 0, (String) null);
}
if (i == 21 || i == 22) {
this.MediaBrowserCompatCustomActionResultReceiver.setSelection(i == 21 ? 0 : this.MediaBrowserCompatCustomActionResultReceiver.length());
this.MediaBrowserCompatCustomActionResultReceiver.setListSelection(0);
this.MediaBrowserCompatCustomActionResultReceiver.clearListSelection();
this.MediaBrowserCompatCustomActionResultReceiver.setFieldValue();
return true;
}
if (i == 19) {
this.MediaBrowserCompatCustomActionResultReceiver.getListSelection();
return false;
}
}
return false;
}
private CharSequence setError(CharSequence charSequence) {
if (!this.ParcelableVolumeInfo || this.onCreate == null) {
return charSequence;
}
int textSize = (int) (this.MediaBrowserCompatCustomActionResultReceiver.getTextSize() * 1.25d);
this.onCreate.setBounds(0, 0, textSize, textSize);
SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(" ");
spannableStringBuilder.setSpan(new ImageSpan(this.onCreate), 1, 2, 33);
spannableStringBuilder.append(charSequence);
return spannableStringBuilder;
}
private void onCreate() {
CharSequence RemoteActionCompatParcelizer = RemoteActionCompatParcelizer();
setElement setelement = this.MediaBrowserCompatCustomActionResultReceiver;
if (RemoteActionCompatParcelizer == null) {
RemoteActionCompatParcelizer = "";
}
setelement.setHint(setError(RemoteActionCompatParcelizer));
}
private void initializeViewTreeOwners() {
this.MediaBrowserCompatCustomActionResultReceiver.setThreshold(this.AudioAttributesCompatParcelizer.getSuggestThreshold());
this.MediaBrowserCompatCustomActionResultReceiver.setImeOptions(this.AudioAttributesCompatParcelizer.getImeOptions());
int inputType = this.AudioAttributesCompatParcelizer.getInputType();
if ((inputType & 15) == 1) {
inputType &= -65537;
if (this.AudioAttributesCompatParcelizer.getSuggestAuthority() != null) {
inputType |= 589824;
}
}
this.MediaBrowserCompatCustomActionResultReceiver.setInputType(inputType);
setUnboundedRippleResource setunboundedrippleresource = this.MediaBrowserCompatSearchResultReceiver;
if (setunboundedrippleresource != null) {
setunboundedrippleresource.setError((Cursor) null);
}
if (this.AudioAttributesCompatParcelizer.getSuggestAuthority() != null) {
ImageUtilCodecFailedException imageUtilCodecFailedException = new ImageUtilCodecFailedException(getContext(), this, this.AudioAttributesCompatParcelizer, this.getOnBackPressedDispatcherannotations);
this.MediaBrowserCompatSearchResultReceiver = imageUtilCodecFailedException;
this.MediaBrowserCompatCustomActionResultReceiver.setAdapter(imageUtilCodecFailedException);
this.MediaBrowserCompatSearchResultReceiver.setFieldValue(this.getSavedStateRegistry ? 2 : 1);
}
}
private void setFieldValue(boolean z) {
int i = 8;
if (this.create && !setContentView() && z) {
this.AudioAttributesImplApi21Parcelizer.setVisibility(8);
i = 0;
}
this.MediaMetadataCompat.setVisibility(i);
}
void setBackground(CharSequence charSequence) {
Editable text = this.MediaBrowserCompatCustomActionResultReceiver.getText();
this.getContext = text;
boolean isEmpty = TextUtils.isEmpty(text);
setLabel(!isEmpty);
setFieldValue(isEmpty);
onBackPressed();
getSavedStateRegistry();
if (this.getOnBackPressedDispatcher != null && !TextUtils.equals(charSequence, this.PlaybackStateCompat)) {
this.getOnBackPressedDispatcher.setBackground(charSequence.toString());
}
this.PlaybackStateCompat = charSequence.toString();
}
void r8lambdaqrzmfDOyDuplJFtpJLozn3P9EZI() {
Editable text = this.MediaBrowserCompatCustomActionResultReceiver.getText();
if (text == null || TextUtils.getTrimmedLength(text) <= 0) {
return;
}
setLabel setlabel = this.getOnBackPressedDispatcher;
if (setlabel == null || !setlabel.setFieldValue(text.toString())) {
if (this.AudioAttributesCompatParcelizer != null) {
setOptions(0, (String) null, text.toString());
}
this.MediaBrowserCompatCustomActionResultReceiver.setFieldValue(false);
ComponentActivity6();
}
}
private void ComponentActivity6() {
this.MediaBrowserCompatCustomActionResultReceiver.dismissDropDown();
}
void PlaybackStateCompatCustomAction() {
if (TextUtils.isEmpty(this.MediaBrowserCompatCustomActionResultReceiver.getText())) {
if (this.ParcelableVolumeInfo) {
setError seterror = this.ComponentActivity4;
if (seterror == null || !seterror.setFieldValue()) {
clearFocus();
setOptions(true);
return;
}
return;
}
return;
}
this.MediaBrowserCompatCustomActionResultReceiver.setText("");
this.MediaBrowserCompatCustomActionResultReceiver.requestFocus();
this.MediaBrowserCompatCustomActionResultReceiver.setFieldValue(true);
}
void PlaybackStateCompat() {
setOptions(false);
this.MediaBrowserCompatCustomActionResultReceiver.requestFocus();
this.MediaBrowserCompatCustomActionResultReceiver.setFieldValue(true);
View.OnClickListener onClickListener = this.getLifecycle;
if (onClickListener != null) {
onClickListener.onClick(this);
}
}
void getLifecycleRegistry() {
SearchableInfo searchableInfo = this.AudioAttributesCompatParcelizer;
if (searchableInfo == null) {
return;
}
try {
if (searchableInfo.getVoiceSearchLaunchWebSearch()) {
getContext().startActivity(setLabel(this.setNegativeButton, searchableInfo));
} else if (searchableInfo.getVoiceSearchLaunchRecognizer()) {
getContext().startActivity(setError(this.setPositiveButton, searchableInfo));
}
} catch (ActivityNotFoundException unused) {
Log.w(setError, "Could not find voice search activity");
}
}
void ComponentActivity3() {
setOptions(setContentView());
onBackPressedDispatcherlambda1();
if (this.MediaBrowserCompatCustomActionResultReceiver.hasFocus()) {
setFieldValue();
}
}
@Override
public void onWindowFocusChanged(boolean z) {
super.onWindowFocusChanged(z);
onBackPressedDispatcherlambda1();
}
@Override
public void setOptions() {
setQuery("", false);
clearFocus();
setOptions(true);
this.MediaBrowserCompatCustomActionResultReceiver.setImeOptions(this.MediaSessionCompatResultReceiverWrapper);
this.ComponentActivity2 = false;
}
@Override
public void setError() {
if (this.ComponentActivity2) {
return;
}
this.ComponentActivity2 = true;
int imeOptions = this.MediaBrowserCompatCustomActionResultReceiver.getImeOptions();
this.MediaSessionCompatResultReceiverWrapper = imeOptions;
this.MediaBrowserCompatCustomActionResultReceiver.setImeOptions(imeOptions | 33554432);
this.MediaBrowserCompatCustomActionResultReceiver.setText("");
setIconified(false);
}
@Override
protected Parcelable onSaveInstanceState() {
IconCompatParcelizer iconCompatParcelizer = new IconCompatParcelizer(super.onSaveInstanceState());
iconCompatParcelizer.setOptions = setContentView();
return iconCompatParcelizer;
}
@Override
protected void onRestoreInstanceState(Parcelable parcelable) {
if (!(parcelable instanceof IconCompatParcelizer)) {
super.onRestoreInstanceState(parcelable);
return;
}
IconCompatParcelizer iconCompatParcelizer = (IconCompatParcelizer) parcelable;
super.onRestoreInstanceState(iconCompatParcelizer.getSuperState());
setOptions(iconCompatParcelizer.setOptions);
requestLayout();
}
void setLabel() {
int i;
if (this.RatingCompat.getWidth() > 1) {
Resources resources = getContext().getResources();
int paddingLeft = this.initializeViewTreeOwners.getPaddingLeft();
Rect rect = new Rect();
boolean fieldValue = NegativeLatLongSavesIncorrectlyQuirk.setFieldValue(this);
int dimensionPixelSize = this.ParcelableVolumeInfo ? resources.getDimensionPixelSize(setLastBaselineToBottomHeight.setOptions.onSaveInstanceState) + resources.getDimensionPixelSize(setLastBaselineToBottomHeight.setOptions.initializeViewTreeOwners) : 0;
this.MediaBrowserCompatCustomActionResultReceiver.getDropDownBackground().getPadding(rect);
if (fieldValue) {
i = -rect.left;
} else {
i = paddingLeft - (rect.left + dimensionPixelSize);
}
this.MediaBrowserCompatCustomActionResultReceiver.setDropDownHorizontalOffset(i);
this.MediaBrowserCompatCustomActionResultReceiver.setDropDownWidth((((this.RatingCompat.getWidth() + rect.left) + rect.right) + dimensionPixelSize) - paddingLeft);
}
}
boolean setOptions(int i, int i2, String str) {
setBackground setbackground = this.onBackPressedDispatcherlambda1;
if (setbackground != null && setbackground.setLabel(i)) {
return false;
}
setLabel(i, 0, null);
this.MediaBrowserCompatCustomActionResultReceiver.setFieldValue(false);
ComponentActivity6();
return true;
}
boolean setError(int i) {
setBackground setbackground = this.onBackPressedDispatcherlambda1;
if (setbackground != null && setbackground.setBackground(i)) {
return false;
}
setBackground(i);
return true;
}
private void setBackground(int i) {
Editable text = this.MediaBrowserCompatCustomActionResultReceiver.getText();
Cursor label = this.MediaBrowserCompatSearchResultReceiver.setLabel();
if (label == null) {
return;
}
if (label.moveToPosition(i)) {
CharSequence fieldValue = this.MediaBrowserCompatSearchResultReceiver.setFieldValue(label);
if (fieldValue != null) {
setOptions(fieldValue);
return;
} else {
setOptions(text);
return;
}
}
setOptions(text);
}
private boolean setLabel(int i, int i2, String str) {
Cursor label = this.MediaBrowserCompatSearchResultReceiver.setLabel();
if (label == null || !label.moveToPosition(i)) {
return false;
}
setFieldValue(setOptions(label, i2, str));
return true;
}
private void setFieldValue(Intent intent) {
if (intent == null) {
return;
}
try {
getContext().startActivity(intent);
} catch (RuntimeException e) {
Log.e(setError, "Failed launch activity: " + intent, e);
}
}
private void setOptions(CharSequence charSequence) {
this.MediaBrowserCompatCustomActionResultReceiver.setText(charSequence);
this.MediaBrowserCompatCustomActionResultReceiver.setSelection(TextUtils.isEmpty(charSequence) ? 0 : charSequence.length());
}
void setOptions(int i, String str, String str2) {
getContext().startActivity(setBackground("android.intent.action.SEARCH", null, null, str2, i, str));
}
private Intent setBackground(String str, Uri uri, String str2, String str3, int i, String str4) {
Intent intent = new Intent(str);
intent.addFlags(268435456);
if (uri != null) {
intent.setData(uri);
}
intent.putExtra("user_query", this.getContext);
if (str3 != null) {
intent.putExtra("query", str3);
}
if (str2 != null) {
intent.putExtra("intent_extra_data_key", str2);
}
Bundle bundle = this.MediaBrowserCompatItemReceiver;
if (bundle != null) {
intent.putExtra("app_data", bundle);
}
if (i != 0) {
intent.putExtra("action_key", i);
intent.putExtra("action_msg", str4);
}
intent.setComponent(this.AudioAttributesCompatParcelizer.getSearchActivity());
return intent;
}
private Intent setLabel(Intent intent, SearchableInfo searchableInfo) {
Intent intent2 = new Intent(intent);
ComponentName searchActivity = searchableInfo.getSearchActivity();
intent2.putExtra("calling_package", searchActivity == null ? null : searchActivity.flattenToShortString());
return intent2;
}
private Intent setError(Intent intent, SearchableInfo searchableInfo) {
String str;
ComponentName searchActivity = searchableInfo.getSearchActivity();
Intent intent2 = new Intent("android.intent.action.SEARCH");
intent2.setComponent(searchActivity);
PendingIntent activity = PendingIntent.getActivity(getContext(), 0, intent2, 1107296256);
Bundle bundle = new Bundle();
Bundle bundle2 = this.MediaBrowserCompatItemReceiver;
if (bundle2 != null) {
bundle.putParcelable("app_data", bundle2);
}
Intent intent3 = new Intent(intent);
Resources resources = getResources();
if (searchableInfo.getVoiceLanguageModeId() == 0) {
str = "free_form";
} else {
str = resources.getString(searchableInfo.getVoiceLanguageModeId());
}
String string = searchableInfo.getVoicePromptTextId() != 0 ? resources.getString(searchableInfo.getVoicePromptTextId()) : null;
String string2 = searchableInfo.getVoiceLanguageId() != 0 ? resources.getString(searchableInfo.getVoiceLanguageId()) : null;
int voiceMaxResults = searchableInfo.getVoiceMaxResults() != 0 ? searchableInfo.getVoiceMaxResults() : 1;
intent3.putExtra("android.speech.extra.LANGUAGE_MODEL", str);
intent3.putExtra("android.speech.extra.PROMPT", string);
intent3.putExtra("android.speech.extra.LANGUAGE", string2);
intent3.putExtra("android.speech.extra.MAX_RESULTS", voiceMaxResults);
intent3.putExtra("calling_package", searchActivity != null ? searchActivity.flattenToShortString() : null);
intent3.putExtra("android.speech.extra.RESULTS_PENDINGINTENT", activity);
intent3.putExtra("android.speech.extra.RESULTS_PENDINGINTENT_BUNDLE", bundle);
return intent3;
}
private Intent setOptions(Cursor cursor, int i, String str) {
int i2;
String fieldValue;
try {
String fieldValue2 = ImageUtilCodecFailedException.setFieldValue(cursor, "suggest_intent_action");
if (fieldValue2 == null) {
fieldValue2 = this.AudioAttributesCompatParcelizer.getSuggestIntentAction();
}
if (fieldValue2 == null) {
fieldValue2 = "android.intent.action.SEARCH";
}
String str2 = fieldValue2;
String fieldValue3 = ImageUtilCodecFailedException.setFieldValue(cursor, "suggest_intent_data");
if (fieldValue3 == null) {
fieldValue3 = this.AudioAttributesCompatParcelizer.getSuggestIntentData();
}
if (fieldValue3 != null && (fieldValue = ImageUtilCodecFailedException.setFieldValue(cursor, "suggest_intent_data_id")) != null) {
fieldValue3 = fieldValue3 + "/" + Uri.encode(fieldValue);
}
return setBackground(str2, fieldValue3 == null ? null : Uri.parse(fieldValue3), ImageUtilCodecFailedException.setFieldValue(cursor, "suggest_intent_extra_data"), ImageUtilCodecFailedException.setFieldValue(cursor, "suggest_intent_query"), i, str);
} catch (RuntimeException e) {
try {
i2 = cursor.getPosition();
} catch (RuntimeException unused) {
i2 = -1;
}
Log.w(setError, "Search suggestions cursor at row " + i2 + " returned exception.", e);
return null;
}
}
void setFieldValue() {
if (Build.VERSION.SDK_INT >= 29) {
setFieldValue.setError(this.MediaBrowserCompatCustomActionResultReceiver);
return;
}
setOptions setoptions = setLabel;
setoptions.setFieldValue(this.MediaBrowserCompatCustomActionResultReceiver);
setoptions.setOptions(this.MediaBrowserCompatCustomActionResultReceiver);
}
static boolean setOptions(Context context) {
return context.getResources().getConfiguration().orientation == 2;
}
public static class setElement extends setTitleMarginEnd {
private LowMemoryQuirk setBackground;
final Runnable setError;
private int setFieldValue;
private boolean setLabel;
@Override
public void performCompletion() {
}
@Override
protected void replaceText(CharSequence charSequence) {
}
public setElement(Context context) {
this(context, null);
}
public setElement(Context context, AttributeSet attributeSet) {
this(context, attributeSet, setLastBaselineToBottomHeight.setLabel.getSavedStateRegistry);
}
public setElement(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
this.setError = new Runnable() {
@Override
public void run() {
setElement.this.setElement();
}
};
this.setFieldValue = getThreshold();
}
@Override
protected void onFinishInflate() {
super.onFinishInflate();
setMinWidth((int) TypedValue.applyDimension(1, RemoteActionCompatParcelizer(), getResources().getDisplayMetrics()));
}
void setLabel(LowMemoryQuirk lowMemoryQuirk) {
this.setBackground = lowMemoryQuirk;
}
@Override
public void setThreshold(int i) {
super.setThreshold(i);
this.setFieldValue = i;
}
boolean setError() {
return TextUtils.getTrimmedLength(getText()) == 0;
}
@Override
public void onWindowFocusChanged(boolean z) {
super.onWindowFocusChanged(z);
if (z && this.setBackground.hasFocus() && getVisibility() == 0) {
this.setLabel = true;
if (LowMemoryQuirk.setOptions(getContext())) {
setFieldValue();
}
}
}
@Override
protected void onFocusChanged(boolean z, int i, Rect rect) {
super.onFocusChanged(z, i, rect);
this.setBackground.ComponentActivity3();
}
@Override
public boolean enoughToFilter() {
return this.setFieldValue <= 0 || super.enoughToFilter();
}
@Override
public boolean onKeyPreIme(int i, KeyEvent keyEvent) {
if (i == 4) {
if (keyEvent.getAction() == 0 && keyEvent.getRepeatCount() == 0) {
KeyEvent.DispatcherState keyDispatcherState = getKeyDispatcherState();
if (keyDispatcherState != null) {
keyDispatcherState.startTracking(keyEvent, this);
}
return true;
}
if (keyEvent.getAction() == 1) {
KeyEvent.DispatcherState keyDispatcherState2 = getKeyDispatcherState();
if (keyDispatcherState2 != null) {
keyDispatcherState2.handleUpEvent(keyEvent);
}
if (keyEvent.isTracking() && !keyEvent.isCanceled()) {
this.setBackground.clearFocus();
setFieldValue(false);
return true;
}
}
}
return super.onKeyPreIme(i, keyEvent);
}
private int RemoteActionCompatParcelizer() {
Configuration configuration = getResources().getConfiguration();
int i = configuration.screenWidthDp;
int i2 = configuration.screenHeightDp;
if (i >= 960 && i2 >= 720 && configuration.orientation == 2) {
return 256;
}
if (i < 600) {
return (i < 640 || i2 < 480) ? 160 : 192;
}
return 192;
}
@Override
public InputConnection onCreateInputConnection(EditorInfo editorInfo) {
InputConnection onCreateInputConnection = super.onCreateInputConnection(editorInfo);
if (this.setLabel) {
removeCallbacks(this.setError);
post(this.setError);
}
return onCreateInputConnection;
}
void setElement() {
if (this.setLabel) {
((InputMethodManager) getContext().getSystemService("input_method")).showSoftInput(this, 0);
this.setLabel = false;
}
}
void setFieldValue(boolean z) {
InputMethodManager inputMethodManager = (InputMethodManager) getContext().getSystemService("input_method");
if (!z) {
this.setLabel = false;
removeCallbacks(this.setError);
inputMethodManager.hideSoftInputFromWindow(getWindowToken(), 0);
} else {
if (inputMethodManager.isActive(this)) {
this.setLabel = false;
removeCallbacks(this.setError);
inputMethodManager.showSoftInput(this, 0);
return;
}
this.setLabel = true;
}
}
void setFieldValue() {
if (Build.VERSION.SDK_INT >= 29) {
setFieldValue.setLabel(this, 1);
if (enoughToFilter()) {
showDropDown();
return;
}
return;
}
LowMemoryQuirk.setLabel.setLabel(this);
}
}
static class setOptions {
private Method setError;
private Method setLabel;
private Method setOptions;
setOptions() {
this.setError = null;
this.setOptions = null;
this.setLabel = null;
setError();
try {
Method declaredMethod = AutoCompleteTextView.class.getDeclaredMethod("doBeforeTextChanged", null);
this.setError = declaredMethod;
declaredMethod.setAccessible(true);
} catch (NoSuchMethodException unused) {
}
try {
Method declaredMethod2 = AutoCompleteTextView.class.getDeclaredMethod("doAfterTextChanged", null);
this.setOptions = declaredMethod2;
declaredMethod2.setAccessible(true);
} catch (NoSuchMethodException unused2) {
}
try {
Method method = AutoCompleteTextView.class.getMethod("ensureImeVisible", Boolean.TYPE);
this.setLabel = method;
method.setAccessible(true);
} catch (NoSuchMethodException unused3) {
}
}
void setFieldValue(AutoCompleteTextView autoCompleteTextView) {
setError();
Method method = this.setError;
if (method != null) {
try {
method.invoke(autoCompleteTextView, null);
} catch (Exception unused) {
}
}
}
void setOptions(AutoCompleteTextView autoCompleteTextView) {
setError();
Method method = this.setOptions;
if (method != null) {
try {
method.invoke(autoCompleteTextView, null);
} catch (Exception unused) {
}
}
}
void setLabel(AutoCompleteTextView autoCompleteTextView) {
setError();
Method method = this.setLabel;
if (method != null) {
try {
method.invoke(autoCompleteTextView, Boolean.TRUE);
} catch (Exception unused) {
}
}
}
private static void setError() {
if (Build.VERSION.SDK_INT >= 29) {
throw new UnsupportedClassVersionError("This function can only be used for API Level < 29.");
}
}
}
}