package com.pas.abtahibo.parvaz;


import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.B4AClass;
import anywheresoftware.b4a.BALayout;
import anywheresoftware.b4a.debug.*;

public class fragnote3 extends B4AClass.ImplB4AClass implements BA.SubDelegator{
    private static java.util.HashMap<String, java.lang.reflect.Method> htSubs;
    private void innerInitialize(BA _ba) throws Exception {
        if (ba == null) {
            ba = new BA(_ba, this, htSubs, "com.pas.abtahibo.parvaz.fragnote3");
            if (htSubs == null) {
                ba.loadHtSubs(this.getClass());
                htSubs = ba.htSubs;
            }
            
        }
        if (BA.isShellModeRuntimeCheck(ba)) 
			   this.getClass().getMethod("_class_globals", com.pas.abtahibo.parvaz.fragnote3.class).invoke(this, new Object[] {null});
        else
            ba.raiseEvent2(null, true, "class_globals", false);
    }

 public anywheresoftware.b4a.keywords.Common __c = null;
public anywheresoftware.b4a.objects.PanelWrapper _vvvvvvvvvvvvv0 = null;
public anywheresoftware.b4a.objects.LabelWrapper _lbtn = null;
public anywheresoftware.b4a.objects.LabelWrapper _lab_back = null;
public anywheresoftware.b4a.objects.LabelWrapper _labposht = null;
public anywheresoftware.b4a.sql.SQL _vvvvvvvvvvvvvv1 = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_showmtn = null;
public anywheresoftware.b4a.objects.ScrollViewWrapper _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6 = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_background = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_mine = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_plus = null;
public int _int_plus = 0;
public boolean _bool_night = false;
public anywheresoftware.b4a.objects.LabelWrapper _label1 = null;
public b4a.example.dateutils _vvvvvvvvvvvvvvvv1 = null;
public com.pas.abtahibo.parvaz.main _vvvvvvvvvvvvvvvv2 = null;
public com.pas.abtahibo.parvaz.actbook _vvvvvvvvvvvvvvvv3 = null;
public com.pas.abtahibo.parvaz.actapps _vvvvvvvvvvvvvvvv4 = null;
public com.pas.abtahibo.parvaz.actguide _vvvvvvvvvvvvvvvv5 = null;
public com.pas.abtahibo.parvaz.actnotific _vvvvvvvvvvvvvvvv6 = null;
public com.pas.abtahibo.parvaz.func _vvvvvvvvvvvvvvvv7 = null;
public com.pas.abtahibo.parvaz.myservice _vvvvvvvvvvvvvvvv0 = null;
public com.pas.abtahibo.parvaz.playservicebook _vvvvvvvvvvvvvvvvv1 = null;
public com.pas.abtahibo.parvaz.playsrds _vvvvvvvvvvvvvvvvv2 = null;
public com.pas.abtahibo.parvaz.starter _vvvvvvvvvvvvvvvvv3 = null;
public com.pas.abtahibo.parvaz.support _vvvvvvvvvvvvvvvvv4 = null;
public com.pas.abtahibo.parvaz.urls _vvvvvvvvvvvvvvvvv5 = null;
public com.pas.abtahibo.parvaz.xuiviewsutils _vvvvvvvvvvvvvvvvv6 = null;
public String  _vvvvvvvvvvv0() throws Exception{
anywheresoftware.b4a.agraham.reflection.Reflection _r = null;
 //BA.debugLineNum = 61;BA.debugLine="Sub addView";
 //BA.debugLineNum = 63;BA.debugLine="content.LoadLayout(\"add_note1\")";
_vvvvvvvvvvvvv0.LoadLayout("add_note1",ba);
 //BA.debugLineNum = 64;BA.debugLine="func.SetRipple(lab_back ,0x337FD3B1,0x884C9A7B,16";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_lab_back.getObject())),((int)0x337fd3b1),((int)0x884c9a7b),(float) (16));
 //BA.debugLineNum = 66;BA.debugLine="func.SetRipple(Lbtn,0xFF4C9A7B,0xFF487D66,10dip)";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_lbtn.getObject())),((int)0xff4c9a7b),((int)0xff487d66),(float) (__c.DipToCurrent((int) (10))));
 //BA.debugLineNum = 68;BA.debugLine="Label1.Text = func.gland(137)";
_label1.setText(BA.ObjectToCharSequence(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (137))));
 //BA.debugLineNum = 69;BA.debugLine="Lbtn.Text =func.gland(139)";
_lbtn.setText(BA.ObjectToCharSequence(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (139))));
 //BA.debugLineNum = 71;BA.debugLine="Label1.Typeface = Typeface.CreateNew(Typeface.Loa";
_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)),__c.Typeface.STYLE_BOLD));
 //BA.debugLineNum = 72;BA.debugLine="Lbtn.Typeface = Typeface.LoadFromAssets(func.font";
_lbtn.setTypeface(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)));
 //BA.debugLineNum = 73;BA.debugLine="func.MinimomFontLabel(Label1,14)";
_vvvvvvvvvvvvvvvv7._vvvv3 /*String*/ (ba,_label1,(int) (14));
 //BA.debugLineNum = 76;BA.debugLine="sv4.Initialize2(10000dip,\"sv4\")";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6.Initialize2(ba,__c.DipToCurrent((int) (10000)),"sv4");
 //BA.debugLineNum = 77;BA.debugLine="content.AddView(sv4,0%x,labPosht.Top+labPosht.Hei";
_vvvvvvvvvvvvv0.AddView((android.view.View)(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6.getObject()),__c.PerXToCurrent((float) (0),ba),(int) (_labposht.getTop()+_labposht.getHeight()+__c.PerYToCurrent((float) (1),ba)),__c.PerXToCurrent((float) (100),ba),(int) (__c.PerYToCurrent((float) (95),ba)-__c.DipToCurrent((int) (100))-(_labposht.getTop()+_labposht.getHeight()+__c.PerYToCurrent((float) (1),ba))));
 //BA.debugLineNum = 78;BA.debugLine="Dim r As Reflector";
_r = new anywheresoftware.b4a.agraham.reflection.Reflection();
 //BA.debugLineNum = 79;BA.debugLine="r.Target = sv4";
_r.Target = (Object)(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6.getObject());
 //BA.debugLineNum = 80;BA.debugLine="r.RunMethod2(\"setVerticalScrollBarEnabled\", True,";
_r.RunMethod2("setVerticalScrollBarEnabled",BA.ObjectToString(__c.True),"java.lang.boolean");
 //BA.debugLineNum = 81;BA.debugLine="r.RunMethod2(\"setOverScrollMode\", 2, \"java.lang.i";
_r.RunMethod2("setOverScrollMode",BA.NumberToString(2),"java.lang.int");
 //BA.debugLineNum = 83;BA.debugLine="func.SetScrollbarColor(sv4)";
_vvvvvvvvvvvvvvvv7._vvvvvv7 /*String*/ (ba,_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6);
 //BA.debugLineNum = 85;BA.debugLine="L_ShowMtn.Initialize(\"\")";
_l_showmtn.Initialize(ba,"");
 //BA.debugLineNum = 86;BA.debugLine="sv4.Panel.AddView(L_ShowMtn,3%x,3%y,94%x,40dip)";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6.getPanel().AddView((android.view.View)(_l_showmtn.getObject()),__c.PerXToCurrent((float) (3),ba),__c.PerYToCurrent((float) (3),ba),__c.PerXToCurrent((float) (94),ba),__c.DipToCurrent((int) (40)));
 //BA.debugLineNum = 87;BA.debugLine="L_ShowMtn.Gravity=func.setGravity(\"checkBook\")";
_l_showmtn.setGravity(_vvvvvvvvvvvvvvvv7._vvvvv5 /*int*/ (ba,"checkBook"));
 //BA.debugLineNum = 88;BA.debugLine="L_ShowMtn.Typeface= Typeface.LoadFromAssets(func.";
_l_showmtn.setTypeface(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"fontFarsi")));
 //BA.debugLineNum = 90;BA.debugLine="L_ShowMtn.Text = CRLF&func.readPFM(\"titleBookY\")";
_l_showmtn.setText(BA.ObjectToCharSequence(__c.CRLF+_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"titleBookY")+__c.CRLF+__c.CRLF+_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"matnBookY")+__c.CRLF));
 //BA.debugLineNum = 92;BA.debugLine="If func.readPFM(\"sizeFarsi\")<>\"-1\" Then";
if ((_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"sizeFarsi")).equals("-1") == false) { 
 //BA.debugLineNum = 93;BA.debugLine="L_ShowMtn.TextSize=func.readPFM(\"sizeFarsi\")";
_l_showmtn.setTextSize((float)(Double.parseDouble(_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"sizeFarsi"))));
 //BA.debugLineNum = 94;BA.debugLine="int_plus=func.readPFM(\"sizeFarsi\")";
_int_plus = (int)(Double.parseDouble(_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"sizeFarsi")));
 }else {
 //BA.debugLineNum = 96;BA.debugLine="L_ShowMtn.TextSize=16";
_l_showmtn.setTextSize((float) (16));
 //BA.debugLineNum = 97;BA.debugLine="int_plus=16";
_int_plus = (int) (16);
 };
 //BA.debugLineNum = 100;BA.debugLine="changeBack(True)";
_vvvvvvvvvvvvvvvvv7(__c.True);
 //BA.debugLineNum = 102;BA.debugLine="func.setJustificationMode(L_ShowMtn)";
_vvvvvvvvvvvvvvvv7._vvvvvv1 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_l_showmtn.getObject())));
 //BA.debugLineNum = 103;BA.debugLine="L_ShowMtn.Height = func.heightLabel(L_ShowMtn,L_S";
_l_showmtn.setHeight((int) (_vvvvvvvvvvvvvvvv7._vvv4 /*int*/ (ba,_l_showmtn,_l_showmtn.getText())+__c.DipToCurrent((int) (5))));
 //BA.debugLineNum = 104;BA.debugLine="sv4.Panel.Height = L_ShowMtn.top + L_ShowMtn.Hei";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6.getPanel().setHeight((int) (_l_showmtn.getTop()+_l_showmtn.getHeight()+__c.DipToCurrent((int) (10))));
 //BA.debugLineNum = 106;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvvvvvvv7(boolean _bill) throws Exception{
 //BA.debugLineNum = 149;BA.debugLine="Sub changeBack(bill As Boolean)";
 //BA.debugLineNum = 151;BA.debugLine="If bill Then";
if (_bill) { 
 //BA.debugLineNum = 152;BA.debugLine="If func.readPFM(\"Bool_Night\") = -1 Then";
if ((_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"Bool_Night")).equals(BA.NumberToString(-1))) { 
 //BA.debugLineNum = 153;BA.debugLine="Bool_Night = True";
_bool_night = __c.True;
 }else {
 //BA.debugLineNum = 155;BA.debugLine="Bool_Night = False";
_bool_night = __c.False;
 };
 };
 //BA.debugLineNum = 160;BA.debugLine="If Bool_Night=False Then";
if (_bool_night==__c.False) { 
 //BA.debugLineNum = 162;BA.debugLine="func.SetRipple(L_Background	,0x884C9A7B,0x880D60";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_l_background.getObject())),((int)0x884c9a7b),((int)0x880d603e),(float) (16));
 //BA.debugLineNum = 163;BA.debugLine="Bool_Night = True";
_bool_night = __c.True;
 //BA.debugLineNum = 165;BA.debugLine="content.color = 0xFF3F473B";
_vvvvvvvvvvvvv0.setColor(((int)0xff3f473b));
 //BA.debugLineNum = 166;BA.debugLine="func.color_border1(L_ShowMtn,0xFF3F473B,10dip,2,";
_vvvvvvvvvvvvvvvv7._color_border1 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_l_showmtn.getObject())),((int)0xff3f473b),__c.DipToCurrent((int) (10)),(int) (2),((int)0xffb0bec5));
 //BA.debugLineNum = 168;BA.debugLine="L_ShowMtn.TextColor = Colors.White";
_l_showmtn.setTextColor(__c.Colors.White);
 //BA.debugLineNum = 170;BA.debugLine="func.savePFM(\"Bool_Night\",1)";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"Bool_Night",BA.NumberToString(1));
 }else {
 //BA.debugLineNum = 172;BA.debugLine="func.savePFM(\"Bool_Night\",-1)";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"Bool_Night",BA.NumberToString(-1));
 //BA.debugLineNum = 174;BA.debugLine="func.SetRipple(L_Background	,Colors.Transparent,";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_l_background.getObject())),__c.Colors.Transparent,((int)0xaaeeeeee),(float) (16));
 //BA.debugLineNum = 175;BA.debugLine="Bool_Night = False";
_bool_night = __c.False;
 //BA.debugLineNum = 177;BA.debugLine="content.color = 0xFFFBFDFF";
_vvvvvvvvvvvvv0.setColor(((int)0xfffbfdff));
 //BA.debugLineNum = 178;BA.debugLine="func.color_border1(L_ShowMtn,0xFFFFFFFF,10dip,2,";
_vvvvvvvvvvvvvvvv7._color_border1 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_l_showmtn.getObject())),((int)0xffffffff),__c.DipToCurrent((int) (10)),(int) (2),((int)0xffb0bec5));
 //BA.debugLineNum = 180;BA.debugLine="L_ShowMtn.TextColor = (Colors.Black)";
_l_showmtn.setTextColor((__c.Colors.Black));
 };
 //BA.debugLineNum = 184;BA.debugLine="End Sub";
return "";
}
public String  _class_globals() throws Exception{
 //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals";
 //BA.debugLineNum = 3;BA.debugLine="Dim content As Panel";
_vvvvvvvvvvvvv0 = new anywheresoftware.b4a.objects.PanelWrapper();
 //BA.debugLineNum = 5;BA.debugLine="Private Lbtn As Label";
_lbtn = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 6;BA.debugLine="Private lab_back As Label";
_lab_back = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 7;BA.debugLine="Private labPosht As Label";
_labposht = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 9;BA.debugLine="Private sql2 As SQL";
_vvvvvvvvvvvvvv1 = new anywheresoftware.b4a.sql.SQL();
 //BA.debugLineNum = 11;BA.debugLine="Private L_ShowMtn    As Label";
_l_showmtn = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 13;BA.debugLine="Private sv4 As ScrollView";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6 = new anywheresoftware.b4a.objects.ScrollViewWrapper();
 //BA.debugLineNum = 15;BA.debugLine="Private L_Background As Label";
_l_background = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 16;BA.debugLine="Private L_mine As Label";
_l_mine = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 17;BA.debugLine="Private L_Plus As Label";
_l_plus = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 19;BA.debugLine="Private int_plus   As Int";
_int_plus = 0;
 //BA.debugLineNum = 21;BA.debugLine="Private Bool_Night As Boolean";
_bool_night = false;
 //BA.debugLineNum = 23;BA.debugLine="Private Label1 As Label";
_label1 = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 27;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvv1() throws Exception{
 //BA.debugLineNum = 193;BA.debugLine="Sub close";
 //BA.debugLineNum = 194;BA.debugLine="func.savePFM(\"backNOB\",1)";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"backNOB",BA.NumberToString(1));
 //BA.debugLineNum = 195;BA.debugLine="CallSub2(actBook,\"show_hide_frag\",func.listIniti";
__c.CallSubNew2(ba,(Object)(_vvvvvvvvvvvvvvvv3.getObject()),"show_hide_frag",(Object)(_vvvvvvvvvvvvvvvv7._vvv0 /*anywheresoftware.b4a.objects.collections.List*/ (ba,(int) (27),this,"")));
 //BA.debugLineNum = 196;BA.debugLine="End Sub";
return "";
}
public String  _initialize(anywheresoftware.b4a.BA _ba) throws Exception{
innerInitialize(_ba);
 //BA.debugLineNum = 29;BA.debugLine="Public Sub Initialize";
 //BA.debugLineNum = 30;BA.debugLine="End Sub";
return "";
}
public String  _l_background_click() throws Exception{
 //BA.debugLineNum = 145;BA.debugLine="Private Sub L_Background_Click";
 //BA.debugLineNum = 146;BA.debugLine="changeBack(False)";
_vvvvvvvvvvvvvvvvv7(__c.False);
 //BA.debugLineNum = 147;BA.debugLine="End Sub";
return "";
}
public String  _l_mine_click() throws Exception{
 //BA.debugLineNum = 131;BA.debugLine="Private Sub L_mine_Click";
 //BA.debugLineNum = 133;BA.debugLine="If int_plus<>14 Then";
if (_int_plus!=14) { 
 //BA.debugLineNum = 134;BA.debugLine="int_plus=int_plus-1";
_int_plus = (int) (_int_plus-1);
 //BA.debugLineNum = 135;BA.debugLine="L_ShowMtn.TextSize=int_plus";
_l_showmtn.setTextSize((float) (_int_plus));
 //BA.debugLineNum = 136;BA.debugLine="func.savePFM(\"sizeFarsi\",int_plus)";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"sizeFarsi",BA.NumberToString(_int_plus));
 //BA.debugLineNum = 138;BA.debugLine="func.setJustificationMode(L_ShowMtn)";
_vvvvvvvvvvvvvvvv7._vvvvvv1 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_l_showmtn.getObject())));
 //BA.debugLineNum = 139;BA.debugLine="L_ShowMtn.Height = func.heightLabel(L_ShowMtn,L_";
_l_showmtn.setHeight((int) (_vvvvvvvvvvvvvvvv7._vvv4 /*int*/ (ba,_l_showmtn,_l_showmtn.getText())+__c.DipToCurrent((int) (5))));
 //BA.debugLineNum = 140;BA.debugLine="sv4.Panel.Height = L_ShowMtn.top + L_ShowMtn.Hei";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6.getPanel().setHeight((int) (_l_showmtn.getTop()+_l_showmtn.getHeight()+__c.DipToCurrent((int) (10))));
 };
 //BA.debugLineNum = 143;BA.debugLine="End Sub";
return "";
}
public String  _l_plus_click() throws Exception{
 //BA.debugLineNum = 117;BA.debugLine="Private Sub L_Plus_Click";
 //BA.debugLineNum = 119;BA.debugLine="If int_plus<>30 Then";
if (_int_plus!=30) { 
 //BA.debugLineNum = 120;BA.debugLine="int_plus=int_plus+1";
_int_plus = (int) (_int_plus+1);
 //BA.debugLineNum = 121;BA.debugLine="L_ShowMtn.TextSize=int_plus";
_l_showmtn.setTextSize((float) (_int_plus));
 //BA.debugLineNum = 122;BA.debugLine="func.savePFM(\"sizeFarsi\",int_plus)";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"sizeFarsi",BA.NumberToString(_int_plus));
 //BA.debugLineNum = 124;BA.debugLine="func.setJustificationMode(L_ShowMtn)";
_vvvvvvvvvvvvvvvv7._vvvvvv1 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_l_showmtn.getObject())));
 //BA.debugLineNum = 125;BA.debugLine="L_ShowMtn.Height = func.heightLabel(L_ShowMtn,L_";
_l_showmtn.setHeight((int) (_vvvvvvvvvvvvvvvv7._vvv4 /*int*/ (ba,_l_showmtn,_l_showmtn.getText())+__c.DipToCurrent((int) (5))));
 //BA.debugLineNum = 126;BA.debugLine="sv4.Panel.Height = L_ShowMtn.top + L_ShowMtn.Hei";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6.getPanel().setHeight((int) (_l_showmtn.getTop()+_l_showmtn.getHeight()+__c.DipToCurrent((int) (10))));
 };
 //BA.debugLineNum = 129;BA.debugLine="End Sub";
return "";
}
public String  _lab_back_click() throws Exception{
 //BA.debugLineNum = 189;BA.debugLine="Sub lab_back_Click";
 //BA.debugLineNum = 190;BA.debugLine="close";
_vvvvvvvvvvvv1();
 //BA.debugLineNum = 191;BA.debugLine="End Sub";
return "";
}
public String  _lbtn_click() throws Exception{
 //BA.debugLineNum = 108;BA.debugLine="Sub Lbtn_Click";
 //BA.debugLineNum = 110;BA.debugLine="func.savePFM(\"sdfsd\",2)";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"sdfsd",BA.NumberToString(2));
 //BA.debugLineNum = 111;BA.debugLine="CallSub2(actBook,\"show_hide_frag\",func.listInitia";
__c.CallSubNew2(ba,(Object)(_vvvvvvvvvvvvvvvv3.getObject()),"show_hide_frag",(Object)(_vvvvvvvvvvvvvvvv7._vvv0 /*anywheresoftware.b4a.objects.collections.List*/ (ba,(int) (28),this,"")));
 //BA.debugLineNum = 113;BA.debugLine="End Sub";
return "";
}
public void  _vvvvvvvvvvvv5(anywheresoftware.b4a.objects.PanelWrapper _parent) throws Exception{
ResumableSub_onCreateView rsub = new ResumableSub_onCreateView(this,_parent);
rsub.resume(ba, null);
}
public static class ResumableSub_onCreateView extends BA.ResumableSub {
public ResumableSub_onCreateView(com.pas.abtahibo.parvaz.fragnote3 parent,anywheresoftware.b4a.objects.PanelWrapper _parent) {
this.parent = parent;
this._parent = _parent;
}
com.pas.abtahibo.parvaz.fragnote3 parent;
anywheresoftware.b4a.objects.PanelWrapper _parent;
anywheresoftware.b4a.objects.LabelWrapper _l2n = null;

@Override
public void resume(BA ba, Object[] result) throws Exception{

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
 //BA.debugLineNum = 36;BA.debugLine="content = Parent";
parent._vvvvvvvvvvvvv0 = _parent;
 //BA.debugLineNum = 37;BA.debugLine="content.Color = 0xFFFBFDFF";
parent._vvvvvvvvvvvvv0.setColor(((int)0xfffbfdff));
 //BA.debugLineNum = 39;BA.debugLine="Dim l2n As Label";
_l2n = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 40;BA.debugLine="l2n.Initialize(\"\")";
_l2n.Initialize(ba,"");
 //BA.debugLineNum = 41;BA.debugLine="content.AddView(l2n,0,50%y-30dip,100%x,60dip)";
parent._vvvvvvvvvvvvv0.AddView((android.view.View)(_l2n.getObject()),(int) (0),(int) (parent.__c.PerYToCurrent((float) (50),ba)-parent.__c.DipToCurrent((int) (30))),parent.__c.PerXToCurrent((float) (100),ba),parent.__c.DipToCurrent((int) (60)));
 //BA.debugLineNum = 42;BA.debugLine="l2n.Typeface = Typeface.CreateNew(Typeface.LoadFr";
_l2n.setTypeface(parent.__c.Typeface.CreateNew(parent.__c.Typeface.LoadFromAssets(parent._vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)),parent.__c.Typeface.STYLE_BOLD));
 //BA.debugLineNum = 43;BA.debugLine="l2n.Text=func.gland(54)";
_l2n.setText(BA.ObjectToCharSequence(parent._vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (54))));
 //BA.debugLineNum = 44;BA.debugLine="l2n.Gravity=Bit.Or(Gravity.CENTER,Gravity.CENTER_";
_l2n.setGravity(parent.__c.Bit.Or(parent.__c.Gravity.CENTER,parent.__c.Gravity.CENTER_VERTICAL));
 //BA.debugLineNum = 45;BA.debugLine="l2n.textColor = Colors.Black";
_l2n.setTextColor(parent.__c.Colors.Black);
 //BA.debugLineNum = 46;BA.debugLine="l2n.TextSize=14";
_l2n.setTextSize((float) (14));
 //BA.debugLineNum = 48;BA.debugLine="l2n.Visible = True";
_l2n.setVisible(parent.__c.True);
 //BA.debugLineNum = 49;BA.debugLine="Sleep(5)";
parent.__c.Sleep(ba,this,(int) (5));
this.state = 5;
return;
case 5:
//C
this.state = 1;
;
 //BA.debugLineNum = 50;BA.debugLine="addView";
parent._vvvvvvvvvvv0();
 //BA.debugLineNum = 51;BA.debugLine="l2n.Visible = False";
_l2n.setVisible(parent.__c.False);
 //BA.debugLineNum = 54;BA.debugLine="If sql2.IsInitialized=False Then";
if (true) break;

case 1:
//if
this.state = 4;
if (parent._vvvvvvvvvvvvvv1.IsInitialized()==parent.__c.False) { 
this.state = 3;
}if (true) break;

case 3:
//C
this.state = 4;
 //BA.debugLineNum = 55;BA.debugLine="sql2.Initialize(File.DirInternal,\"note_book.db\",";
parent._vvvvvvvvvvvvvv1.Initialize(parent.__c.File.getDirInternal(),"note_book.db",parent.__c.True);
 if (true) break;

case 4:
//C
this.state = -1;
;
 //BA.debugLineNum = 58;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _vvvvvvvvvvvv6(int _keycode) throws Exception{
 //BA.debugLineNum = 198;BA.debugLine="public Sub onKey (KeyCode As Int)";
 //BA.debugLineNum = 200;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then";
if (_keycode==__c.KeyCodes.KEYCODE_BACK) { 
 //BA.debugLineNum = 201;BA.debugLine="close";
_vvvvvvvvvvvv1();
 };
 //BA.debugLineNum = 204;BA.debugLine="End Sub";
return "";
}
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
BA.senderHolder.set(sender);
return BA.SubDelegator.SubNotFound;
}
}
