public virtual android.accounts.AccountManagerFuture <android.os.Bundle> confirmCredentials (android.accounts.Account account, android.os.Bundle options, android.app.Activity activity, android.accounts.AccountManagerCallback <android.os.Bundle> callback, android.os.Handler handler) { throw new System.NotImplementedException(); }
public virtual android.accounts.AccountManagerFuture <android.os.Bundle> getAuthToken (android.accounts.Account account, string authTokenType, bool notifyAuthFailure, android.accounts.AccountManagerCallback <android.os.Bundle> callback, android.os.Handler handler) { throw new System.NotImplementedException(); }
public virtual android.accounts.AccountManagerFuture <android.os.Bundle> addAccount (string accountType, string authTokenType, string[] requiredFeatures, android.os.Bundle addAccountOptions, android.app.Activity activity, android.accounts.AccountManagerCallback <android.os.Bundle> callback, android.os.Handler handler) { throw new System.NotImplementedException(); }
public ZoomButton(android.content.Context context, android.util.AttributeSet attrs , int defStyle) : base(context, attrs, defStyle) { mRunnable = new _Runnable_30(this); mHandler = new android.os.Handler(); setOnLongClickListener(this); }
public override void sendStickyOrderedBroadcast(android.content.Intent intent, android.content.BroadcastReceiver resultReceiver, android.os.Handler scheduler, int initialCode, string initialData , android.os.Bundle initialExtras) { mBase.sendStickyOrderedBroadcast(intent, resultReceiver, scheduler, initialCode, initialData, initialExtras); }
/// <summary> /// Same as /// <see cref="obtain()">obtain()</see> /// , but sets the values for both <em>target</em> and /// <em>what</em> members on the Message. /// </summary> /// <param name="h">Value to assign to the <em>target</em> member.</param> /// <param name="what">Value to assign to the <em>what</em> member.</param> /// <returns>A Message object from the global pool.</returns> public static android.os.Message obtain(android.os.Handler h, int what) { android.os.Message m = obtain(); m.target = h; m.what = what; return(m); }
public ZoomButton(android.content.Context context, android.util.AttributeSet attrs , int defStyle) : base(context, attrs, defStyle) { mRunnable = new _Runnable_30(this); mHandler = new android.os.Handler(); setOnLongClickListener(this); }
/// <summary>Creates a GestureDetector with the supplied listener.</summary> /// <remarks> /// Creates a GestureDetector with the supplied listener. /// You may only use this constructor from a UI thread (this is the usual situation). /// </remarks> /// <seealso cref="android.os.Handler.Handler()">android.os.Handler.Handler()</seealso> /// <param name="context">the application's context</param> /// <param name="listener"> /// the listener invoked for all the callbacks, this must /// not be null. /// </param> /// <param name="handler">the handler to use</param> /// <exception cref="System.ArgumentNullException"> /// if /// <code>listener</code> /// is null. /// </exception> public GestureDetector(android.content.Context context, android.view.GestureDetector .OnGestureListener listener, android.os.Handler handler) : this(context, listener , handler, context != null && context.getApplicationInfo().targetSdkVersion >= android.os.Build .VERSION_CODES.FROYO) { mInputEventConsistencyVerifier = android.view.InputEventConsistencyVerifier.isInstrumentationEnabled () ? new android.view.InputEventConsistencyVerifier(this, 0) : null; }
public SurfaceView(android.content.Context context) : base(context) { mHandler = new _Handler_113(this); mScrollChangedListener = new _OnScrollChangedListener_131(this); mDrawListener = new _OnPreDrawListener_166(this); mSurfaceHolder = new _SurfaceHolder_682(this); init(); }
/// <summary> /// Same as /// <see cref="obtain(Handler)">obtain(Handler)</see> /// , but assigns a callback Runnable on /// the Message that is returned. /// </summary> /// <param name="h">Handler to assign to the returned Message object's <em>target</em> member. /// </param> /// <param name="callback">Runnable that will execute when the message is handled.</param> /// <returns>A Message object from the global pool.</returns> public static android.os.Message obtain(android.os.Handler h, java.lang.Runnable callback) { android.os.Message m = obtain(); m.target = h; m.callback = callback; return(m); }
public SurfaceView(android.content.Context context, android.util.AttributeSet attrs , int defStyle) : base(context, attrs, defStyle) { mHandler = new _Handler_113(this); mScrollChangedListener = new _OnScrollChangedListener_131(this); mDrawListener = new _OnPreDrawListener_166(this); mSurfaceHolder = new _SurfaceHolder_682(this); init(); }
/// <summary> /// Same as /// <see cref="obtain()">obtain()</see> /// , but sets the values of the <em>target</em>, <em>what</em>, /// <em>arg1</em>, and <em>arg2</em> members. /// </summary> /// <param name="h">The <em>target</em> value to set.</param> /// <param name="what">The <em>what</em> value to set.</param> /// <param name="arg1">The <em>arg1</em> value to set.</param> /// <param name="arg2">The <em>arg2</em> value to set.</param> /// <returns>A Message object from the global pool.</returns> public static android.os.Message obtain(android.os.Handler h, int what, int arg1, int arg2) { android.os.Message m = obtain(); m.target = h; m.what = what; m.arg1 = arg1; m.arg2 = arg2; return(m); }
private void init(android.database.Cursor cursor, android.content.Context context , bool autoRequery) { mContext = context; mHandler = new android.os.Handler(); mAutoRequery = autoRequery; mGroupCursorHelper = new android.widget.CursorTreeAdapter.MyCursorHelper(this, cursor ); mChildrenCursorHelpers = new android.util.SparseArray<android.widget.CursorTreeAdapter .MyCursorHelper>(); }
private void init(android.database.Cursor cursor, android.content.Context context , bool autoRequery) { mContext = context; mHandler = new android.os.Handler(); mAutoRequery = autoRequery; mGroupCursorHelper = new android.widget.CursorTreeAdapter.MyCursorHelper(this, cursor ); mChildrenCursorHelpers = new android.util.SparseArray <android.widget.CursorTreeAdapter .MyCursorHelper>(); }
public void setTarget(android.os.Handler arg0) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (!IsClrObject) { @__env.CallVoidMethod(this.JvmHandle, global::android.os.Message._setTarget6509, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0)); } else { @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::android.os.Message.staticClass, global::android.os.Message._setTarget6509, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0)); } }
public void send(int arg0, android.app.PendingIntent.OnFinished arg1, android.os.Handler arg2) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (!IsClrObject) { @__env.CallVoidMethod(this.JvmHandle, global::android.app.PendingIntent._send717, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2)); } else { @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::android.app.PendingIntent.staticClass, global::android.app.PendingIntent._send717, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2)); } }
internal ServiceDispatcher(android.content.ServiceConnection conn, android.content.Context context, android.os.Handler activityThread, int flags) { mIServiceConnection = new android.app.LoadedApk.ServiceDispatcher.InnerConnection (this); mConnection = conn; mContext = context; mActivityThread = activityThread; mLocation = new android.app.ServiceConnectionLeaked(null); XobotOS.Runtime.Util.FillInStackTrace(mLocation); mFlags = flags; }
internal void clearForRecycle() { flags = 0; what = 0; arg1 = 0; arg2 = 0; obj = null; replyTo = null; when = 0; target = null; callback = null; data = null; }
/// <summary> /// Constructor for the /// <see cref="ZoomButtonsController">ZoomButtonsController</see> /// . /// </summary> /// <param name="ownerView"> /// The view that is being zoomed by the zoom controls. The /// zoom controls will be displayed aligned with this view. /// </param> public ZoomButtonsController(android.view.View ownerView) { mConfigurationChangedReceiver = new _BroadcastReceiver_150(this); mHandler = new _Handler_170(this); mContext = ownerView.getContext(); mWindowManager = (android.view.WindowManager)mContext.getSystemService(android.content.Context .WINDOW_SERVICE); mOwnerView = ownerView; mTouchPaddingScaledSq = (int)(ZOOM_CONTROLS_TOUCH_PADDING * mContext.getResources ().getDisplayMetrics().density); mTouchPaddingScaledSq *= mTouchPaddingScaledSq; mContainer = createContainer(); }
internal void validate(android.content.Context context, android.os.Handler activityThread ) { if (mContext != context) { throw new java.lang.RuntimeException("ServiceConnection " + mConnection + " registered with differing Context (was " + mContext + " now " + context + ")"); } if (mActivityThread != activityThread) { throw new java.lang.RuntimeException("ServiceConnection " + mConnection + " registered with differing handler (was " + mActivityThread + " now " + activityThread + ")"); } }
public override void run() { Realm realm = null; try { Looper.prepare(); realm = Realm.getInstance(context); workerHandler = new WorkerHandler(realm); Looper.loop(); } finally { if (realm != null) { realm.close(); } } }
public override void run() { Realm realm = null; try { Looper.prepare(); realm = Realm.getInstance(context); workerHandler = new WorkerHandler(realm); Looper.loop(); } finally { if (realm != null) { realm.close(); } } }
/// <summary>Creates a GestureDetector with the supplied listener.</summary> /// <remarks> /// Creates a GestureDetector with the supplied listener. /// You may only use this constructor from a UI thread (this is the usual situation). /// </remarks> /// <seealso cref="android.os.Handler.Handler()">android.os.Handler.Handler()</seealso> /// <param name="context">the application's context</param> /// <param name="listener"> /// the listener invoked for all the callbacks, this must /// not be null. /// </param> /// <param name="handler">the handler to use</param> /// <param name="ignoreMultitouch"> /// whether events involving more than one pointer should /// be ignored. /// </param> /// <exception cref="System.ArgumentNullException"> /// if /// <code>listener</code> /// is null. /// </exception> public GestureDetector(android.content.Context context, android.view.GestureDetector .OnGestureListener listener, android.os.Handler handler, bool ignoreMultitouch) { mInputEventConsistencyVerifier = android.view.InputEventConsistencyVerifier.isInstrumentationEnabled () ? new android.view.InputEventConsistencyVerifier(this, 0) : null; if (handler != null) { mHandler = new android.view.GestureDetector.GestureHandler(this, handler); } else { mHandler = new android.view.GestureDetector.GestureHandler(this); } mListener = listener; if (listener is android.view.GestureDetector.OnDoubleTapListener) { setOnDoubleTapListener((android.view.GestureDetector.OnDoubleTapListener)listener ); } init(context, ignoreMultitouch); }
public AlertController(android.content.Context context, android.content.DialogInterface di, android.view.Window window) { mButtonHandler = new _OnClickListener_129(this); mContext = context; mDialogInterface = di; mWindow = window; mHandler = new [email protected](di); android.content.res.TypedArray a = context.obtainStyledAttributes(null, [email protected] .styleable.AlertDialog, [email protected], 0); mAlertDialogLayout = a.getResourceId([email protected]_layout , [email protected]_dialog); mListLayout = a.getResourceId([email protected]_listLayout , [email protected]_dialog); mMultiChoiceItemLayout = a.getResourceId([email protected]_multiChoiceItemLayout , [email protected]_dialog_multichoice); mSingleChoiceItemLayout = a.getResourceId([email protected]_singleChoiceItemLayout , [email protected]_dialog_singlechoice); mListItemLayout = a.getResourceId([email protected]_listItemLayout , [email protected]_dialog_item); a.recycle(); }
internal GestureHandler(GestureDetector _enclosing, android.os.Handler handler) : base(handler.getLooper()) { this._enclosing = _enclosing; }
public BlinkLayout(android.content.Context context, android.util.AttributeSet attrs ) : base(context, attrs) { mHandler = new android.os.Handler(new _Callback_877(this)); }
public ResultReceiver(android.os.Handler arg0) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(android.os.ResultReceiver.staticClass, global::android.os.ResultReceiver._ResultReceiver6719, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0)); Init(@__env, handle); }
public virtual void sendIntent(android.content.Context context, int code, android.content.Intent intent, android.content.IntentSender.OnFinished onFinished, android.os.Handler handler, string requiredPermission) { throw new System.NotImplementedException(); }
public virtual void sendIntent(android.content.Context arg0, int arg1, android.content.Intent arg2, android.content.IntentSender.OnFinished arg3, android.os.Handler arg4) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (!IsClrObject) { @__env.CallVoidMethod(this.JvmHandle, global::android.content.IntentSender._sendIntent1724, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg4)); } else { @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::android.content.IntentSender.staticClass, global::android.content.IntentSender._sendIntent1724, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg4)); } }
/// <summary> /// Constructor for the /// <see cref="ZoomButtonsController">ZoomButtonsController</see> /// . /// </summary> /// <param name="ownerView"> /// The view that is being zoomed by the zoom controls. The /// zoom controls will be displayed aligned with this view. /// </param> public ZoomButtonsController(android.view.View ownerView) { mConfigurationChangedReceiver = new _BroadcastReceiver_150(this); mHandler = new _Handler_170(this); mContext = ownerView.getContext(); mWindowManager = (android.view.WindowManager)mContext.getSystemService(android.content.Context .WINDOW_SERVICE); mOwnerView = ownerView; mTouchPaddingScaledSq = (int)(ZOOM_CONTROLS_TOUCH_PADDING * mContext.getResources ().getDisplayMetrics().density); mTouchPaddingScaledSq *= mTouchPaddingScaledSq; mContainer = createContainer(); }
internal FinishedDispatcher(android.content.IntentSender pi, android.content.IntentSender .OnFinished who, android.os.Handler handler) { throw new System.NotImplementedException(); }
public GestureDetector(android.view.GestureDetector.OnGestureListener listener, android.os.Handler handler) : this(null, listener, handler) { mInputEventConsistencyVerifier = android.view.InputEventConsistencyVerifier.isInstrumentationEnabled () ? new android.view.InputEventConsistencyVerifier(this, 0) : null; }
public SurfaceView(android.content.Context context, android.util.AttributeSet attrs , int defStyle) : base(context, attrs, defStyle) { mHandler = new _Handler_113(this); mScrollChangedListener = new _OnScrollChangedListener_131(this); mDrawListener = new _OnPreDrawListener_166(this); mSurfaceHolder = new _SurfaceHolder_682(this); init(); }
public SurfaceView(android.content.Context context) : base(context) { mHandler = new _Handler_113(this); mScrollChangedListener = new _OnScrollChangedListener_131(this); mDrawListener = new _OnPreDrawListener_166(this); mSurfaceHolder = new _SurfaceHolder_682(this); init(); }
public virtual global::android.accounts.AccountManagerFuture getAuthToken(android.accounts.Account arg0, java.lang.String arg1, android.os.Bundle arg2, android.app.Activity arg3, android.accounts.AccountManagerCallback arg4, android.os.Handler arg5) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (!IsClrObject) { return(global::MonoJavaBridge.JavaBridge.WrapIJavaObject <global::android.accounts.AccountManagerFuture>(@__env.CallObjectMethod(this.JvmHandle, global::android.accounts.AccountManager._getAuthToken80, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg4), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg5))) as android.accounts.AccountManagerFuture); } else { return(global::MonoJavaBridge.JavaBridge.WrapIJavaObject <global::android.accounts.AccountManagerFuture>(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::android.accounts.AccountManager.staticClass, global::android.accounts.AccountManager._getAuthToken80, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg4), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg5))) as android.accounts.AccountManagerFuture); } }
internal AttachInfo (XobotWindow window) { mHandler = new android.os.Handler (); }
public virtual global::android.accounts.AccountManagerFuture confirmCredentials(android.accounts.Account arg0, android.os.Bundle arg1, android.app.Activity arg2, android.accounts.AccountManagerCallback arg3, android.os.Handler arg4) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (!IsClrObject) { return(global::MonoJavaBridge.JavaBridge.WrapIJavaObject <global::android.accounts.AccountManagerFuture>(@__env.CallObjectMethod(this.JvmHandle, global::android.accounts.AccountManager._confirmCredentials78, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg4))) as android.accounts.AccountManagerFuture); } else { return(global::MonoJavaBridge.JavaBridge.WrapIJavaObject <global::android.accounts.AccountManagerFuture>(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::android.accounts.AccountManager.staticClass, global::android.accounts.AccountManager._confirmCredentials78, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg4))) as android.accounts.AccountManagerFuture); } }
internal ServiceDispatcher(android.content.ServiceConnection conn, android.content.Context context, android.os.Handler activityThread, int flags) { mIServiceConnection = new android.app.LoadedApk.ServiceDispatcher.InnerConnection (this); mConnection = conn; mContext = context; mActivityThread = activityThread; mLocation = new android.app.ServiceConnectionLeaked(null); XobotOS.Runtime.Util.FillInStackTrace(mLocation); mFlags = flags; }
public virtual void setPlaybackPositionUpdateListener(android.media.AudioTrack.OnPlaybackPositionUpdateListener arg0, android.os.Handler arg1) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (!IsClrObject) { @__env.CallVoidMethod(this.JvmHandle, global::android.media.AudioTrack._setPlaybackPositionUpdateListener4918, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1)); } else { @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::android.media.AudioTrack.staticClass, global::android.media.AudioTrack._setPlaybackPositionUpdateListener4918, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1)); } }
/// <summary>Creates a GestureDetector with the supplied listener.</summary> /// <remarks> /// Creates a GestureDetector with the supplied listener. /// You may only use this constructor from a UI thread (this is the usual situation). /// </remarks> /// <seealso cref="android.os.Handler.Handler()">android.os.Handler.Handler()</seealso> /// <param name="context">the application's context</param> /// <param name="listener"> /// the listener invoked for all the callbacks, this must /// not be null. /// </param> /// <param name="handler">the handler to use</param> /// <param name="ignoreMultitouch"> /// whether events involving more than one pointer should /// be ignored. /// </param> /// <exception cref="System.ArgumentNullException"> /// if /// <code>listener</code> /// is null. /// </exception> public GestureDetector(android.content.Context context, android.view.GestureDetector .OnGestureListener listener, android.os.Handler handler, bool ignoreMultitouch) { mInputEventConsistencyVerifier = android.view.InputEventConsistencyVerifier.isInstrumentationEnabled () ? new android.view.InputEventConsistencyVerifier(this, 0) : null; if (handler != null) { mHandler = new android.view.GestureDetector.GestureHandler(this, handler); } else { mHandler = new android.view.GestureDetector.GestureHandler(this); } mListener = listener; if (listener is android.view.GestureDetector.OnDoubleTapListener) { setOnDoubleTapListener((android.view.GestureDetector.OnDoubleTapListener)listener ); } init(context, ignoreMultitouch); }