/**@class android.widget.RatingBar @extends android.widget.AbsSeekBar A RatingBar is an extension of SeekBar and ProgressBar that shows a rating in stars. The user can touch/drag or use arrow keys to set the rating when using the default size RatingBar. The smaller RatingBar style ( {@link android.R.attr#ratingBarStyleSmall}) and the larger indicator-only style ({@link android.R.attr#ratingBarStyleIndicator}) do not support user interaction and should only be used as indicators. <p> When using a RatingBar that supports user interaction, placing widgets to the left or right of the RatingBar is discouraged. <p> The number of stars set (via {@link #setNumStars}(int) or in an XML layout) will be shown when the layout width is set to wrap content (if another layout width is set, the results may be unpredictable). <p> The secondary progress should not be modified by the client as it is used internally as the background for a fractionally filled star. @attr ref android.R.styleable#RatingBar_numStars @attr ref android.R.styleable#RatingBar_rating @attr ref android.R.styleable#RatingBar_stepSize @attr ref android.R.styleable#RatingBar_isIndicator */ var RatingBar = { /**Sets the listener to be called when the rating changes. @param {Object {RatingBar.OnRatingBarChangeListener}} listener The listener. */ setOnRatingBarChangeListener : function( ) {}, /** @return {Object {android.widget.RatingBar.OnRatingBarChangeListener}} The listener (may be null) that is listening for rating change events. */ getOnRatingBarChangeListener : function( ) {}, /**Whether this rating bar should only be an indicator (thus non-changeable by the user). @param {Boolean} isIndicator Whether it should be an indicator. @attr ref android.R.styleable#RatingBar_isIndicator */ setIsIndicator : function( ) {}, /** @return {Boolean} Whether this rating bar is only an indicator. @attr ref android.R.styleable#RatingBar_isIndicator */ isIndicator : function( ) {}, /**Sets the number of stars to show. In order for these to be shown properly, it is recommended the layout width of this widget be wrap content. @param {Number} numStars The number of stars. */ setNumStars : function( ) {}, /**Returns the number of stars shown. @return {Number} The number of stars shown. */ getNumStars : function( ) {}, /**Sets the rating (the number of stars filled). @param {Number} rating The rating to set. */ setRating : function( ) {}, /**Gets the current rating (number of stars filled). @return {Number} The current rating. */ getRating : function( ) {}, /**Sets the step size (granularity) of this rating bar. @param {Number} stepSize The step size of this rating bar. For example, if half-star granularity is wanted, this would be 0.5. */ setStepSize : function( ) {}, /**Gets the step size of this rating bar. @return {Number} The step size. */ getStepSize : function( ) {}, /** */ setMax : function( ) {}, /** */ getAccessibilityClassName : function( ) {}, /** @hide */ onInitializeAccessibilityNodeInfoInternal : function( ) {}, };