/**@class android.widget.RemoteViews implements android.os.Parcelable implements android.view.LayoutInflater.Filter @extends java.lang.Object A class that describes a view hierarchy that can be displayed in another process. The hierarchy is inflated from a layout resource file, and this class provides some basic operations for modifying the content of the inflated hierarchy. <p>{@code RemoteViews} is limited to support for the following layouts:</p> <ul> <li>{@link android.widget.AdapterViewFlipper}</li> <li>{@link android.widget.FrameLayout}</li> <li>{@link android.widget.GridLayout}</li> <li>{@link android.widget.GridView}</li> <li>{@link android.widget.LinearLayout}</li> <li>{@link android.widget.ListView}</li> <li>{@link android.widget.RelativeLayout}</li> <li>{@link android.widget.StackView}</li> <li>{@link android.widget.ViewFlipper}</li> </ul> <p>And the following widgets:</p> <ul> <li>{@link android.widget.AnalogClock}</li> <li>{@link android.widget.Button}</li> <li>{@link android.widget.Chronometer}</li> <li>{@link android.widget.ImageButton}</li> <li>{@link android.widget.ImageView}</li> <li>{@link android.widget.ProgressBar}</li> <li>{@link android.widget.TextClock}</li> <li>{@link android.widget.TextView}</li> </ul> <p>Descendants of these classes are not supported.</p> */ var RemoteViews = { /** The intent extra that contains the bounds for all shared elements. */ EXTRA_SHARED_ELEMENT_BOUNDS : "android.widget.extra.SHARED_ELEMENT_BOUNDS", /** Whether reapply is disallowed on this remoteview. This maybe be true if some actions modify the layout in a way that isn't recoverable, since views are being removed. @hide */ FLAG_REAPPLY_DISALLOWED : "1", /** This flag indicates whether this RemoteViews object is being created from a RemoteViewsService for use as a child of a widget collection. This flag is used to determine whether or not certain features are available, in particular, setting on click extras and setting on click pending intents. The former is enabled, and the latter disabled when this flag is true. @hide */ FLAG_WIDGET_IS_COLLECTION_CHILD : "2", /** When this flag is set, the views is inflated with {@link #mLightBackgroundLayoutId} instead of {link #mLayoutId} @hide */ FLAG_USE_LIGHT_BACKGROUND_LAYOUT : "4", /** Application that hosts the remote views. @hide */ mApplication : "null", /** Parcelable.Creator that instantiates RemoteViews objects */ CREATOR : "null", /** @hide */ setRemoteInputs : function( ) {}, /**Reduces all images and ensures that they are all below the given sizes. @param {Number} maxWidth the maximum width allowed @param {Number} maxHeight the maximum height allowed @hide */ reduceImageSizes : function( ) {}, /**Override all text colors in this layout and replace them by the given text color. @param {Number} textColor The color to use. @hide */ overrideTextColors : function( ) {}, /**Sets an integer tag to the view. @hide */ setIntTag : function( ) {}, /**Set that it is disallowed to reapply another remoteview with the same layout as this view. This should be done if an action is destroying the view tree of the base layout. @hide */ addFlags : function( ) {}, /** @hide */ hasFlags : function( ) {}, /**Merges the passed RemoteViews actions with this RemoteViews actions according to action-specific merge rules. @param {Object {RemoteViews}} newRv @hide */ mergeRemoteViews : function( ) {}, /**Note all {@link Uri} that are referenced internally, with the expectation that Uri permission grants will need to be issued to ensure the recipient of this object is able to render its contents. @hide */ visitUris : function( ) {}, /** @hide */ getSourceBounds : function( ) {}, /**Returns a deep copy of the RemoteViews object. The RemoteView may not be attached to another RemoteView -- it must be the root of a hierarchy. @deprecated use {@link #RemoteViews(RemoteViews)} instead. @throws IllegalStateException if this is not the root of a RemoteView hierarchy */ clone : function( ) {}, /** */ getPackage : function( ) {}, /**Returns the layout id of the root layout associated with this RemoteViews. In the case that the RemoteViews has both a landscape and portrait root, this will return the layout id associated with the portrait layout. @return {Number} the layout id. */ getLayoutId : function( ) {}, /** @hide */ estimateMemoryUsage : function( ) {}, /**Equivalent to calling {@link ViewGroup#addView(View)} after inflating the given {@link android.widget.RemoteViews}. This allows users to build "nested" {@link android.widget.RemoteViews}. In cases where consumers of {@link android.widget.RemoteViews} may recycle layouts, use {@link #removeAllViews}(int) to clear any existing children. @param {Number} viewId The id of the parent {@link ViewGroup} to add child into. @param {Object {RemoteViews}} nestedView {@link RemoteViews} that describes the child. */ addView : function( ) {}, /**Equivalent to calling {@link ViewGroup#addView(View, int)} after inflating the given {@link android.widget.RemoteViews}. @param {Number} viewId The id of the parent {@link ViewGroup} to add the child into. @param {Object {RemoteViews}} nestedView {@link RemoteViews} of the child to add. @param {Number} index The position at which to add the child. @hide */ addView : function( ) {}, /**Equivalent to calling {@link ViewGroup#removeAllViews()}. @param {Number} viewId The id of the parent {@link ViewGroup} to remove all children from. */ removeAllViews : function( ) {}, /**Removes all views in the {@link ViewGroup} specified by the {@code viewId} except for any child that has the {@code viewIdToKeep} as its id. @param {Number} viewId The id of the parent {@link ViewGroup} to remove children from. @param {Number} viewIdToKeep The id of a child that should not be removed. @hide */ removeAllViewsExceptId : function( ) {}, /**Equivalent to calling {@link android.widget.AdapterViewAnimator#showNext()} @param {Number} viewId The id of the view on which to call {@link AdapterViewAnimator#showNext()} */ showNext : function( ) {}, /**Equivalent to calling {@link android.widget.AdapterViewAnimator#showPrevious()} @param {Number} viewId The id of the view on which to call {@link AdapterViewAnimator#showPrevious()} */ showPrevious : function( ) {}, /**Equivalent to calling {@link android.widget.AdapterViewAnimator#setDisplayedChild(int)} @param {Number} viewId The id of the view on which to call {@link AdapterViewAnimator#setDisplayedChild(int)} */ setDisplayedChild : function( ) {}, /**Equivalent to calling {@link View#setVisibility(int)} @param {Number} viewId The id of the view whose visibility should change @param {Number} visibility The new visibility for the view */ setViewVisibility : function( ) {}, /**Equivalent to calling {@link android.widget.TextView#setText(CharSequence)} @param {Number} viewId The id of the view whose text should change @param {Object {CharSequence}} text The new text for the view */ setTextViewText : function( ) {}, /**Equivalent to calling {@link android.widget.TextView#setTextSize(int, float)} @param {Number} viewId The id of the view whose text size should change @param {Number} units The units of size (e.g. COMPLEX_UNIT_SP) @param {Number} size The size of the text */ setTextViewTextSize : function( ) {}, /**Equivalent to calling {@link android.widget.TextView#setCompoundDrawablesWithIntrinsicBounds(int, int, int, int)}. @param {Number} viewId The id of the view whose text should change @param {Number} left The id of a drawable to place to the left of the text, or 0 @param {Number} top The id of a drawable to place above the text, or 0 @param {Number} right The id of a drawable to place to the right of the text, or 0 @param {Number} bottom The id of a drawable to place below the text, or 0 */ setTextViewCompoundDrawables : function( ) {}, /**Equivalent to calling {@link android.widget.TextView#setCompoundDrawablesRelativeWithIntrinsicBounds(int, int, int, int)}. @param {Number} viewId The id of the view whose text should change @param {Number} start The id of a drawable to place before the text (relative to the layout direction), or 0 @param {Number} top The id of a drawable to place above the text, or 0 @param {Number} end The id of a drawable to place after the text, or 0 @param {Number} bottom The id of a drawable to place below the text, or 0 */ setTextViewCompoundDrawablesRelative : function( ) {}, /**Equivalent to calling {@link android.widget.TextView#setCompoundDrawablesWithIntrinsicBounds(Drawable, Drawable, Drawable, Drawable)} using the drawables yielded by {@link Icon#loadDrawable(Context)}. @param {Number} viewId The id of the view whose text should change @param {Object {Icon}} left an Icon to place to the left of the text, or 0 @param {Object {Icon}} top an Icon to place above the text, or 0 @param {Object {Icon}} right an Icon to place to the right of the text, or 0 @param {Object {Icon}} bottom an Icon to place below the text, or 0 @hide */ setTextViewCompoundDrawables : function( ) {}, /**Equivalent to calling {@link android.widget.TextView#setCompoundDrawablesRelativeWithIntrinsicBounds(Drawable, Drawable, Drawable, Drawable)} using the drawables yielded by {@link Icon#loadDrawable(Context)}. @param {Number} viewId The id of the view whose text should change @param {Object {Icon}} start an Icon to place before the text (relative to the layout direction), or 0 @param {Object {Icon}} top an Icon to place above the text, or 0 @param {Object {Icon}} end an Icon to place after the text, or 0 @param {Object {Icon}} bottom an Icon to place below the text, or 0 @hide */ setTextViewCompoundDrawablesRelative : function( ) {}, /**Equivalent to calling {@link android.widget.ImageView#setImageResource(int)} @param {Number} viewId The id of the view whose drawable should change @param {Number} srcId The new resource id for the drawable */ setImageViewResource : function( ) {}, /**Equivalent to calling {@link android.widget.ImageView#setImageURI(Uri)} @param {Number} viewId The id of the view whose drawable should change @param {Object {Uri}} uri The Uri for the image */ setImageViewUri : function( ) {}, /**Equivalent to calling {@link android.widget.ImageView#setImageBitmap(Bitmap)} @param {Number} viewId The id of the view whose bitmap should change @param {Object {Bitmap}} bitmap The new Bitmap for the drawable */ setImageViewBitmap : function( ) {}, /**Equivalent to calling {@link android.widget.ImageView#setImageIcon(Icon)} @param {Number} viewId The id of the view whose bitmap should change @param {Object {Icon}} icon The new Icon for the ImageView */ setImageViewIcon : function( ) {}, /**Equivalent to calling {@link android.widget.AdapterView#setEmptyView(View)} @param {Number} viewId The id of the view on which to set the empty view @param {Number} emptyViewId The view id of the empty view */ setEmptyView : function( ) {}, /**Equivalent to calling {@link android.widget.Chronometer#setBase android.widget.Chronometer.setBase}, {@link android.widget.Chronometer#setFormat android.widget.Chronometer.setFormat}, and {@link android.widget.Chronometer#start android.widget.Chronometer.start()} or {@link android.widget.Chronometer#stop android.widget.Chronometer.stop()}. @param {Number} viewId The id of the {@link Chronometer} to change @param {Number} base The time at which the timer would have read 0:00. This time should be based off of {@link android.os.SystemClock#elapsedRealtime SystemClock.elapsedRealtime()}. @param {String} format The Chronometer format string, or null to simply display the timer value. @param {Boolean} started True if you want the clock to be started, false if not. @see #setChronometerCountDown(int, boolean) */ setChronometer : function( ) {}, /**Equivalent to calling {@link android.widget.Chronometer#setCountDown(boolean) android.widget.Chronometer.setCountDown} on the chronometer with the given viewId. @param {Number} viewId The id of the {@link Chronometer} to change @param {Boolean} isCountDown True if you want the chronometer to count down to base instead of counting up. */ setChronometerCountDown : function( ) {}, /**Equivalent to calling {@link android.widget.ProgressBar#setMax android.widget.ProgressBar.setMax}, {@link android.widget.ProgressBar#setProgress android.widget.ProgressBar.setProgress}, and {@link android.widget.ProgressBar#setIndeterminate android.widget.ProgressBar.setIndeterminate} If indeterminate is true, then the values for max and progress are ignored. @param {Number} viewId The id of the {@link ProgressBar} to change @param {Number} max The 100% value for the progress bar @param {Number} progress The current value of the progress bar. @param {Boolean} indeterminate True if the progress bar is indeterminate, false if not. */ setProgressBar : function( ) {}, /**Equivalent to calling {@link android.view.View#setOnClickListener(android.view.View.OnClickListener)} to launch the provided {@link PendingIntent}. The source bounds ({@link Intent#getSourceBounds()}) of the intent will be set to the bounds of the clicked view in screen space. Note that any activity options associated with the mPendingIntent may get overridden before starting the intent. When setting the on-click action of items within collections (eg. {@link android.widget.ListView}, {@link android.widget.StackView} etc.), this method will not work. Instead, use {@link android.widget.RemoteViews#setPendingIntentTemplate(int, PendingIntent)} in conjunction with {@link android.widget.RemoteViews#setOnClickFillInIntent(int, Intent)}. @param {Number} viewId The id of the view that will trigger the {@link PendingIntent} when clicked @param {Object {PendingIntent}} pendingIntent The {@link PendingIntent} to send when user clicks */ setOnClickPendingIntent : function( ) {}, /**Equivalent of calling {@link android.view.View#setOnClickListener(android.view.View.OnClickListener)} to launch the provided {@link android.widget.RemoteViews.RemoteResponse}. @param {Number} viewId The id of the view that will trigger the {@link RemoteResponse} when clicked @param {Object {RemoteViews.RemoteResponse}} response The {@link RemoteResponse} to send when user clicks */ setOnClickResponse : function( ) {}, /**When using collections (eg. {@link android.widget.ListView}, {@link android.widget.StackView} etc.) in widgets, it is very costly to set PendingIntents on the individual items, and is hence not permitted. Instead this method should be used to set a single PendingIntent template on the collection, and individual items can differentiate their on-click behavior using {@link android.widget.RemoteViews#setOnClickFillInIntent(int, Intent)}. @param {Number} viewId The id of the collection who's children will use this PendingIntent template when clicked @param {Object {PendingIntent}} pendingIntentTemplate The {@link PendingIntent} to be combined with extras specified by a child of viewId and executed when that child is clicked */ setPendingIntentTemplate : function( ) {}, /**When using collections (eg. {@link android.widget.ListView}, {@link android.widget.StackView} etc.) in widgets, it is very costly to set PendingIntents on the individual items, and is hence not permitted. Instead a single PendingIntent template can be set on the collection, see {@link android.widget.RemoteViews#setPendingIntentTemplate(int, PendingIntent)}, and the individual on-click action of a given item can be distinguished by setting a fillInIntent on that item. The fillInIntent is then combined with the PendingIntent template in order to determine the final intent which will be executed when the item is clicked. This works as follows: any fields which are left blank in the PendingIntent template, but are provided by the fillInIntent will be overwritten, and the resulting PendingIntent will be used. The rest of the PendingIntent template will then be filled in with the associated fields that are set in fillInIntent. See {@link Intent#fillIn(Intent, int)} for more details. @param {Number} viewId The id of the view on which to set the fillInIntent @param {Object {Intent}} fillInIntent The intent which will be combined with the parent's PendingIntent in order to determine the on-click behavior of the view specified by viewId */ setOnClickFillInIntent : function( ) {}, /** @param {Number} viewId The id of the view that contains the target {@link Drawable} @param {Boolean} targetBackground If true, apply these parameters to the {@link Drawable} returned by {@link android.view.View#getBackground()}. Otherwise, assume the target view is an {@link ImageView} and apply them to {@link ImageView#getDrawable()}. @param {Number} colorFilter Specify a color for a {@link android.graphics.ColorFilter} for this drawable. This will be ignored if {@code mode} is {@code null}. @param {Object {PorterDuff.Mode}} mode Specify a PorterDuff mode for this drawable, or null to leave unchanged. @param mode Specify a PorterDuff mode for this drawable, or null to leave unchanged. */ setDrawableTint : function( ) {}, /** @param {Number} viewId The id of the view that contains the target {@link RippleDrawable} @param {Object {ColorStateList}} colorStateList Specify a color for a {@link ColorStateList} for this drawable. @param colorStateList Specify a color for a {@link ColorStateList} for this drawable. */ setRippleDrawableColor : function( ) {}, /** @param {Number} viewId The id of the view whose tint should change @param {Object {ColorStateList}} tint the tint to apply, may be {@code null} to clear tint @param tint the tint to apply, may be {@code null} to clear tint */ setProgressTintList : function( ) {}, /** @param {Number} viewId The id of the view whose tint should change @param {Object {ColorStateList}} tint the tint to apply, may be {@code null} to clear tint @param tint the tint to apply, may be {@code null} to clear tint */ setProgressBackgroundTintList : function( ) {}, /** @param {Number} viewId The id of the view whose tint should change @param {Object {ColorStateList}} tint the tint to apply, may be {@code null} to clear tint @param tint the tint to apply, may be {@code null} to clear tint */ setProgressIndeterminateTintList : function( ) {}, /**Equivalent to calling {@link android.widget.TextView#setTextColor(int)}. @param {Number} viewId The id of the view whose text color should change @param {Number} color Sets the text color for all the states (normal, selected, focused) to be this color. */ setTextColor : function( ) {}, /** @param {Number} viewId The id of the view whose text color should change @param {Object {ColorStateList}} colors the text colors to set @param colors the text colors to set */ setTextColor : function( ) {}, /**Equivalent to calling {@link android.widget.AbsListView#setRemoteViewsAdapter(Intent)}. @param {Number} appWidgetId The id of the app widget which contains the specified view. (This parameter is ignored in this deprecated method) @param {Number} viewId The id of the {@link AdapterView} @param {Object {Intent}} intent The intent of the service which will be providing data to the RemoteViewsAdapter @deprecated This method has been deprecated. See {@link android.widget.RemoteViews#setRemoteAdapter(int, Intent)} */ setRemoteAdapter : function( ) {}, /**Equivalent to calling {@link android.widget.AbsListView#setRemoteViewsAdapter(Intent)}. Can only be used for App Widgets. @param {Number} viewId The id of the {@link AdapterView} @param {Object {Intent}} intent The intent of the service which will be providing data to the RemoteViewsAdapter */ setRemoteAdapter : function( ) {}, /**Creates a simple Adapter for the viewId specified. The viewId must point to an AdapterView, ie. {@link android.widget.ListView}, {@link android.widget.GridView}, {@link android.widget.StackView} or {@link android.widget.AdapterViewAnimator}. This is a simpler but less flexible approach to populating collection widgets. Its use is encouraged for most scenarios, as long as the total memory within the list of RemoteViews is relatively small (ie. doesn't contain large or numerous Bitmaps, see {@link android.widget.RemoteViews#setImageViewBitmap}). In the case of numerous images, the use of API is still possible by setting image URIs instead of Bitmaps, see {@link android.widget.RemoteViews#setImageViewUri}. This API is supported in the compatibility library for previous API levels, see RemoteViewsCompat. @param {Number} viewId The id of the {@link AdapterView} @param {Object {java.util.ArrayList}} list The list of RemoteViews which will populate the view specified by viewId. @param {Number} viewTypeCount The maximum number of unique layout id's used to construct the list of RemoteViews. This count cannot change during the life-cycle of a given widget, so this parameter should account for the maximum possible number of types that may appear in the See {@link Adapter#getViewTypeCount()}. @hide @deprecated this appears to have no users outside of UnsupportedAppUsage? */ setRemoteAdapter : function( ) {}, /**Equivalent to calling {@link android.widget.ListView#smoothScrollToPosition(int)}. @param {Number} viewId The id of the view to change @param {Number} position Scroll to this adapter position */ setScrollPosition : function( ) {}, /**Equivalent to calling {@link android.widget.ListView#smoothScrollByOffset(int)}. @param {Number} viewId The id of the view to change @param {Number} offset Scroll by this adapter position offset */ setRelativeScrollPosition : function( ) {}, /**Equivalent to calling {@link android.view.View#setPadding(int, int, int, int)}. @param {Number} viewId The id of the view to change @param {Number} left the left padding in pixels @param {Number} top the top padding in pixels @param {Number} right the right padding in pixels @param {Number} bottom the bottom padding in pixels */ setViewPadding : function( ) {}, /** @param {Number} viewId The id of the view to change @param {Number} endMarginDimen a dimen resource to read the margin from or 0 to clear the margin. @param endMarginDimen a dimen resource to read the margin from or 0 to clear the margin. */ setViewLayoutMarginEndDimen : function( ) {}, /**Equivalent to calling {@link android.view.ViewGroup.MarginLayoutParams#setMarginEnd(int)}. Only works if the {@link View#getLayoutParams()} supports margins. Hidden for now since we don't want to support this for all different layout margins yet. @param {Number} viewId The id of the view to change @param {Number} endMargin a value in pixels for the end margin. @hide */ setViewLayoutMarginEnd : function( ) {}, /**Equivalent to setting {@link android.view.ViewGroup.MarginLayoutParams#bottomMargin}. @param {Number} bottomMarginDimen a dimen resource to read the margin from or 0 to clear the margin. @hide */ setViewLayoutMarginBottomDimen : function( ) {}, /**Equivalent to setting {@link android.view.ViewGroup.LayoutParams#width}. @param {Number} layoutWidth one of 0, MATCH_PARENT or WRAP_CONTENT. Other sizes are not allowed because they behave poorly when the density changes. @hide */ setViewLayoutWidth : function( ) {}, /**Call a method taking one boolean on a view in the layout for this RemoteViews. @param {Number} viewId The id of the view on which to call the method. @param {String} methodName The name of the method to call. @param {Boolean} value The value to pass to the method. */ setBoolean : function( ) {}, /**Call a method taking one byte on a view in the layout for this RemoteViews. @param {Number} viewId The id of the view on which to call the method. @param {String} methodName The name of the method to call. @param {Number} value The value to pass to the method. */ setByte : function( ) {}, /**Call a method taking one short on a view in the layout for this RemoteViews. @param {Number} viewId The id of the view on which to call the method. @param {String} methodName The name of the method to call. @param {Number} value The value to pass to the method. */ setShort : function( ) {}, /**Call a method taking one int on a view in the layout for this RemoteViews. @param {Number} viewId The id of the view on which to call the method. @param {String} methodName The name of the method to call. @param {Number} value The value to pass to the method. */ setInt : function( ) {}, /**Call a method taking one ColorStateList on a view in the layout for this RemoteViews. @param {Number} viewId The id of the view on which to call the method. @param {String} methodName The name of the method to call. @param {Object {ColorStateList}} value The value to pass to the method. @hide */ setColorStateList : function( ) {}, /**Call a method taking one long on a view in the layout for this RemoteViews. @param {Number} viewId The id of the view on which to call the method. @param {String} methodName The name of the method to call. @param {Number} value The value to pass to the method. */ setLong : function( ) {}, /**Call a method taking one float on a view in the layout for this RemoteViews. @param {Number} viewId The id of the view on which to call the method. @param {String} methodName The name of the method to call. @param {Number} value The value to pass to the method. */ setFloat : function( ) {}, /**Call a method taking one double on a view in the layout for this RemoteViews. @param {Number} viewId The id of the view on which to call the method. @param {String} methodName The name of the method to call. @param {Number} value The value to pass to the method. */ setDouble : function( ) {}, /**Call a method taking one char on a view in the layout for this RemoteViews. @param {Number} viewId The id of the view on which to call the method. @param {String} methodName The name of the method to call. @param {String} value The value to pass to the method. */ setChar : function( ) {}, /**Call a method taking one String on a view in the layout for this RemoteViews. @param {Number} viewId The id of the view on which to call the method. @param {String} methodName The name of the method to call. @param {String} value The value to pass to the method. */ setString : function( ) {}, /**Call a method taking one CharSequence on a view in the layout for this RemoteViews. @param {Number} viewId The id of the view on which to call the method. @param {String} methodName The name of the method to call. @param {Object {CharSequence}} value The value to pass to the method. */ setCharSequence : function( ) {}, /**Call a method taking one Uri on a view in the layout for this RemoteViews. @param {Number} viewId The id of the view on which to call the method. @param {String} methodName The name of the method to call. @param {Object {Uri}} value The value to pass to the method. */ setUri : function( ) {}, /**Call a method taking one Bitmap on a view in the layout for this RemoteViews. @param {Number} viewId The id of the view on which to call the method. @param {String} methodName The name of the method to call. @param {Object {Bitmap}} value The value to pass to the method. @param value The value to pass to the method. */ setBitmap : function( ) {}, /**Call a method taking one Bundle on a view in the layout for this RemoteViews. @param {Number} viewId The id of the view on which to call the method. @param {String} methodName The name of the method to call. @param {Object {Bundle}} value The value to pass to the method. */ setBundle : function( ) {}, /**Call a method taking one Intent on a view in the layout for this RemoteViews. @param {Number} viewId The id of the view on which to call the method. @param {String} methodName The name of the method to call. @param {Object {Intent}} value The {@link android.content.Intent} to pass the method. */ setIntent : function( ) {}, /**Call a method taking one Icon on a view in the layout for this RemoteViews. @param {Number} viewId The id of the view on which to call the method. @param {String} methodName The name of the method to call. @param {Object {Icon}} value The {@link android.graphics.drawable.Icon} to pass the method. */ setIcon : function( ) {}, /**Equivalent to calling View.setContentDescription(CharSequence). @param {Number} viewId The id of the view whose content description should change. @param {Object {CharSequence}} contentDescription The new content description for the view. */ setContentDescription : function( ) {}, /**Equivalent to calling {@link android.view.View#setAccessibilityTraversalBefore(int)}. @param {Number} viewId The id of the view whose before view in accessibility traversal to set. @param {Number} nextId The id of the next in the accessibility traversal. */ setAccessibilityTraversalBefore : function( ) {}, /**Equivalent to calling {@link android.view.View#setAccessibilityTraversalAfter(int)}. @param {Number} viewId The id of the view whose after view in accessibility traversal to set. @param {Number} nextId The id of the next in the accessibility traversal. */ setAccessibilityTraversalAfter : function( ) {}, /**Equivalent to calling {@link View#setLabelFor(int)}. @param {Number} viewId The id of the view whose property to set. @param {Number} labeledId The id of a view for which this view serves as a label. */ setLabelFor : function( ) {}, /**Provides an alternate layout ID, which can be used to inflate this view. This layout will be used by the host when the widgets displayed on a light-background where foreground elements and text can safely draw using a dark color without any additional background protection. */ setLightBackgroundLayoutId : function( ) {}, /**If this view supports dark text versions, creates a copy representing that version, otherwise returns itself. @hide */ getDarkTextViews : function( ) {}, /**Inflates the view hierarchy represented by this object and applies all of the actions. <p><strong>Caller beware: this may throw</strong> @param {Object {Context}} context Default context to use @param {Object {ViewGroup}} parent Parent that the resulting view hierarchy will be attached to. This method does <strong>not</strong> attach the hierarchy. The caller should do so when appropriate. @return {Object {android.view.View}} The inflated view hierarchy */ apply : function( ) {}, /** @hide */ apply : function( ) {}, /** @hide */ applyWithTheme : function( ) {}, /**Applies the views asynchronously, moving as much of the task on the background thread as possible. @param {Object {Context}} context Default context to use @param {Object {ViewGroup}} parent Parent that the resulting view hierarchy will be attached to. This method does <strong>not</strong> attach the hierarchy. The caller should do so when appropriate. @param {Object {Executor}} listener the callback to run when all actions have been applied. May be null. @param {Object {RemoteViews.OnViewAppliedListener}} executor The executor to use. If null {@link AsyncTask#THREAD_POOL_EXECUTOR} is used. @param executor The executor to use. If null {@link AsyncTask#THREAD_POOL_EXECUTOR} is used. @return {Object {android.os.CancellationSignal}} CancellationSignal @hide */ applyAsync : function( ) {}, /** @hide */ applyAsync : function( ) {}, /**Applies all of the actions to the provided view. <p><strong>Caller beware: this may throw</strong> @param {Object {Context}} v The view to apply the actions to. This should be the result of the {@link #apply(Context,ViewGroup)} call. */ reapply : function( ) {}, /** @hide */ reapply : function( ) {}, /**Applies all the actions to the provided view, moving as much of the task on the background thread as possible. @param {Object {Context}} context Default context to use @param {Object {View}} v The view to apply the actions to. This should be the result of the {@link #apply(Context,ViewGroup)} call. @param {Object {Executor}} listener the callback to run when all actions have been applied. May be null. @param {Object {RemoteViews.OnViewAppliedListener}} executor The executor to use. If null {@link AsyncTask#THREAD_POOL_EXECUTOR} is used @param executor The executor to use. If null {@link AsyncTask#THREAD_POOL_EXECUTOR} is used @return {Object {android.os.CancellationSignal}} CancellationSignal @hide */ reapplyAsync : function( ) {}, /** @hide */ reapplyAsync : function( ) {}, /**Returns true if the RemoteViews contains potentially costly operations and should be applied asynchronously. @hide */ prefersAsyncApply : function( ) {}, /**Returns the number of actions in this RemoteViews. Can be used as a sequence number. @hide */ getSequenceNumber : function( ) {}, /** */ onLoadClass : function( ) {}, /** */ describeContents : function( ) {}, /** */ writeToParcel : function( ) {}, /**Returns true if the {@link #mApplication} is same as the provided info. @hide */ hasSameAppInfo : function( ) {}, /** @hide */ startPendingIntent : function( ) {}, };