Searched refs:time (Results 51 - 75 of 253) sorted by relevance

1234567891011

/frameworks/base/tools/preload/
H A DRoot.java85 loadedClass, record.time);
93 process.startOperation(record.tid, loadedClass, record.time,
98 process.startOperation(record.tid, loadedClass, record.time,
/frameworks/support/v4/java/android/support/v4/util/
H A DTimeUtils.java28 /** @hide Field length that can hold 999 days of time */
168 public static void formatDuration(long time, long now, PrintWriter pw) { argument
169 if (time == 0) {
173 formatDuration(time-now, pw, 0);
/frameworks/base/core/java/android/webkit/
H A DDateSorter.java86 * @param time time since the Epoch in milliseconds, such as that
91 public int getIndex(long time) { argument
94 if (time > mBins[i]) return i;
H A DHTML5VideoViewProxy.java105 // Every time webView setBaseLayer, this will be called.
191 public static void play(String url, int time, HTML5VideoViewProxy proxy, argument
240 mHTML5VideoView = new HTML5VideoInline(videoLayerId, time, skipPrepare);
250 mHTML5VideoView.seekTo(time);
273 public static void seek(int time, HTML5VideoViewProxy proxy) { argument
274 if (mCurrentProxy == proxy && time >= 0 && mHTML5VideoView != null) {
275 mHTML5VideoView.seekTo(time);
391 Integer time = (Integer) msg.obj;
392 mSeekPosition = time;
603 // Pass Proxy into webview, such that every time w
711 seek(int time) argument
[all...]
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DTriangleRenderer.java46 * Some one-time OpenGL initialization can be made here
83 long time = SystemClock.uptimeMillis() % 4000L;
84 float angle = 0.090f * ((int) time);
96 * each time we draw, but usually a new projection needs to
/frameworks/base/core/java/android/text/format/
H A DDateUtils.java36 * elapsed time and date ranges, strings for days of the week and months, and AM/PM text etc.
99 // Date and time format strings that are constant and don't need to be
335 * Returns a string describing the elapsed time since startTime.
336 * @param startTime some time in the past.
337 * @return a String object containing the elapsed time.
345 * Returns a string describing 'time' as a time relative to 'now'.
350 * @param time the time to describe, in milliseconds
351 * @param now the current time i
356 getRelativeTimeSpanString(long time, long now, long minResolution) argument
381 getRelativeTimeSpanString(long time, long now, long minResolution, int flags) argument
502 getRelativeDateTimeString(Context c, long time, long minResolution, long transitionResolution, int flags) argument
[all...]
/frameworks/av/include/media/nbaio/
H A DMonoPipe.h20 #include <time.h>
61 // with MonoPipeReader. Every time a MonoPipeReader reads from the pipe, it
62 // receives a "readPTS" indicating the point in time for which the reader
65 // updated read pointer. This cached value is the local time for which the
66 // reader is going to request data next time it reads data (assuming we are
84 // but it will not be an unbounded amount of time.
113 // 32-bit overflow is possible if the pipe is active for a long time, but if that happens it's
122 struct timespec mWriteTs; // time that the previous write() completed
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4AMRR_CoreReader.h166 * M4OSA_ERR M4AMRR_seek(M4OSA_Context Context, M4SYS_StreamID* pStreamID, M4OSA_Time time,
168 * @brief The function seeks the targeted time in the give stream by streamId.
173 * @param time(IN) : targeted time
175 * @param pObtainCTS(OUT) : Returned time nearest to target.
183 * @returns M4WAR_INVALID_TIME : time cannot be reached.
186 M4OSA_ERR M4AMRR_seek(M4OSA_Context Context, M4SYS_StreamID* pStreamID, M4OSA_Time time,
/frameworks/av/media/libstagefright/include/
H A DSampleIterator.h68 status_t findSampleTime(uint32_t sampleIndex, uint32_t *time);
/frameworks/av/media/mtp/
H A DMtpUtils.cpp20 #include <time.h>
31 DD replaced by the day (01-31), T is a constant character 'T' delimiting time from date,
/frameworks/base/core/java/android/widget/
H A DDateTimeView.java42 // - listen for the next threshold time to update the view.
48 * Displays a given time in a convenient human-readable foramt.
94 public void setTime(long time) { argument
96 t.set(time);
111 Date time = mTime;
169 // Currently showing the time, update at the later of twelve hours after or midnight.
174 // If the time is in the past, don't schedule an update
177 // If hte time is in the future, schedule one at the earlier of twelve hours
184 Log.d(TAG, "update needed for '" + time + "' at '" + new Date(mUpdateTimeMillis)
245 // all of the time conversion
[all...]
H A DOverScroller.java235 * @param extend Additional time to scroll in milliseconds.
298 long time = AnimationUtils.currentAnimationTimeMillis();
299 // Any scroller can be used for time, since they were started
301 final long elapsedTime = time - mScrollerX.mStartTime;
518 * Returns the time elapsed since the beginning of the scrolling.
520 * @return The elapsed time in milliseconds.
525 final long time = AnimationUtils.currentAnimationTimeMillis();
527 return (int) (time - startTime);
559 // Animation starting time, in system milliseconds
708 final long time
[all...]
/frameworks/base/tests/DumpRenderTree/assets/
H A Drun_reliability_tests.py16 import time namespace
56 int(time.time()))
68 """Processes the raw page load time logged by test app."""
83 logging.info("Lins has non-numeric load time: " + line)
89 # rewrite the average time to file
208 time.sleep(10)
251 option_parser.add_option("-t", "--time-out-ms",
274 help="Logs page load time for each url to the file")
/frameworks/base/tools/aapt/
H A DMain.h22 #include <time.h>
/frameworks/native/include/utils/
H A DMutex.h22 #include <time.h>
H A DThread.h22 #include <time.h>
57 // Good place to do one-time initializations
/frameworks/rs/
H A DrsScriptIntrinsic.cpp19 #include <time.h>
/frameworks/support/renderscript/v8/rs_support/
H A DrsScriptIntrinsic.cpp19 #include <time.h>
/frameworks/base/media/mca/filterfw/native/core/
H A Dtime_util.cpp24 #include <sys/time.h>
/frameworks/base/media/mca/filterpacks/native/base/
H A Dtime_util.cpp21 #include <sys/time.h>
/frameworks/base/core/java/android/os/
H A DBatteryStats.java109 * Include only the run since the last time the device was unplugged in the stats.
184 * Returns the total time in microseconds associated with this Timer for the
189 * @return a time in microseconds
323 * Returns the total time (in 1/100 sec) spent executing in user code.
330 * Returns the total time (in 1/100 sec) spent executing in system code.
344 * Returns the cpu time spent in microseconds while the process was in the foreground.
346 * @return foreground cpu time in microseconds
351 * Returns the approximate cpu time spent in microseconds, at a certain CPU speed.
388 * Returns the amount of time spent started.
419 public long time; field in class:BatteryStats.HistoryItem
479 HistoryItem(long time, Parcel src) argument
682 setTo(long time, byte cmd, HistoryItem o) argument
1059 formatTime(StringBuilder sb, long time) argument
1066 formatTimeMs(StringBuilder sb, long time) argument
[all...]
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp354 const int64_t time = 12345678L; local
356 ASSERT_NO_FATAL_FAILURE(produceOneFrame(mANW, params, time,
370 EXPECT_EQ(time, b.timestamp);
389 const int64_t time[numInQueue] = { 1L, 2L, 3L, 4L, 5L}; local
394 ASSERT_NO_FATAL_FAILURE(produceOneFrame(mANW, params, time[i],
411 EXPECT_EQ(time[i], b.timestamp);
431 const int64_t time = 1234L; local
436 ASSERT_NO_FATAL_FAILURE(produceOneFrame(mANW, params, time,
453 EXPECT_EQ(time, b[i].timestamp);
476 EXPECT_EQ(time, bTooMuc
[all...]
/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java148 * Velocity is independent of the time when the events occurs,
253 long time = startime + (int) (i * dt);
254 addMotionEvent(vt, x, y, time, MotionEvent.ACTION_MOVE);
259 private void addMotionEvent(VelocityTracker vt, int x, int y, long time, int action) { argument
260 MotionEvent me = MotionEvent.obtain(time, time, action, x, y, 0);
/frameworks/base/services/java/com/android/server/dreams/
H A DDreamManagerService.java169 long time = SystemClock.uptimeMillis();
170 mPowerManager.userActivity(time, true /*noChangeLights*/);
171 mPowerManager.nap(time);
213 long time = SystemClock.uptimeMillis();
214 mPowerManager.userActivity(time, false /*noChangeLights*/);
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_api.c230 pRights->DisplayConstraint.StartTime.time;
234 pRights->DisplayConstraint.EndTime.time;
238 pRights->DisplayConstraint.Interval.time;
246 pRights->PlayConstraint.StartTime.time;
250 pRights->PlayConstraint.EndTime.time;
254 pRights->PlayConstraint.Interval.time;
263 pRights->ExecuteConstraint.StartTime.time;
267 pRights->ExecuteConstraint.EndTime.time;
271 pRights->ExecuteConstraint.Interval.time;
280 pRights->PrintConstraint.StartTime.time;
390 int32_t year, mon, day, hour, min, sec, date, time; local
[all...]

Completed in 716 milliseconds

1234567891011