package com.pas.abtahibo.parvaz;


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

public class fragsearchbook 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.fragsearchbook");
            if (htSubs == null) {
                ba.loadHtSubs(this.getClass());
                htSubs = ba.htSubs;
            }
            
        }
        if (BA.isShellModeRuntimeCheck(ba)) 
			   this.getClass().getMethod("_class_globals", com.pas.abtahibo.parvaz.fragsearchbook.class).invoke(this, new Object[] {null});
        else
            ba.raiseEvent2(null, true, "class_globals", false);
    }

 public anywheresoftware.b4a.keywords.Common __c = null;
public com.aghajari.rv.Amir_RecyclerView _recsearch = null;
public de.amberhome.objects.appcompat.ACEditTextWrapper _ed_search = null;
public anywheresoftware.b4a.objects.LabelWrapper _lab_search = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_number = null;
public anywheresoftware.b4a.sql.SQL _vvvvvvvvvvvvvvvvvv5 = null;
public anywheresoftware.b4a.sql.SQL.ResultSetWrapper _vvvvvvvvvvvvvvvvvv6 = null;
public anywheresoftware.b4a.sql.SQL _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6 = null;
public anywheresoftware.b4a.objects.collections.List _list_aye = null;
public anywheresoftware.b4a.objects.collections.List _list_id1 = null;
public anywheresoftware.b4a.objects.collections.List _list_tfob_asli = null;
public anywheresoftware.b4a.objects.collections.List _list_tfob_faree = null;
public anywheresoftware.b4a.objects.collections.List _list_name_faree = null;
public anywheresoftware.b4a.objects.collections.List _list_farsi_book = null;
public anywheresoftware.b4a.objects.collections.List _list_id2 = null;
public anywheresoftware.b4a.objects.collections.List _list_doaa_name = null;
public anywheresoftware.b4a.objects.collections.List _list_pic = null;
public String _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7 = "";
public String _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0 = "";
public anywheresoftware.b4a.objects.PanelWrapper _vvvvvvvvvvvvv0 = null;
public anywheresoftware.b4a.objects.LabelWrapper _lab_back = null;
public anywheresoftware.b4a.objects.LabelWrapper _label1 = null;
public boolean _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1 = false;
public anywheresoftware.b4a.objects.IME _vvvvvvvvvvvvvvvvvv0 = 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{
 //BA.debugLineNum = 124;BA.debugLine="Sub addView";
 //BA.debugLineNum = 126;BA.debugLine="content.LoadLayout(\"searchlayoutbd\")";
_vvvvvvvvvvvvv0.LoadLayout("searchlayoutbd",ba);
 //BA.debugLineNum = 128;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 = 129;BA.debugLine="ed_search.RequestFocus";
_ed_search.RequestFocus();
 //BA.debugLineNum = 130;BA.debugLine="ed_search.Color=Colors.Transparent";
_ed_search.setColor(__c.Colors.Transparent);
 //BA.debugLineNum = 131;BA.debugLine="ed_search.Hint= func.gland(64)";
_ed_search.setHint(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (64)));
 //BA.debugLineNum = 133;BA.debugLine="Label1.Text = func.gland(73)";
_label1.setText(BA.ObjectToCharSequence(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (73))));
 //BA.debugLineNum = 135;BA.debugLine="func.color_border(lab_search,0x327FD3B1,15dip)";
_vvvvvvvvvvvvvvvv7._color_border /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_lab_search.getObject())),((int)0x327fd3b1),__c.DipToCurrent((int) (15)));
 //BA.debugLineNum = 137;BA.debugLine="ed_search.Typeface = Typeface.LoadFromAssets(func";
_ed_search.setTypeface(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)));
 //BA.debugLineNum = 138;BA.debugLine="Label1.Typeface = Typeface.CreateNew(Typeface.Lo";
_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)),__c.Typeface.STYLE_BOLD));
 //BA.debugLineNum = 140;BA.debugLine="L_Number.Typeface = Typeface.LoadFromAssets(func.";
_l_number.setTypeface(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)));
 //BA.debugLineNum = 142;BA.debugLine="func.MinimomFontLabel(Label1,14)";
_vvvvvvvvvvvvvvvv7._vvvv3 /*String*/ (ba,_label1,(int) (14));
 //BA.debugLineNum = 144;BA.debugLine="End Sub";
return "";
}
public String  _class_globals() throws Exception{
 //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals";
 //BA.debugLineNum = 3;BA.debugLine="Private recSearch As AX_RecyclerView";
_recsearch = new com.aghajari.rv.Amir_RecyclerView();
 //BA.debugLineNum = 4;BA.debugLine="Private ed_search As ACEditText";
_ed_search = new de.amberhome.objects.appcompat.ACEditTextWrapper();
 //BA.debugLineNum = 5;BA.debugLine="Private lab_search As Label";
_lab_search = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 6;BA.debugLine="Private L_Number As Label";
_l_number = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 8;BA.debugLine="Private sql As SQL";
_vvvvvvvvvvvvvvvvvv5 = new anywheresoftware.b4a.sql.SQL();
 //BA.debugLineNum = 9;BA.debugLine="Private Cursor As ResultSet";
_vvvvvvvvvvvvvvvvvv6 = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
 //BA.debugLineNum = 11;BA.debugLine="Private sql1 As SQL";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6 = new anywheresoftware.b4a.sql.SQL();
 //BA.debugLineNum = 13;BA.debugLine="Private list_aye  As List";
_list_aye = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 14;BA.debugLine="Private list_id1  As List";
_list_id1 = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 16;BA.debugLine="Private list_tfob_asli  As List";
_list_tfob_asli = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 17;BA.debugLine="Private list_tfob_faree As List";
_list_tfob_faree = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 18;BA.debugLine="Private list_name_faree As List";
_list_name_faree = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 19;BA.debugLine="Private list_farsi_book As List";
_list_farsi_book = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 21;BA.debugLine="Dim list_id2  		  As List";
_list_id2 = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 22;BA.debugLine="Dim List_doaa_name  As List";
_list_doaa_name = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 23;BA.debugLine="Dim List_Pic        As List";
_list_pic = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 25;BA.debugLine="Private sSearchp As String";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7 = "";
 //BA.debugLineNum = 27;BA.debugLine="Private nameBook As String";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0 = "";
 //BA.debugLineNum = 29;BA.debugLine="Dim content As Panel";
_vvvvvvvvvvvvv0 = new anywheresoftware.b4a.objects.PanelWrapper();
 //BA.debugLineNum = 31;BA.debugLine="Dim lab_back As Label";
_lab_back = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 32;BA.debugLine="Private Label1 As Label";
_label1 = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 34;BA.debugLine="Private mKeyboardIsVisible As Boolean";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1 = false;
 //BA.debugLineNum = 35;BA.debugLine="Private ime As IME";
_vvvvvvvvvvvvvvvvvv0 = new anywheresoftware.b4a.objects.IME();
 //BA.debugLineNum = 37;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvv1() throws Exception{
 //BA.debugLineNum = 361;BA.debugLine="Private Sub close";
 //BA.debugLineNum = 362;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) (14),this,"")));
 //BA.debugLineNum = 363;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvvvvvvv0() throws Exception{
 //BA.debugLineNum = 150;BA.debugLine="Sub hideKey";
 //BA.debugLineNum = 151;BA.debugLine="ime.HideKeyboard";
_vvvvvvvvvvvvvvvvvv0.HideKeyboard(ba);
 //BA.debugLineNum = 152;BA.debugLine="End Sub";
return "";
}
public boolean  _ime_handleaction() throws Exception{
 //BA.debugLineNum = 154;BA.debugLine="Sub ime_HandleAction As Boolean";
 //BA.debugLineNum = 155;BA.debugLine="lab_search_Click";
_lab_search_click();
 //BA.debugLineNum = 156;BA.debugLine="Return True";
if (true) return __c.True;
 //BA.debugLineNum = 157;BA.debugLine="End Sub";
return false;
}
public String  _ime_heightchanged(int _newheight,int _oldheight) throws Exception{
 //BA.debugLineNum = 117;BA.debugLine="Sub ime_HeightChanged (NewHeight As Int, OldHeight";
 //BA.debugLineNum = 118;BA.debugLine="mKeyboardIsVisible = (NewHeight < OldHeight)";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1 = (_newheight<_oldheight);
 //BA.debugLineNum = 119;BA.debugLine="CallSubDelayed(Me,\"refRecBook\")";
__c.CallSubDelayed(ba,this,"refRecBook");
 //BA.debugLineNum = 120;BA.debugLine="CallSubDelayed(Me,\"refRecSearch\")";
__c.CallSubDelayed(ba,this,"refRecSearch");
 //BA.debugLineNum = 122;BA.debugLine="End Sub";
return "";
}
public String  _initialize(anywheresoftware.b4a.BA _ba) throws Exception{
innerInitialize(_ba);
 //BA.debugLineNum = 39;BA.debugLine="Public Sub Initialize";
 //BA.debugLineNum = 40;BA.debugLine="End Sub";
return "";
}
public String  _lab_back_click() throws Exception{
 //BA.debugLineNum = 356;BA.debugLine="Sub lab_back_Click";
 //BA.debugLineNum = 357;BA.debugLine="close";
_vvvvvvvvvvvv1();
 //BA.debugLineNum = 358;BA.debugLine="End Sub";
return "";
}
public String  _lab_search_click() throws Exception{
String _sd = "";
 //BA.debugLineNum = 159;BA.debugLine="Sub lab_search_Click";
 //BA.debugLineNum = 161;BA.debugLine="hideKey";
_vvvvvvvvvvvvvvvvv0();
 //BA.debugLineNum = 163;BA.debugLine="list_aye.Clear";
_list_aye.Clear();
 //BA.debugLineNum = 164;BA.debugLine="list_id1.Clear";
_list_id1.Clear();
 //BA.debugLineNum = 166;BA.debugLine="list_tfob_asli.Clear";
_list_tfob_asli.Clear();
 //BA.debugLineNum = 167;BA.debugLine="list_tfob_faree.Clear";
_list_tfob_faree.Clear();
 //BA.debugLineNum = 169;BA.debugLine="list_name_faree.Clear";
_list_name_faree.Clear();
 //BA.debugLineNum = 170;BA.debugLine="list_farsi_book.Clear";
_list_farsi_book.Clear();
 //BA.debugLineNum = 172;BA.debugLine="func.savePFM(\"posSeQur\",-1)";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"posSeQur",BA.NumberToString(-1));
 //BA.debugLineNum = 174;BA.debugLine="If ed_search.Text.Length > 0 Then";
if (_ed_search.getText().length()>0) { 
 //BA.debugLineNum = 176;BA.debugLine="Dim sd As String= func.FToF1(ed_search.Text)";
_sd = _vvvvvvvvvvvvvvvv7._vv0 /*String*/ (ba,_ed_search.getText());
 //BA.debugLineNum = 177;BA.debugLine="sSearchp = sd";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7 = _sd;
 //BA.debugLineNum = 179;BA.debugLine="Cursor = sql.ExecQuery(\"SELECT page,farsi,farsi1";
_vvvvvvvvvvvvvvvvvv6 = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_vvvvvvvvvvvvvvvvvv5.ExecQuery("SELECT page,farsi,farsi1,id FROM '"+_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0+"' where farsi1 LIKE '%"+_sd+"%' ")));
 //BA.debugLineNum = 180;BA.debugLine="L_Number.Text = Cursor.RowCount";
_l_number.setText(BA.ObjectToCharSequence(_vvvvvvvvvvvvvvvvvv6.getRowCount()));
 //BA.debugLineNum = 181;BA.debugLine="Do While Cursor.NextRow";
while (_vvvvvvvvvvvvvvvvvv6.NextRow()) {
 //BA.debugLineNum = 183;BA.debugLine="list_id1.add(Cursor.GetInt(\"id\"))";
_list_id1.Add((Object)(_vvvvvvvvvvvvvvvvvv6.GetInt("id")));
 //BA.debugLineNum = 184;BA.debugLine="list_aye.add(Cursor.GetInt(\"page\"))";
_list_aye.Add((Object)(_vvvvvvvvvvvvvvvvvv6.GetInt("page")));
 //BA.debugLineNum = 186;BA.debugLine="list_tfob_asli.add(Cursor.GetString(\"farsi\"))";
_list_tfob_asli.Add((Object)(_vvvvvvvvvvvvvvvvvv6.GetString("farsi")));
 //BA.debugLineNum = 187;BA.debugLine="list_tfob_faree.add(Cursor.GetString(\"farsi1\"))";
_list_tfob_faree.Add((Object)(_vvvvvvvvvvvvvvvvvv6.GetString("farsi1")));
 //BA.debugLineNum = 189;BA.debugLine="list_name_faree.Add(nameBook)";
_list_name_faree.Add((Object)(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0));
 //BA.debugLineNum = 190;BA.debugLine="list_farsi_book.Add(List_doaa_name.Get(List_Pic";
_list_farsi_book.Add(_list_doaa_name.Get(_list_pic.IndexOf((Object)(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0))));
 }
;
 //BA.debugLineNum = 192;BA.debugLine="Loop : Cursor.Close";
_vvvvvvvvvvvvvvvvvv6.Close();
 //BA.debugLineNum = 194;BA.debugLine="recSearch.Visible=True";
_recsearch.setVisible(__c.True);
 //BA.debugLineNum = 195;BA.debugLine="CallSubDelayed(Me,\"refRecSearch\")";
__c.CallSubDelayed(ba,this,"refRecSearch");
 //BA.debugLineNum = 197;BA.debugLine="ProgressDialogHide";
__c.ProgressDialogHide();
 }else {
 //BA.debugLineNum = 199;BA.debugLine="sSearchp = \"\"";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7 = "";
 //BA.debugLineNum = 200;BA.debugLine="func.ToastERROR(func.gland(78))";
_vvvvvvvvvvvvvvvv7._vvvvvvv0 /*String*/ (ba,_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (78)));
 };
 //BA.debugLineNum = 204;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.fragsearchbook parent,anywheresoftware.b4a.objects.PanelWrapper _parent) {
this.parent = parent;
this._parent = _parent;
}
com.pas.abtahibo.parvaz.fragsearchbook parent;
anywheresoftware.b4a.objects.PanelWrapper _parent;
anywheresoftware.b4a.objects.LabelWrapper _l2n = null;
String _bookdbpae = "";
String _lan2faen = "";

@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 = 44;BA.debugLine="content = Parent";
parent._vvvvvvvvvvvvv0 = _parent;
 //BA.debugLineNum = 45;BA.debugLine="content.Color = 0xFFFBFDFF";
parent._vvvvvvvvvvvvv0.setColor(((int)0xfffbfdff));
 //BA.debugLineNum = 47;BA.debugLine="Dim l2n As Label";
_l2n = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 48;BA.debugLine="l2n.Initialize(\"\")";
_l2n.Initialize(ba,"");
 //BA.debugLineNum = 49;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 = 50;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 = 51;BA.debugLine="l2n.Text=func.gland(54)";
_l2n.setText(BA.ObjectToCharSequence(parent._vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (54))));
 //BA.debugLineNum = 52;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 = 53;BA.debugLine="l2n.textColor = Colors.Black";
_l2n.setTextColor(parent.__c.Colors.Black);
 //BA.debugLineNum = 54;BA.debugLine="l2n.TextSize=14";
_l2n.setTextSize((float) (14));
 //BA.debugLineNum = 56;BA.debugLine="l2n.Visible = True";
_l2n.setVisible(parent.__c.True);
 //BA.debugLineNum = 57;BA.debugLine="Sleep(5)";
parent.__c.Sleep(ba,this,(int) (5));
this.state = 17;
return;
case 17:
//C
this.state = 1;
;
 //BA.debugLineNum = 58;BA.debugLine="addView";
parent._vvvvvvvvvvv0();
 //BA.debugLineNum = 59;BA.debugLine="l2n.Visible = False";
_l2n.setVisible(parent.__c.False);
 //BA.debugLineNum = 62;BA.debugLine="ime.Initialize(\"ime\")";
parent._vvvvvvvvvvvvvvvvvv0.Initialize("ime");
 //BA.debugLineNum = 63;BA.debugLine="ime.AddHeightChangedEvent";
parent._vvvvvvvvvvvvvvvvvv0.AddHeightChangedEvent(ba);
 //BA.debugLineNum = 64;BA.debugLine="ime.AddHandleActionEvent(ed_search)";
parent._vvvvvvvvvvvvvvvvvv0.AddHandleActionEvent((android.widget.EditText)(parent._ed_search.getObject()),ba);
 //BA.debugLineNum = 66;BA.debugLine="func.savePFM(\"posSeQur\",-1)";
parent._vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"posSeQur",BA.NumberToString(-1));
 //BA.debugLineNum = 68;BA.debugLine="list_id2.Initialize";
parent._list_id2.Initialize();
 //BA.debugLineNum = 69;BA.debugLine="List_doaa_name.Initialize";
parent._list_doaa_name.Initialize();
 //BA.debugLineNum = 70;BA.debugLine="List_Pic.Initialize";
parent._list_pic.Initialize();
 //BA.debugLineNum = 72;BA.debugLine="Dim bookDBPAE As String";
_bookdbpae = "";
 //BA.debugLineNum = 73;BA.debugLine="Dim lan2FaEn As String = (func.readNIS(\"lan2FaEn\"";
_lan2faen = (parent._vvvvvvvvvvvvvvvv7._vvvv7 /*String*/ (ba,"lan2FaEn",BA.NumberToString(1)));
 //BA.debugLineNum = 75;BA.debugLine="If lan2FaEn = 1 Then";
if (true) break;

case 1:
//if
this.state = 10;
if ((_lan2faen).equals(BA.NumberToString(1))) { 
this.state = 3;
}else if((_lan2faen).equals(BA.NumberToString(3))) { 
this.state = 5;
}else if((_lan2faen).equals(BA.NumberToString(2))) { 
this.state = 7;
}else {
this.state = 9;
}if (true) break;

case 3:
//C
this.state = 10;
 //BA.debugLineNum = 76;BA.debugLine="bookDBPAE = \"book.db\"";
_bookdbpae = "book.db";
 if (true) break;

case 5:
//C
this.state = 10;
 //BA.debugLineNum = 78;BA.debugLine="bookDBPAE = \"book_eng.db\"";
_bookdbpae = "book_eng.db";
 if (true) break;

case 7:
//C
this.state = 10;
 //BA.debugLineNum = 80;BA.debugLine="bookDBPAE = \"book_arabi.db\"";
_bookdbpae = "book_arabi.db";
 if (true) break;

case 9:
//C
this.state = 10;
 //BA.debugLineNum = 82;BA.debugLine="bookDBPAE = \"book.db\"";
_bookdbpae = "book.db";
 if (true) break;
;
 //BA.debugLineNum = 85;BA.debugLine="If sql.IsInitialized=False Then";

case 10:
//if
this.state = 13;
if (parent._vvvvvvvvvvvvvvvvvv5.IsInitialized()==parent.__c.False) { 
this.state = 12;
}if (true) break;

case 12:
//C
this.state = 13;
 //BA.debugLineNum = 86;BA.debugLine="sql.Initialize(File.DirInternal,bookDBPAE,True)";
parent._vvvvvvvvvvvvvvvvvv5.Initialize(parent.__c.File.getDirInternal(),_bookdbpae,parent.__c.True);
 if (true) break;
;
 //BA.debugLineNum = 89;BA.debugLine="If sql1.IsInitialized=False Then";

case 13:
//if
this.state = 16;
if (parent._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6.IsInitialized()==parent.__c.False) { 
this.state = 15;
}if (true) break;

case 15:
//C
this.state = 16;
 //BA.debugLineNum = 90;BA.debugLine="sql1.Initialize(File.DirInternal,\"quransooreh.db";
parent._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6.Initialize(parent.__c.File.getDirInternal(),"quransooreh.db",parent.__c.True);
 if (true) break;

case 16:
//C
this.state = -1;
;
 //BA.debugLineNum = 93;BA.debugLine="Cursor = sql1.ExecQuery(\"SELECT idindex,name,enna";
parent._vvvvvvvvvvvvvvvvvv6 = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(parent._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6.ExecQuery("SELECT idindex,name,enname FROM book  where lang = '"+parent._vvvvvvvvvvvvvvvv7._vvvv7 /*String*/ (ba,"lan2FaEn",BA.NumberToString(1))+"' order by idindex asc")));
 //BA.debugLineNum = 94;BA.debugLine="Cursor.Position = 0";
parent._vvvvvvvvvvvvvvvvvv6.setPosition((int) (0));
 //BA.debugLineNum = 96;BA.debugLine="List_doaa_name.add((Cursor.GetString(\"name\")))";
parent._list_doaa_name.Add((Object)((parent._vvvvvvvvvvvvvvvvvv6.GetString("name"))));
 //BA.debugLineNum = 97;BA.debugLine="List_Pic.add((Cursor.GetString(\"enname\")))";
parent._list_pic.Add((Object)((parent._vvvvvvvvvvvvvvvvvv6.GetString("enname"))));
 //BA.debugLineNum = 98;BA.debugLine="list_id2.add((Cursor.GetInt(\"idindex\")))";
parent._list_id2.Add((Object)((parent._vvvvvvvvvvvvvvvvvv6.GetInt("idindex"))));
 //BA.debugLineNum = 100;BA.debugLine="Cursor.Close";
parent._vvvvvvvvvvvvvvvvvv6.Close();
 //BA.debugLineNum = 102;BA.debugLine="func.savePFM(\"idBookSearch\",list_id2.Get(0))";
parent._vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"idBookSearch",BA.ObjectToString(parent._list_id2.Get((int) (0))));
 //BA.debugLineNum = 103;BA.debugLine="nameBook = List_Pic.Get(0)";
parent._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0 = BA.ObjectToString(parent._list_pic.Get((int) (0)));
 //BA.debugLineNum = 106;BA.debugLine="list_id1.Initialize";
parent._list_id1.Initialize();
 //BA.debugLineNum = 107;BA.debugLine="list_aye.Initialize";
parent._list_aye.Initialize();
 //BA.debugLineNum = 108;BA.debugLine="list_tfob_asli.Initialize";
parent._list_tfob_asli.Initialize();
 //BA.debugLineNum = 109;BA.debugLine="list_tfob_faree.Initialize";
parent._list_tfob_faree.Initialize();
 //BA.debugLineNum = 110;BA.debugLine="list_name_faree.Initialize";
parent._list_name_faree.Initialize();
 //BA.debugLineNum = 111;BA.debugLine="list_farsi_book.Initialize";
parent._list_farsi_book.Initialize();
 //BA.debugLineNum = 113;BA.debugLine="CallSubDelayed(Me,\"showKey\")";
parent.__c.CallSubDelayed(ba,parent,"showKey");
 //BA.debugLineNum = 115;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _vvvvvvvvvvvv6(int _keycode) throws Exception{
 //BA.debugLineNum = 364;BA.debugLine="public Sub onKey (KeyCode As Int)";
 //BA.debugLineNum = 366;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then";
if (_keycode==__c.KeyCodes.KEYCODE_BACK) { 
 //BA.debugLineNum = 367;BA.debugLine="close";
_vvvvvvvvvvvv1();
 };
 //BA.debugLineNum = 370;BA.debugLine="End Sub";
return "";
}
public String  _p_grid_asli_click() throws Exception{
anywheresoftware.b4a.objects.PanelWrapper _pp = null;
int _position = 0;
int _pos = 0;
 //BA.debugLineNum = 321;BA.debugLine="Sub p_grid_asli_Click";
 //BA.debugLineNum = 323;BA.debugLine="hideKey";
_vvvvvvvvvvvvvvvvv0();
 //BA.debugLineNum = 325;BA.debugLine="Dim pp As Panel=Sender";
_pp = new anywheresoftware.b4a.objects.PanelWrapper();
_pp = (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)));
 //BA.debugLineNum = 326;BA.debugLine="Dim Position As Int = pp.tag";
_position = (int)(BA.ObjectToNumber(_pp.getTag()));
 //BA.debugLineNum = 328;BA.debugLine="func.savePFM(\"posSeQur\",Position)";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"posSeQur",BA.NumberToString(_position));
 //BA.debugLineNum = 329;BA.debugLine="CallSubDelayed(Me,\"refRecSearch\")";
__c.CallSubDelayed(ba,this,"refRecSearch");
 //BA.debugLineNum = 331;BA.debugLine="func.savePFM(\"search\",list_aye.Get(Position))";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"search",BA.ObjectToString(_list_aye.Get(_position)));
 //BA.debugLineNum = 332;BA.debugLine="func.savePFM(\"searchID\",list_id1.Get(Position))";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"searchID",BA.ObjectToString(_list_id1.Get(_position)));
 //BA.debugLineNum = 334;BA.debugLine="func.savePFM(\"txtSearchbd\",sSearchp)";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"txtSearchbd",_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7);
 //BA.debugLineNum = 339;BA.debugLine="func.savePFM(\"ennameBook\",list_name_faree.Get(Pos";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"ennameBook",BA.ObjectToString(_list_name_faree.Get(_position)));
 //BA.debugLineNum = 341;BA.debugLine="Dim pos As Int = list_id2.Get(List_Pic.IndexOf(li";
_pos = (int)(BA.ObjectToNumber(_list_id2.Get(_list_pic.IndexOf(_list_name_faree.Get(_position)))));
 //BA.debugLineNum = 342;BA.debugLine="func.savePFM(\"idBook\",pos)";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"idBook",BA.NumberToString(_pos));
 //BA.debugLineNum = 344;BA.debugLine="func.savePFM(\"NameBook\",list_farsi_book.Get(Posi";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"NameBook",BA.ObjectToString(_list_farsi_book.Get(_position)));
 //BA.debugLineNum = 346;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) (16),this,"")));
 //BA.debugLineNum = 348;BA.debugLine="End Sub";
return "";
}
public int  _recsearch_getitemcount() throws Exception{
 //BA.debugLineNum = 317;BA.debugLine="Private Sub recSearch_GetItemCount As Int";
 //BA.debugLineNum = 318;BA.debugLine="Return list_aye.Size";
if (true) return _list_aye.getSize();
 //BA.debugLineNum = 319;BA.debugLine="End Sub";
return 0;
}
public String  _recsearch_onbindviewholder(anywheresoftware.b4a.objects.PanelWrapper _parent,int _position) throws Exception{
anywheresoftware.b4a.objects.PanelWrapper _panel = null;
anywheresoftware.b4a.objects.LabelWrapper _lab2 = null;
anywheresoftware.b4a.objects.LabelWrapper _lab1 = null;
anywheresoftware.b4a.objects.LabelWrapper _lab4 = null;
String _ssearch = "";
String _ssearch1 = "";
String _lab1text = "";
String _lab1text1 = "";
int _intsearch = 0;
 //BA.debugLineNum = 226;BA.debugLine="Sub recSearch_onBindViewHolder (Parent As Panel,Po";
 //BA.debugLineNum = 228;BA.debugLine="Dim panel As Panel = Parent.GetView(0)";
_panel = new anywheresoftware.b4a.objects.PanelWrapper();
_panel = (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_parent.GetView((int) (0)).getObject()));
 //BA.debugLineNum = 229;BA.debugLine="Dim lab2 As Label=panel.GetView(0)";
_lab2 = new anywheresoftware.b4a.objects.LabelWrapper();
_lab2 = (anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_panel.GetView((int) (0)).getObject()));
 //BA.debugLineNum = 230;BA.debugLine="Dim lab1 As Label=panel.GetView(1)";
_lab1 = new anywheresoftware.b4a.objects.LabelWrapper();
_lab1 = (anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_panel.GetView((int) (1)).getObject()));
 //BA.debugLineNum = 231;BA.debugLine="Dim lab4 As Label=panel.GetView(2)";
_lab4 = new anywheresoftware.b4a.objects.LabelWrapper();
_lab4 = (anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_panel.GetView((int) (2)).getObject()));
 //BA.debugLineNum = 233;BA.debugLine="lab2.Top = 5dip";
_lab2.setTop(__c.DipToCurrent((int) (5)));
 //BA.debugLineNum = 235;BA.debugLine="lab2.Typeface=Typeface.CreateNew(Typeface.LoadFro";
_lab2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)),__c.Typeface.STYLE_BOLD));
 //BA.debugLineNum = 236;BA.debugLine="func.setEllipsize(lab2,\"END\")";
_vvvvvvvvvvvvvvvv7._vvvvv4 /*String*/ (ba,_lab2,"END");
 //BA.debugLineNum = 238;BA.debugLine="lab2.Text=(Position+1)&\"- \"&func.gland(121)&\" \"&(";
_lab2.setText(BA.ObjectToCharSequence(BA.NumberToString((_position+1))+"- "+_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (121))+" "+BA.ObjectToString((_list_aye.Get(_position)))+" - "+_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (115))+" "+BA.ObjectToString(_list_farsi_book.Get(_position))));
 //BA.debugLineNum = 240;BA.debugLine="lab2.Gravity=Bit.Or(Gravity.RIGHT,Gravity.CENTER_";
_lab2.setGravity(__c.Bit.Or(__c.Gravity.RIGHT,__c.Gravity.CENTER_VERTICAL));
 //BA.debugLineNum = 241;BA.debugLine="lab2.textColor = Colors.Black";
_lab2.setTextColor(__c.Colors.Black);
 //BA.debugLineNum = 242;BA.debugLine="lab2.TextSize=14";
_lab2.setTextSize((float) (14));
 //BA.debugLineNum = 245;BA.debugLine="lab1.Top=lab2.Top+lab2.Height";
_lab1.setTop((int) (_lab2.getTop()+_lab2.getHeight()));
 //BA.debugLineNum = 246;BA.debugLine="lab1.Typeface=Typeface.LoadFromAssets(func.font3)";
_lab1.setTypeface(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)));
 //BA.debugLineNum = 248;BA.debugLine="lab4.Top=lab2.Top+lab2.Height";
_lab4.setTop((int) (_lab2.getTop()+_lab2.getHeight()));
 //BA.debugLineNum = 249;BA.debugLine="lab4.Typeface=Typeface.LoadFromAssets(func.font3)";
_lab4.setTypeface(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)));
 //BA.debugLineNum = 251;BA.debugLine="Dim sSearch As String";
_ssearch = "";
 //BA.debugLineNum = 252;BA.debugLine="Dim SSearch1 As String";
_ssearch1 = "";
 //BA.debugLineNum = 253;BA.debugLine="Dim lab1Text As String";
_lab1text = "";
 //BA.debugLineNum = 254;BA.debugLine="Dim lab1Text1 As String";
_lab1text1 = "";
 //BA.debugLineNum = 256;BA.debugLine="SSearch1 = list_tfob_asli.Get(Position)";
_ssearch1 = BA.ObjectToString(_list_tfob_asli.Get(_position));
 //BA.debugLineNum = 257;BA.debugLine="sSearch = list_tfob_faree.Get(Position)";
_ssearch = BA.ObjectToString(_list_tfob_faree.Get(_position));
 //BA.debugLineNum = 259;BA.debugLine="Dim IntSearch As Int";
_intsearch = 0;
 //BA.debugLineNum = 260;BA.debugLine="IntSearch = sSearch.IndexOf( sSearchp )";
_intsearch = _ssearch.indexOf(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7);
 //BA.debugLineNum = 262;BA.debugLine="If (IntSearch-40) < 0 Then";
if ((_intsearch-40)<0) { 
 //BA.debugLineNum = 264;BA.debugLine="lab1Text = sSearch";
_lab1text = _ssearch;
 //BA.debugLineNum = 265;BA.debugLine="lab1Text1 = SSearch1";
_lab1text1 = _ssearch1;
 }else {
 //BA.debugLineNum = 268;BA.debugLine="lab1Text = sSearch.SubString2( IntSearch-40 , sS";
_lab1text = _ssearch.substring((int) (_intsearch-40),_ssearch.length());
 //BA.debugLineNum = 269;BA.debugLine="lab1Text1 = SSearch1.SubString2( IntSearch-40 ,";
_lab1text1 = _ssearch1.substring((int) (_intsearch-40),_ssearch1.length());
 };
 //BA.debugLineNum = 273;BA.debugLine="lab1.Text=func.SearchHighLight(lab1Text,sSearchp)";
_lab1.setText(BA.ObjectToCharSequence(_vvvvvvvvvvvvvvvv7._vvvvv3 /*anywheresoftware.b4a.agraham.richstring.RichStringBuilder.RichString*/ (ba,_lab1text,_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7).getObject()));
 //BA.debugLineNum = 276;BA.debugLine="func.setEllipsize(lab1,\"END\")";
_vvvvvvvvvvvvvvvv7._vvvvv4 /*String*/ (ba,_lab1,"END");
 //BA.debugLineNum = 277;BA.debugLine="lab1.Gravity=Bit.Or(Gravity.RIGHT,Gravity.CENTER_";
_lab1.setGravity(__c.Bit.Or(__c.Gravity.RIGHT,__c.Gravity.CENTER_VERTICAL));
 //BA.debugLineNum = 278;BA.debugLine="lab1.TextSize=14";
_lab1.setTextSize((float) (14));
 //BA.debugLineNum = 281;BA.debugLine="func.setEllipsize(lab4,\"END\")";
_vvvvvvvvvvvvvvvv7._vvvvv4 /*String*/ (ba,_lab4,"END");
 //BA.debugLineNum = 282;BA.debugLine="lab4.Gravity=Bit.Or(Gravity.RIGHT,Gravity.CENTER_";
_lab4.setGravity(__c.Bit.Or(__c.Gravity.RIGHT,__c.Gravity.CENTER_VERTICAL));
 //BA.debugLineNum = 283;BA.debugLine="lab4.TextSize=14";
_lab4.setTextSize((float) (14));
 //BA.debugLineNum = 284;BA.debugLine="lab4.Text = lab1Text1";
_lab4.setText(BA.ObjectToCharSequence(_lab1text1));
 //BA.debugLineNum = 285;BA.debugLine="lab4.Color=Colors.Transparent";
_lab4.setColor(__c.Colors.Transparent);
 //BA.debugLineNum = 286;BA.debugLine="lab4.textColor = Colors.Gray";
_lab4.setTextColor(__c.Colors.Gray);
 //BA.debugLineNum = 288;BA.debugLine="lab1.textColor = Colors.Gray";
_lab1.setTextColor(__c.Colors.Gray);
 //BA.debugLineNum = 289;BA.debugLine="lab4.Visible=False";
_lab4.setVisible(__c.False);
 //BA.debugLineNum = 291;BA.debugLine="If Position = func.readPFM(\"posSeQur\") Then";
if (_position==(double)(Double.parseDouble(_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"posSeQur")))) { 
 //BA.debugLineNum = 292;BA.debugLine="func.SetRipple(panel,0xFFCDFFD9,0x33A9A9A9,0)";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_panel.getObject())),((int)0xffcdffd9),((int)0x33a9a9a9),(float) (0));
 }else {
 //BA.debugLineNum = 294;BA.debugLine="If Position Mod 2 == 0 Then";
if (_position%2==0) { 
 //BA.debugLineNum = 295;BA.debugLine="func.SetRipple(panel,Colors.White,0x33A9A9A9,0)";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_panel.getObject())),__c.Colors.White,((int)0x33a9a9a9),(float) (0));
 }else {
 //BA.debugLineNum = 297;BA.debugLine="func.SetRipple(panel,0xFFEEEEEE,0x33ffffff,0)";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_panel.getObject())),((int)0xffeeeeee),((int)0x33ffffff),(float) (0));
 };
 };
 //BA.debugLineNum = 301;BA.debugLine="panel.Height=lab1.Top+lab1.Height+2dip";
_panel.setHeight((int) (_lab1.getTop()+_lab1.getHeight()+__c.DipToCurrent((int) (2))));
 //BA.debugLineNum = 303;BA.debugLine="If Position = list_aye.Size-1 Then";
if (_position==_list_aye.getSize()-1) { 
 //BA.debugLineNum = 304;BA.debugLine="If mKeyboardIsVisible Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1) { 
 //BA.debugLineNum = 305;BA.debugLine="Parent.Height=panel.Height+5dip + 50%y";
_parent.setHeight((int) (_panel.getHeight()+__c.DipToCurrent((int) (5))+__c.PerYToCurrent((float) (50),ba)));
 }else {
 //BA.debugLineNum = 307;BA.debugLine="Parent.Height=panel.Height+5dip";
_parent.setHeight((int) (_panel.getHeight()+__c.DipToCurrent((int) (5))));
 };
 }else {
 //BA.debugLineNum = 310;BA.debugLine="Parent.Height=panel.Height+5dip";
_parent.setHeight((int) (_panel.getHeight()+__c.DipToCurrent((int) (5))));
 };
 //BA.debugLineNum = 313;BA.debugLine="panel.Tag = Position";
_panel.setTag((Object)(_position));
 //BA.debugLineNum = 315;BA.debugLine="End Sub";
return "";
}
public String  _recsearch_oncreateviewholder(anywheresoftware.b4a.objects.PanelWrapper _parent,int _viewtype) throws Exception{
anywheresoftware.b4a.objects.PanelWrapper _p_grid_asli = null;
anywheresoftware.b4a.objects.LabelWrapper _lab2 = null;
anywheresoftware.b4a.objects.LabelWrapper _lab1 = null;
anywheresoftware.b4a.objects.LabelWrapper _lab4 = null;
 //BA.debugLineNum = 206;BA.debugLine="Sub recSearch_onCreateViewHolder (Parent As Panel,";
 //BA.debugLineNum = 208;BA.debugLine="Dim p_grid_asli As Panel";
_p_grid_asli = new anywheresoftware.b4a.objects.PanelWrapper();
 //BA.debugLineNum = 209;BA.debugLine="p_grid_asli.Initialize(\"p_grid_asli\")";
_p_grid_asli.Initialize(ba,"p_grid_asli");
 //BA.debugLineNum = 210;BA.debugLine="Parent.AddView(p_grid_asli,0%x,0,100%x,85dip)";
_parent.AddView((android.view.View)(_p_grid_asli.getObject()),__c.PerXToCurrent((float) (0),ba),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.DipToCurrent((int) (85)));
 //BA.debugLineNum = 212;BA.debugLine="Dim lab2 As Label";
_lab2 = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 213;BA.debugLine="lab2.Initialize(\"\")";
_lab2.Initialize(ba,"");
 //BA.debugLineNum = 214;BA.debugLine="p_grid_asli.AddView(lab2,1%x,5dip,98%x,40dip)";
_p_grid_asli.AddView((android.view.View)(_lab2.getObject()),__c.PerXToCurrent((float) (1),ba),__c.DipToCurrent((int) (5)),__c.PerXToCurrent((float) (98),ba),__c.DipToCurrent((int) (40)));
 //BA.debugLineNum = 216;BA.debugLine="Dim lab1 As Label";
_lab1 = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 217;BA.debugLine="lab1.Initialize(\"\")";
_lab1.Initialize(ba,"");
 //BA.debugLineNum = 218;BA.debugLine="p_grid_asli.AddView(lab1,1%x,lab2.Top+lab2.Height";
_p_grid_asli.AddView((android.view.View)(_lab1.getObject()),__c.PerXToCurrent((float) (1),ba),(int) (_lab2.getTop()+_lab2.getHeight()+__c.DipToCurrent((int) (5))),__c.PerXToCurrent((float) (98),ba),__c.DipToCurrent((int) (40)));
 //BA.debugLineNum = 220;BA.debugLine="Dim lab4 As Label";
_lab4 = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 221;BA.debugLine="lab4.Initialize(\"\")";
_lab4.Initialize(ba,"");
 //BA.debugLineNum = 222;BA.debugLine="p_grid_asli.AddView(lab4,1%x,5dip,98%x,40dip)";
_p_grid_asli.AddView((android.view.View)(_lab4.getObject()),__c.PerXToCurrent((float) (1),ba),__c.DipToCurrent((int) (5)),__c.PerXToCurrent((float) (98),ba),__c.DipToCurrent((int) (40)));
 //BA.debugLineNum = 224;BA.debugLine="End Sub";
return "";
}
public String  _refrecsearch() throws Exception{
 //BA.debugLineNum = 351;BA.debugLine="Sub refRecSearch";
 //BA.debugLineNum = 352;BA.debugLine="recSearch.Adapter2.NotifyDataSetChanged";
_recsearch.getAdapter2().NotifyDataSetChanged();
 //BA.debugLineNum = 353;BA.debugLine="recSearch.Adapter2.NotifyItemRemoved(0)";
_recsearch.getAdapter2().NotifyItemRemoved((int) (0));
 //BA.debugLineNum = 354;BA.debugLine="End Sub";
return "";
}
public String  _showkey() throws Exception{
 //BA.debugLineNum = 146;BA.debugLine="Sub showKey";
 //BA.debugLineNum = 147;BA.debugLine="ime.ShowKeyboard(ed_search)";
_vvvvvvvvvvvvvvvvvv0.ShowKeyboard((android.view.View)(_ed_search.getObject()));
 //BA.debugLineNum = 148;BA.debugLine="End Sub";
return "";
}
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
BA.senderHolder.set(sender);
if (BA.fastSubCompare(sub, "REFRECSEARCH"))
	return _refrecsearch();
if (BA.fastSubCompare(sub, "SHOWKEY"))
	return _showkey();
return BA.SubDelegator.SubNotFound;
}
}
