HomeSort by relevance Sort by last modified time
    Searched full:time (Results 301 - 325 of 34351) sorted by null

<<11121314151617181920>>

  /external/chromium_org/ash/wm/
user_activity_detector.h 12 #include "base/time/time.h"
22 // Minimum amount of time between notifications to observers.
25 // Amount of time that mouse events should be ignored after notification
55 // updates |last_observer_notification_time_| if enough time has passed
61 // Last time at which user activity was observed.
64 // Last time at which we notified observers that the user was active.
67 // If set, used when the current time is needed. This can be set by tests to
68 // simulate the passage of time.
71 // If set, mouse events will be ignored until this time is reached. Thi
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/api/idle/idle_simple/
history.js 6 * Convert a state and time into a nice styled chunk of HTML.
8 function renderState(state, time) {
10 var diff = Math.round((time.getTime() - now) / 1000);
23 function renderItem(state, time, parent) {
25 dom_item.innerHTML = renderState(state, time);
31 // like to keep track of last time we went idle.
45 var time = new Date();
48 laststatetime = time;
53 dom_result.innerHTML = renderState(state, time);
70 renderItem(data['state'], data['time'], dom_history)
    [all...]
  /external/chromium_org/chrome/test/pyautolib/
timer_queue.py 7 import time namespace
13 methods are fired synchronously. Only one method is running at a time.
46 next_time = time.time() + interval
48 'next time': next_time, 'args': copy.copy(args)})
75 now = time.time()
78 if timer['next time'] <= now:
81 timer['next time'] += timer['interval']
85 time.sleep(self.wait_time
    [all...]
  /external/chromium_org/ui/base/l10n/
time_format.h 13 class Time;
19 // Methods to format time values as strings.
23 // These functions return a localized string of approximate time duration. The
35 // of the time units are formatted the same as TimeRemaining does.
44 // For displaying a relative time in the past. This method returns either
54 // computations: Time::Now().LocalMidnight()
57 // time once at the beginning and pass it for each computation.
58 static string16 RelativeDate(const base::Time& time,
59 const base::Time* optional_midnight_today)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/input/event/
InputEvent.java 42 protected long time; field in class:InputEvent
48 * The time when the event occurred. This is relative to
51 * @return time when the event occured
54 return time;
58 * Set the time when the event occurred.
60 * @param time time when the event occurred.
62 public void setTime(long time){
63 this.time = time;
    [all...]
  /external/netperf/
hist.h 2 # include <sys/time.h>
3 # include <time.h>
6 # include <sys/time.h>
8 # include <time.h>
14 Given a time difference in microseconds, increment one of 61
27 This will allow any time to be recorded to within an accuracy of
29 distribution of a large number of time differences (e.g.
39 #include <sys/time.h>
74 HIST_add - add a time difference to a histogram. Time should be i
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/server2/
integration_test.py 15 import time namespace
59 start_time = time.time()
65 print('Took %s seconds' % (time.time() - start_time))
68 start_time = time.time()
82 print('Took %s seconds.' % (time.time() - start_time))
85 start_time = time.time(
    [all...]
  /external/chromium_org/third_party/WebKit/ManualTests/
input-type-datetime-default-value.html 3 <head><title>Default values for date/time input (type= date, datetime, datetime-local, month, time, week)</title></head>
15 <li>time: <input type="time" size="32" value="" />
24 <li>time: <input type="time" size="32" value="foo" />
33 <li>time: <input type="time" size="32" value="" step="foo" />
42 <li>time: <input type="time" size="32" value="foo" step="foo" /
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
Stopwatches.java 71 * @param time total elapsed time
75 public static String buildShareResults(Context context, String time, long[] laps) {
76 StringBuilder b = new StringBuilder (context.getString(R.string.sw_share_main, time));
96 * @param time total elapsed time
100 public static String buildShareResults(Context context, long time, long[] laps) {
101 return buildShareResults(context, getTimeText(context, time, NO_LAP_NUMBER), laps);
105 * Format the string of the time running on the stopwatch up to hundred of a second accuracy
107 * @param time - in hundreds of a second since the stopwatch starte
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
sched.py 8 supposed to return the current time, one that is supposed to
9 implement a delay. You can implement real-time scheduling by
10 substituting time and sleep from built-in module time, or you can
11 implement simulated time by writing your own functions. This can
13 function is allowed to modify the queue. Time can be expressed as
16 Events are specified by tuples (time, priority, action, argument).
29 # XXX the global state of your particular time and delay functions.
36 Event = namedtuple('Event', 'time, priority, action, argument')
40 """Initialize a new instance, passing the time and dela
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
sched.py 8 supposed to return the current time, one that is supposed to
9 implement a delay. You can implement real-time scheduling by
10 substituting time and sleep from built-in module time, or you can
11 implement simulated time by writing your own functions. This can
13 function is allowed to modify the queue. Time can be expressed as
16 Events are specified by tuples (time, priority, action, argument).
29 # XXX the global state of your particular time and delay functions.
36 Event = namedtuple('Event', 'time, priority, action, argument')
40 """Initialize a new instance, passing the time and dela
    [all...]
  /external/chromium_org/net/cert/
x509_util_openssl.cc 18 bool IsSupportedValidityRange(base::Time not_valid_before,
19 base::Time not_valid_after) {
25 // Compute the base::Time values corresponding to Jan 1st,0001 and
38 const base::Time kEpoch = base::Time::UnixEpoch();
39 const base::Time kYear0001 = kEpoch -
41 const base::Time kYear10000 = kEpoch +
55 base::Time not_valid_before,
56 base::Time not_valid_after,
65 base::Time not_valid_before
    [all...]
  /external/chromium_org/sync/engine/
traffic_recorder_unittest.cc 8 #include "base/time/time.h"
11 #include "sync/util/time.h"
55 virtual base::Time GetTime() OVERRIDE {
59 void set_time(int64 time) {
60 time_ = ProtoTimeToTime(time);
63 void set_time(base::Time time) {
64 time_ = time;
68 base::Time time_
    [all...]
  /external/chromium_org/third_party/skia/include/utils/
SkInterpolator.h 28 /** Return the start and end time for this interpolator.
30 @param startTime If not null, returns the time (in milliseconds) of the
33 @param endTime If not null, returns the time (in milliseconds) of the
50 @param repeatCount Multiplies the total time by this scalar.
62 Result timeToT(SkMSec time, SkScalar* T, int* index, SkBool* exact) const;
70 static SkScalar ComputeRelativeT(SkMSec time, SkMSec prevTime,
95 @param index The index of this frame (frames must be ordered by time)
96 @param time The millisecond time for this frame
104 bool setKeyFrame(int index, SkMSec time, const SkScalar values[]
    [all...]
  /external/skia/include/utils/
SkInterpolator.h 28 /** Return the start and end time for this interpolator.
30 @param startTime If not null, returns the time (in milliseconds) of the
33 @param endTime If not null, returns the time (in milliseconds) of the
50 @param repeatCount Multiplies the total time by this scalar.
62 Result timeToT(SkMSec time, SkScalar* T, int* index, SkBool* exact) const;
70 static SkScalar ComputeRelativeT(SkMSec time, SkMSec prevTime,
95 @param index The index of this frame (frames must be ordered by time)
96 @param time The millisecond time for this frame
104 bool setKeyFrame(int index, SkMSec time, const SkScalar values[]
    [all...]
  /external/bison/lib/
timevar.def 2 measure run-time performance of the compiler.
33 /* The total execution time. */
34 DEFTIMEVAR (TV_TOTAL , "total time")
36 /* Time spent in the reader. */
41 /* Time spent handling the grammar. */
52 /* Time spent outputing results. */
60 /* Time spent by freeing the memory :). */
  /external/chromium/chrome/common/extensions/docs/examples/api/notifications/
background.html 13 Displays a notification with the current time. Requires "notifications"
18 var time = /(..)(:..)/(Date()); // The prettyprinted time.
19 var hour = time[1] % 12 || 12; // The prettyprinted hour.
20 var period = time[1] < 12 ? 'a.m.' : 'p.m.'; // The period of the day.
23 hour + time[2] + ' ' + period, // The title.
24 'Time to make the toast.' // The body.
  /external/chromium_org/third_party/skia/src/images/
SkMovie.cpp 14 // We should never see this in normal operation since our time values are
55 bool SkMovie::setTime(SkMSec time)
58 if (time > dur)
59 time = dur;
62 if (time != fCurrTime)
64 fCurrTime = time;
65 changed = this->onSetTime(time);
  /external/proguard/src/proguard/gui/splash/
LinearTiming.java 24 * This Timing ramps up linearly from 0 to 1 in a given time interval.
36 * @param fromTime the time at which the timing starts ramping up from 0.
37 * @param toTime the time at which the timing stops ramping up at 1.
48 public double getTiming(long time)
51 return time <= fromTime ? 0.0 :
52 time >= toTime ? 1.0 :
53 (double)(time - fromTime) / (double)(toTime - fromTime);
SmoothTiming.java 24 * This Timing ramps up smoothly from 0 to 1 in a given time interval.
36 * @param fromTime the time at which the timing starts ramping up from 0.
37 * @param toTime the time at which the timing stops ramping up at 1.
48 public double getTiming(long time)
50 if (time <= fromTime)
55 if (time >= toTime)
61 double timing = (double) (time - fromTime) / (double) (toTime - fromTime);
  /external/skia/src/images/
SkMovie.cpp 14 // We should never see this in normal operation since our time values are
55 bool SkMovie::setTime(SkMSec time)
58 if (time > dur)
59 time = dur;
62 if (time != fCurrTime)
64 fCurrTime = time;
65 changed = this->onSetTime(time);
  /system/media/audio_utils/include/audio_utils/
echo_reference.h 21 #include <sys/time.h>
25 /* Buffer descriptor used by read() and write() methods, including the time stamp and delay. */
30 struct timespec time_stamp; // time stamp for this buffer (see comment below)
36 * - time_stamp is the time stamp corresponding to the delay calculation
42 * - time_stamp is the time stamp corresponding to the delay calculation
44 * - delay_ns is the delay between the returned frames and the capture time derived from
45 * delay and time stamp indicated as input. This delay is to be communicated to the AEC.
  /external/chromium/testing/gtest/test/
gtest_xml_output_unittest.py 57 <testsuites tests="23" failures="4" disabled="2" errors="0" time="*" name="AllTests">
58 <testsuite name="SuccessfulTest" tests="1" failures="0" disabled="0" errors="0" time="*">
59 <testcase name="Succeeds" status="run" time="*" classname="SuccessfulTest"/>
61 <testsuite name="FailedTest" tests="1" failures="1" disabled="0" errors="0" time="*">
62 <testcase name="Fails" status="run" time="*" classname="FailedTest">
68 <testsuite name="MixedResultTest" tests="3" failures="1" disabled="1" errors="0" time="*">
69 <testcase name="Succeeds" status="run" time="*" classname="MixedResultTest"/>
70 <testcase name="Fails" status="run" time="*" classname="MixedResultTest">
78 <testcase name="DISABLED_test" status="notrun" time="*" classname="MixedResultTest"/>
80 <testsuite name="XmlQuotingTest" tests="1" failures="1" disabled="0" errors="0" time="*"
    [all...]
  /external/chromium_org/chrome/browser/history/android/
urls_sql_handler_unittest.cc 18 using base::Time;
52 // Insert a row only has URL to verify the visit count and last visit time
63 // Both visit count and last visit time are default value.
65 EXPECT_EQ(Time(), url_row.last_visit());
70 // Insert a row with last visit time to verify the visit count is set to 1 by
76 row.set_last_visit_time(Time::Now());
88 // Insert a row with different last visit time and created time to verify the
94 row.set_last_visit_time(Time::Now());
95 row.set_created(Time::Now() - TimeDelta::FromDays(1))
    [all...]
  /external/gtest/test/
gtest_xml_output_unittest.py 57 <testsuites tests="23" failures="4" disabled="2" errors="0" time="*" name="AllTests">
58 <testsuite name="SuccessfulTest" tests="1" failures="0" disabled="0" errors="0" time="*">
59 <testcase name="Succeeds" status="run" time="*" classname="SuccessfulTest"/>
61 <testsuite name="FailedTest" tests="1" failures="1" disabled="0" errors="0" time="*">
62 <testcase name="Fails" status="run" time="*" classname="FailedTest">
68 <testsuite name="MixedResultTest" tests="3" failures="1" disabled="1" errors="0" time="*">
69 <testcase name="Succeeds" status="run" time="*" classname="MixedResultTest"/>
70 <testcase name="Fails" status="run" time="*" classname="MixedResultTest">
78 <testcase name="DISABLED_test" status="notrun" time="*" classname="MixedResultTest"/>
80 <testsuite name="XmlQuotingTest" tests="1" failures="1" disabled="0" errors="0" time="*"
    [all...]

Completed in 601 milliseconds

<<11121314151617181920>>