Searched refs:time (Results 101 - 125 of 350) sorted by relevance

1234567891011>>

/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/
H A DDroid.java81 long time = System.nanoTime();
90 Log.v(LOGTAG, "compute Droid in" + ((System.nanoTime() - time) / 1E9f) + "seconds");
H A DMandelbulb.java73 long time = System.nanoTime();
82 Log.v(LOGTAG, "compute Mandelbulb in" + ((System.nanoTime() - time) / 1E9f) + "seconds");
/frameworks/av/include/media/stagefright/
H A DVideoFrameScheduler.h34 // use in case of video render-time discontinuity, e.g. seek
61 nsecs_t addSample(nsecs_t time);
71 nsecs_t mLastTime; // last input time
72 nsecs_t mRefitAt; // next input time to fit at
88 nsecs_t mVsyncRefreshAt; // next time to refresh timing info
90 nsecs_t mLastVsyncTime; // estimated vsync time for last frame
93 PLL mPll; // PLL for video frame rate based on render time
/frameworks/av/media/libstagefright/codecs/hevcdec/
H A DSoftHEVC.h22 #include <sys/time.h>
26 /** Number of entries in the time-stamp array */
44 /** Get time */
/frameworks/av/media/libstagefright/include/
H A DSampleIterator.h74 status_t findSampleTimeAndDuration(uint32_t sampleIndex, uint32_t *time, uint32_t *duration);
/frameworks/av/media/mtp/
H A DMtpUtils.cpp20 #include <time.h>
30 DD replaced by the day (01-31), T is a constant character 'T' delimiting time from date,
46 // FIXME: "Z" means UTC, but non-"Z" doesn't mean local time.
51 // just ignore the "-0800" and assume local time which is actually "+0900".
/frameworks/av/services/audioflinger/tests/
H A Dtest_utils.h250 void setChirp(size_t channels, double minfreq, double maxfreq, double sampleRate, double time) argument
252 createBufferByFrames<T>(channels, sampleRate, sampleRate*time);
258 double freq, double sampleRate, double time)
260 createBufferByFrames<T>(channels, sampleRate, sampleRate*time);
257 setSine(size_t channels, double freq, double sampleRate, double time) argument
/frameworks/base/core/java/android/net/
H A DSntpClient.java30 * Simple SNTP client class for retrieving network time.
34 * if (client.requestTime("time.foo.com")) {
64 // system time computed from NTP server response
70 // round trip time in milliseconds
91 if (DBG) Log.d(TAG, "request time failed: " + e);
110 // get current time and write it to the request packet
151 // (response rather than request time)
156 if (DBG) Log.d(TAG, "request time failed: " + e);
168 * Returns the time computed from the NTP transaction.
170 * @return time valu
248 writeTimeStamp(byte[] buffer, int offset, long time) argument
[all...]
/frameworks/base/include/androidfw/
H A DZipFileRO.h42 #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/packages/SettingsLib/src/com/android/settingslib/
H A DNetworkPolicyEditor.java140 final Time time = new Time();
141 time.setToNow();
142 cycleDay = time.monthDay;
143 cycleTimezone = time.timezone;
/frameworks/base/services/core/java/com/android/server/policy/
H A DSystemGesturesPointerEventListener.java194 final long time = move.getHistoricalEventTime(h);
197 final int swipe = detectSwipe(i, time, x, y);
211 private int detectSwipe(int i, long time, float x, float y) { argument
214 final long elapsed = time - mDownTime[i];
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneResultAdapter.java45 /** SharedPref name and key for recent time zones */
120 public void onSetFilter(int filterType, String str, int time) { argument
122 Log.d(TAG, "onSetFilter: " + filterType + " [" + str + "] " + time);
127 mLastFilterTime = time;
162 ArrayList<Integer> indices = mTimeZoneData.getTimeZonesByOffset(time);
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DServiceState.java354 long time = mDurations.getValueForId((byte)state);
356 time += now - startTime;
358 return time;
399 pw.print(" / time ");
414 long time = getDuration(serviceType, curState, curStartTime, state, now);
419 if (time != 0) {
429 TimeUtils.formatDuration(time, pw); pw.println(running);
431 totalTime += time;
477 long time = mDurations.getValue(key);
486 time
[all...]
/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java151 * Velocity is independent of the time when the events occurs,
256 long time = startime + (int) (i * dt);
257 addMotionEvent(vt, x, y, time, MotionEvent.ACTION_MOVE);
262 private void addMotionEvent(VelocityTracker vt, int x, int y, long time, int action) { argument
263 MotionEvent me = MotionEvent.obtain(time, time, action, x, y, 0);
/frameworks/native/libs/binder/tests/
H A DbinderThroughputTest.cpp115 void add_time(uint64_t time) { argument
116 m_buckets[min(time, max_time_bucket-1) / time_per_bucket] += 1;
117 m_best = min(time, m_best);
118 m_worst = max(time, m_worst);
120 m_total_time += time;
/frameworks/base/core/java/android/widget/
H A DDateTimeView.java49 // - listen for the next threshold time to update the view.
55 * Displays a given time in a convenient human-readable foramt.
119 public void setTime(long time) { argument
121 t.set(time);
154 Date time = mTime;
212 // Currently showing the time, update at the later of twelve hours after or midnight.
217 // If the time is in the past, don't schedule an update
220 // If hte time is in the future, schedule one at the earlier of twelve hours
340 // The short version of the time might not be completely understandable and for
402 // all of the time conversion
[all...]
H A DOverScroller.java240 * @param extend Additional time to scroll in milliseconds.
303 long time = AnimationUtils.currentAnimationTimeMillis();
304 // Any scroller can be used for time, since they were started
306 final long elapsedTime = time - mScrollerX.mStartTime;
516 * Returns the time elapsed since the beginning of the scrolling.
518 * @return The elapsed time in milliseconds.
523 final long time = AnimationUtils.currentAnimationTimeMillis();
525 return (int) (time - startTime);
557 // Animation starting time, in system milliseconds
706 final long time
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DADebug.cpp178 ALOGD("serial: %llu, time: %lld", (long long unsigned)serialNum, (long long)time(NULL));
179 // MINOR: use modulo for counter and time, so that their sum does not
182 time_t counter = (time(NULL) / timeDivisor) % modulo + plus + serialNum % modulo;
/frameworks/base/core/java/com/android/internal/midi/
H A DEventScheduler.java146 * Add an event to the scheduler. Events with the same time will be
187 public SchedulableEvent getNextEvent(long time) { argument
192 // Is it time for this list to be processed?
193 if (lowestTime <= time) {
205 * and that the current time is System.nanoTime().
218 // Is it time for the earliest list to be processed?
/frameworks/base/core/jni/
H A Dandroid_opengl_EGLExt.cpp63 /* Cache method IDs each time the class is loaded. */
134 /* EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time ) */
137 (JNIEnv *_env, jobject _this, jobject dpy, jobject sur, jlong time) {
145 (EGLnsecsANDROID)time
136 android_eglPresentationTimeANDROID(JNIEnv *_env, jobject _this, jobject dpy, jobject sur, jlong time) argument
/frameworks/base/data/keyboards/
H A DAndroid.mk15 # This makefile performs build time validation of framework keymap files.
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DAlignmentTest.java118 float time = (float) (System.currentTimeMillis() - start) / N * 1000;
119 System.out.println("Time: " + time + "mics");
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DLocationCluster.java56 // use time field to store duation of this location
94 // centers. Note that if the cluster is consolidated for the first time,
136 private void updateTemporalHistogram(long time, long duration) { argument
137 HashMap<String, String> timeFeatures = TimeStatsAggregator.getAllTimeFeatures(time);

Completed in 9413 milliseconds

1234567891011>>