Пример #1
0
 public virtual void partiallyUpdateAppWidgetIds(int[] appWidgetIds, android.widget.RemoteViews
                                                 views)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeIntArray(appWidgetIds);
         if ((views != null))
         {
             _data.writeInt(1);
             views.writeToParcel(_data, 0);
         }
         else
         {
             _data.writeInt(0);
         }
         mRemote.transact(android.appwidget.@internal.IAppWidgetServiceClass.Stub.TRANSACTION_partiallyUpdateAppWidgetIds
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Пример #2
0
 public virtual void updateAppWidget(int appWidgetId, android.widget.RemoteViews views
                                     )
 {
     android.os.Parcel _data = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeInt(appWidgetId);
         if ((views != null))
         {
             _data.writeInt(1);
             views.writeToParcel(_data, 0);
         }
         else
         {
             _data.writeInt(0);
         }
         mRemote.transact([email protected]_updateAppWidget
                          , _data, null, android.os.IBinderClass.FLAG_ONEWAY);
     }
     finally
     {
         _data.recycle();
     }
 }
		public override void onUpdate(Context context, SlookCocktailManager cocktailBarManager, int[] cocktailIds)
		{
			RemoteViews rv = new RemoteViews(context.PackageName, R.layout.sample_panel);
			string str = context.Resources.getString([email protected]_text);
			rv.setTextViewText(R.id.text, str);
			setPendingIntent(context, rv);
			for (int i = 0; i < cocktailIds.Length; i++)
			{
				cocktailBarManager.updateCocktail(cocktailIds[i], rv);
			}
		}
Пример #4
0
        public override void onUpdate(Context context, SlookCocktailManager cocktailBarManager, int[] cocktailIds)
        {
            RemoteViews rv  = new RemoteViews(context.PackageName, R.layout.sample_panel);
            string      str = context.Resources.getString([email protected]_text);

            rv.setTextViewText(R.id.text, str);
            setPendingIntent(context, rv);
            for (int i = 0; i < cocktailIds.Length; i++)
            {
                cocktailBarManager.updateCocktail(cocktailIds[i], rv);
            }
        }
Пример #5
0
 /// <summary>Perform an incremental update or command on the widget(s) specified by appWidgetIds.
 ///     </summary>
 /// <remarks>
 /// Perform an incremental update or command on the widget(s) specified by appWidgetIds.
 /// This update  differs from
 /// <see cref="updateAppWidget(int[], android.widget.RemoteViews)">updateAppWidget(int[], android.widget.RemoteViews)
 ///     </see>
 /// in that the
 /// RemoteViews object which is passed is understood to be an incomplete representation of the
 /// widget, and hence is not cached by the AppWidgetService. Note that because these updates are
 /// not cached, any state that they modify that is not restored by restoreInstanceState will not
 /// persist in the case that the widgets are restored using the cached version in
 /// AppWidgetService.
 /// Use with
 /// <see cref="android.widget.RemoteViews.showNext(int)">android.widget.RemoteViews.showNext(int)
 ///     </see>
 /// ,
 /// <see cref="android.widget.RemoteViews.showPrevious(int)">android.widget.RemoteViews.showPrevious(int)
 ///     </see>
 /// ,
 /// <see cref="android.widget.RemoteViews.setScrollPosition(int, int)">android.widget.RemoteViews.setScrollPosition(int, int)
 ///     </see>
 /// and similar commands.
 /// <p>
 /// It is okay to call this method both inside an
 /// <see cref="ACTION_APPWIDGET_UPDATE">ACTION_APPWIDGET_UPDATE</see>
 /// broadcast,
 /// and outside of the handler.
 /// This method will only work when called from the uid that owns the AppWidget provider.
 /// </remarks>
 /// <param name="appWidgetIds">The AppWidget instances for which to set the RemoteViews.
 ///     </param>
 /// <param name="views">The RemoteViews object containing the incremental update / command.
 ///     </param>
 public virtual void partiallyUpdateAppWidget(int[] appWidgetIds, android.widget.RemoteViews
                                              views)
 {
     try
     {
         sService.partiallyUpdateAppWidgetIds(appWidgetIds, views);
     }
     catch (android.os.RemoteException e)
     {
         throw new java.lang.RuntimeException("system server dead?", e);
     }
 }
Пример #6
0
 /// <summary>Set the RemoteViews to use for all AppWidget instances for the supplied AppWidget provider.
 ///     </summary>
 /// <remarks>
 /// Set the RemoteViews to use for all AppWidget instances for the supplied AppWidget provider.
 /// <p>
 /// It is okay to call this method both inside an
 /// <see cref="ACTION_APPWIDGET_UPDATE">ACTION_APPWIDGET_UPDATE</see>
 /// broadcast,
 /// and outside of the handler.
 /// This method will only work when called from the uid that owns the AppWidget provider.
 /// </remarks>
 /// <param name="provider">
 /// The
 /// <see cref="android.content.ComponentName">android.content.ComponentName</see>
 /// for the
 /// <see cref="android.content.BroadcastReceiver">BroadcastReceiver</see>
 /// provider
 /// for your AppWidget.
 /// </param>
 /// <param name="views">The RemoteViews object to show.</param>
 public virtual void updateAppWidget(android.content.ComponentName provider, android.widget.RemoteViews
                                     views)
 {
     try
     {
         sService.updateAppWidgetProvider(provider, views);
     }
     catch (android.os.RemoteException e)
     {
         throw new java.lang.RuntimeException("system server dead?", e);
     }
 }
Пример #7
0
 public virtual void addView(int arg0, android.widget.RemoteViews arg1)
 {
     global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
     if (!IsClrObject)
     {
         @__env.CallVoidMethod(this.JvmHandle, global::android.widget.RemoteViews._addView11794, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
     }
     else
     {
         @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::android.widget.RemoteViews.staticClass, global::android.widget.RemoteViews._addView11794, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
     }
 }
Пример #8
0
 public virtual void updateAppWidget(android.widget.RemoteViews arg0)
 {
     global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
     if (!IsClrObject)
     {
         @__env.CallVoidMethod(this.JvmHandle, global::android.appwidget.AppWidgetHostView._updateAppWidget973, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
     }
     else
     {
         @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::android.appwidget.AppWidgetHostView.staticClass, global::android.appwidget.AppWidgetHostView._updateAppWidget973, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
     }
 }
Пример #9
0
 public virtual void updateAppWidget(android.content.ComponentName arg0, android.widget.RemoteViews arg1)
 {
     global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
     if (!IsClrObject)
     {
         @__env.CallVoidMethod(this.JvmHandle, global::android.appwidget.AppWidgetManager._updateAppWidget981, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
     }
     else
     {
         @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::android.appwidget.AppWidgetManager.staticClass, global::android.appwidget.AppWidgetManager._updateAppWidget981, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
     }
 }
		public override void onUpdate(Context context, SlookCocktailManager cocktailManager, int[] cocktailIds)
		{
			Intent intent = new Intent(context, typeof(CocktailListAdapterService));
			intent.Data = Uri.parse(intent.toUri(Intent.URI_INTENT_SCHEME));

			RemoteViews views = new RemoteViews(context.PackageName, R.layout.widget_layout);

			views.setRemoteAdapter(R.id.widgetlist, intent);
			views.setEmptyView(R.id.widgetlist, R.id.emptylist);

			Intent itemClickIntent = new Intent(context, typeof(CocktailListAdapterProvider));
			itemClickIntent.Action = Constants.COCKTAIL_LIST_ADAPTER_CLICK_ACTION;

			PendingIntent itemClickPendingIntent = PendingIntent.getBroadcast(context, 1, itemClickIntent, PendingIntent.FLAG_UPDATE_CURRENT);
			views.setPendingIntentTemplate(R.id.widgetlist, itemClickPendingIntent);

			for (int i = 0; i < cocktailIds.Length; i++)
			{
				cocktailManager.updateCocktail(cocktailIds[i], views);
			}
		}
        public override void onUpdate(Context context, SlookCocktailManager cocktailManager, int[] cocktailIds)
        {
            Intent intent = new Intent(context, typeof(CocktailListAdapterService));

            intent.Data = Uri.parse(intent.toUri(Intent.URI_INTENT_SCHEME));

            RemoteViews views = new RemoteViews(context.PackageName, R.layout.widget_layout);

            views.setRemoteAdapter(R.id.widgetlist, intent);
            views.setEmptyView(R.id.widgetlist, R.id.emptylist);

            Intent itemClickIntent = new Intent(context, typeof(CocktailListAdapterProvider));

            itemClickIntent.Action = Constants.COCKTAIL_LIST_ADAPTER_CLICK_ACTION;

            PendingIntent itemClickPendingIntent = PendingIntent.getBroadcast(context, 1, itemClickIntent, PendingIntent.FLAG_UPDATE_CURRENT);

            views.setPendingIntentTemplate(R.id.widgetlist, itemClickPendingIntent);

            for (int i = 0; i < cocktailIds.Length; i++)
            {
                cocktailManager.updateCocktail(cocktailIds[i], views);
            }
        }
Пример #12
0
 public virtual void updateAppWidgetProvider(android.content.ComponentName provider
                                             , android.widget.RemoteViews views)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         if ((provider != null))
         {
             _data.writeInt(1);
             provider.writeToParcel(_data, 0);
         }
         else
         {
             _data.writeInt(0);
         }
         if ((views != null))
         {
             _data.writeInt(1);
             views.writeToParcel(_data, 0);
         }
         else
         {
             _data.writeInt(0);
         }
         mRemote.transact(android.appwidget.@internal.IAppWidgetServiceClass.Stub.TRANSACTION_updateAppWidgetProvider
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Пример #13
0
 public virtual android.app.Notification.Builder setTicker(java.lang.CharSequence
                                                           tickerText, android.widget.RemoteViews views)
 {
     throw new System.NotImplementedException();
 }
Пример #14
0
 public virtual void notifyOnRemoteViewsLoaded(int position, android.widget.RemoteViews
                                               view, int typeId)
 {
     throw new System.NotImplementedException();
 }
Пример #15
0
 public virtual android.app.Notification.Builder setContent(android.widget.RemoteViews
                                                            views)
 {
     throw new System.NotImplementedException();
 }
Пример #16
0
 public RemoteViewsIndexMetaData(RemoteViewsAdapter _enclosing, android.widget.RemoteViews
                                 v, long itemId, bool requested)
 {
     throw new System.NotImplementedException();
 }
Пример #17
0
 public virtual void setLoadingViewTemplates(android.widget.RemoteViews loadingView
                                             , android.widget.RemoteViews firstView)
 {
     throw new System.NotImplementedException();
 }
Пример #18
0
 internal virtual void updateAppWidgetView(int appWidgetId, android.widget.RemoteViews
                                           views)
 {
     throw new System.NotImplementedException();
 }
Пример #19
0
 /// <summary>Perform an incremental update or command on the widget specified by appWidgetId.
 ///     </summary>
 /// <remarks>
 /// Perform an incremental update or command on the widget specified by appWidgetId.
 /// This update  differs from
 /// <see cref="updateAppWidget(int, android.widget.RemoteViews)">updateAppWidget(int, android.widget.RemoteViews)
 ///     </see>
 /// in that the RemoteViews
 /// object which is passed is understood to be an incomplete representation of the widget, and
 /// hence is not cached by the AppWidgetService. Note that because these updates are not cached,
 /// any state that they modify that is not restored by restoreInstanceState will not persist in
 /// the case that the widgets are restored using the cached version in AppWidgetService.
 /// Use with
 /// <see cref="android.widget.RemoteViews.showNext(int)">android.widget.RemoteViews.showNext(int)
 ///     </see>
 /// ,
 /// <see cref="android.widget.RemoteViews.showPrevious(int)">android.widget.RemoteViews.showPrevious(int)
 ///     </see>
 /// ,
 /// <see cref="android.widget.RemoteViews.setScrollPosition(int, int)">android.widget.RemoteViews.setScrollPosition(int, int)
 ///     </see>
 /// and similar commands.
 /// <p>
 /// It is okay to call this method both inside an
 /// <see cref="ACTION_APPWIDGET_UPDATE">ACTION_APPWIDGET_UPDATE</see>
 /// broadcast,
 /// and outside of the handler.
 /// This method will only work when called from the uid that owns the AppWidget provider.
 /// </remarks>
 /// <param name="appWidgetId">The AppWidget instance for which to set the RemoteViews.
 ///     </param>
 /// <param name="views">The RemoteViews object containing the incremental update / command.
 ///     </param>
 public virtual void partiallyUpdateAppWidget(int appWidgetId, android.widget.RemoteViews
                                              views)
 {
     partiallyUpdateAppWidget(new int[] { appWidgetId }, views);
 }
Пример #20
0
 private void setPendingIntent(Context context, RemoteViews rv)
 {
     setPendingIntent(context, R.id.btn_phone, new Intent(Intent.ACTION_DIAL), rv);
     setPendingIntent(context, R.id.btn_camera, new Intent("android.media.action.IMAGE_CAPTURE"), rv);
     setPendingIntent(context, R.id.btn_internet, new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com")), rv);
 }
Пример #21
0
        private void setPendingIntent(Context context, int rscId, Intent intent, RemoteViews rv)
        {
            PendingIntent itemClickPendingIntent = PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);

            rv.setOnClickPendingIntent(rscId, itemClickPendingIntent);
        }
Пример #22
0
 public virtual void onRemoteViewsLoaded(android.widget.RemoteViews view)
 {
     throw new System.NotImplementedException();
 }
Пример #23
0
 public virtual void insert(int position, android.widget.RemoteViews v, long itemId
                            , bool isRequested)
 {
     throw new System.NotImplementedException();
 }
Пример #24
0
            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_startListening:
                {
                    data.enforceInterface(DESCRIPTOR);
                    [email protected] _arg0;
                    _arg0 = [email protected](data.readStrongBinder
                                                                                                 ());
                    string _arg1;
                    _arg1 = data.readString();
                    int _arg2;
                    _arg2 = data.readInt();
                    java.util.List <android.widget.RemoteViews> _arg3;
                    _arg3 = new java.util.ArrayList <android.widget.RemoteViews>();
                    int[] _result = this.startListening(_arg0, _arg1, _arg2, _arg3);
                    reply.writeNoException();
                    reply.writeIntArray(_result);
                    reply.writeTypedList(_arg3);
                    return(true);
                }

                case TRANSACTION_stopListening:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    this.stopListening(_arg0);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_allocateAppWidgetId:
                {
                    data.enforceInterface(DESCRIPTOR);
                    string _arg0;
                    _arg0 = data.readString();
                    int _arg1;
                    _arg1 = data.readInt();
                    int _result = this.allocateAppWidgetId(_arg0, _arg1);
                    reply.writeNoException();
                    reply.writeInt(_result);
                    return(true);
                }

                case TRANSACTION_deleteAppWidgetId:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    this.deleteAppWidgetId(_arg0);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_deleteHost:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    this.deleteHost(_arg0);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_deleteAllHosts:
                {
                    data.enforceInterface(DESCRIPTOR);
                    this.deleteAllHosts();
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_getAppWidgetViews:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    android.widget.RemoteViews _result = this.getAppWidgetViews(_arg0);
                    reply.writeNoException();
                    if ((_result != null))
                    {
                        reply.writeInt(1);
                        _result.writeToParcel(reply, android.os.ParcelableClass.PARCELABLE_WRITE_RETURN_VALUE
                                              );
                    }
                    else
                    {
                        reply.writeInt(0);
                    }
                    return(true);
                }

                case TRANSACTION_updateAppWidgetIds:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int[] _arg0;
                    _arg0 = data.createIntArray();
                    android.widget.RemoteViews _arg1;
                    if ((0 != data.readInt()))
                    {
                        _arg1 = android.widget.RemoteViews.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg1 = null;
                    }
                    this.updateAppWidgetIds(_arg0, _arg1);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_partiallyUpdateAppWidgetIds:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int[] _arg0;
                    _arg0 = data.createIntArray();
                    android.widget.RemoteViews _arg1;
                    if ((0 != data.readInt()))
                    {
                        _arg1 = android.widget.RemoteViews.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg1 = null;
                    }
                    this.partiallyUpdateAppWidgetIds(_arg0, _arg1);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_updateAppWidgetProvider:
                {
                    data.enforceInterface(DESCRIPTOR);
                    android.content.ComponentName _arg0;
                    if ((0 != data.readInt()))
                    {
                        _arg0 = android.content.ComponentName.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg0 = null;
                    }
                    android.widget.RemoteViews _arg1;
                    if ((0 != data.readInt()))
                    {
                        _arg1 = android.widget.RemoteViews.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg1 = null;
                    }
                    this.updateAppWidgetProvider(_arg0, _arg1);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_notifyAppWidgetViewDataChanged:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int[] _arg0;
                    _arg0 = data.createIntArray();
                    int _arg1;
                    _arg1 = data.readInt();
                    this.notifyAppWidgetViewDataChanged(_arg0, _arg1);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_getInstalledProviders:
                {
                    data.enforceInterface(DESCRIPTOR);
                    java.util.List <android.appwidget.AppWidgetProviderInfo> _result = this.getInstalledProviders
                                                                                           ();
                    reply.writeNoException();
                    reply.writeTypedList(_result);
                    return(true);
                }

                case TRANSACTION_getAppWidgetInfo:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    android.appwidget.AppWidgetProviderInfo _result = this.getAppWidgetInfo(_arg0);
                    reply.writeNoException();
                    if ((_result != null))
                    {
                        reply.writeInt(1);
                        _result.writeToParcel(reply, android.os.ParcelableClass.PARCELABLE_WRITE_RETURN_VALUE
                                              );
                    }
                    else
                    {
                        reply.writeInt(0);
                    }
                    return(true);
                }

                case TRANSACTION_bindAppWidgetId:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    android.content.ComponentName _arg1;
                    if ((0 != data.readInt()))
                    {
                        _arg1 = android.content.ComponentName.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg1 = null;
                    }
                    this.bindAppWidgetId(_arg0, _arg1);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_bindRemoteViewsService:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    android.content.Intent _arg1;
                    if ((0 != data.readInt()))
                    {
                        _arg1 = android.content.Intent.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg1 = null;
                    }
                    android.os.IBinder _arg2;
                    _arg2 = data.readStrongBinder();
                    this.bindRemoteViewsService(_arg0, _arg1, _arg2);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_unbindRemoteViewsService:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    android.content.Intent _arg1;
                    if ((0 != data.readInt()))
                    {
                        _arg1 = android.content.Intent.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg1 = null;
                    }
                    this.unbindRemoteViewsService(_arg0, _arg1);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_getAppWidgetIds:
                {
                    data.enforceInterface(DESCRIPTOR);
                    android.content.ComponentName _arg0;
                    if ((0 != data.readInt()))
                    {
                        _arg0 = android.content.ComponentName.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg0 = null;
                    }
                    int[] _result = this.getAppWidgetIds(_arg0);
                    reply.writeNoException();
                    reply.writeIntArray(_result);
                    return(true);
                }
                }
                return(base.onTransact(code, data, reply, flags));
            }
		private void setPendingIntent(Context context, int rscId, Intent intent, RemoteViews rv)
		{
			PendingIntent itemClickPendingIntent = PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);
			rv.setOnClickPendingIntent(rscId, itemClickPendingIntent);
		}
		private void setPendingIntent(Context context, RemoteViews rv)
		{
			setPendingIntent(context, R.id.btn_phone, new Intent(Intent.ACTION_DIAL), rv);
			setPendingIntent(context, R.id.btn_camera, new Intent("android.media.action.IMAGE_CAPTURE"), rv);
			setPendingIntent(context, R.id.btn_internet, new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com")), rv);
		}
Пример #27
0
            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_onDataSetChanged:
                {
                    data.enforceInterface(DESCRIPTOR);
                    this.onDataSetChanged();
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_onDestroy:
                {
                    data.enforceInterface(DESCRIPTOR);
                    android.content.Intent _arg0;
                    if ((0 != data.readInt()))
                    {
                        _arg0 = android.content.Intent.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg0 = null;
                    }
                    this.onDestroy(_arg0);
                    return(true);
                }

                case TRANSACTION_getCount:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _result = this.getCount();
                    reply.writeNoException();
                    reply.writeInt(_result);
                    return(true);
                }

                case TRANSACTION_getViewAt:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    android.widget.RemoteViews _result = this.getViewAt(_arg0);
                    reply.writeNoException();
                    if ((_result != null))
                    {
                        reply.writeInt(1);
                        _result.writeToParcel(reply, android.os.ParcelableClass.PARCELABLE_WRITE_RETURN_VALUE
                                              );
                    }
                    else
                    {
                        reply.writeInt(0);
                    }
                    return(true);
                }

                case TRANSACTION_getLoadingView:
                {
                    data.enforceInterface(DESCRIPTOR);
                    android.widget.RemoteViews _result = this.getLoadingView();
                    reply.writeNoException();
                    if ((_result != null))
                    {
                        reply.writeInt(1);
                        _result.writeToParcel(reply, android.os.ParcelableClass.PARCELABLE_WRITE_RETURN_VALUE
                                              );
                    }
                    else
                    {
                        reply.writeInt(0);
                    }
                    return(true);
                }

                case TRANSACTION_getViewTypeCount:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _result = this.getViewTypeCount();
                    reply.writeNoException();
                    reply.writeInt(_result);
                    return(true);
                }

                case TRANSACTION_getItemId:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    long _result = this.getItemId(_arg0);
                    reply.writeNoException();
                    reply.writeLong(_result);
                    return(true);
                }

                case TRANSACTION_hasStableIds:
                {
                    data.enforceInterface(DESCRIPTOR);
                    bool _result = this.hasStableIds();
                    reply.writeNoException();
                    reply.writeInt(((_result) ? (1) : (0)));
                    return(true);
                }

                case TRANSACTION_isCreated:
                {
                    data.enforceInterface(DESCRIPTOR);
                    bool _result = this.isCreated();
                    reply.writeNoException();
                    reply.writeInt(((_result) ? (1) : (0)));
                    return(true);
                }
                }
                return(base.onTransact(code, data, reply, flags));
            }
Пример #28
0
 public virtual void set(android.widget.RemoteViews v, long id, bool requested)
 {
     throw new System.NotImplementedException();
 }
Пример #29
0
 public abstract void updateAppWidgetProvider(android.content.ComponentName arg1,
                                              android.widget.RemoteViews arg2);
Пример #30
0
 public override void updateAppWidget(int appWidgetId, android.widget.RemoteViews
                                      views)
 {
     throw new System.NotImplementedException();
 }
Пример #31
0
 public ViewGroupAction(RemoteViews _enclosing, int viewId, android.widget.RemoteViews
                        nestedViews)
 {
     throw new System.NotImplementedException();
 }
Пример #32
0
 private android.content.Context getRemoteContext(android.widget.RemoteViews views
                                                  )
 {
     throw new System.NotImplementedException();
 }
Пример #33
0
 public abstract void partiallyUpdateAppWidgetIds(int[] arg1, android.widget.RemoteViews
                                                  arg2);
Пример #34
0
 public virtual void addView(int viewId, android.widget.RemoteViews nestedView)
 {
     throw new System.NotImplementedException();
 }