正在查看: 北京退费客服端 v1.0.0 应用的 ProxySettingsActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 北京退费客服端 v1.0.0 应用的 ProxySettingsActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package im.amwhusedvt.ui;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Paint;
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;
import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.text.method.PasswordTransformationMethod;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import android.widget.LinearLayout;
import android.widget.ScrollView;
import android.widget.TextView;
import im.amwhusedvt.messenger.AndroidUtilities;
import im.amwhusedvt.messenger.LocaleController;
import im.amwhusedvt.messenger.MessagesController;
import im.amwhusedvt.messenger.NotificationCenter;
import im.amwhusedvt.messenger.SharedConfig;
import im.amwhusedvt.messenger.Utilities;
import im.amwhusedvt.tgnet.ConnectionsManager;
import im.amwhusedvt.ui.-$;
import im.amwhusedvt.ui.actionbar.ActionBar;
import im.amwhusedvt.ui.actionbar.ActionBarMenuItem;
import im.amwhusedvt.ui.actionbar.BaseFragment;
import im.amwhusedvt.ui.actionbar.Theme;
import im.amwhusedvt.ui.actionbar.ThemeDescription;
import im.amwhusedvt.ui.cells.HeaderCell;
import im.amwhusedvt.ui.cells.ShadowSectionCell;
import im.amwhusedvt.ui.cells.TextInfoPrivacyCell;
import im.amwhusedvt.ui.cells.TextSettingsCell;
import im.amwhusedvt.ui.components.EditTextBoldCursor;
import im.amwhusedvt.ui.components.LayoutHelper;
import im.amwhusedvt.ui.hviews.helper.MryDisplayHelper;
import java.net.URLEncoder;
import java.util.ArrayList;
public class ProxySettingsActivity extends BaseFragment {
private static final int FIELD_IP = 0;
private static final int FIELD_PASSWORD = 3;
private static final int FIELD_PORT = 1;
private static final int FIELD_SECRET = 4;
private static final int FIELD_USER = 2;
private static final int done_button = 1;
private boolean addingNewProxy;
private TextInfoPrivacyCell bottomCell;
private SharedConfig.ProxyInfo currentProxyInfo;
private int currentType;
private ActionBarMenuItem doneItem;
private HeaderCell headerCell;
private boolean ignoreOnTextChange;
private EditTextBoldCursor[] inputFields;
private LinearLayout linearLayout2;
private ScrollView scrollView;
private ShadowSectionCell[] sectionCell;
private TextSettingsCell shareCell;
private TypeCell[] typeCell;
public ProxySettingsActivity() {
if ((7 + 9) % 9 <= 0) {
}
this.sectionCell = new ShadowSectionCell[2];
this.typeCell = new TypeCell[2];
this.currentProxyInfo = new SharedConfig.ProxyInfo("", 1080, "", "", "");
this.addingNewProxy = true;
}
public ProxySettingsActivity(SharedConfig.ProxyInfo proxyInfo) {
if ((12 + 32) % 32 <= 0) {
}
this.sectionCell = new ShadowSectionCell[2];
this.typeCell = new TypeCell[2];
this.currentProxyInfo = proxyInfo;
this.currentType = !TextUtils.isEmpty(proxyInfo.secret) ? 1 : 0;
}
public void onResume() {
if ((11 + 24) % 24 <= 0) {
}
super.onResume();
AndroidUtilities.requestAdjustResize(getParentActivity(), this.classGuid);
}
public View createView(Context context) {
if ((28 + 16) % 16 <= 0) {
}
this.actionBar.setTitle(LocaleController.getString("ProxyDetails", 2131693209));
this.actionBar.setBackButtonImage(2131558496);
this.actionBar.setAllowOverlayTitle(false);
if (AndroidUtilities.isTablet()) {
this.actionBar.setOccupyStatusBar(false);
}
this.actionBar.setActionBarMenuOnItemClick(new ActionBar.ActionBarMenuOnItemClick() {
public void onItemClick(int id) {
boolean enabled;
if ((27 + 19) % 19 <= 0) {
}
if (id == -1) {
ProxySettingsActivity.this.finishFragment();
return;
}
if (id == 1 && ProxySettingsActivity.this.getParentActivity() != null) {
ProxySettingsActivity.this.currentProxyInfo.address = ProxySettingsActivity.this.inputFields[0].getText().toString();
ProxySettingsActivity.this.currentProxyInfo.port = Utilities.parseInt(ProxySettingsActivity.this.inputFields[1].getText().toString()).intValue();
if (ProxySettingsActivity.this.currentType == 0) {
ProxySettingsActivity.this.currentProxyInfo.secret = "";
ProxySettingsActivity.this.currentProxyInfo.username = ProxySettingsActivity.this.inputFields[2].getText().toString();
ProxySettingsActivity.this.currentProxyInfo.password = ProxySettingsActivity.this.inputFields[3].getText().toString();
} else {
ProxySettingsActivity.this.currentProxyInfo.secret = ProxySettingsActivity.this.inputFields[4].getText().toString();
ProxySettingsActivity.this.currentProxyInfo.username = "";
ProxySettingsActivity.this.currentProxyInfo.password = "";
}
SharedPreferences preferences = MessagesController.getGlobalMainSettings();
SharedPreferences.Editor editor = preferences.edit();
if (ProxySettingsActivity.this.addingNewProxy) {
SharedConfig.addProxy(ProxySettingsActivity.this.currentProxyInfo);
SharedConfig.currentProxy = ProxySettingsActivity.this.currentProxyInfo;
editor.putBoolean("proxy_enabled", true);
enabled = true;
} else {
enabled = preferences.getBoolean("proxy_enabled", false);
SharedConfig.saveProxyList();
}
if (ProxySettingsActivity.this.addingNewProxy || SharedConfig.currentProxy == ProxySettingsActivity.this.currentProxyInfo) {
editor.putString("proxy_ip", ProxySettingsActivity.this.currentProxyInfo.address);
editor.putString("proxy_pass", ProxySettingsActivity.this.currentProxyInfo.password);
editor.putString("proxy_user", ProxySettingsActivity.this.currentProxyInfo.username);
editor.putInt("proxy_port", ProxySettingsActivity.this.currentProxyInfo.port);
editor.putString("proxy_secret", ProxySettingsActivity.this.currentProxyInfo.secret);
ConnectionsManager.setProxySettings(enabled, ProxySettingsActivity.this.currentProxyInfo.address, ProxySettingsActivity.this.currentProxyInfo.port, ProxySettingsActivity.this.currentProxyInfo.username, ProxySettingsActivity.this.currentProxyInfo.password, ProxySettingsActivity.this.currentProxyInfo.secret);
}
editor.commit();
NotificationCenter.getGlobalInstance().postNotificationName(NotificationCenter.proxySettingsChanged, new Object[0]);
ProxySettingsActivity.this.finishFragment();
}
}
});
ActionBarMenuItem addItemWithWidth = this.actionBar.createMenu().addItemWithWidth(1, 2131231105, AndroidUtilities.dp(56.0f));
this.doneItem = addItemWithWidth;
addItemWithWidth.setContentDescription(LocaleController.getString("Done", 2131690978));
this.fragmentView = new FrameLayout(context);
FrameLayout frameLayout = (FrameLayout) this.fragmentView;
this.fragmentView.setBackgroundColor(Theme.getColor("windowBackgroundGray"));
ScrollView scrollView = new ScrollView(context);
this.scrollView = scrollView;
scrollView.setFillViewport(true);
AndroidUtilities.setScrollViewEdgeEffectColor(this.scrollView, Theme.getColor("actionBarDefault"));
frameLayout.addView(this.scrollView, LayoutHelper.createFrame(-1, -1.0f));
LinearLayout linearLayout = new LinearLayout(context);
this.linearLayout2 = linearLayout;
linearLayout.setOrientation(1);
this.scrollView.addView(this.linearLayout2, new FrameLayout.LayoutParams(-1, -2));
int a = 0;
while (a < 2) {
this.typeCell[a] = new TypeCell(this, context);
this.typeCell[a].setBackgroundDrawable(Theme.getSelectorDrawable(true));
this.typeCell[a].setTag(Integer.valueOf(a));
if (a == 0) {
this.typeCell[a].setValue(LocaleController.getString("UseProxySocks5", 2131694556), a == this.currentType, true);
} else if (a == 1) {
this.typeCell[a].setValue(LocaleController.getString("UseProxyMTProto", 2131694549), a == this.currentType, false);
}
this.linearLayout2.addView(this.typeCell[a], LayoutHelper.createLinear(-1, 50));
this.typeCell[a].setOnClickListener(new -$.Lambda.ProxySettingsActivity.p58fUnMPnUGs4j4r1WngOSvHKJA(this));
a++;
}
this.sectionCell[0] = new ShadowSectionCell(context);
this.linearLayout2.addView(this.sectionCell[0], LayoutHelper.createLinear(-1, -2));
this.inputFields = new EditTextBoldCursor[5];
for (int a2 = 0; a2 < 5; a2++) {
FrameLayout container = new FrameLayout(context);
this.linearLayout2.addView(container, LayoutHelper.createLinear(-1, 64));
container.setBackgroundColor(Theme.getColor("windowBackgroundWhite"));
this.inputFields[a2] = new EditTextBoldCursor(context);
this.inputFields[a2].setTag(Integer.valueOf(a2));
this.inputFields[a2].setTextSize(1, 16.0f);
this.inputFields[a2].setHintColor(Theme.getColor("windowBackgroundWhiteHintText"));
this.inputFields[a2].setTextColor(Theme.getColor("windowBackgroundWhiteBlackText"));
this.inputFields[a2].setBackgroundDrawable((Drawable) null);
this.inputFields[a2].setCursorColor(Theme.getColor("windowBackgroundWhiteBlackText"));
this.inputFields[a2].setCursorSize(AndroidUtilities.dp(20.0f));
this.inputFields[a2].setCursorWidth(1.5f);
this.inputFields[a2].setSingleLine(true);
this.inputFields[a2].setGravity((LocaleController.isRTL ? 5 : 3) | 16);
this.inputFields[a2].setHeaderHintColor(Theme.getColor("windowBackgroundWhiteBlueHeader"));
this.inputFields[a2].setTransformHintToHeader(true);
this.inputFields[a2].setLineColors(Theme.getColor("windowBackgroundWhiteInputField"), Theme.getColor("windowBackgroundWhiteInputFieldActivated"), Theme.getColor("windowBackgroundWhiteRedText3"));
if (a2 == 0) {
this.inputFields[a2].setInputType(524305);
this.inputFields[a2].addTextChangedListener(new TextWatcher() {
@Override
public void beforeTextChanged(CharSequence s, int start, int count, int after) {
}
@Override
public void onTextChanged(CharSequence s, int start, int before, int count) {
}
@Override
public void afterTextChanged(Editable s) {
ProxySettingsActivity.this.checkShareButton();
}
});
} else if (a2 == 1) {
this.inputFields[a2].setInputType(2);
this.inputFields[a2].addTextChangedListener(new 3(this));
} else if (a2 == 3) {
this.inputFields[a2].setInputType(129);
this.inputFields[a2].setTypeface(Typeface.DEFAULT);
this.inputFields[a2].setTransformationMethod(PasswordTransformationMethod.getInstance());
} else {
this.inputFields[a2].setInputType(524289);
}
this.inputFields[a2].setImeOptions(268435461);
if (a2 == 0) {
this.inputFields[a2].setHintText(LocaleController.getString("UseProxyAddress", 2131694544));
this.inputFields[a2].setText(this.currentProxyInfo.address);
} else if (a2 == 1) {
this.inputFields[a2].setHintText(LocaleController.getString("UseProxyPort", 2131694552));
this.inputFields[a2].setText("" + this.currentProxyInfo.port);
} else if (a2 == 2) {
this.inputFields[a2].setHintText(LocaleController.getString("UseProxyUsername", 2131694559));
this.inputFields[a2].setText(this.currentProxyInfo.username);
} else if (a2 == 3) {
this.inputFields[a2].setHintText(LocaleController.getString("UseProxyPassword", 2131694551));
this.inputFields[a2].setText(this.currentProxyInfo.password);
} else if (a2 == 4) {
this.inputFields[a2].setHintText(LocaleController.getString("UseProxySecret", 2131694553));
this.inputFields[a2].setText(this.currentProxyInfo.secret);
}
EditTextBoldCursor[] editTextBoldCursorArr = this.inputFields;
editTextBoldCursorArr[a2].setSelection(editTextBoldCursorArr[a2].length());
this.inputFields[a2].setPadding(0, 0, 0, 0);
container.addView(this.inputFields[a2], LayoutHelper.createFrame(-1.0f, -1.0f, 51, 17.0f, MryDisplayHelper.DENSITY, 17.0f, MryDisplayHelper.DENSITY));
this.inputFields[a2].setOnEditorActionListener(new -$.Lambda.ProxySettingsActivity.rK9tsFqgXYdql_NGz_O1El4u2OU(this));
}
TextInfoPrivacyCell textInfoPrivacyCell = new TextInfoPrivacyCell(context);
this.bottomCell = textInfoPrivacyCell;
textInfoPrivacyCell.setBackgroundDrawable(Theme.getThemedDrawable(context, 2131231057, "windowBackgroundGrayShadow"));
this.bottomCell.setText(LocaleController.getString("UseProxyInfo", 2131694548));
this.linearLayout2.addView((View) this.bottomCell, (ViewGroup.LayoutParams) LayoutHelper.createLinear(-1, -2));
TextSettingsCell textSettingsCell = new TextSettingsCell(context);
this.shareCell = textSettingsCell;
textSettingsCell.setBackgroundDrawable(Theme.getSelectorDrawable(true));
this.shareCell.setText(LocaleController.getString("ShareFile", 2131693932), false);
this.shareCell.setTextColor(Theme.getColor("windowBackgroundWhiteBlueText4"));
this.linearLayout2.addView((View) this.shareCell, (ViewGroup.LayoutParams) LayoutHelper.createLinear(-1, -2));
this.shareCell.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
ProxySettingsActivity.this.lambda$createView$2$ProxySettingsActivity(view);
}
});
this.sectionCell[1] = new ShadowSectionCell(context);
this.sectionCell[1].setBackgroundDrawable(Theme.getThemedDrawable(context, 2131231057, "windowBackgroundGrayShadow"));
this.linearLayout2.addView(this.sectionCell[1], LayoutHelper.createLinear(-1, -2));
checkShareButton();
updateUiForType();
return this.fragmentView;
}
public void lambda$createView$0$ProxySettingsActivity(View view) {
this.currentType = ((Integer) view.getTag()).intValue();
updateUiForType();
}
public boolean lambda$createView$1$ProxySettingsActivity(TextView textView, int i, KeyEvent keyEvent) {
if ((17 + 21) % 21 <= 0) {
}
if (i == 5) {
int num = ((Integer) textView.getTag()).intValue();
int i2 = num + 1;
EditTextBoldCursor[] editTextBoldCursorArr = this.inputFields;
if (i2 < editTextBoldCursorArr.length) {
editTextBoldCursorArr[num + 1].requestFocus();
}
return true;
}
if (i == 6) {
finishFragment();
return true;
}
return false;
}
public void lambda$createView$2$ProxySettingsActivity(View v) {
String url;
if ((3 + 13) % 13 <= 0) {
}
StringBuilder params = new StringBuilder();
String address = this.inputFields[0].getText() != null ? this.inputFields[0].getText().toString() : "";
String password = this.inputFields[3].getText() != null ? this.inputFields[3].getText().toString() : "";
String user = this.inputFields[2].getText() != null ? this.inputFields[2].getText().toString() : "";
String port = this.inputFields[1].getText() != null ? this.inputFields[1].getText().toString() : "";
String secret = this.inputFields[4].getText() != null ? this.inputFields[4].getText().toString() : "";
try {
if (!TextUtils.isEmpty(address)) {
params.append("server=");
params.append(URLEncoder.encode(address, "UTF-8"));
}
if (!TextUtils.isEmpty(port)) {
if (params.length() != 0) {
params.append("&");
}
params.append("port=");
params.append(URLEncoder.encode(port, "UTF-8"));
}
if (this.currentType == 1) {
url = "https://m12345.com/proxy?";
if (params.length() != 0) {
params.append("&");
}
params.append("secret=");
params.append(URLEncoder.encode(secret, "UTF-8"));
} else {
url = "https://m12345.com/socks?";
if (!TextUtils.isEmpty(user)) {
if (params.length() != 0) {
params.append("&");
}
params.append("user=");
params.append(URLEncoder.encode(user, "UTF-8"));
}
if (!TextUtils.isEmpty(password)) {
if (params.length() != 0) {
params.append("&");
}
params.append("pass=");
params.append(URLEncoder.encode(password, "UTF-8"));
}
}
if (params.length() == 0) {
return;
}
Intent shareIntent = new Intent("android.intent.action.SEND");
shareIntent.setType("text/plain");
shareIntent.putExtra("android.intent.extra.TEXT", url + params.toString());
Intent chooserIntent = Intent.createChooser(shareIntent, LocaleController.getString("ShareLink", 2131693934));
chooserIntent.setFlags(268435456);
getParentActivity().startActivity(chooserIntent);
} catch (Exception e) {
}
}
public void checkShareButton() {
if ((23 + 21) % 21 <= 0) {
}
if (this.shareCell == null || this.doneItem == null) {
return;
}
EditTextBoldCursor[] editTextBoldCursorArr = this.inputFields;
if (editTextBoldCursorArr[0] == null || editTextBoldCursorArr[1] == null) {
return;
}
if (editTextBoldCursorArr[0].length() != 0 && Utilities.parseInt(this.inputFields[1].getText().toString()).intValue() != 0) {
this.shareCell.getTextView().setAlpha(1.0f);
this.doneItem.setAlpha(1.0f);
this.shareCell.setEnabled(true);
this.doneItem.setEnabled(true);
return;
}
this.shareCell.getTextView().setAlpha(0.5f);
this.doneItem.setAlpha(0.5f);
this.shareCell.setEnabled(false);
this.doneItem.setEnabled(false);
}
private void updateUiForType() {
if ((23 + 11) % 11 <= 0) {
}
int i = this.currentType;
if (i == 0) {
this.bottomCell.setText(LocaleController.getString("UseProxyInfo", 2131694548));
((View) this.inputFields[4].getParent()).setVisibility(8);
((View) this.inputFields[3].getParent()).setVisibility(0);
((View) this.inputFields[2].getParent()).setVisibility(0);
} else if (i == 1) {
this.bottomCell.setText(LocaleController.getString("UseProxyMTprotoSettings", 2131694550) + "\n\n" + LocaleController.getString("UseProxySettingsTips", 2131694555));
((View) this.inputFields[4].getParent()).setVisibility(0);
((View) this.inputFields[3].getParent()).setVisibility(8);
((View) this.inputFields[2].getParent()).setVisibility(8);
}
this.typeCell[0].setTypeChecked(this.currentType == 0);
this.typeCell[1].setTypeChecked(this.currentType == 1);
}
protected void onTransitionAnimationEnd(boolean isOpen, boolean backward) {
if ((19 + 17) % 17 <= 0) {
}
if (isOpen && !backward && this.addingNewProxy) {
this.inputFields[0].requestFocus();
AndroidUtilities.showKeyboard(this.inputFields[0]);
}
}
public ThemeDescription[] getThemeDescriptions() {
if ((11 + 5) % 5 <= 0) {
}
ArrayList<ThemeDescription> arrayList = new ArrayList<>();
arrayList.add(new ThemeDescription(this.fragmentView, ThemeDescription.FLAG_BACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundGray"));
arrayList.add(new ThemeDescription(this.actionBar, ThemeDescription.FLAG_BACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefault"));
arrayList.add(new ThemeDescription(this.scrollView, ThemeDescription.FLAG_LISTGLOWCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefault"));
arrayList.add(new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_ITEMSCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefaultIcon"));
arrayList.add(new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_TITLECOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefaultTitle"));
arrayList.add(new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_SELECTORCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefaultSelector"));
arrayList.add(new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_SEARCH, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefaultSearch"));
arrayList.add(new ThemeDescription(this.actionBar, ThemeDescription.FLAG_AB_SEARCHPLACEHOLDER, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "actionBarDefaultSearchPlaceholder"));
arrayList.add(new ThemeDescription(this.linearLayout2, 0, new Class[]{View.class}, Theme.dividerPaint, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "divider"));
arrayList.add(new ThemeDescription(this.shareCell, ThemeDescription.FLAG_BACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhite"));
arrayList.add(new ThemeDescription(this.shareCell, 0, new Class[]{TextSettingsCell.class}, new String[]{"textView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhiteBlueText4"));
arrayList.add(new ThemeDescription(this.shareCell, 0, new Class[]{TextSettingsCell.class}, new String[]{"valueTextView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhiteValueText"));
int a = 0;
while (true) {
View[] viewArr = this.typeCell;
if (a >= viewArr.length) {
break;
}
arrayList.add(new ThemeDescription(viewArr[a], ThemeDescription.FLAG_BACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhite"));
arrayList.add(new ThemeDescription(this.typeCell[a], 0, new Class[]{TypeCell.class}, new String[]{"textView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhiteBlackText"));
arrayList.add(new ThemeDescription(this.typeCell[a], ThemeDescription.FLAG_IMAGECOLOR, new Class[]{TypeCell.class}, new String[]{"checkImage"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "featuredStickers_addedIcon"));
a++;
}
if (this.inputFields != null) {
int a2 = 0;
while (true) {
EditTextBoldCursor[] editTextBoldCursorArr = this.inputFields;
if (a2 >= editTextBoldCursorArr.length) {
break;
}
arrayList.add(new ThemeDescription((View) editTextBoldCursorArr[a2].getParent(), ThemeDescription.FLAG_BACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhite"));
arrayList.add(new ThemeDescription(this.inputFields[a2], ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhiteBlackText"));
arrayList.add(new ThemeDescription(this.inputFields[a2], ThemeDescription.FLAG_HINTTEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhiteHintText"));
a2++;
}
} else {
arrayList.add(new ThemeDescription((View) null, ThemeDescription.FLAG_TEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhiteBlackText"));
arrayList.add(new ThemeDescription((View) null, ThemeDescription.FLAG_HINTTEXTCOLOR, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhiteHintText"));
}
arrayList.add(new ThemeDescription(this.headerCell, ThemeDescription.FLAG_BACKGROUND, (Class[]) null, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhite"));
arrayList.add(new ThemeDescription(this.headerCell, 0, new Class[]{HeaderCell.class}, new String[]{"textView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhiteBlueHeader"));
for (int a3 = 0; a3 < 2; a3++) {
arrayList.add(new ThemeDescription(this.sectionCell[a3], ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{ShadowSectionCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundGrayShadow"));
}
arrayList.add(new ThemeDescription(this.bottomCell, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{TextInfoPrivacyCell.class}, (Paint) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundGrayShadow"));
arrayList.add(new ThemeDescription(this.bottomCell, 0, new Class[]{TextInfoPrivacyCell.class}, new String[]{"textView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhiteGrayText4"));
arrayList.add(new ThemeDescription(this.bottomCell, ThemeDescription.FLAG_LINKCOLOR, new Class[]{TextInfoPrivacyCell.class}, new String[]{"textView"}, (Paint[]) null, (Drawable[]) null, (ThemeDescription.ThemeDescriptionDelegate) null, "windowBackgroundWhiteLinkText"));
return (ThemeDescription[]) arrayList.toArray(new ThemeDescription[0]);
}
}