/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/ |
H A D | Droid.java | 81 long time = System.nanoTime(); 90 Log.v(LOGTAG, "compute Droid in" + ((System.nanoTime() - time) / 1E9f) + "seconds");
|
H A D | Mandelbulb.java | 73 long time = System.nanoTime(); 82 Log.v(LOGTAG, "compute Mandelbulb in" + ((System.nanoTime() - time) / 1E9f) + "seconds");
|
/frameworks/av/include/media/stagefright/ |
H A D | VideoFrameScheduler.h | 34 // 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 D | SoftHEVC.h | 22 #include <sys/time.h> 26 /** Number of entries in the time-stamp array */ 44 /** Get time */
|
/frameworks/av/media/libstagefright/include/ |
H A D | SampleIterator.h | 74 status_t findSampleTimeAndDuration(uint32_t sampleIndex, uint32_t *time, uint32_t *duration);
|
/frameworks/av/media/mtp/ |
H A D | MtpUtils.cpp | 20 #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 D | test_utils.h | 250 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 D | SntpClient.java | 30 * 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 D | ZipFileRO.h | 42 #include <time.h>
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | time_util.cpp | 24 #include <sys/time.h>
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | time_util.cpp | 21 #include <sys/time.h>
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | NetworkPolicyEditor.java | 140 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 D | SystemGesturesPointerEventListener.java | 194 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 D | TimeZoneResultAdapter.java | 45 /** 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 D | ServiceState.java | 354 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 D | VelocityTest.java | 151 * 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 D | binderThroughputTest.cpp | 115 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 D | DateTimeView.java | 49 // - 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 D | OverScroller.java | 240 * @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 D | ADebug.cpp | 178 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 D | EventScheduler.java | 146 * 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 D | android_opengl_EGLExt.cpp | 63 /* 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 D | Android.mk | 15 # This makefile performs build time validation of framework keymap files.
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
H A D | AlignmentTest.java | 118 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 D | LocationCluster.java | 56 // 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);
|