/**@class android.widget.TimePicker @extends android.widget.FrameLayout A widget for selecting the time of day, in either 24-hour or AM/PM mode. <p> For a dialog using this view, see {@link android.app.TimePickerDialog}. See the <a href="{@docRoot}guide/topics/ui/controls/pickers.html">Pickers</a> guide for more information. @attr ref android.R.styleable#TimePicker_timePickerMode */ var TimePicker = { /** Presentation mode for the Holo-style time picker that uses a set of {@link android.widget.NumberPicker}s. @see #getMode() @hide Visible for testing only. */ MODE_SPINNER : "1", /** Presentation mode for the Material-style time picker that uses a clock face. @see #getMode() @hide Visible for testing only. */ MODE_CLOCK : "2", /** @return {Number} the picker's presentation mode, one of {@link #MODE_CLOCK} or {@link #MODE_SPINNER} @attr ref android.R.styleable#TimePicker_timePickerMode @hide Visible for testing only. */ getMode : function( ) {}, /**Sets the currently selected hour using 24-hour time. @param {Number} hour the hour to set, in the range (0-23) @see #getHour() */ setHour : function( ) {}, /**Returns the currently selected hour using 24-hour time. @return {Number} the currently selected hour, in the range (0-23) @see #setHour(int) */ getHour : function( ) {}, /**Sets the currently selected minute. @param {Number} minute the minute to set, in the range (0-59) @see #getMinute() */ setMinute : function( ) {}, /**Returns the currently selected minute. @return {Number} the currently selected minute, in the range (0-59) @see #setMinute(int) */ getMinute : function( ) {}, /**Sets the currently selected hour using 24-hour time. @param {Number} currentHour the hour to set, in the range (0-23) @deprecated Use {@link #setHour(int)} */ setCurrentHour : function( ) {}, /** @return {Number} the currently selected hour, in the range (0-23) @deprecated Use {@link #getHour()} */ getCurrentHour : function( ) {}, /**Sets the currently selected minute. @param {Number} currentMinute the minute to set, in the range (0-59) @deprecated Use {@link #setMinute(int)} */ setCurrentMinute : function( ) {}, /** @return {Number} the currently selected minute, in the range (0-59) @deprecated Use {@link #getMinute()} */ getCurrentMinute : function( ) {}, /**Sets whether this widget displays time in 24-hour mode or 12-hour mode with an AM/PM picker. @param {Boolean} is24HourView {@code true} to display in 24-hour mode, {@code false} for 12-hour mode with AM/PM @see #is24HourView() */ setIs24HourView : function( ) {}, /** @return {Boolean} {@code true} if this widget displays time in 24-hour mode, {@code false} otherwise} @see #setIs24HourView(Boolean) */ is24HourView : function( ) {}, /**Set the callback that indicates the time has been adjusted by the user. @param {Object {TimePicker.OnTimeChangedListener}} onTimeChangedListener the callback, should not be null. */ setOnTimeChangedListener : function( ) {}, /** */ setEnabled : function( ) {}, /** */ isEnabled : function( ) {}, /** */ getBaseline : function( ) {}, /**Validates whether current input by the user is a valid time based on the locale. TimePicker will show an error message to the user if the time is not valid. @return {Boolean} {@code true} if the input is valid, {@code false} otherwise */ validateInput : function( ) {}, /** */ getAccessibilityClassName : function( ) {}, /** @hide */ dispatchPopulateAccessibilityEventInternal : function( ) {}, /** @hide */ getHourView : function( ) {}, /** @hide */ getMinuteView : function( ) {}, /** @hide */ getAmView : function( ) {}, /** @hide */ getPmView : function( ) {}, /** */ dispatchProvideAutofillStructure : function( ) {}, /** */ autofill : function( ) {}, /** */ getAutofillType : function( ) {}, /** */ getAutofillValue : function( ) {}, };