导航菜单

页面标题

页面副标题

Vesuvius v228 - pagesettings.java 源代码

正在查看: Vesuvius v228 应用的 pagesettings.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.volcanex.vesuvius;

import android.graphics.drawable.Drawable;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import anywheresoftware.b4a.AbsObjectWrapper;
import anywheresoftware.b4a.B4AClass;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.keywords.B4AApplication;
import anywheresoftware.b4a.keywords.Common;
import anywheresoftware.b4a.keywords.DateTime;
import anywheresoftware.b4a.objects.B4XViewWrapper;
import anywheresoftware.b4a.objects.BillingClientWrapper;
import anywheresoftware.b4a.objects.LabelWrapper;
import anywheresoftware.b4a.objects.PanelWrapper;
import anywheresoftware.b4a.objects.ScrollViewWrapper;
import anywheresoftware.b4a.objects.StringUtils;
import anywheresoftware.b4a.objects.collections.List;
import anywheresoftware.b4a.objects.collections.Map;
import anywheresoftware.b4a.objects.drawable.ColorDrawable;
import anywheresoftware.b4a.phone.Phone;
import b4a.example.dateutils;
import com.android.billingclient.api.ProductDetails;
import com.google.firebase.components.BuildConfig;
import igolub.fused.b4a.location.LocationRequestWrapper;
import igolub.fused.b4a.location.LocationResultWrapper;
import igolub.fused.b4a.location.android.location.LocationFWrapper;
import igolub.fused.b4a.location.staticmodules.GranularityWrapper;
import igolub.fused.b4a.location.staticmodules.PriorityWrapper;
import java.lang.reflect.Method;
import java.util.HashMap;

public class pagesettings extends B4AClass.ImplB4AClass implements BA.SubDelegator {
    private static HashMap<String, Method> htSubs;
    public Common __c = null;
    public B4XViewWrapper _vvvvvvvvvvvvvv2 = null;
    public B4XViewWrapper.XUI _vvvvvvvvvvvvv3 = null;
    public keyvaluestore _vvvvvvvvvvvvvv1 = null;
    public ScrollViewWrapper _sv = null;
    public StringUtils _vvvvvvvvvvvvvvvvvvv4 = null;
    public String _vvvvvvvvvvvvvv4 = BuildConfig.FLAVOR;
    public boolean _vvvvvvvvvvvvvvvvvvvvvvvvvv7 = false;
    public B4XViewWrapper _lb_datasource = null;
    public B4XViewWrapper _lb_datasource_title = null;
    public B4XViewWrapper _lb_appabout = null;
    public B4XViewWrapper _lb_appabout_title = null;
    public B4XViewWrapper _lb_applanguage = null;
    public B4XViewWrapper _lb_appver_num = null;
    public B4XViewWrapper _lb_appversion = null;
    public B4XViewWrapper _lb_contact = null;
    public B4XViewWrapper _lb_contact_email = null;
    public B4XViewWrapper _lb_database = null;
    public B4XViewWrapper _lb_database_when = null;
    public B4XViewWrapper _lb_openimage = null;
    public B4XViewWrapper _lb_openimage_title = null;
    public B4XViewWrapper _lb_removeads = null;
    public B4XViewWrapper _lb_removeads_value = null;
    public B4XViewWrapper _lb_soundlimit = null;
    public b4xcombobox _cb_applanguage = null;
    public b4xcombobox _cb_soundlimit = null;
    public Map _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3 = null;
    public B4XViewWrapper _pn01 = null;
    public B4XViewWrapper _pn02 = null;
    public B4XViewWrapper _pn03 = null;
    public B4XViewWrapper _pn04 = null;
    public B4XViewWrapper _pn05 = null;
    public B4XViewWrapper _pn06 = null;
    public B4XViewWrapper _pn07 = null;
    public B4XViewWrapper _pn08 = null;
    public B4XViewWrapper _pn09 = null;
    public B4XViewWrapper _pn10 = null;
    public B4XViewWrapper _pn12 = null;
    public B4XViewWrapper _lbapptitle = null;
    public B4XViewWrapper _lbtitlehamburger = null;
    public B4XViewWrapper _pntitle = null;
    public B4XViewWrapper _lb_privacy_page = null;
    public B4XViewWrapper _pn11 = null;
    public B4XViewWrapper _lb_autosound = null;
    public b4xswitch _sw_autosound = null;
    public B4XViewWrapper _lb_feltreport = null;
    public b4xswitch _sw_feltreport = null;
    public dateutils _vvvvvvvv2 = null;
    public LocationFWrapper.LocationFStatic _vvvvvvvv3 = null;
    public LocationResultWrapper.LocationResultConstants _vvvvvvvv4 = null;
    public LocationRequestWrapper.LocationRequestConstants _vvvvvvvv5 = null;
    public PriorityWrapper _vvvvvvvv6 = null;
    public GranularityWrapper _vvvvvvvv7 = null;
    public main _vvvvvvvv0 = null;
    public firebasemessaging _vvvvvvvvv1 = null;
    public ftpcamvideo _vvvvvvvvv2 = null;
    public eqdb _vvvvvvvvv3 = null;
    public location _vvvvvvvvv4 = null;
    public startatbootreceiver _vvvvvvvvv5 = null;
    public starter _vvvvvvvvv6 = null;
    public webcamload _vvvvvvvvv7 = null;
    public b4xcollections _vvvvvvvvv0 = null;
    public b4xpages _vvvvvvvvvv1 = null;
    public httputils2service _vvvvvvvvvv2 = null;
    public xuiviewsutils _vvvvvvvvvv3 = null;

    public void _billing_connected(BillingClientWrapper.BillingResultWrapper billingResultWrapper) throws Exception {
    }

    public void _billing_skuquerycompleted(BillingClientWrapper.BillingResultWrapper billingResultWrapper, List list) throws Exception {
    }

    private void innerInitialize(BA ba) throws Exception {
        if (this.ba == null) {
            this.ba = new BA(ba, this, htSubs, "com.volcanex.vesuvius.pagesettings");
            if (htSubs == null) {
                this.ba.loadHtSubs(getClass());
                htSubs = this.ba.htSubs;
            }
        }
        if (BA.isShellModeRuntimeCheck(this.ba)) {
            getClass().getMethod("_class_globals", pagesettings.class).invoke(this, null);
        } else {
            this.ba.raiseEvent2((Object) null, true, "class_globals", false, new Object[0]);
        }
    }

    public String _b4xpage_appear() throws Exception {
        if (this._vvvvvvvvvvvvvvvvvvvvvvvvvv7) {
            this._vvvvvvvvvvvvvvvvvvvvvvvvvv7 = false;
            _vvvvvvvvvvvv1();
            _loadmainlayout_updateall();
            _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2();
            return BuildConfig.FLAVOR;
        }
        return BuildConfig.FLAVOR;
    }

    public String _b4xpage_created(B4XViewWrapper b4XViewWrapper) throws Exception {
        this._vvvvvvvvvvvvvv2 = b4XViewWrapper;
        this._sv.Initialize(this.ba, Common.DipToCurrent(0));
        this._sv.setWidth(this._vvvvvvvvvvvvvv2.getWidth());
        this._sv.setHeight(this._vvvvvvvvvvvvvv2.getHeight());
        this._sv.getPanel().setWidth(this._vvvvvvvvvvvvvv2.getWidth());
        this._sv.getPanel().setColor(-8943463);
        this._vvvvvvvvvvvvvv2.AddView((View) this._sv.getObject(), Common.DipToCurrent(0), Common.DipToCurrent(0), this._sv.getWidth(), this._sv.getHeight());
        _vvvvvvvvvvvv1();
        _loadmainlayout_updateall();
        _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2();
        return BuildConfig.FLAVOR;
    }

    public String _cb_applanguage_selectedindexchanged(int i) throws Exception {
        BA.IterableList Keys = b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvvvvv2.Keys();
        int size = Keys.getSize();
        int i2 = -1;
        for (int i3 = 0; i3 < size; i3++) {
            String ObjectToString = BA.ObjectToString(Keys.Get(i3));
            i2++;
            if (i == i2 && !ObjectToString.equals(b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvvv4)) {
                b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvvv4("language", ObjectToString);
                b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvvv4 = ObjectToString;
                b4xpages._vvvv1(this.ba)._language_changed = true;
                b4xpages._vvvv1(this.ba)._set_translations();
                int size2 = b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvvv2.getSize() - 1;
                for (int i4 = 0; i4 <= size2; i4++) {
                    String ObjectToString2 = BA.ObjectToString(b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvvv2.Get(i4));
                    if (ObjectToString2.contains("map")) {
                        ((pagemap) b4xpages._vvv5(this.ba, ObjectToString2))._vvvvvvvvvvvvvvvvvvvvvvvvvv7 = true;
                    }
                }
                _loadmainlayout_updateall();
                return BuildConfig.FLAVOR;
            }
        }
        return BuildConfig.FLAVOR;
    }

    public String _cb_soundlimit_selectedindexchanged(int i) throws Exception {
        BA.IterableList Keys = this._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3.Keys();
        int size = Keys.getSize();
        int i2 = -1;
        for (int i3 = 0; i3 < size; i3++) {
            double ObjectToNumber = BA.ObjectToNumber(Keys.Get(i3));
            i2++;
            if (i == i2) {
                b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvvv4("notifSoundLimit", Double.valueOf(ObjectToNumber));
                return BuildConfig.FLAVOR;
            }
        }
        return BuildConfig.FLAVOR;
    }

    public String _class_globals() throws Exception {
        this._vvvvvvvvvvvvvv2 = new B4XViewWrapper();
        this._vvvvvvvvvvvvv3 = new B4XViewWrapper.XUI();
        this._vvvvvvvvvvvvvv1 = new keyvaluestore();
        this._sv = new ScrollViewWrapper();
        this._vvvvvvvvvvvvvvvvvvv4 = new StringUtils();
        this._vvvvvvvvvvvvvv4 = BuildConfig.FLAVOR;
        this._vvvvvvvvvvvvvvvvvvvvvvvvvv7 = false;
        this._lb_datasource = new B4XViewWrapper();
        this._lb_datasource_title = new B4XViewWrapper();
        this._lb_appabout = new B4XViewWrapper();
        this._lb_appabout_title = new B4XViewWrapper();
        this._lb_applanguage = new B4XViewWrapper();
        this._lb_appver_num = new B4XViewWrapper();
        this._lb_appversion = new B4XViewWrapper();
        this._lb_contact = new B4XViewWrapper();
        this._lb_contact_email = new B4XViewWrapper();
        this._lb_database = new B4XViewWrapper();
        this._lb_database_when = new B4XViewWrapper();
        this._lb_openimage = new B4XViewWrapper();
        this._lb_openimage_title = new B4XViewWrapper();
        this._lb_removeads = new B4XViewWrapper();
        this._lb_removeads_value = new B4XViewWrapper();
        this._lb_soundlimit = new B4XViewWrapper();
        this._cb_applanguage = new b4xcombobox();
        this._cb_soundlimit = new b4xcombobox();
        this._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3 = new Map();
        this._pn01 = new B4XViewWrapper();
        this._pn02 = new B4XViewWrapper();
        this._pn03 = new B4XViewWrapper();
        this._pn04 = new B4XViewWrapper();
        this._pn05 = new B4XViewWrapper();
        this._pn06 = new B4XViewWrapper();
        this._pn07 = new B4XViewWrapper();
        this._pn08 = new B4XViewWrapper();
        this._pn09 = new B4XViewWrapper();
        this._pn10 = new B4XViewWrapper();
        this._pn12 = new B4XViewWrapper();
        this._lbapptitle = new B4XViewWrapper();
        this._lbtitlehamburger = new B4XViewWrapper();
        this._pntitle = new B4XViewWrapper();
        this._lb_privacy_page = new B4XViewWrapper();
        this._pn11 = new B4XViewWrapper();
        this._lb_autosound = new B4XViewWrapper();
        this._sw_autosound = new b4xswitch();
        this._lb_feltreport = new B4XViewWrapper();
        this._sw_feltreport = new b4xswitch();
        return BuildConfig.FLAVOR;
    }

    public Object _initialize(BA ba) throws Exception {
        innerInitialize(ba);
        this._vvvvvvvvvvvvvv1._initialize(this.ba, B4XViewWrapper.XUI.getDefaultFolder(), "kvs_settings.dat");
        this._vvvvvvvvvvvvvv4 = b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv4;
        this._vvvvvvvvvvvvvvvvvvvvvvvvvv7 = false;
        this._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3.Initialize();
        this._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3.Put(Double.valueOf(0.0d), "all");
        this._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3.Put(Double.valueOf(0.3d), "M0.3+");
        this._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3.Put(Double.valueOf(0.5d), "M0.5+");
        this._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3.Put(Double.valueOf(1.0d), "M1.0+");
        this._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3.Put(Double.valueOf(1.5d), "M1.5+");
        this._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3.Put(Double.valueOf(2.0d), "M2.0+");
        this._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3.Put(Double.valueOf(2.5d), "M2.5+");
        this._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3.Put(Double.valueOf(3.0d), "M3.0+");
        return this;
    }

    public String _item00_update() throws Exception {
        this._pntitle.setColor(b4xpages._vvvv1(this.ba)._colour_apptitlebackground);
        this._lbapptitle.setTextColor(b4xpages._vvvv1(this.ba)._colour_apptitletext);
        b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv7(this._lbapptitle, "Settings", BuildConfig.FLAVOR, true);
        this._lbtitlehamburger.setText(BA.ObjectToCharSequence(Character.valueOf(Common.Chr(58820))));
        this._lbtitlehamburger.setTag("mainpage");
        this._lbtitlehamburger.setTextColor(b4xpages._vvvv1(this.ba)._colour_apptitletext);
        return BuildConfig.FLAVOR;
    }

    public String _item01_update() throws Exception {
        b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv7(this._lb_datasource_title, "Earthquake Data Source", BuildConfig.FLAVOR, true);
        this._lb_datasource.setText(BA.ObjectToCharSequence(b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvv0.ExecQuerySingleResult("Select Info_" + b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvvv4 + " As About From App_Information Where InfoType = 'DataSource' And ( App_Title = 'Common' Or App_Title = '" + this._vvvvvvvvvvvvvv4 + "' )")));
        int height = this._lb_datasource.getHeight();
        B4XViewWrapper b4XViewWrapper = this._lb_datasource;
        b4XViewWrapper.setHeight(this._vvvvvvvvvvvvvvvvvvv4.MeasureMultilineTextHeight((TextView) b4XViewWrapper.getObject(), BA.ObjectToCharSequence(this._lb_datasource.getText())) + Common.DipToCurrent(10));
        _pncontent_adjustspacing((PanelWrapper) AbsObjectWrapper.ConvertToWrapper(new PanelWrapper(), (ViewGroup) this._pn01.getObject()), this._lb_datasource.getHeight() - height);
        return BuildConfig.FLAVOR;
    }

    public String _item02_update() throws Exception {
        b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv7(this._lb_appversion, "Version", BuildConfig.FLAVOR, true);
        B4XViewWrapper b4XViewWrapper = this._lb_appver_num;
        B4AApplication b4AApplication = Common.Application;
        b4XViewWrapper.setText(BA.ObjectToCharSequence(Integer.valueOf(B4AApplication.getVersionCode())));
        return BuildConfig.FLAVOR;
    }

    public String _item03_update() throws Exception {
        b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv7(this._lb_contact, "Contact", BuildConfig.FLAVOR, true);
        this._lb_contact_email.setText(BA.ObjectToCharSequence("[email protected]"));
        return BuildConfig.FLAVOR;
    }

    public String _item04_update() throws Exception {
        String str;
        String sb;
        b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv7(this._lb_database, "Database Updated", BuildConfig.FLAVOR, true);
        long ObjectToLongNumber = BA.ObjectToLongNumber(this._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvv6("LastRefreshTime"));
        if (ObjectToLongNumber > 0) {
            DateTime dateTime = Common.DateTime;
            double now = DateTime.getNow() - ObjectToLongNumber;
            DateTime dateTime2 = Common.DateTime;
            Double.isNaN(now);
            if (now / 3600000.0d > 1.0d) {
                StringBuilder sb2 = new StringBuilder();
                DateTime dateTime3 = Common.DateTime;
                double now2 = DateTime.getNow() - ObjectToLongNumber;
                DateTime dateTime4 = Common.DateTime;
                Double.isNaN(now2);
                sb2.append(Common.NumberFormat(now2 / 3600000.0d, 1, 1));
                sb2.append(" ");
                sb2.append(b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv6("hours"));
                sb = sb2.toString();
            } else {
                StringBuilder sb3 = new StringBuilder();
                DateTime dateTime5 = Common.DateTime;
                double now3 = DateTime.getNow() - ObjectToLongNumber;
                DateTime dateTime6 = Common.DateTime;
                Double.isNaN(now3);
                sb3.append(Common.NumberFormat(now3 / 60000.0d, 1, 0));
                sb3.append(" ");
                sb3.append(b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv6("minutes"));
                sb = sb3.toString();
            }
            str = sb + " " + b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv6("ago");
        } else {
            str = BuildConfig.FLAVOR;
        }
        this._lb_database_when.setText(BA.ObjectToCharSequence(str));
        return BuildConfig.FLAVOR;
    }

    public String _item05_update() throws Exception {
        b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv7(this._lb_applanguage, "Language", BuildConfig.FLAVOR, true);
        List list = new List();
        list.Initialize();
        String ObjectToString = BA.ObjectToString(b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvv6("language"));
        BA.IterableList Keys = b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvvvvv2.Keys();
        int size = Keys.getSize();
        int i = 0;
        int i2 = -1;
        for (int i3 = 0; i3 < size; i3++) {
            String ObjectToString2 = BA.ObjectToString(Keys.Get(i3));
            i2++;
            if (ObjectToString2.equals(ObjectToString)) {
                i = i2;
            }
            list.Add(b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvvvvv2.Get(ObjectToString2));
        }
        this._cb_applanguage._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5(list);
        this._cb_applanguage._setvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2(i);
        return BuildConfig.FLAVOR;
    }

    public String _item06_update() throws Exception {
        b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv7(this._lb_autosound, "'Automatic' Notification Sound", BuildConfig.FLAVOR, true);
        if (b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvv6("notifSoundOn") == null) {
            b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvvv4("notifSoundOn", "yes");
        }
        if (b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvv6("notifSoundOn").equals("yes")) {
            this._sw_autosound._setvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4(true);
        } else {
            this._sw_autosound._setvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4(false);
        }
        new PanelWrapper();
        this._sw_autosound._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1.setLeft((AbsObjectWrapper.ConvertToWrapper(new PanelWrapper(), (ViewGroup) this._lb_autosound.getParent().getObject()).getWidth() - Common.DipToCurrent(10)) - this._sw_autosound._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1.getWidth());
        return BuildConfig.FLAVOR;
    }

    public String _item07_update() throws Exception {
        b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv7(this._lb_soundlimit, "'Revised' Notification Sound", BuildConfig.FLAVOR, true);
        List list = new List();
        list.Initialize();
        if (b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvv6("notifSoundLimit") == null) {
            b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvvv4("notifSoundLimit", Double.valueOf(1.5d));
        }
        double ObjectToNumber = BA.ObjectToNumber(b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvv6("notifSoundLimit"));
        BA.IterableList Keys = this._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3.Keys();
        int size = Keys.getSize();
        int i = 0;
        int i2 = -1;
        for (int i3 = 0; i3 < size; i3++) {
            double ObjectToNumber2 = BA.ObjectToNumber(Keys.Get(i3));
            i2++;
            if (ObjectToNumber2 == ObjectToNumber) {
                i = i2;
            }
            list.Add(b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv6(BA.ObjectToString(this._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3.Get(Double.valueOf(ObjectToNumber2)))));
        }
        this._cb_soundlimit._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5(list);
        this._cb_soundlimit._setvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2(i);
        return BuildConfig.FLAVOR;
    }

    public String _item08_update() throws Exception {
        this._lb_removeads.setText(BA.ObjectToCharSequence(b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvvvvvv4));
        this._lb_removeads_value.setText(BA.ObjectToCharSequence(b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvvvvvv5));
        return BuildConfig.FLAVOR;
    }

    public String _item09_update() throws Exception {
        b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv7(this._lb_openimage_title, "Opening Image", BuildConfig.FLAVOR, true);
        String ObjectToString = BA.ObjectToString(b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvv6("Volcano"));
        this._lb_openimage.setText(BA.ObjectToCharSequence(b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvv0.ExecQuerySingleResult("Select SplashNote_" + b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvvv4 + " As SplashNote From Volcanoes Where Name = '" + ObjectToString + "'")));
        int height = this._lb_openimage.getHeight();
        B4XViewWrapper b4XViewWrapper = this._lb_openimage;
        b4XViewWrapper.setHeight(this._vvvvvvvvvvvvvvvvvvv4.MeasureMultilineTextHeight((TextView) b4XViewWrapper.getObject(), BA.ObjectToCharSequence(this._lb_openimage.getText())) + Common.DipToCurrent(10));
        _pncontent_adjustspacing((PanelWrapper) AbsObjectWrapper.ConvertToWrapper(new PanelWrapper(), (ViewGroup) this._pn09.getObject()), this._lb_openimage.getHeight() - height);
        return BuildConfig.FLAVOR;
    }

    public String _item10_update() throws Exception {
        b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv7(this._lb_appabout_title, "About this App", BuildConfig.FLAVOR, true);
        this._lb_appabout.setText(BA.ObjectToCharSequence(b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvv0.ExecQuerySingleResult("Select Info_" + b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvvv4 + " As About From App_Information Where InfoType = 'About' And ( App_Title = 'Common' Or App_Title = '" + this._vvvvvvvvvvvvvv4 + "' )")));
        int height = this._lb_appabout.getHeight();
        B4XViewWrapper b4XViewWrapper = this._lb_appabout;
        b4XViewWrapper.setHeight(this._vvvvvvvvvvvvvvvvvvv4.MeasureMultilineTextHeight((TextView) b4XViewWrapper.getObject(), BA.ObjectToCharSequence(this._lb_appabout.getText())) + Common.DipToCurrent(10));
        _pncontent_adjustspacing((PanelWrapper) AbsObjectWrapper.ConvertToWrapper(new PanelWrapper(), (ViewGroup) this._pn10.getObject()), this._lb_appabout.getHeight() - height);
        return BuildConfig.FLAVOR;
    }

    public String _item11_update() throws Exception {
        b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv7(this._lb_privacy_page, "Privacy Policy", BuildConfig.FLAVOR, true);
        pagewebsite pagewebsiteVar = new pagewebsite();
        pagewebsiteVar._initialize(this.ba, "https://graemewheller.com/app-privacy/", b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv6("Privacy Policy"));
        if (b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvvv2.IndexOf("website_privacy") == -1) {
            b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvvv2.Add("website_privacy");
            b4xpages._vv0(this.ba, "website_privacy", pagewebsiteVar);
        }
        this._lb_privacy_page.setTag("website_privacy");
        return BuildConfig.FLAVOR;
    }

    public String _item12_update() throws Exception {
        b4xpages._vvvv1(this.ba)._vvvvvvvvvvvv7(this._lb_feltreport, "Felt Report Prompts", BuildConfig.FLAVOR, true);
        if (b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvv6("feltreportprompt") == null) {
            b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvvv4("feltreportprompt", "yes");
        }
        if (b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvv6("feltreportprompt").equals("yes")) {
            this._sw_feltreport._setvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4(true);
        } else {
            this._sw_feltreport._setvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4(false);
        }
        new PanelWrapper();
        this._sw_feltreport._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1.setLeft((AbsObjectWrapper.ConvertToWrapper(new PanelWrapper(), (ViewGroup) this._lb_feltreport.getParent().getObject()).getWidth() - Common.DipToCurrent(10)) - this._sw_feltreport._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1.getWidth());
        return BuildConfig.FLAVOR;
    }

    public String _lb_contact_email_click() throws Exception {
        Phone.Email email = new Phone.Email();
        email.Subject = b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvv4 + " app";
        email.Body = BuildConfig.FLAVOR;
        email.To.Add("[email protected]");
        Common.StartActivity(this.ba, email.GetIntent());
        return BuildConfig.FLAVOR;
    }

    public String _lb_privacy_page_click() throws Exception {
        new LabelWrapper();
        String ObjectToString = BA.ObjectToString(AbsObjectWrapper.ConvertToWrapper(new LabelWrapper(), (TextView) Common.Sender(this.ba)).getTag());
        if (b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvvv2.IsInitialized()) {
            if (b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvvv2.IndexOf(ObjectToString) == -1) {
                Common.ToastMessageShow(BA.ObjectToCharSequence("Page " + ObjectToString + " not found"), true);
                return BuildConfig.FLAVOR;
            }
            b4xpages._vvvv3(this.ba, ObjectToString);
            return BuildConfig.FLAVOR;
        }
        return BuildConfig.FLAVOR;
    }

    public void _lb_removeads_value_click() throws Exception {
        new ResumableSub_lb_removeAds_value_Click(this).resume(this.ba, null);
    }

    public static class ResumableSub_lb_removeAds_value_Click extends BA.ResumableSub {
        BillingClientWrapper.BillingResultWrapper _result = null;
        Object _sf = null;
        List _skudetails = null;
        pagesettings parent;

        public ResumableSub_lb_removeAds_value_Click(pagesettings pagesettingsVar) {
            this.parent = pagesettingsVar;
        }

        public void resume(BA ba, Object[] objArr) throws Exception {
            while (true) {
                switch (this.state) {
                    case -1:
                        return;
                    case 0:
                        this.state = 1;
                        Common common = this.parent.__c;
                        b4xpages b4xpagesVar = this.parent._vvvvvvvvvv1;
                        Common.WaitFor("billing_connected", ba, this, b4xpages._vvvv1(ba)._vvvvvvvvvvvvvvvvvvvv3.ConnectIfNeeded(ba));
                        this.state = 17;
                        return;
                    case 1:
                        this.state = 16;
                        if (this._result.getIsSuccess()) {
                            this.state = 3;
                            break;
                        } else {
                            this.state = 15;
                            break;
                        }
                    case 3:
                        this.state = 4;
                        b4xpages b4xpagesVar2 = this.parent._vvvvvvvvvv1;
                        BillingClientWrapper billingClientWrapper = b4xpages._vvvv1(ba)._vvvvvvvvvvvvvvvvvvvv3;
                        b4xpages b4xpagesVar3 = this.parent._vvvvvvvvvv1;
                        this._sf = billingClientWrapper.QuerySkuDetails(ba, "inapp", Common.ArrayToList(new Object[]{b4xpages._vvvv1(ba)._no_ads_sku_id}));
                        Common common2 = this.parent.__c;
                        Common.WaitFor("billing_skuquerycompleted", ba, this, this._sf);
                        this.state = 18;
                        return;
                    case 4:
                        this.state = 13;
                        if (this._result.getIsSuccess() && this._skudetails.getSize() == 1) {
                            this.state = 6;
                            break;
                        }
                        break;
                    case 6:
                        this.state = 7;
                        b4xpages b4xpagesVar4 = this.parent._vvvvvvvvvv1;
                        this._result = b4xpages._vvvv1(ba)._vvvvvvvvvvvvvvvvvvvv3.LaunchBillingFlow(ba, AbsObjectWrapper.ConvertToWrapper(new BillingClientWrapper.SkuDetailsWrapper(), (ProductDetails) this._skudetails.Get(0)));
                        break;
                    case 7:
                        this.state = 12;
                        if (!this._result.getIsSuccess()) {
                            break;
                        } else {
                            this.state = 9;
                            break;
                        }
                    case 9:
                        this.state = 12;
                        return;
                    case 12:
                        this.state = 13;
                        break;
                    case 13:
                        this.state = 16;
                        break;
                    case 15:
                        this.state = 16;
                        Common common3 = this.parent.__c;
                        b4xpages b4xpagesVar5 = this.parent._vvvvvvvvvv1;
                        CharSequence ObjectToCharSequence = BA.ObjectToCharSequence(b4xpages._vvvv1(ba)._vvvvvvvvvvvv6("Error starting billing process"));
                        Common common4 = this.parent.__c;
                        Common.ToastMessageShow(ObjectToCharSequence, true);
                        break;
                    case 16:
                        this.state = -1;
                        break;
                    case 17:
                        this.state = 1;
                        this._result = (BillingClientWrapper.BillingResultWrapper) objArr[0];
                        break;
                    case 18:
                        this.state = 4;
                        this._result = (BillingClientWrapper.BillingResultWrapper) objArr[0];
                        this._skudetails = (List) objArr[1];
                        break;
                }
            }
        }
    }

    public String _vvvvvvvvvvvv1() throws Exception {
        this._sv.getPanel().RemoveAllViews();
        this._sv.getPanel().setHeight(Common.DipToCurrent(0));
        _pncontent_setup(0);
        _pncontent_setup(1);
        _pncontent_setup(2);
        _pncontent_setup(3);
        _pncontent_setup(4);
        _pncontent_setup(5);
        _pncontent_setup(6);
        _pncontent_setup(7);
        _pncontent_setup(12);
        _pncontent_setup(8);
        _pncontent_setup(9);
        _pncontent_setup(10);
        _pncontent_setup(11);
        return BuildConfig.FLAVOR;
    }

    public String _loadmainlayout_updateall() throws Exception {
        _item00_update();
        _item01_update();
        _item02_update();
        _item03_update();
        _item04_update();
        _item05_update();
        _item06_update();
        _item07_update();
        if (b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvvvv0 > 20000.0f) {
            _pncontent_remove("item12");
        } else {
            _item12_update();
        }
        _item08_update();
        _item09_update();
        _item10_update();
        _item11_update();
        return BuildConfig.FLAVOR;
    }

    public void _loadnewpage_click() throws Exception {
        new ResumableSub_loadNewPage_Click(this).resume(this.ba, null);
    }

    public static class ResumableSub_loadNewPage_Click extends BA.ResumableSub {
        pagesettings parent;
        LabelWrapper _lb = null;
        String _pageid = BuildConfig.FLAVOR;
        ColorDrawable _cd1 = null;
        ColorDrawable _cd2 = null;
        int _tc = 0;

        public ResumableSub_loadNewPage_Click(pagesettings pagesettingsVar) {
            this.parent = pagesettingsVar;
        }

        public void resume(BA ba, Object[] objArr) throws Exception {
            while (true) {
                int i = this.state;
                if (i == -1) {
                    return;
                }
                if (i == 0) {
                    this.state = -1;
                    this._lb = new LabelWrapper();
                    LabelWrapper labelWrapper = new LabelWrapper();
                    Common common = this.parent.__c;
                    LabelWrapper ConvertToWrapper = AbsObjectWrapper.ConvertToWrapper(labelWrapper, (TextView) Common.Sender(ba));
                    this._lb = ConvertToWrapper;
                    this._pageid = BA.ObjectToString(ConvertToWrapper.getTag());
                    ColorDrawable colorDrawable = new ColorDrawable();
                    this._cd1 = colorDrawable;
                    b4xpages b4xpagesVar = this.parent._vvvvvvvvvv1;
                    int i2 = b4xpages._vvvv1(ba)._colour_textlink;
                    b4xpages b4xpagesVar2 = this.parent._vvvvvvvvvv1;
                    colorDrawable.Initialize(i2, b4xpages._vvvv1(ba)._size_cornerradius);
                    this._cd2 = new ColorDrawable();
                    this._cd2 = AbsObjectWrapper.ConvertToWrapper(new ColorDrawable(), this._lb.getBackground());
                    this._tc = this._lb.getTextColor();
                    this._lb.setBackground((Drawable) this._cd1.getObject());
                    this._lb.setTextColor(-657931);
                    Common common2 = this.parent.__c;
                    b4xpages b4xpagesVar3 = this.parent._vvvvvvvvvv1;
                    Common.Sleep(ba, this, b4xpages._vvvv1(ba)._vvvvvvvvvvvvvvvvvvv3);
                    this.state = 1;
                    return;
                }
                if (i == 1) {
                    this.state = -1;
                    this._lb.setTextColor(this._tc);
                    this._lb.setBackground((Drawable) this._cd2.getObject());
                    b4xpages b4xpagesVar4 = this.parent._vvvvvvvvvv1;
                    b4xpages._vvvv3(ba, this._pageid);
                }
            }
        }
    }

    public String _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2() throws Exception {
        float textSize = this._lb_appver_num.getTextSize() < 100.0f ? this._lb_appver_num.getTextSize() : 100.0f;
        if (this._lb_contact.getTextSize() < textSize) {
            textSize = this._lb_contact.getTextSize();
        }
        if (this._lb_contact_email.getTextSize() < textSize) {
            textSize = this._lb_contact_email.getTextSize();
        }
        if (this._lb_database.getTextSize() < textSize) {
            textSize = this._lb_database.getTextSize();
        }
        if (this._lb_database_when.getTextSize() < textSize) {
            textSize = this._lb_database_when.getTextSize();
        }
        if (this._lb_applanguage.getTextSize() < textSize) {
            textSize = this._lb_applanguage.getTextSize();
        }
        this._cb_applanguage._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5.setTextSize(this._lb_applanguage.getTextSize());
        if (this._lb_autosound.getTextSize() < textSize) {
            textSize = this._lb_autosound.getTextSize();
        }
        if (this._lb_soundlimit.getTextSize() < textSize) {
            textSize = this._lb_soundlimit.getTextSize();
        }
        this._cb_soundlimit._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5.setTextSize(this._lb_soundlimit.getTextSize());
        if (this._lb_removeads.getTextSize() < textSize) {
            textSize = this._lb_removeads.getTextSize();
        }
        if (this._lb_removeads_value.getTextSize() < textSize) {
            textSize = this._lb_removeads_value.getTextSize();
        }
        if (this._lb_privacy_page.getTextSize() < textSize) {
            textSize = this._lb_privacy_page.getTextSize();
        }
        this._lb_appversion.setTextSize(textSize);
        this._lb_appver_num.setTextSize(textSize);
        this._lb_contact.setTextSize(textSize);
        this._lb_contact_email.setTextSize(textSize);
        this._lb_database.setTextSize(textSize);
        this._lb_database_when.setTextSize(textSize);
        this._lb_applanguage.setTextSize(textSize);
        this._cb_applanguage._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5.setTextSize(textSize);
        this._lb_autosound.setTextSize(textSize);
        this._lb_soundlimit.setTextSize(textSize);
        this._cb_soundlimit._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5.setTextSize(textSize);
        this._lb_removeads.setTextSize(textSize);
        this._lb_removeads_value.setTextSize(textSize);
        this._lb_privacy_page.setTextSize(textSize);
        return BuildConfig.FLAVOR;
    }

    public String _pncontent_adjustspacing(PanelWrapper panelWrapper, int i) throws Exception {
        if (i != 0) {
            panelWrapper.setHeight(panelWrapper.getHeight() + i);
            new PanelWrapper();
            PanelWrapper ConvertToWrapper = AbsObjectWrapper.ConvertToWrapper(new PanelWrapper(), (ViewGroup) panelWrapper.getParent());
            ConvertToWrapper.setHeight(ConvertToWrapper.getHeight() + i);
            new PanelWrapper();
            PanelWrapper panel = this._sv.getPanel();
            int size = panel.getSize();
            for (int i2 = 0; i2 < size; i2++) {
                PanelWrapper ConvertToWrapper2 = AbsObjectWrapper.ConvertToWrapper(new PanelWrapper(), (ViewGroup) panel.Get(i2));
                if (ConvertToWrapper2.getTop() > ConvertToWrapper.getTop()) {
                    ConvertToWrapper2.setTop(ConvertToWrapper2.getTop() + i);
                }
            }
            this._sv.getPanel().setHeight(this._sv.getPanel().getHeight() + i);
            return BuildConfig.FLAVOR;
        }
        return BuildConfig.FLAVOR;
    }

    public String _pncontent_remove(String str) throws Exception {
        int i;
        int i2;
        new PanelWrapper();
        PanelWrapper panel = this._sv.getPanel();
        int size = panel.getSize();
        int i3 = 0;
        while (true) {
            if (i3 >= size) {
                i = 0;
                i2 = 0;
                break;
            }
            PanelWrapper ConvertToWrapper = AbsObjectWrapper.ConvertToWrapper(new PanelWrapper(), (ViewGroup) panel.Get(i3));
            if (ConvertToWrapper.getTag().equals(str)) {
                i = ConvertToWrapper.getTop();
                i2 = ConvertToWrapper.getHeight() + b4xpages._vvvv1(this.ba)._size_panelmargin;
                Common.LogImpl("820971533", "settings panel to be removed: tag = " + BA.ObjectToString(ConvertToWrapper.getTag()), 0);
                ConvertToWrapper.RemoveView();
                break;
            }
            i3++;
        }
        if (i > 0) {
            new PanelWrapper();
            PanelWrapper panel2 = this._sv.getPanel();
            int size2 = panel2.getSize();
            for (int i4 = 0; i4 < size2; i4++) {
                PanelWrapper ConvertToWrapper2 = AbsObjectWrapper.ConvertToWrapper(new PanelWrapper(), (ViewGroup) panel2.Get(i4));
                if (ConvertToWrapper2.getTop() > i) {
                    ConvertToWrapper2.setTop(ConvertToWrapper2.getTop() - i2);
                }
            }
            this._sv.getPanel().setHeight(this._sv.getPanel().getHeight() - i2);
            return BuildConfig.FLAVOR;
        }
        return BuildConfig.FLAVOR;
    }

    public String _pncontent_setup(int i) throws Exception {
        PanelWrapper panelWrapper = new PanelWrapper();
        panelWrapper.Initialize(this.ba, BuildConfig.FLAVOR);
        if (i < 1) {
            panelWrapper.setWidth(this._sv.getPanel().getWidth());
        } else {
            panelWrapper.setWidth(this._sv.getPanel().getWidth() - (b4xpages._vvvv1(this.ba)._size_panelmargin * 2));
        }
        panelWrapper.setHeight(Common.DipToCurrent(50));
        switch (i) {
            case 0:
                panelWrapper.LoadLayout("layout_pn01_apptitle", this.ba);
                panelWrapper.setTag("title");
                break;
            case 1:
                panelWrapper.LoadLayout("layout_sett01_datasource", this.ba);
                panelWrapper.setHeight(this._pn01.getHeight() + Common.DipToCurrent(20));
                panelWrapper.setTag("item01");
                B4XViewWrapper b4XViewWrapper = this._pn01;
                b4XViewWrapper.setTop(b4XViewWrapper.getTop() + Common.DipToCurrent(10));
                break;
            case 2:
                panelWrapper.LoadLayout("layout_sett02_appversion", this.ba);
                panelWrapper.setHeight(this._pn02.getHeight() + Common.DipToCurrent(20));
                panelWrapper.setTag("item02");
                B4XViewWrapper b4XViewWrapper2 = this._pn02;
                b4XViewWrapper2.setTop(b4XViewWrapper2.getTop() + Common.DipToCurrent(10));
                break;
            case 3:
                panelWrapper.LoadLayout("layout_sett03_contact", this.ba);
                panelWrapper.setHeight(this._pn03.getHeight() + Common.DipToCurrent(20));
                panelWrapper.setTag("item03");
                B4XViewWrapper b4XViewWrapper3 = this._pn03;
                b4XViewWrapper3.setTop(b4XViewWrapper3.getTop() + Common.DipToCurrent(10));
                break;
            case 4:
                panelWrapper.LoadLayout("layout_sett04_database", this.ba);
                panelWrapper.setHeight(this._pn04.getHeight() + Common.DipToCurrent(20));
                panelWrapper.setTag("item04");
                B4XViewWrapper b4XViewWrapper4 = this._pn04;
                b4XViewWrapper4.setTop(b4XViewWrapper4.getTop() + Common.DipToCurrent(10));
                break;
            case 5:
                panelWrapper.LoadLayout("layout_sett05_language", this.ba);
                panelWrapper.setHeight(this._pn05.getHeight() + Common.DipToCurrent(20));
                panelWrapper.setTag("item05");
                B4XViewWrapper b4XViewWrapper5 = this._pn05;
                b4XViewWrapper5.setTop(b4XViewWrapper5.getTop() + Common.DipToCurrent(10));
                break;
            case 6:
                panelWrapper.LoadLayout("layout_sett06_autosound", this.ba);
                panelWrapper.setHeight(this._pn06.getHeight() + Common.DipToCurrent(20));
                panelWrapper.setTag("item06");
                B4XViewWrapper b4XViewWrapper6 = this._pn06;
                b4XViewWrapper6.setTop(b4XViewWrapper6.getTop() + Common.DipToCurrent(10));
                break;
            case 7:
                panelWrapper.LoadLayout("layout_sett07_soundlimit", this.ba);
                panelWrapper.setHeight(this._pn07.getHeight() + Common.DipToCurrent(20));
                panelWrapper.setTag("item07");
                B4XViewWrapper b4XViewWrapper7 = this._pn07;
                b4XViewWrapper7.setTop(b4XViewWrapper7.getTop() + Common.DipToCurrent(10));
                break;
            case 8:
                panelWrapper.LoadLayout("layout_sett08_removeads", this.ba);
                panelWrapper.setHeight(this._pn08.getHeight() + Common.DipToCurrent(20));
                panelWrapper.setTag("item08");
                B4XViewWrapper b4XViewWrapper8 = this._pn08;
                b4XViewWrapper8.setTop(b4XViewWrapper8.getTop() + Common.DipToCurrent(10));
                break;
            case 9:
                panelWrapper.LoadLayout("layout_sett09_openimage", this.ba);
                panelWrapper.setHeight(this._pn09.getHeight() + Common.DipToCurrent(20));
                panelWrapper.setTag("item09");
                B4XViewWrapper b4XViewWrapper9 = this._pn09;
                b4XViewWrapper9.setTop(b4XViewWrapper9.getTop() + Common.DipToCurrent(10));
                break;
            case 10:
                panelWrapper.LoadLayout("layout_sett10_appabout", this.ba);
                panelWrapper.setHeight(this._pn10.getHeight() + Common.DipToCurrent(20));
                panelWrapper.setTag("item10");
                B4XViewWrapper b4XViewWrapper10 = this._pn10;
                b4XViewWrapper10.setTop(b4XViewWrapper10.getTop() + Common.DipToCurrent(10));
                break;
            case 11:
                panelWrapper.LoadLayout("layout_sett11_privacy", this.ba);
                panelWrapper.setHeight(this._pn11.getHeight() + Common.DipToCurrent(20));
                panelWrapper.setTag("item11");
                B4XViewWrapper b4XViewWrapper11 = this._pn11;
                b4XViewWrapper11.setTop(b4XViewWrapper11.getTop() + Common.DipToCurrent(10));
                break;
            case 12:
                panelWrapper.LoadLayout("layout_sett12_feltreport", this.ba);
                panelWrapper.setHeight(this._pn12.getHeight() + Common.DipToCurrent(20));
                panelWrapper.setTag("item12");
                B4XViewWrapper b4XViewWrapper12 = this._pn12;
                b4XViewWrapper12.setTop(b4XViewWrapper12.getTop() + Common.DipToCurrent(10));
                break;
        }
        if (i < 1) {
            this._sv.getPanel().setHeight(this._sv.getPanel().getHeight() + panelWrapper.getHeight());
            this._sv.getPanel().AddView((View) panelWrapper.getObject(), Common.DipToCurrent(0), this._sv.getPanel().getHeight() - panelWrapper.getHeight(), panelWrapper.getWidth(), panelWrapper.getHeight());
        } else {
            ColorDrawable colorDrawable = new ColorDrawable();
            colorDrawable.Initialize(b4xpages._vvvv1(this.ba)._colour_panelbackground, Common.DipToCurrent(5));
            panelWrapper.setBackground((Drawable) colorDrawable.getObject());
            this._sv.getPanel().setHeight(this._sv.getPanel().getHeight() + b4xpages._vvvv1(this.ba)._size_panelmargin + panelWrapper.getHeight());
            this._sv.getPanel().AddView((View) panelWrapper.getObject(), b4xpages._vvvv1(this.ba)._size_panelmargin, this._sv.getPanel().getHeight() - panelWrapper.getHeight(), panelWrapper.getWidth(), panelWrapper.getHeight());
            if (i == 11) {
                this._sv.getPanel().setHeight(this._sv.getPanel().getHeight() + b4xpages._vvvv1(this.ba)._size_panelmargin);
            }
        }
        return BuildConfig.FLAVOR;
    }

    public String _sw_autosound_valuechanged(boolean z) throws Exception {
        if (z) {
            b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvvv4("notifSoundOn", "yes");
            return BuildConfig.FLAVOR;
        }
        b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvvv4("notifSoundOn", "no");
        return BuildConfig.FLAVOR;
    }

    public String _sw_feltreport_valuechanged(boolean z) throws Exception {
        if (z) {
            b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvvv4("feltreportprompt", "yes");
            return BuildConfig.FLAVOR;
        }
        b4xpages._vvvv1(this.ba)._vvvvvvvvvvvvvv1._vvvvvvvvvvvvvvvvvvvvvvvvvvvv4("feltreportprompt", "no");
        return BuildConfig.FLAVOR;
    }

    public Object callSub(String str, Object obj, Object[] objArr) throws Exception {
        BA.senderHolder.set(obj);
        if (BA.fastSubCompare(str, "B4XPAGE_CREATED")) {
            return _b4xpage_created((B4XViewWrapper) objArr[0]);
        }
        if (BA.fastSubCompare(str, "PNCONTENT_REMOVE")) {
            return _pncontent_remove((String) objArr[0]);
        }
        return BA.SubDelegator.SubNotFound;
    }
}