public static global::android.text.Spanned fromHtml(java.lang.String arg0, android.text.Html.ImageGetter arg1, android.text.Html.TagHandler arg2) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.text.Html._m1.native == global::System.IntPtr.Zero) global::android.text.Html._m1 = @__env.GetStaticMethodIDNoThrow(global::android.text.Html.staticClass, "fromHtml", "(Ljava/lang/String;Landroid/text/Html$ImageGetter;Landroid/text/Html$TagHandler;)Landroid/text/Spanned;"); return global::MonoJavaBridge.JavaBridge.WrapIJavaObject<global::android.text.Spanned>(@__env.CallStaticObjectMethod(android.text.Html.staticClass, global::android.text.Html._m1, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2))) as android.text.Spanned; }
public IconMenuPresenter(android.content.Context context) : base(new android.view.ContextThemeWrapper (context, [email protected]_IconMenu), [email protected]. icon_menu_layout, [email protected]_menu_item_layout) { mSubMenuPresenterCallback = new android.view.@internal.menu.IconMenuPresenter.SubMenuPresenterCallback (this); }
public static global::java.lang.String get(java.lang.CharSequence arg0, int arg1, int arg2, android.view.View arg3) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.text.AutoText._m0.native == global::System.IntPtr.Zero) global::android.text.AutoText._m0 = @__env.GetStaticMethodIDNoThrow(global::android.text.AutoText.staticClass, "get", "(Ljava/lang/CharSequence;IILandroid/view/View;)Ljava/lang/String;"); return global::MonoJavaBridge.JavaBridge.WrapJavaObjectSealedClass<java.lang.String>(@__env.CallStaticObjectMethod(android.text.AutoText.staticClass, global::android.text.AutoText._m0, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3))) as java.lang.String; }
public static void clear(android.text.Editable arg0) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.text.method.TextKeyListener._m0.native == global::System.IntPtr.Zero) global::android.text.method.TextKeyListener._m0 = @__env.GetStaticMethodIDNoThrow(global::android.text.method.TextKeyListener.staticClass, "clear", "(Landroid/text/Editable;)V"); @__env.CallStaticVoidMethod(android.text.method.TextKeyListener.staticClass, global::android.text.method.TextKeyListener._m0, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0)); }
public static global::android.graphics.Bitmap decodeByteArray(byte[] arg0, int arg1, int arg2, android.graphics.BitmapFactory.Options arg3) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.graphics.BitmapFactory._m2.native == global::System.IntPtr.Zero) global::android.graphics.BitmapFactory._m2 = @__env.GetStaticMethodIDNoThrow(global::android.graphics.BitmapFactory.staticClass, "decodeByteArray", "([BIILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;"); return global::MonoJavaBridge.JavaBridge.WrapJavaObjectSealedClass<android.graphics.Bitmap>(@__env.CallStaticObjectMethod(android.graphics.BitmapFactory.staticClass, global::android.graphics.BitmapFactory._m2, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3))) as android.graphics.Bitmap; }
public static global::java.lang.String formatShortFileSize(android.content.Context arg0, long arg1) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.text.format.Formatter._m1.native == global::System.IntPtr.Zero) global::android.text.format.Formatter._m1 = @__env.GetStaticMethodIDNoThrow(global::android.text.format.Formatter.staticClass, "formatShortFileSize", "(Landroid/content/Context;J)Ljava/lang/String;"); return global::MonoJavaBridge.JavaBridge.WrapJavaObjectSealedClass<java.lang.String>(@__env.CallStaticObjectMethod(android.text.format.Formatter.staticClass, global::android.text.format.Formatter._m1, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1))) as java.lang.String; }
public static global::android.gesture.GestureLibrary fromPrivateFile(android.content.Context arg0, java.lang.String arg1) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.gesture.GestureLibraries._m2.native == global::System.IntPtr.Zero) global::android.gesture.GestureLibraries._m2 = @__env.GetStaticMethodIDNoThrow(global::android.gesture.GestureLibraries.staticClass, "fromPrivateFile", "(Landroid/content/Context;Ljava/lang/String;)Landroid/gesture/GestureLibrary;"); return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(android.gesture.GestureLibraries.staticClass, global::android.gesture.GestureLibraries._m2, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1))) as android.gesture.GestureLibrary; }
protected internal override bool onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) { switch (code) { case android.os.IBinderClass.INTERFACE_TRANSACTION: { reply.writeString(DESCRIPTOR); return true; } case TRANSACTION_updateAppWidget: { data.enforceInterface(DESCRIPTOR); int _arg0; _arg0 = data.readInt(); android.widget.RemoteViews _arg1; if ((0 != data.readInt())) { _arg1 = android.widget.RemoteViews.CREATOR.createFromParcel(data); } else { _arg1 = null; } this.updateAppWidget(_arg0, _arg1); return true; } case TRANSACTION_providerChanged: { data.enforceInterface(DESCRIPTOR); int _arg0; _arg0 = data.readInt(); android.appwidget.AppWidgetProviderInfo _arg1; if ((0 != data.readInt())) { _arg1 = android.appwidget.AppWidgetProviderInfo.CREATOR.createFromParcel(data); } else { _arg1 = null; } this.providerChanged(_arg0, _arg1); return true; } case TRANSACTION_viewDataChanged: { data.enforceInterface(DESCRIPTOR); int _arg0; _arg0 = data.readInt(); int _arg1; _arg1 = data.readInt(); this.viewDataChanged(_arg0, _arg1); return true; } } return base.onTransact(code, data, reply, flags); }
public static global::android.text.style.CharacterStyle wrap(android.text.style.CharacterStyle arg0) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.text.style.CharacterStyle._m0.native == global::System.IntPtr.Zero) global::android.text.style.CharacterStyle._m0 = @__env.GetStaticMethodIDNoThrow(global::android.text.style.CharacterStyle.staticClass, "wrap", "(Landroid/text/style/CharacterStyle;)Landroid/text/style/CharacterStyle;"); return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(android.text.style.CharacterStyle.staticClass, global::android.text.style.CharacterStyle._m0, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as android.text.style.CharacterStyle; }
public static bool onTouchEvent(android.widget.TextView arg0, android.text.Spannable arg1, android.view.MotionEvent arg2) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.text.method.Touch._m0.native == global::System.IntPtr.Zero) global::android.text.method.Touch._m0 = @__env.GetStaticMethodIDNoThrow(global::android.text.method.Touch.staticClass, "onTouchEvent", "(Landroid/widget/TextView;Landroid/text/Spannable;Landroid/view/MotionEvent;)Z"); return @__env.CallStaticBooleanMethod(android.text.method.Touch.staticClass, global::android.text.method.Touch._m0, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2)); }
public static void scrollTo(android.widget.TextView arg0, android.text.Layout arg1, int arg2, int arg3) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.text.method.Touch._m1.native == global::System.IntPtr.Zero) global::android.text.method.Touch._m1 = @__env.GetStaticMethodIDNoThrow(global::android.text.method.Touch.staticClass, "scrollTo", "(Landroid/widget/TextView;Landroid/text/Layout;II)V"); @__env.CallStaticVoidMethod(android.text.method.Touch.staticClass, global::android.text.method.Touch._m1, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3)); }
public static int getInitialScrollY(android.widget.TextView arg0, android.text.Spannable arg1) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.text.method.Touch._m3.native == global::System.IntPtr.Zero) global::android.text.method.Touch._m3 = @__env.GetStaticMethodIDNoThrow(global::android.text.method.Touch.staticClass, "getInitialScrollY", "(Landroid/widget/TextView;Landroid/text/Spannable;)I"); return @__env.CallStaticIntMethod(android.text.method.Touch.staticClass, global::android.text.method.Touch._m3, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1)); }
private QwertyKeyListener(android.text.method.TextKeyListener.Capitalize cap, bool autoText, bool fullKeyboard) { mAutoCap = cap; mAutoText = autoText; mFullKeyboard = fullKeyboard; }
public static global::java.lang.String toHtml(android.text.Spanned arg0) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.text.Html._m2.native == global::System.IntPtr.Zero) global::android.text.Html._m2 = @__env.GetStaticMethodIDNoThrow(global::android.text.Html.staticClass, "toHtml", "(Landroid/text/Spanned;)Ljava/lang/String;"); return global::MonoJavaBridge.JavaBridge.WrapJavaObjectSealedClass<java.lang.String>(@__env.CallStaticObjectMethod(android.text.Html.staticClass, global::android.text.Html._m2, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as java.lang.String; }
public static global::android.webkit.CookieSyncManager createInstance(android.content.Context arg0) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.webkit.CookieSyncManager._m1.native == global::System.IntPtr.Zero) global::android.webkit.CookieSyncManager._m1 = @__env.GetStaticMethodIDNoThrow(global::android.webkit.CookieSyncManager.staticClass, "createInstance", "(Landroid/content/Context;)Landroid/webkit/CookieSyncManager;"); return global::MonoJavaBridge.JavaBridge.WrapJavaObjectSealedClass<android.webkit.CookieSyncManager>(@__env.CallStaticObjectMethod(android.webkit.CookieSyncManager.staticClass, global::android.webkit.CookieSyncManager._m1, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as android.webkit.CookieSyncManager; }
private static android.graphics.PathDashPathEffect.NativePathEffect nativeCreate( android.graphics.Path.NativePath native_path, float advance, float phase, int native_style ) { return libxobotos_PathDashPathEffect_create(native_path, advance, phase, native_style ); }
/// <summary> /// Loads an /// <see cref="Animation">Animation</see> /// object from a resource /// </summary> /// <param name="context">Application context used to access resources</param> /// <param name="id">The resource id of the animation to load</param> /// <returns>The animation object reference by the specified id</returns> /// <exception cref="android.content.res.Resources.NotFoundException">when the animation cannot be loaded /// </exception> public static android.view.animation.Animation loadAnimation(android.content.Context context, int id) { android.content.res.XmlResourceParser parser = null; try { parser = context.getResources().getAnimation(id); return createAnimationFromXml(context, parser); } catch (org.xmlpull.v1.XmlPullParserException ex) { android.content.res.Resources.NotFoundException rnf = new android.content.res.Resources .NotFoundException("Can't load animation resource ID #0x" + Sharpen.Util.IntToHexString (id)); rnf.InnerException = ex; throw rnf; } catch (System.IO.IOException ex) { android.content.res.Resources.NotFoundException rnf = new android.content.res.Resources .NotFoundException("Can't load animation resource ID #0x" + Sharpen.Util.IntToHexString (id)); rnf.InnerException = ex; throw rnf; } finally { if (parser != null) { parser.close(); } } }
public override void onCreate (android.os.Bundle savedInstanceState) { base.onCreate (savedInstanceState); var activity = (MainActivity)getActivity (); setListAdapter (activity.createAdapter ()); }
public static global::android.graphics.Bitmap extractThumbnail(android.graphics.Bitmap arg0, int arg1, int arg2, int arg3) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.media.ThumbnailUtils._m2.native == global::System.IntPtr.Zero) global::android.media.ThumbnailUtils._m2 = @__env.GetStaticMethodIDNoThrow(global::android.media.ThumbnailUtils.staticClass, "extractThumbnail", "(Landroid/graphics/Bitmap;III)Landroid/graphics/Bitmap;"); return global::MonoJavaBridge.JavaBridge.WrapJavaObjectSealedClass<android.graphics.Bitmap>(@__env.CallStaticObjectMethod(android.media.ThumbnailUtils.staticClass, global::android.media.ThumbnailUtils._m2, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3))) as android.graphics.Bitmap; }
private static System.IntPtr nativePostCreate(android.graphics.Shader.NativeShader native_shader, android.graphics.Bitmap.NativeBitmap native_bitmap, int shaderTileModeX , int shaderTileModeY) { return libxobotos_BitmapShader_BitmapShader_postCreate(native_shader, native_bitmap , shaderTileModeX, shaderTileModeY); }
public static global::android.gesture.GestureLibrary fromRawResource(android.content.Context arg0, int arg1) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.gesture.GestureLibraries._m3.native == global::System.IntPtr.Zero) global::android.gesture.GestureLibraries._m3 = @__env.GetStaticMethodIDNoThrow(global::android.gesture.GestureLibraries.staticClass, "fromRawResource", "(Landroid/content/Context;I)Landroid/gesture/GestureLibrary;"); return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(android.gesture.GestureLibraries.staticClass, global::android.gesture.GestureLibraries._m3, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1))) as android.gesture.GestureLibrary; }
public static int getComposingSpanEnd(android.text.Spannable arg0) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.view.inputmethod.BaseInputConnection._m21.native == global::System.IntPtr.Zero) global::android.view.inputmethod.BaseInputConnection._m21 = @__env.GetStaticMethodIDNoThrow(global::android.view.inputmethod.BaseInputConnection.staticClass, "getComposingSpanEnd", "(Landroid/text/Spannable;)I"); return @__env.CallStaticIntMethod(android.view.inputmethod.BaseInputConnection.staticClass, global::android.view.inputmethod.BaseInputConnection._m21, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0)); }
public static global::android.text.method.TextKeyListener getInstance(bool arg0, android.text.method.TextKeyListener.Capitalize arg1) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.text.method.TextKeyListener._m1.native == global::System.IntPtr.Zero) global::android.text.method.TextKeyListener._m1 = @__env.GetStaticMethodIDNoThrow(global::android.text.method.TextKeyListener.staticClass, "getInstance", "(ZLandroid/text/method/TextKeyListener$Capitalize;)Landroid/text/method/TextKeyListener;"); return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(android.text.method.TextKeyListener.staticClass, global::android.text.method.TextKeyListener._m1, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1))) as android.text.method.TextKeyListener; }
public virtual int addIntentOptions(int groupId, int itemId, int order, android.content.ComponentName caller, android.content.Intent[] specifics, android.content.Intent intent, int flags, android.view.MenuItem[] outSpecificItems) { android.content.pm.PackageManager pm = mContext.getPackageManager(); java.util.List<android.content.pm.ResolveInfo> lri = pm.queryIntentActivityOptions (caller, specifics, intent, 0); int N = lri != null ? lri.size() : 0; if ((flags & android.view.MenuClass.FLAG_APPEND_TO_GROUP) == 0) { removeGroup(groupId); } { for (int i = 0; i < N; i++) { android.content.pm.ResolveInfo ri = lri.get(i); android.content.Intent rintent = new android.content.Intent(ri.specificIndex < 0 ? intent : specifics[ri.specificIndex]); rintent.setComponent(new android.content.ComponentName(ri.activityInfo.applicationInfo .packageName, ri.activityInfo.name)); android.view.MenuItem item = add(groupId, itemId, order, ri.loadLabel(pm)).setIcon (ri.loadIcon(pm)).setIntent(rintent); if (outSpecificItems != null && ri.specificIndex >= 0) { outSpecificItems[ri.specificIndex] = item; } } } return N; }
public static global::android.graphics.Bitmap decodeFile(java.lang.String arg0, android.graphics.BitmapFactory.Options arg1) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.graphics.BitmapFactory._m5.native == global::System.IntPtr.Zero) global::android.graphics.BitmapFactory._m5 = @__env.GetStaticMethodIDNoThrow(global::android.graphics.BitmapFactory.staticClass, "decodeFile", "(Ljava/lang/String;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;"); return global::MonoJavaBridge.JavaBridge.WrapJavaObjectSealedClass<android.graphics.Bitmap>(@__env.CallStaticObjectMethod(android.graphics.BitmapFactory.staticClass, global::android.graphics.BitmapFactory._m5, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1))) as android.graphics.Bitmap; }
protected internal override bool inflateTag(string name, android.content.res.Resources r, org.xmlpull.v1.XmlPullParser parser, android.util.AttributeSet attrs) { if (name.Equals("corners")) { android.content.res.TypedArray a = r.obtainAttributes(attrs, [email protected]. styleable.DrawableCorners); int radius = a.getDimensionPixelSize([email protected]_radius , 0); setCornerRadius(radius); // now check of they have any per-corner radii int topLeftRadius = a.getDimensionPixelSize([email protected]_topLeftRadius , radius); int topRightRadius = a.getDimensionPixelSize([email protected]_topRightRadius , radius); int bottomLeftRadius = a.getDimensionPixelSize([email protected]_bottomLeftRadius , radius); int bottomRightRadius = a.getDimensionPixelSize([email protected]_bottomRightRadius , radius); if (topLeftRadius != radius || topRightRadius != radius || bottomLeftRadius != radius || bottomRightRadius != radius) { setCornerRadii(new float[] { topLeftRadius, topLeftRadius, topRightRadius, topRightRadius , bottomLeftRadius, bottomLeftRadius, bottomRightRadius, bottomRightRadius }); } a.recycle(); return true; } return base.inflateTag(name, r, parser, attrs); }
private static void nativeSetLocalMatrix(android.graphics.Shader.NativeShader native_shader , android.graphics.Matrix.NativeMatrix matrix_instance) { libxobotos_Shader_setLocalMatrix(native_shader != null ? native_shader : android.graphics.Shader.NativeShader .Zero, matrix_instance != null ? matrix_instance : android.graphics.Matrix.NativeMatrix .Zero); }
internal OrientationEventListenerInternal(OrientationListener _enclosing, android.content.Context context, int rate) : base(context, rate) { this._enclosing = _enclosing; // register so that onSensorChanged gets invoked this.registerListener(this._enclosing); }
public static int getSize(android.view.View arg0) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (global::android.text.AutoText._m1.native == global::System.IntPtr.Zero) global::android.text.AutoText._m1 = @__env.GetStaticMethodIDNoThrow(global::android.text.AutoText.staticClass, "getSize", "(Landroid/view/View;)I"); return @__env.CallStaticIntMethod(android.text.AutoText.staticClass, global::android.text.AutoText._m1, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0)); }
public SimpleCursorAdapter(android.content.Context context, int layout, android.database.Cursor c, string[] from, int[] to) : base(context, layout, c) { mTo = to; mOriginalFrom = from; findColumns(from); }