Пример #1
0
 protected virtual global::android.os.Handler createHandler(android.os.Looper arg0)
 {
     global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
     if (!IsClrObject)
     {
         return(global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::android.content.AsyncQueryHandler._createHandler1074, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as android.os.Handler);
     }
     else
     {
         return(global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::android.content.AsyncQueryHandler.staticClass, global::android.content.AsyncQueryHandler._createHandler1074, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as android.os.Handler);
     }
 }
Пример #2
0
        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();
                }
            }
        }
Пример #3
0
 public Handler(android.os.Looper arg0, android.os.Handler.Callback arg1)  : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
 {
     global::MonoJavaBridge.JNIEnv         @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
     global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(android.os.Handler.staticClass, global::android.os.Handler._Handler6453, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
     Init(@__env, handle);
 }
Пример #4
0
 public virtual void requestLocationUpdates(long minTime, float minDistance, android.location.Criteria
                                            criteria, android.location.LocationListener listener, android.os.Looper looper)
 {
     throw new System.NotImplementedException();
 }
Пример #5
0
 public ServiceHandler(IntentService _enclosing, android.os.Looper looper) : base(
         looper)
 {
     throw new System.NotImplementedException();
 }
 public IInputConnectionWrapper(android.os.Looper mainLooper, android.view.inputmethod.InputConnection
                                conn)
 {
     throw new System.NotImplementedException();
 }
Пример #7
0
 internal static void initGlobals(android.os.Looper looper)
 {
     throw new System.NotImplementedException();
 }
Пример #8
0
 public WorkerHandler(AsyncQueryHandler _enclosing, android.os.Looper looper) : base
         (looper)
 {
     throw new System.NotImplementedException();
 }
Пример #9
0
 public virtual android.net.wifi.p2p.WifiP2pManager.Channel initialize(android.content.Context
                                                                       srcContext, android.os.Looper srcLooper, android.net.wifi.p2p.WifiP2pManager.ChannelListener
                                                                       listener)
 {
     throw new System.NotImplementedException();
 }
Пример #10
0
 internal P2pHandler(Channel _enclosing, android.os.Looper looper) : base(looper)
 {
     throw new System.NotImplementedException();
 }
Пример #11
0
 internal Channel(android.os.Looper looper, android.net.wifi.p2p.WifiP2pManager.ChannelListener
                  l)
 {
     throw new System.NotImplementedException();
 }
Пример #12
0
 public WorkerHandler(android.content.AsyncQueryHandler arg0, android.os.Looper arg1)  : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
 {
     global::MonoJavaBridge.JNIEnv         @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
     global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(android.content.AsyncQueryHandler.WorkerHandler.staticClass, global::android.content.AsyncQueryHandler.WorkerHandler._WorkerHandler1072, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
     Init(@__env, handle);
 }
Пример #13
0
 public virtual void requestSingleUpdate(android.location.Criteria criteria, android.location.LocationListener
                                         listener, android.os.Looper looper)
 {
     throw new System.NotImplementedException();
 }
Пример #14
0
 public static void set(java.lang.Thread thread, android.os.Looper looper)
 {
     throw new System.NotImplementedException();
 }
Пример #15
0
		internal InputMethodManager([email protected] service, android.os.Looper
			 looper)
		{
			mDummyInputConnection = new android.view.inputmethod.BaseInputConnection(this, false
				);
			// For scheduling work on the main thread.  This also serves as our
			// global lock.
			// Our generic input connection if the current target does not have its own.
			// -----------------------------------------------------------
			// Cursor position on the screen.
			// -----------------------------------------------------------
			// -----------------------------------------------------------
			// XXX the server has already unbound!
			// If we were actively using the last input method, then
			// we would like to re-connect to the next input method.
			// Some other client has starting using the IME, so note
			// that this happened and make sure our own editor's
			// state is reset.
			// Note that finishComposingText() is allowed to run
			// even when we are not active.
			// No need to check for dump permission, since we only give this
			// interface to the system.
			mService = service;
			mMainLooper = looper;
			mH = new android.view.inputmethod.InputMethodManager.H(this, looper);
			mIInputContext = new android.view.inputmethod.InputMethodManager.ControlledInputConnectionWrapper
				(this, looper, mDummyInputConnection);
			if (mInstance == null)
			{
				mInstance = this;
			}
		}
Пример #16
0
 public EventHandler(SurfaceTexture _enclosing, android.os.Looper looper) : base(looper
                                                                                 )
 {
     throw new System.NotImplementedException();
 }
Пример #17
0
 public SyncHandler(SyncManager _enclosing, android.os.Looper looper) : base(looper
                                                                             )
 {
     throw new System.NotImplementedException();
 }
Пример #18
0
 protected internal virtual android.os.Handler createHandler(android.os.Looper looper
                                                             )
 {
     throw new System.NotImplementedException();
 }
Пример #19
0
 public UpdateHandler(AppWidgetHost _enclosing, android.os.Looper looper) : base(looper
                                                                                 )
 {
     throw new System.NotImplementedException();
 }
Пример #20
0
 internal MyHandler(IInputConnectionWrapper _enclosing, android.os.Looper looper) :
     base(looper)
 {
     throw new System.NotImplementedException();
 }
Пример #21
0
 public _Handler_502(ListenerDelegate _enclosing, android.os.Looper baseArg1) : base
         (baseArg1)
 {
     throw new System.NotImplementedException();
 }
Пример #22
0
 internal MyHandler(AccessibilityManager _enclosing, android.os.Looper mainLooper)
     : base(mainLooper)
 {
     this._enclosing = _enclosing;
 }
Пример #23
0
 public SensorManager(android.os.Looper mainLooper)
 {
     throw new System.NotImplementedException();
 }
Пример #24
0
 public StorageManager(android.os.Looper tgtLooper)
 {
     throw new System.NotImplementedException();
 }
Пример #25
0
 public virtual void addCountryListener(android.location.CountryListener listener,
                                        android.os.Looper looper)
 {
     throw new System.NotImplementedException();
 }
Пример #26
0
 public RequestHandler(Filter _enclosing, android.os.Looper looper) : base(looper)
 {
     throw new System.NotImplementedException();
 }
Пример #27
0
 public virtual void requestLocationUpdates(java.lang.String arg0, long arg1, float arg2, android.location.LocationListener arg3, android.os.Looper arg4)
 {
     global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
     if (!IsClrObject)
     {
         @__env.CallVoidMethod(this.JvmHandle, global::android.location.LocationManager._requestLocationUpdates4778, 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.location.LocationManager.staticClass, global::android.location.LocationManager._requestLocationUpdates4778, 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));
     }
 }