Version: 4:11:02

Se arrglo el resumen dia, ahora puedes entrar sin necesidad de hacer algun pedido sin que truene, se muestra la cantidad de clientes visitados sin importar si tienen o no tienen venta y tambien se le agrego la cantidad de clientes que si tienen venta.
This commit is contained in:
IsR0d
2024-11-04 12:36:27 -06:00
parent 65319638b4
commit f9f3ff7d6e
545 changed files with 22807 additions and 103664 deletions

View File

@@ -10,7 +10,7 @@ public class b4ximageview extends B4AClass.ImplB4AClass implements BA.SubDelegat
private static java.util.HashMap<String, java.lang.reflect.Method> htSubs;
private void innerInitialize(BA _ba) throws Exception {
if (ba == null) {
ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "keymon.lat.medicomed.b4ximageview");
ba = new BA(_ba, this, htSubs, "keymon.lat.medicomed.b4ximageview");
if (htSubs == null) {
ba.loadHtSubs(this.getClass());
htSubs = ba.htSubs;
@@ -23,14 +23,7 @@ public class b4ximageview extends B4AClass.ImplB4AClass implements BA.SubDelegat
ba.raiseEvent2(null, true, "class_globals", false);
}
public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{
innerInitialize(_ba);
}
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
return BA.SubDelegator.SubNotFound;
}
public anywheresoftware.b4a.keywords.Common __c = null;
public anywheresoftware.b4a.keywords.Common __c = null;
public String _meventname = "";
public Object _mcallback = null;
public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null;
@@ -54,418 +47,258 @@ public keymon.lat.medicomed.b4xpages _b4xpages = null;
public keymon.lat.medicomed.b4xcollections _b4xcollections = null;
public keymon.lat.medicomed.httputils2service _httputils2service = null;
public keymon.lat.medicomed.xuiviewsutils _xuiviewsutils = null;
public String _base_resize(keymon.lat.medicomed.b4ximageview __ref,double _width,double _height) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4ximageview";
if (Debug.shouldDelegate(ba, "base_resize", true))
{return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));}
RDebugUtils.currentLine=52953088;
//BA.debugLineNum = 52953088;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A";
RDebugUtils.currentLine=52953089;
//BA.debugLineNum = 52953089;BA.debugLine="Update";
__ref._update /*String*/ (null);
RDebugUtils.currentLine=52953090;
//BA.debugLineNum = 52953090;BA.debugLine="End Sub";
public String _base_resize(double _width,double _height) throws Exception{
//BA.debugLineNum = 40;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A";
//BA.debugLineNum = 41;BA.debugLine="Update";
_update();
//BA.debugLineNum = 42;BA.debugLine="End Sub";
return "";
}
public String _update(keymon.lat.medicomed.b4ximageview __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4ximageview";
if (Debug.shouldDelegate(ba, "update", true))
{return ((String) Debug.delegate(ba, "update", null));}
public String _class_globals() throws Exception{
//BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals";
//BA.debugLineNum = 6;BA.debugLine="Private mEventName As String 'ignore";
_meventname = "";
//BA.debugLineNum = 7;BA.debugLine="Private mCallBack As Object 'ignore";
_mcallback = new Object();
//BA.debugLineNum = 8;BA.debugLine="Public mBase As B4XView";
_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper();
//BA.debugLineNum = 9;BA.debugLine="Private xui As XUI 'ignore";
_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI();
//BA.debugLineNum = 10;BA.debugLine="Public Tag As Object";
_tag = new Object();
//BA.debugLineNum = 11;BA.debugLine="Private iv As B4XView";
_iv = new anywheresoftware.b4a.objects.B4XViewWrapper();
//BA.debugLineNum = 12;BA.debugLine="Private mResizeMode As String";
_mresizemode = "";
//BA.debugLineNum = 13;BA.debugLine="Private mRound As Boolean";
_mround = false;
//BA.debugLineNum = 14;BA.debugLine="Private mBitmap As B4XBitmap";
_mbitmap = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper();
//BA.debugLineNum = 15;BA.debugLine="Public mBackgroundColor As Int";
_mbackgroundcolor = 0;
//BA.debugLineNum = 16;BA.debugLine="Private mCornersRadius As Int";
_mcornersradius = 0;
//BA.debugLineNum = 17;BA.debugLine="End Sub";
return "";
}
public String _clear() throws Exception{
//BA.debugLineNum = 119;BA.debugLine="Public Sub Clear";
//BA.debugLineNum = 120;BA.debugLine="mBitmap = Null";
_mbitmap = (anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(), (android.graphics.Bitmap)(__c.Null));
//BA.debugLineNum = 121;BA.debugLine="iv.SetBitmap(Null)";
_iv.SetBitmap((android.graphics.Bitmap)(__c.Null));
//BA.debugLineNum = 122;BA.debugLine="End Sub";
return "";
}
public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{
anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null;
//BA.debugLineNum = 25;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl";
//BA.debugLineNum = 26;BA.debugLine="mBase = Base";
_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base));
//BA.debugLineNum = 27;BA.debugLine="Tag = mBase.Tag";
_tag = _mbase.getTag();
//BA.debugLineNum = 28;BA.debugLine="mBase.Tag = Me";
_mbase.setTag(this);
//BA.debugLineNum = 29;BA.debugLine="Dim iiv As ImageView";
_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper();
//BA.debugLineNum = 30;BA.debugLine="iiv.Initialize(\"\")";
_iiv.Initialize(ba,"");
//BA.debugLineNum = 31;BA.debugLine="iv = iiv";
_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iiv.getObject()));
//BA.debugLineNum = 32;BA.debugLine="mRound =Props.Get(\"Round\")";
_mround = BA.ObjectToBoolean(_props.Get((Object)("Round")));
//BA.debugLineNum = 33;BA.debugLine="mResizeMode = Props.Get(\"ResizeMode\")";
_mresizemode = BA.ObjectToString(_props.Get((Object)("ResizeMode")));
//BA.debugLineNum = 34;BA.debugLine="mBackgroundColor = xui.PaintOrColorToColor(Props.";
_mbackgroundcolor = _xui.PaintOrColorToColor(_props.Get((Object)("BackgroundColor")));
//BA.debugLineNum = 35;BA.debugLine="mCornersRadius = DipToCurrent(Props.GetDefault(\"C";
_mcornersradius = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornersRadius"),(Object)(0)))));
//BA.debugLineNum = 36;BA.debugLine="mBase.AddView(iv, 0, 0, mBase.Width, mBase.Height";
_mbase.AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight());
//BA.debugLineNum = 37;BA.debugLine="Update";
_update();
//BA.debugLineNum = 38;BA.debugLine="End Sub";
return "";
}
public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _getbitmap() throws Exception{
//BA.debugLineNum = 130;BA.debugLine="Public Sub getBitmap As B4XBitmap";
//BA.debugLineNum = 131;BA.debugLine="Return mBitmap";
if (true) return _mbitmap;
//BA.debugLineNum = 132;BA.debugLine="End Sub";
return null;
}
public int _getcornersradius() throws Exception{
//BA.debugLineNum = 56;BA.debugLine="Public Sub getCornersRadius As Int";
//BA.debugLineNum = 57;BA.debugLine="Return mCornersRadius";
if (true) return _mcornersradius;
//BA.debugLineNum = 58;BA.debugLine="End Sub";
return 0;
}
public String _getresizemode() throws Exception{
//BA.debugLineNum = 67;BA.debugLine="Public Sub getResizeMode As String";
//BA.debugLineNum = 68;BA.debugLine="Return mResizeMode";
if (true) return _mresizemode;
//BA.debugLineNum = 69;BA.debugLine="End Sub";
return "";
}
public boolean _getroundedimage() throws Exception{
//BA.debugLineNum = 45;BA.debugLine="Public Sub getRoundedImage As Boolean";
//BA.debugLineNum = 46;BA.debugLine="Return mRound";
if (true) return _mround;
//BA.debugLineNum = 47;BA.debugLine="End Sub";
return false;
}
public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{
innerInitialize(_ba);
//BA.debugLineNum = 19;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa";
//BA.debugLineNum = 20;BA.debugLine="mEventName = EventName";
_meventname = _eventname;
//BA.debugLineNum = 21;BA.debugLine="mCallBack = Callback";
_mcallback = _callback;
//BA.debugLineNum = 22;BA.debugLine="End Sub";
return "";
}
public String _load(String _dir,String _filename) throws Exception{
//BA.debugLineNum = 110;BA.debugLine="Public Sub Load (Dir As String, FileName As String";
//BA.debugLineNum = 112;BA.debugLine="setBitmap(LoadBitmapSample(Dir, FileName, mBase.W";
_setbitmap((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(), (android.graphics.Bitmap)(__c.LoadBitmapSample(_dir,_filename,_mbase.getWidth(),_mbase.getHeight()).getObject())));
//BA.debugLineNum = 116;BA.debugLine="End Sub";
return "";
}
public String _setbitmap(anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{
//BA.debugLineNum = 124;BA.debugLine="Public Sub setBitmap(Bmp As B4XBitmap)";
//BA.debugLineNum = 125;BA.debugLine="mBitmap = Bmp";
_mbitmap = _bmp;
//BA.debugLineNum = 126;BA.debugLine="XUIViewsUtils.SetBitmapAndFill(iv, Bmp)";
_xuiviewsutils._setbitmapandfill /*String*/ (ba,_iv,_bmp);
//BA.debugLineNum = 127;BA.debugLine="Update";
_update();
//BA.debugLineNum = 128;BA.debugLine="End Sub";
return "";
}
public String _setcornersradius(int _i) throws Exception{
//BA.debugLineNum = 60;BA.debugLine="Public Sub setCornersRadius (i As Int)";
//BA.debugLineNum = 61;BA.debugLine="mCornersRadius = i";
_mcornersradius = _i;
//BA.debugLineNum = 62;BA.debugLine="UpdateClip";
_updateclip();
//BA.debugLineNum = 63;BA.debugLine="End Sub";
return "";
}
public String _setresizemode(String _s) throws Exception{
//BA.debugLineNum = 71;BA.debugLine="Public Sub setResizeMode(s As String)";
//BA.debugLineNum = 72;BA.debugLine="If s = mResizeMode Then Return";
if ((_s).equals(_mresizemode)) {
if (true) return "";};
//BA.debugLineNum = 73;BA.debugLine="mResizeMode = s";
_mresizemode = _s;
//BA.debugLineNum = 74;BA.debugLine="Update";
_update();
//BA.debugLineNum = 75;BA.debugLine="End Sub";
return "";
}
public String _setroundedimage(boolean _b) throws Exception{
//BA.debugLineNum = 49;BA.debugLine="Public Sub setRoundedImage (b As Boolean)";
//BA.debugLineNum = 50;BA.debugLine="If b = mRound Then Return";
if (_b==_mround) {
if (true) return "";};
//BA.debugLineNum = 51;BA.debugLine="mRound = b";
_mround = _b;
//BA.debugLineNum = 52;BA.debugLine="UpdateClip";
_updateclip();
//BA.debugLineNum = 53;BA.debugLine="End Sub";
return "";
}
public String _update() throws Exception{
float _imageviewwidth = 0f;
float _imageviewheight = 0f;
float _bmpratio = 0f;
float _r = 0f;
RDebugUtils.currentLine=53411840;
//BA.debugLineNum = 53411840;BA.debugLine="Public Sub Update";
RDebugUtils.currentLine=53411841;
//BA.debugLineNum = 53411841;BA.debugLine="If mBitmap.IsInitialized = False Then Return";
if (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()==__c.False) {
//BA.debugLineNum = 77;BA.debugLine="Public Sub Update";
//BA.debugLineNum = 78;BA.debugLine="If mBitmap.IsInitialized = False Then Return";
if (_mbitmap.IsInitialized()==__c.False) {
if (true) return "";};
RDebugUtils.currentLine=53411842;
//BA.debugLineNum = 53411842;BA.debugLine="UpdateClip";
__ref._updateclip /*String*/ (null);
RDebugUtils.currentLine=53411843;
//BA.debugLineNum = 53411843;BA.debugLine="Dim ImageViewWidth, ImageViewHeight As Float";
//BA.debugLineNum = 79;BA.debugLine="UpdateClip";
_updateclip();
//BA.debugLineNum = 80;BA.debugLine="Dim ImageViewWidth, ImageViewHeight As Float";
_imageviewwidth = 0f;
_imageviewheight = 0f;
RDebugUtils.currentLine=53411844;
//BA.debugLineNum = 53411844;BA.debugLine="Dim bmpRatio As Float = mBitmap.Width / mBitmap.H";
_bmpratio = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()/(double)__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight());
RDebugUtils.currentLine=53411845;
//BA.debugLineNum = 53411845;BA.debugLine="Select mResizeMode";
switch (BA.switchObjectToInt(__ref._mresizemode /*String*/ ,"FILL","FIT","FILL_WIDTH","FILL_HEIGHT","FILL_NO_DISTORTIONS","NONE")) {
//BA.debugLineNum = 81;BA.debugLine="Dim bmpRatio As Float = mBitmap.Width / mBitmap.H";
_bmpratio = (float) (_mbitmap.getWidth()/(double)_mbitmap.getHeight());
//BA.debugLineNum = 82;BA.debugLine="Select mResizeMode";
switch (BA.switchObjectToInt(_mresizemode,"FILL","FIT","FILL_WIDTH","FILL_HEIGHT","FILL_NO_DISTORTIONS","NONE")) {
case 0: {
RDebugUtils.currentLine=53411847;
//BA.debugLineNum = 53411847;BA.debugLine="ImageViewWidth = mBase.Width";
_imageviewwidth = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=53411848;
//BA.debugLineNum = 53411848;BA.debugLine="ImageViewHeight = mBase.Height";
_imageviewheight = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
//BA.debugLineNum = 84;BA.debugLine="ImageViewWidth = mBase.Width";
_imageviewwidth = (float) (_mbase.getWidth());
//BA.debugLineNum = 85;BA.debugLine="ImageViewHeight = mBase.Height";
_imageviewheight = (float) (_mbase.getHeight());
break; }
case 1: {
RDebugUtils.currentLine=53411850;
//BA.debugLineNum = 53411850;BA.debugLine="Dim r As Float = Min(mBase.Width / mBitmap.Widt";
_r = (float) (__c.Min(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()));
RDebugUtils.currentLine=53411851;
//BA.debugLineNum = 53411851;BA.debugLine="ImageViewWidth = mBitmap.Width * r";
_imageviewwidth = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()*_r);
RDebugUtils.currentLine=53411852;
//BA.debugLineNum = 53411852;BA.debugLine="ImageViewHeight = mBitmap.Height * r";
_imageviewheight = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()*_r);
//BA.debugLineNum = 87;BA.debugLine="Dim r As Float = Min(mBase.Width / mBitmap.Widt";
_r = (float) (__c.Min(_mbase.getWidth()/(double)_mbitmap.getWidth(),_mbase.getHeight()/(double)_mbitmap.getHeight()));
//BA.debugLineNum = 88;BA.debugLine="ImageViewWidth = mBitmap.Width * r";
_imageviewwidth = (float) (_mbitmap.getWidth()*_r);
//BA.debugLineNum = 89;BA.debugLine="ImageViewHeight = mBitmap.Height * r";
_imageviewheight = (float) (_mbitmap.getHeight()*_r);
break; }
case 2: {
RDebugUtils.currentLine=53411854;
//BA.debugLineNum = 53411854;BA.debugLine="ImageViewWidth = mBase.Width";
_imageviewwidth = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=53411855;
//BA.debugLineNum = 53411855;BA.debugLine="ImageViewHeight = ImageViewWidth / bmpRatio";
//BA.debugLineNum = 91;BA.debugLine="ImageViewWidth = mBase.Width";
_imageviewwidth = (float) (_mbase.getWidth());
//BA.debugLineNum = 92;BA.debugLine="ImageViewHeight = ImageViewWidth / bmpRatio";
_imageviewheight = (float) (_imageviewwidth/(double)_bmpratio);
break; }
case 3: {
RDebugUtils.currentLine=53411857;
//BA.debugLineNum = 53411857;BA.debugLine="ImageViewHeight = mBase.Height";
_imageviewheight = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=53411858;
//BA.debugLineNum = 53411858;BA.debugLine="ImageViewWidth = ImageViewHeight * bmpRatio";
//BA.debugLineNum = 94;BA.debugLine="ImageViewHeight = mBase.Height";
_imageviewheight = (float) (_mbase.getHeight());
//BA.debugLineNum = 95;BA.debugLine="ImageViewWidth = ImageViewHeight * bmpRatio";
_imageviewwidth = (float) (_imageviewheight*_bmpratio);
break; }
case 4: {
RDebugUtils.currentLine=53411860;
//BA.debugLineNum = 53411860;BA.debugLine="Dim r As Float = Max(mBase.Width / mBitmap.Widt";
_r = (float) (__c.Max(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()));
RDebugUtils.currentLine=53411861;
//BA.debugLineNum = 53411861;BA.debugLine="ImageViewWidth = mBitmap.Width * r";
_imageviewwidth = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()*_r);
RDebugUtils.currentLine=53411862;
//BA.debugLineNum = 53411862;BA.debugLine="ImageViewHeight = mBitmap.Height * r";
_imageviewheight = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()*_r);
//BA.debugLineNum = 97;BA.debugLine="Dim r As Float = Max(mBase.Width / mBitmap.Widt";
_r = (float) (__c.Max(_mbase.getWidth()/(double)_mbitmap.getWidth(),_mbase.getHeight()/(double)_mbitmap.getHeight()));
//BA.debugLineNum = 98;BA.debugLine="ImageViewWidth = mBitmap.Width * r";
_imageviewwidth = (float) (_mbitmap.getWidth()*_r);
//BA.debugLineNum = 99;BA.debugLine="ImageViewHeight = mBitmap.Height * r";
_imageviewheight = (float) (_mbitmap.getHeight()*_r);
break; }
case 5: {
RDebugUtils.currentLine=53411864;
//BA.debugLineNum = 53411864;BA.debugLine="ImageViewWidth = mBitmap.Width";
_imageviewwidth = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth());
RDebugUtils.currentLine=53411865;
//BA.debugLineNum = 53411865;BA.debugLine="ImageViewHeight = mBitmap.Height";
_imageviewheight = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight());
//BA.debugLineNum = 101;BA.debugLine="ImageViewWidth = mBitmap.Width";
_imageviewwidth = (float) (_mbitmap.getWidth());
//BA.debugLineNum = 102;BA.debugLine="ImageViewHeight = mBitmap.Height";
_imageviewheight = (float) (_mbitmap.getHeight());
break; }
default: {
RDebugUtils.currentLine=53411867;
//BA.debugLineNum = 53411867;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)";
__c.LogImpl("953411867","Invalid resize mode: "+__ref._mresizemode /*String*/ ,0);
//BA.debugLineNum = 104;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)";
__c.LogImpl("925100315","Invalid resize mode: "+_mresizemode,0);
break; }
}
;
RDebugUtils.currentLine=53411869;
//BA.debugLineNum = 53411869;BA.debugLine="iv.SetLayoutAnimated(0, Round(mBase.Width / 2 - I";
__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (__c.Round(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2-_imageviewwidth/(double)2)),(int) (__c.Round(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2-_imageviewheight/(double)2)),(int) (__c.Round(_imageviewwidth)),(int) (__c.Round(_imageviewheight)));
RDebugUtils.currentLine=53411870;
//BA.debugLineNum = 53411870;BA.debugLine="End Sub";
//BA.debugLineNum = 106;BA.debugLine="iv.SetLayoutAnimated(0, Round(mBase.Width / 2 - I";
_iv.SetLayoutAnimated((int) (0),(int) (__c.Round(_mbase.getWidth()/(double)2-_imageviewwidth/(double)2)),(int) (__c.Round(_mbase.getHeight()/(double)2-_imageviewheight/(double)2)),(int) (__c.Round(_imageviewwidth)),(int) (__c.Round(_imageviewheight)));
//BA.debugLineNum = 107;BA.debugLine="End Sub";
return "";
}
public String _class_globals(keymon.lat.medicomed.b4ximageview __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4ximageview";
RDebugUtils.currentLine=52756480;
//BA.debugLineNum = 52756480;BA.debugLine="Sub Class_Globals";
RDebugUtils.currentLine=52756481;
//BA.debugLineNum = 52756481;BA.debugLine="Private mEventName As String 'ignore";
_meventname = "";
RDebugUtils.currentLine=52756482;
//BA.debugLineNum = 52756482;BA.debugLine="Private mCallBack As Object 'ignore";
_mcallback = new Object();
RDebugUtils.currentLine=52756483;
//BA.debugLineNum = 52756483;BA.debugLine="Public mBase As B4XView";
_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper();
RDebugUtils.currentLine=52756484;
//BA.debugLineNum = 52756484;BA.debugLine="Private xui As XUI 'ignore";
_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI();
RDebugUtils.currentLine=52756485;
//BA.debugLineNum = 52756485;BA.debugLine="Public Tag As Object";
_tag = new Object();
RDebugUtils.currentLine=52756486;
//BA.debugLineNum = 52756486;BA.debugLine="Private iv As B4XView";
_iv = new anywheresoftware.b4a.objects.B4XViewWrapper();
RDebugUtils.currentLine=52756487;
//BA.debugLineNum = 52756487;BA.debugLine="Private mResizeMode As String";
_mresizemode = "";
RDebugUtils.currentLine=52756488;
//BA.debugLineNum = 52756488;BA.debugLine="Private mRound As Boolean";
_mround = false;
RDebugUtils.currentLine=52756489;
//BA.debugLineNum = 52756489;BA.debugLine="Private mBitmap As B4XBitmap";
_mbitmap = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper();
RDebugUtils.currentLine=52756490;
//BA.debugLineNum = 52756490;BA.debugLine="Public mBackgroundColor As Int";
_mbackgroundcolor = 0;
RDebugUtils.currentLine=52756491;
//BA.debugLineNum = 52756491;BA.debugLine="Private mCornersRadius As Int";
_mcornersradius = 0;
RDebugUtils.currentLine=52756492;
//BA.debugLineNum = 52756492;BA.debugLine="End Sub";
return "";
}
public String _clear(keymon.lat.medicomed.b4ximageview __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4ximageview";
if (Debug.shouldDelegate(ba, "clear", true))
{return ((String) Debug.delegate(ba, "clear", null));}
RDebugUtils.currentLine=53542912;
//BA.debugLineNum = 53542912;BA.debugLine="Public Sub Clear";
RDebugUtils.currentLine=53542913;
//BA.debugLineNum = 53542913;BA.debugLine="mBitmap = Null";
__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(), (android.graphics.Bitmap)(__c.Null));
RDebugUtils.currentLine=53542914;
//BA.debugLineNum = 53542914;BA.debugLine="iv.SetBitmap(Null)";
__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(__c.Null));
RDebugUtils.currentLine=53542915;
//BA.debugLineNum = 53542915;BA.debugLine="End Sub";
return "";
}
public String _designercreateview(keymon.lat.medicomed.b4ximageview __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4ximageview";
if (Debug.shouldDelegate(ba, "designercreateview", true))
{return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));}
anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null;
RDebugUtils.currentLine=52887552;
//BA.debugLineNum = 52887552;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl";
RDebugUtils.currentLine=52887553;
//BA.debugLineNum = 52887553;BA.debugLine="mBase = Base";
__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base));
RDebugUtils.currentLine=52887554;
//BA.debugLineNum = 52887554;BA.debugLine="Tag = mBase.Tag";
__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag();
RDebugUtils.currentLine=52887555;
//BA.debugLineNum = 52887555;BA.debugLine="mBase.Tag = Me";
__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this);
RDebugUtils.currentLine=52887556;
//BA.debugLineNum = 52887556;BA.debugLine="Dim iiv As ImageView";
_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper();
RDebugUtils.currentLine=52887557;
//BA.debugLineNum = 52887557;BA.debugLine="iiv.Initialize(\"\")";
_iiv.Initialize(ba,"");
RDebugUtils.currentLine=52887558;
//BA.debugLineNum = 52887558;BA.debugLine="iv = iiv";
__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iiv.getObject()));
RDebugUtils.currentLine=52887559;
//BA.debugLineNum = 52887559;BA.debugLine="mRound =Props.Get(\"Round\")";
__ref._mround /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Round")));
RDebugUtils.currentLine=52887560;
//BA.debugLineNum = 52887560;BA.debugLine="mResizeMode = Props.Get(\"ResizeMode\")";
__ref._mresizemode /*String*/ = BA.ObjectToString(_props.Get((Object)("ResizeMode")));
RDebugUtils.currentLine=52887561;
//BA.debugLineNum = 52887561;BA.debugLine="mBackgroundColor = xui.PaintOrColorToColor(Props.";
__ref._mbackgroundcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("BackgroundColor")));
RDebugUtils.currentLine=52887562;
//BA.debugLineNum = 52887562;BA.debugLine="mCornersRadius = DipToCurrent(Props.GetDefault(\"C";
__ref._mcornersradius /*int*/ = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornersRadius"),(Object)(0)))));
RDebugUtils.currentLine=52887563;
//BA.debugLineNum = 52887563;BA.debugLine="mBase.AddView(iv, 0, 0, mBase.Width, mBase.Height";
__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=52887564;
//BA.debugLineNum = 52887564;BA.debugLine="Update";
__ref._update /*String*/ (null);
RDebugUtils.currentLine=52887565;
//BA.debugLineNum = 52887565;BA.debugLine="End Sub";
return "";
}
public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _getbitmap(keymon.lat.medicomed.b4ximageview __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4ximageview";
if (Debug.shouldDelegate(ba, "getbitmap", true))
{return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "getbitmap", null));}
RDebugUtils.currentLine=53673984;
//BA.debugLineNum = 53673984;BA.debugLine="Public Sub getBitmap As B4XBitmap";
RDebugUtils.currentLine=53673985;
//BA.debugLineNum = 53673985;BA.debugLine="Return mBitmap";
if (true) return __ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ ;
RDebugUtils.currentLine=53673986;
//BA.debugLineNum = 53673986;BA.debugLine="End Sub";
return null;
}
public int _getcornersradius(keymon.lat.medicomed.b4ximageview __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4ximageview";
if (Debug.shouldDelegate(ba, "getcornersradius", true))
{return ((Integer) Debug.delegate(ba, "getcornersradius", null));}
RDebugUtils.currentLine=53149696;
//BA.debugLineNum = 53149696;BA.debugLine="Public Sub getCornersRadius As Int";
RDebugUtils.currentLine=53149697;
//BA.debugLineNum = 53149697;BA.debugLine="Return mCornersRadius";
if (true) return __ref._mcornersradius /*int*/ ;
RDebugUtils.currentLine=53149698;
//BA.debugLineNum = 53149698;BA.debugLine="End Sub";
return 0;
}
public String _getresizemode(keymon.lat.medicomed.b4ximageview __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4ximageview";
if (Debug.shouldDelegate(ba, "getresizemode", true))
{return ((String) Debug.delegate(ba, "getresizemode", null));}
RDebugUtils.currentLine=53280768;
//BA.debugLineNum = 53280768;BA.debugLine="Public Sub getResizeMode As String";
RDebugUtils.currentLine=53280769;
//BA.debugLineNum = 53280769;BA.debugLine="Return mResizeMode";
if (true) return __ref._mresizemode /*String*/ ;
RDebugUtils.currentLine=53280770;
//BA.debugLineNum = 53280770;BA.debugLine="End Sub";
return "";
}
public boolean _getroundedimage(keymon.lat.medicomed.b4ximageview __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4ximageview";
if (Debug.shouldDelegate(ba, "getroundedimage", true))
{return ((Boolean) Debug.delegate(ba, "getroundedimage", null));}
RDebugUtils.currentLine=53018624;
//BA.debugLineNum = 53018624;BA.debugLine="Public Sub getRoundedImage As Boolean";
RDebugUtils.currentLine=53018625;
//BA.debugLineNum = 53018625;BA.debugLine="Return mRound";
if (true) return __ref._mround /*boolean*/ ;
RDebugUtils.currentLine=53018626;
//BA.debugLineNum = 53018626;BA.debugLine="End Sub";
return false;
}
public String _initialize(keymon.lat.medicomed.b4ximageview __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{
__ref = this;
innerInitialize(_ba);
RDebugUtils.currentModule="b4ximageview";
if (Debug.shouldDelegate(ba, "initialize", true))
{return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));}
RDebugUtils.currentLine=52822016;
//BA.debugLineNum = 52822016;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa";
RDebugUtils.currentLine=52822017;
//BA.debugLineNum = 52822017;BA.debugLine="mEventName = EventName";
__ref._meventname /*String*/ = _eventname;
RDebugUtils.currentLine=52822018;
//BA.debugLineNum = 52822018;BA.debugLine="mCallBack = Callback";
__ref._mcallback /*Object*/ = _callback;
RDebugUtils.currentLine=52822019;
//BA.debugLineNum = 52822019;BA.debugLine="End Sub";
return "";
}
public String _load(keymon.lat.medicomed.b4ximageview __ref,String _dir,String _filename) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4ximageview";
if (Debug.shouldDelegate(ba, "load", true))
{return ((String) Debug.delegate(ba, "load", new Object[] {_dir,_filename}));}
RDebugUtils.currentLine=53477376;
//BA.debugLineNum = 53477376;BA.debugLine="Public Sub Load (Dir As String, FileName As String";
RDebugUtils.currentLine=53477378;
//BA.debugLineNum = 53477378;BA.debugLine="setBitmap(LoadBitmapSample(Dir, FileName, mBase.W";
__ref._setbitmap /*String*/ (null,(anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(), (android.graphics.Bitmap)(__c.LoadBitmapSample(_dir,_filename,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()).getObject())));
RDebugUtils.currentLine=53477382;
//BA.debugLineNum = 53477382;BA.debugLine="End Sub";
return "";
}
public String _setbitmap(keymon.lat.medicomed.b4ximageview __ref,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4ximageview";
if (Debug.shouldDelegate(ba, "setbitmap", true))
{return ((String) Debug.delegate(ba, "setbitmap", new Object[] {_bmp}));}
RDebugUtils.currentLine=53608448;
//BA.debugLineNum = 53608448;BA.debugLine="Public Sub setBitmap(Bmp As B4XBitmap)";
RDebugUtils.currentLine=53608449;
//BA.debugLineNum = 53608449;BA.debugLine="mBitmap = Bmp";
__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = _bmp;
RDebugUtils.currentLine=53608450;
//BA.debugLineNum = 53608450;BA.debugLine="XUIViewsUtils.SetBitmapAndFill(iv, Bmp)";
_xuiviewsutils._setbitmapandfill /*String*/ (ba,__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_bmp);
RDebugUtils.currentLine=53608451;
//BA.debugLineNum = 53608451;BA.debugLine="Update";
__ref._update /*String*/ (null);
RDebugUtils.currentLine=53608452;
//BA.debugLineNum = 53608452;BA.debugLine="End Sub";
return "";
}
public String _setcornersradius(keymon.lat.medicomed.b4ximageview __ref,int _i) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4ximageview";
if (Debug.shouldDelegate(ba, "setcornersradius", true))
{return ((String) Debug.delegate(ba, "setcornersradius", new Object[] {_i}));}
RDebugUtils.currentLine=53215232;
//BA.debugLineNum = 53215232;BA.debugLine="Public Sub setCornersRadius (i As Int)";
RDebugUtils.currentLine=53215233;
//BA.debugLineNum = 53215233;BA.debugLine="mCornersRadius = i";
__ref._mcornersradius /*int*/ = _i;
RDebugUtils.currentLine=53215234;
//BA.debugLineNum = 53215234;BA.debugLine="UpdateClip";
__ref._updateclip /*String*/ (null);
RDebugUtils.currentLine=53215235;
//BA.debugLineNum = 53215235;BA.debugLine="End Sub";
return "";
}
public String _updateclip(keymon.lat.medicomed.b4ximageview __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4ximageview";
if (Debug.shouldDelegate(ba, "updateclip", true))
{return ((String) Debug.delegate(ba, "updateclip", null));}
public String _updateclip() throws Exception{
anywheresoftware.b4j.object.JavaObject _jo = null;
RDebugUtils.currentLine=53739520;
//BA.debugLineNum = 53739520;BA.debugLine="Private Sub UpdateClip";
RDebugUtils.currentLine=53739521;
//BA.debugLineNum = 53739521;BA.debugLine="If mRound Then";
if (__ref._mround /*boolean*/ ) {
RDebugUtils.currentLine=53739522;
//BA.debugLineNum = 53739522;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,";
__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._mbackgroundcolor /*int*/ ,(int) (0),(int) (0),(int) (__c.Min(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2)));
//BA.debugLineNum = 135;BA.debugLine="Private Sub UpdateClip";
//BA.debugLineNum = 136;BA.debugLine="If mRound Then";
if (_mround) {
//BA.debugLineNum = 137;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,";
_mbase.SetColorAndBorder(_mbackgroundcolor,(int) (0),(int) (0),(int) (__c.Min(_mbase.getWidth()/(double)2,_mbase.getHeight()/(double)2)));
}else {
RDebugUtils.currentLine=53739524;
//BA.debugLineNum = 53739524;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,";
__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._mbackgroundcolor /*int*/ ,(int) (0),(int) (0),__ref._mcornersradius /*int*/ );
//BA.debugLineNum = 139;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,";
_mbase.SetColorAndBorder(_mbackgroundcolor,(int) (0),(int) (0),_mcornersradius);
};
RDebugUtils.currentLine=53739546;
//BA.debugLineNum = 53739546;BA.debugLine="Dim jo As JavaObject = mBase";
//BA.debugLineNum = 161;BA.debugLine="Dim jo As JavaObject = mBase";
_jo = new anywheresoftware.b4j.object.JavaObject();
_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()));
RDebugUtils.currentLine=53739547;
//BA.debugLineNum = 53739547;BA.debugLine="jo.RunMethod(\"setClipToOutline\", Array(mRound Or";
_jo.RunMethod("setClipToOutline",new Object[]{(Object)(__ref._mround /*boolean*/ || __ref._mcornersradius /*int*/ >0)});
RDebugUtils.currentLine=53739549;
//BA.debugLineNum = 53739549;BA.debugLine="End Sub";
_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_mbase.getObject()));
//BA.debugLineNum = 162;BA.debugLine="jo.RunMethod(\"setClipToOutline\", Array(mRound Or";
_jo.RunMethod("setClipToOutline",new Object[]{(Object)(_mround || _mcornersradius>0)});
//BA.debugLineNum = 164;BA.debugLine="End Sub";
return "";
}
public String _setresizemode(keymon.lat.medicomed.b4ximageview __ref,String _s) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4ximageview";
if (Debug.shouldDelegate(ba, "setresizemode", true))
{return ((String) Debug.delegate(ba, "setresizemode", new Object[] {_s}));}
RDebugUtils.currentLine=53346304;
//BA.debugLineNum = 53346304;BA.debugLine="Public Sub setResizeMode(s As String)";
RDebugUtils.currentLine=53346305;
//BA.debugLineNum = 53346305;BA.debugLine="If s = mResizeMode Then Return";
if ((_s).equals(__ref._mresizemode /*String*/ )) {
if (true) return "";};
RDebugUtils.currentLine=53346306;
//BA.debugLineNum = 53346306;BA.debugLine="mResizeMode = s";
__ref._mresizemode /*String*/ = _s;
RDebugUtils.currentLine=53346307;
//BA.debugLineNum = 53346307;BA.debugLine="Update";
__ref._update /*String*/ (null);
RDebugUtils.currentLine=53346308;
//BA.debugLineNum = 53346308;BA.debugLine="End Sub";
return "";
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
BA.senderHolder.set(sender);
return BA.SubDelegator.SubNotFound;
}
public String _setroundedimage(keymon.lat.medicomed.b4ximageview __ref,boolean _b) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4ximageview";
if (Debug.shouldDelegate(ba, "setroundedimage", true))
{return ((String) Debug.delegate(ba, "setroundedimage", new Object[] {_b}));}
RDebugUtils.currentLine=53084160;
//BA.debugLineNum = 53084160;BA.debugLine="Public Sub setRoundedImage (b As Boolean)";
RDebugUtils.currentLine=53084161;
//BA.debugLineNum = 53084161;BA.debugLine="If b = mRound Then Return";
if (_b==__ref._mround /*boolean*/ ) {
if (true) return "";};
RDebugUtils.currentLine=53084162;
//BA.debugLineNum = 53084162;BA.debugLine="mRound = b";
__ref._mround /*boolean*/ = _b;
RDebugUtils.currentLine=53084163;
//BA.debugLineNum = 53084163;BA.debugLine="UpdateClip";
__ref._updateclip /*String*/ (null);
RDebugUtils.currentLine=53084164;
//BA.debugLineNum = 53084164;BA.debugLine="End Sub";
return "";
}
}