/frameworks/base/docs/html/guide/tutorials/views/ |
hello-timepicker.jd | 7 user to select the time by hour, minute and AM or PM.</p> 28 android:text="Change the time"/> 33 will display the time and a {@link android.widget.Button} that will initiate the 37 with the current time.</p> 66 // get the current time 76 <p>We start by instantiating variables for our View elements and time fields. 83 <code>updateDisplay()</code>—our own method that will fill the TextView with the time.</p> 99 the TimePicker to the time we retrieved from our Calendar instance. It will be called by 105 // updates the time we display in the TextView 113 <p>This simply takes our member fields for the time and inserts them in [all...] |
/external/opencore/oscl/oscl/osclbase/src/ |
oscl_time.h | 33 for getting, manipulating, and formatting time values. 34 The TimeValue class is based on the native system time format while 35 NTPTime is used for the standard Network Time Protocol format. 83 //! The NTPTime class represents a time value as the number of seconds since 0h (UTC) Jan. 1, 1900 87 A single 64 bit value is used to represent the time. This value represents the number of seconds 100 //! The default constructor creates an NTPTime instance representing the current system time. 116 This constructor creates an NTPTime value representing the same absolute time as the TimeValue parameter. 127 /*! \param newval A 32 bit integer representing the upper 32 bits of the 32.32 NTP time (e.g. the number of whole seconds since Jan 1, 1900 UTC).*/ 131 /*! \param newval A 64 bit value which represents the 32.32 fractional representation of the ntp time. */ 142 //! This method converts a 32-bit system time to NTP time [all...] |
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 34 * elapsed time and date ranges, strings for days of the week and months, and AM/PM text etc. 181 // Date and time format strings that are constant and don't need to be 397 * Returns a string describing the elapsed time since startTime. 398 * @param startTime some time in the past. 399 * @return a String object containing the elapsed time. 407 * Returns a string describing 'time' as a time relative to 'now'. 409 * Time spans in the past are formatted like "42 minutes ago". 410 * Time spans in the future are formatted like "in 42 minutes". 412 * @param time the time to describe, in millisecond 804 Time time = new Time(); local [all...] |
/external/sonivox/jet_tools/JetCreator/ |
JetCtrls.py | 405 self.time = (wx.TextCtrl(parent, -1, str(value[0]), pos=(p1, top), size=(w1, -1), style=wx.TE_NOHIDESEL),
409 h = self.time[2].GetSize().height
410 w = self.time[2].GetSize().width + self.time[2].GetPosition().x + 8
419 self.time[0].Bind(wx.EVT_SET_FOCUS, self.OnFocusMeasure, self.time[0] )
420 self.time[1].Bind(wx.EVT_SET_FOCUS, self.OnFocusBeat, self.time[1] )
421 self.time[2].Bind(wx.EVT_SET_FOCUS, self.OnFocusTick, self.time[2] ) [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
TimerTask.java | 21 * The {@code TimerTask} class represents a task to run at a specified time. The task 42 * The time when task will be executed, or the time when task was launched 57 * Method called from the Timer object when scheduling an event @param time 59 void setScheduledTime(long time) { 61 scheduledTime = time; 101 * Returns the scheduled execution time. If the task execution is in 102 * progress it returns the execution time of the ongoing task. Tasks which 105 * @return the most recent execution time.
|
/external/bison/lib/ |
timevar.c | 37 # include <sys/time.h> 118 _constants_ variable at run time, anyway? */ 143 /* Elapsed time for this variable. */ 147 using timevar_start, this contains the start time. */ 162 /* An element on the timing stack. Elapsed time is attributed to the 185 /* The time at which the topmost element on the timing stack was 186 pushed. Time elapsed since then is attributed to the topmost 195 /* Fill the current times into TIME. The definition of this function 276 /* Push TIMEVAR onto the timing stack. No further elapsed time is 278 subsequent elapsed time is attributed to TIMEVAR, until it i [all...] |
/frameworks/base/media/libdrm/mobile2/src/rights/ |
Constraint.cpp | 65 bool Constraint::isValid(long time) const 74 if (time < mStart || time > mEnd) 90 void Constraint::setStartTime(long time) 92 mStart = time; 102 void Constraint::setEndTime(long time) 104 mEnd = time; 114 void Constraint::setAccumulated(long time) 116 mAccumulated = time;
|
/external/opencore/pvmi/pvmf/include/ |
pvmf_sync_util.h | 54 PVMF_SYNC_ON_TIME, /**< Timestamp is on time with regards to current clock. */ 64 * too late, or schedule the data to be processed at a later time that is synchronized to the 79 * Media data is considered early if it has a timestamp earlier than the current time of the clock by 80 * the early margin. The media data will be scheduled to be processed at the later time that is 82 * current time of the clock by the late margin and will be dropped. 94 * is considered early, on-time or late. If the timestamp is earlier than the current time on the clock 96 * milliseconds to the time to process the data. If the timestamp is later than the current time on the 98 * the data should be dropped. Otherwise the timestamp is considered on-time and this API will return 0 [all...] |
/external/skia/include/utils/ |
SkInterpolator.h | 35 /** Return the start and end time for this interpolator. 37 @param startTime If not null, returns the time (in milliseconds) of the 40 @param endTime If not null, returns the time (in milliseconds) of the 57 @param repeatCount Multiplies the total time by this scalar. 69 Result timeToT(SkMSec time, SkScalar* T, int* index, SkBool* exact) const; 77 static SkScalar ComputeRelativeT(SkMSec time, SkMSec prevTime, 102 @param index The index of this frame (frames must be ordered by time) 103 @param time The millisecond time for this frame 111 bool setKeyFrame(int index, SkMSec time, const SkScalar values[] [all...] |
/external/webkit/WebKit/android/ |
TimeCounter.cpp | 40 #include <sys/time.h> 41 #include <time.h> 116 uint32_t time = sEndWebCoreThreadTime = getThreadMsec(); local 117 uint32_t elapsed = time - sStartTime[type]; 128 LOGD("*-* Total load time: %d ms, thread time: %d ms for %s\n", 133 int index = sprintf(scratch, "*-* Total %s time: %d ms", 157 LOGD("*-* Elapsed time: %d ms, ui thread time: %d ms, webcore thread time: 189 uint32_t time = getThreadMsec(); local [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
DisplaySyncHistogram.java | 26 import org.jfree.data.time.RegularTimePeriod; 27 import org.jfree.data.time.SimpleTimePeriod; 28 import org.jfree.data.time.TimePeriodValues; 29 import org.jfree.data.time.TimePeriodValuesCollection; 91 * @param startTime Start time (ms) of events 92 * @param stopTime Stop time (ms) of events 109 // Item turns out to be in error, so transfer time from old auth to error. 120 * @param stopTime Time event ends 148 * Creates a multiple-hour time period for the histogram. 149 * @param time Time in milliseconds [all...] |
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
SunCalculator.java | 56 * Computes the sunrise time for the given zenith at the given date. 62 * @return the sunrise time 69 * Computes the sunset time for the given zenith at the given date. 75 * @return the sunset time 81 public static int timeToHours(double time) { 82 int hour = (int) Math.floor(time); 83 int minute = (int) Math.round((time - hour) * 60); 90 public static int timeToMinutes(double time) { 91 int hour = (int) Math.floor(time); 92 int minute = (int) Math.round((time - hour) * 60) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
AgendaWindowAdapter.java | 28 import android.text.format.Time; 45 - At rotation and launch time, the initial position is not set properly. This code is calling 171 Time goToTime; 248 Time time = new Time(); local 250 time.setJulianDay(start); 251 time.normalize(false); 252 sb.append("Start:").append(time.toString()); 253 time.setJulianDay(end) 450 Time time = new Time(); local 454 Time time = new Time(); local 626 Time time = new Time(); local 642 Time time = new Time(); local [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarAppWidgetService.java | 37 import android.text.format.Time; 143 * @param now System clock time to use during this update. 196 // If no next-update calculated, or bad trigger time in past, schedule 199 if (LOGD) Log.w(TAG, "Encountered bad trigger time " + formatDebugTime(triggerTime, now)); 213 * Format given time for debugging output. 215 * @param unixTime Target time to report. 216 * @param now Current system time from {@link System#currentTimeMillis()} 217 * for calculating time difference. 220 Time time = new Time() local 281 Time time = new Time(); local 348 Time time = new Time(); local [all...] |
/external/icu4c/i18n/unicode/ |
gregocal.h | 75 * // get the supported ids for GMT-08:00 (Pacific Standard Time) 84 * cout << "Current Time" << endl; 86 * // create a Pacific Standard Time time zone 89 * // set up rules for daylight savings time 93 * // create a GregorianCalendar with the Pacific Daylight time zone 94 * // and the current date and time 117 * cout << "Current Time, with hour reset to 3" << endl; 162 * Constructs a default GregorianCalendar using the current time in the default time [all...] |
tmunit.h | 14 * \brief C++ API: time unit object 25 * Measurement unit for time units. 33 * Constants for all the time units we supported. 49 * @param timeUnitField time unit field based on which the instance 113 * Get time unit field. 114 * @return time unit field.
|
/external/e2fsprogs/tests/f_bbfile/ |
expect.1 | 17 File / (inode #2, mod time Sun Jan 2 08:29:13 1994) 19 <The bad blocks inode> (inode #1, mod time Sun Jul 17 00:47:58 1994) 22 File /lost+found (inode #11, mod time Sun Jan 2 08:28:40 1994) 24 <The bad blocks inode> (inode #1, mod time Sun Jul 17 00:47:58 1994) 27 File /termcap (inode #12, mod time Sun Jan 2 08:29:13 1994) 29 <The bad blocks inode> (inode #1, mod time Sun Jul 17 00:47:58 1994)
|
/external/kernel-headers/original/linux/ |
msg.h | 19 __kernel_time_t msg_stime; /* last msgsnd time */ 20 __kernel_time_t msg_rtime; /* last msgrcv time */ 21 __kernel_time_t msg_ctime; /* last change time */ 81 time_t q_stime; /* last msgsnd time */ 82 time_t q_rtime; /* last msgrcv time */ 83 time_t q_ctime; /* last change time */
|
/external/netperf/ |
netcpu_osx.c | 19 # include <sys/time.h> 20 # include <time.h> 23 # include <sys/time.h> 25 # include <time.h> 109 /* It is possible that the library measured a time other than */ 113 /* tests tell up what the elapsed time should be. */
|
/external/proguard/src/proguard/gui/splash/ |
ClipSprite.java | 59 public void paint(Graphics graphics, long time) 62 Color outsideColor = outsideClipColor.getColor(time); 70 Color insideColor = insideClipColor.getColor(time); 72 sprite.paint(g, time); 77 clipSprite.paint(g, time); 82 sprite.paint(g, time);
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.22-1.js | 27 Returns the difference between local time and UTC time in minutes. 28 1. Let t be this time value. 47 // get the current time 50 // get time for 29 feb 2000 54 // get time for 1 jan 2005
|
15.9.5.22-2.js | 27 Returns the difference between local time and UTC time in minutes. 28 1. Let t be this time value. 47 // get the current time 50 // get time for 29 feb 2000 54 // get time for 1 jan 2005
|
15.9.5.22-3.js | 27 Returns the difference between local time and UTC time in minutes. 28 1. Let t be this time value. 47 // get the current time 50 // get time for 29 feb 2000 54 // get time for 1 jan 2005
|
15.9.5.22-4.js | 27 Returns the difference between local time and UTC time in minutes. 28 1. Let t be this time value. 47 // get the current time 50 // get time for 29 feb 2000 54 // get time for 1 jan 2005
|
15.9.5.22-5.js | 27 Returns the difference between local time and UTC time in minutes. 28 1. Let t be this time value. 47 // get the current time 50 // get time for 29 feb 2000 54 // get time for 1 jan 2005
|