Example #1
0
				public virtual int[] getAppWidgetIds(android.content.ComponentName provider)
				{
					android.os.Parcel _data = android.os.Parcel.obtain();
					android.os.Parcel _reply = android.os.Parcel.obtain();
					int[] _result;
					try
					{
						_data.writeInterfaceToken(DESCRIPTOR);
						if ((provider != null))
						{
							_data.writeInt(1);
							provider.writeToParcel(_data, 0);
						}
						else
						{
							_data.writeInt(0);
						}
						mRemote.transact([email protected]ION_getAppWidgetIds
							, _data, _reply, 0);
						_reply.readException();
						_result = _reply.createIntArray();
					}
					finally
					{
						_reply.recycle();
						_data.recycle();
					}
					return _result;
				}
Example #2
0
				public virtual void onDestroy(android.content.Intent intent)
				{
					android.os.Parcel _data = android.os.Parcel.obtain();
					try
					{
						_data.writeInterfaceToken(DESCRIPTOR);
						if ((intent != null))
						{
							_data.writeInt(1);
							intent.writeToParcel(_data, 0);
						}
						else
						{
							_data.writeInt(0);
						}
						mRemote.transact([email protected]ON_onDestroy
							, _data, null, android.os.IBinderClass.FLAG_ONEWAY);
					}
					finally
					{
						_data.recycle();
					}
				}
Example #3
0
				public virtual void bindAppWidgetId(int appWidgetId, android.content.ComponentName
					 provider)
				{
					android.os.Parcel _data = android.os.Parcel.obtain();
					android.os.Parcel _reply = android.os.Parcel.obtain();
					try
					{
						_data.writeInterfaceToken(DESCRIPTOR);
						_data.writeInt(appWidgetId);
						if ((provider != null))
						{
							_data.writeInt(1);
							provider.writeToParcel(_data, 0);
						}
						else
						{
							_data.writeInt(0);
						}
						mRemote.transact([email protected]ION_bindAppWidgetId
							, _data, _reply, 0);
						_reply.readException();
					}
					finally
					{
						_reply.recycle();
						_data.recycle();
					}
				}
Example #4
0
				public virtual void unbindRemoteViewsService(int appWidgetId, android.content.Intent
					 intent)
				{
					android.os.Parcel _data = android.os.Parcel.obtain();
					android.os.Parcel _reply = android.os.Parcel.obtain();
					try
					{
						_data.writeInterfaceToken(DESCRIPTOR);
						_data.writeInt(appWidgetId);
						if ((intent != null))
						{
							_data.writeInt(1);
							intent.writeToParcel(_data, 0);
						}
						else
						{
							_data.writeInt(0);
						}
						mRemote.transact([email protected]ION_unbindRemoteViewsService
							, _data, _reply, 0);
						_reply.readException();
					}
					finally
					{
						_reply.recycle();
						_data.recycle();
					}
				}
Example #5
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([email protected]ION_partiallyUpdateAppWidgetIds
							, _data, _reply, 0);
						_reply.readException();
					}
					finally
					{
						_reply.recycle();
						_data.recycle();
					}
				}
Example #6
0
				public virtual void providerChanged(int appWidgetId, android.appwidget.AppWidgetProviderInfo
					 info)
				{
					android.os.Parcel _data = android.os.Parcel.obtain();
					try
					{
						_data.writeInterfaceToken(DESCRIPTOR);
						_data.writeInt(appWidgetId);
						if ((info != null))
						{
							_data.writeInt(1);
							info.writeToParcel(_data, 0);
						}
						else
						{
							_data.writeInt(0);
						}
						mRemote.transact([email protected]_providerChanged
							, _data, null, android.os.IBinderClass.FLAG_ONEWAY);
					}
					finally
					{
						_data.recycle();
					}
				}
Example #7
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();
					}
				}
Example #8
0
				public virtual void updateNotification(android.os.IBinder key, [email protected]
					 notification)
				{
					android.os.Parcel _data = android.os.Parcel.obtain();
					try
					{
						_data.writeInterfaceToken(DESCRIPTOR);
						_data.writeStrongBinder(key);
						if ((notification != null))
						{
							_data.writeInt(1);
							notification.writeToParcel(_data, 0);
						}
						else
						{
							_data.writeInt(0);
						}
						mRemote.transact([email protected]_updateNotification
							, _data, null, android.os.IBinderClass.FLAG_ONEWAY);
					}
					finally
					{
						_data.recycle();
					}
				}
Example #9
0
				public virtual void setIcon(int index, [email protected] 
					icon)
				{
					android.os.Parcel _data = android.os.Parcel.obtain();
					try
					{
						_data.writeInterfaceToken(DESCRIPTOR);
						_data.writeInt(index);
						if ((icon != null))
						{
							_data.writeInt(1);
							icon.writeToParcel(_data, 0);
						}
						else
						{
							_data.writeInt(0);
						}
						mRemote.transact([email protected]_setIcon
							, _data, null, android.os.IBinderClass.FLAG_ONEWAY);
					}
					finally
					{
						_data.recycle();
					}
				}