/frameworks/base/core/java/android/animation/ |
H A D | TimeAnimator.java | 42 long totalTime = currentTime - mStartTime; 45 mListener.onTimeUpdate(this, totalTime, deltaTime); 82 * deltaTime will be zero. The same is true for totalTime, unless the animator was 92 * @param totalTime The total time elapsed since the animator started, in milliseconds. 95 void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime); argument
|
/frameworks/native/opengl/tests/angeles/ |
H A D | app-linux.cpp | 208 double totalTime = timeTemp.tv_usec/1000000.0 + timeTemp.tv_sec; local 228 totalTime = (timeTemp.tv_usec/1000000.0 + timeTemp.tv_sec) - totalTime; 229 printf("totalTime=%f s, frameCount=%d, %.2f fps\n", 230 totalTime, frameCount, frameCount/totalTime);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | FocusHighlightHelper.java | 97 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { argument 99 if (totalTime >= mDuration) { 103 fraction = (float) (totalTime / (double) mDuration);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | ImageProcessingActivityJB.java | 243 float totalTime; field in class:ImageProcessingActivityJB.Processor.Result 271 mTest.animateBars(r.totalTime); 293 r.totalTime += (t2 - t) / 1000.f; 295 } while (r.totalTime < minTime); 300 r.totalTime += (t2 - t) / 1000.f; 328 Log.v("rs", "Test: time=" + r.totalTime +"s, frames=" + r.itterations + 329 ", avg=" + r.totalTime / r.itterations * 1000.f); 332 return r.totalTime / r.itterations * 1000.f;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | RowsFragment.java | 70 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { argument 72 updateSelect(totalTime, deltaTime); 76 void updateSelect(long totalTime, long deltaTime) { argument 78 if (totalTime >= mSelectAnimatorDurationInUse) { 82 fraction = (float) (totalTime / (double) mSelectAnimatorDurationInUse);
|
H A D | RowsSupportFragment.java | 72 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { argument 74 updateSelect(totalTime, deltaTime); 78 void updateSelect(long totalTime, long deltaTime) { argument 80 if (totalTime >= mSelectAnimatorDurationInUse) { 84 fraction = (float) (totalTime / (double) mSelectAnimatorDurationInUse);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.h | 323 // totalTime[]: total time of audio output devices usage 324 int32_t totalTime[NUM_AUDIO_DEVICES]; // in ms member in struct:android::MediaPlayerService::BatteryAudioFlingerUsageInfo
|
H A D | MediaPlayerService.cpp | 279 mBatteryAudio.totalTime[i] = 0; 2227 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i]; 2267 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i]; 2342 int32_t totalTime; local 2345 totalTime = mBatteryAudio.totalTime[i]; 2350 totalTime += tmpTime; 2353 reply->writeInt32(totalTime); 2355 mBatteryAudio.totalTime[i] = 0;
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ProcessCpuTracker.java | 743 final int totalTime = mRelUserTime + mRelSystemTime + mRelIoWaitTime 746 if (DEBUG) Slog.i(TAG, "totalTime " + totalTime + " over sample time " 767 printProcessCPU(pw, "", -1, "TOTAL", totalTime, mRelUserTime, mRelSystemTime, 788 int totalTime, int user, int system, int iowait, int irq, int softIrq, 791 if (totalTime == 0) totalTime = 1; 792 printRatio(pw, user+system+iowait+irq+softIrq, totalTime); 800 printRatio(pw, user, totalTime); 802 printRatio(pw, system, totalTime); 787 printProcessCPU(PrintWriter pw, String prefix, int pid, String label, int totalTime, int user, int system, int iowait, int irq, int softIrq, int minFaults, int majFaults) argument [all...] |
H A D | BatteryStatsImpl.java | 408 Process.PROC_TAB_TERM|Process.PROC_OUT_LONG, // 5: totalTime 420 |Process.PROC_OUT_LONG, // 6: totalTime 1144 public void updateCurrentReportedTotalTime(long totalTime) { argument 1147 mUnpluggedReportedTotalTime = totalTime; 1151 mCurrentReportedTotalTime = totalTime; 1756 long totalTime; 1799 totalTime = wlData[2] * 1000; 1802 totalTime = (wlData[2] + 500) / 1000; 1807 m.put(name, new KernelWakelockStats(count, totalTime, 1814 kwlStats.mTotalTime += totalTime; 1844 KernelWakelockStats(int count, long totalTime, int version) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Extractor.cpp | 3960 int64_t totalTime = 0; local 3964 if (totalTime + se->mDurationUs > seekTimeUs) { 3966 if ((mode == ReadOptions::SEEK_NEXT_SYNC && seekTimeUs > totalTime) || 3968 (seekTimeUs - totalTime) > (totalTime + se->mDurationUs - seekTimeUs))) { 3971 totalTime += se->mDurationUs; 3976 totalTime += se->mDurationUs; 3983 mCurrentTime = totalTime * mTimescale / 1000000ll;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ProcessStats.java | 492 long totalTime = 0; 517 totalTime += time; 521 if (totalTime != 0 && pw != null) { 524 TimeUtils.formatDuration(totalTime, pw); 527 return totalTime; 586 data.totalTime = 0; 594 data.totalTime += proc.getDuration(bucket, now); 637 long totalTime = 0; 641 totalTime += proc.mState.getLong(val, 0); 643 totalTime 1076 dumpProcessSummaryDetails(PrintWriter pw, ProcessState proc, String prefix, String label, int[] screenStates, int[] memStates, int[] procStates, long now, long totalTime, boolean full) argument 1098 dumpProcessSummaryLocked(PrintWriter pw, String prefix, ArrayList<ProcessState> procs, int[] screenStates, int[] memStates, int[] procStates, boolean inclUidVers, long now, long totalTime) argument 2402 dumpServiceStats(PrintWriter pw, String prefix, String prefixInner, String headerPrefix, String header, ServiceState service, int count, int serviceType, int state, long startTime, long now, long totalTime, boolean dumpAll) argument 2433 printMemoryCategory(PrintWriter pw, String prefix, String label, double memWeight, long totalTime, long curTotalMem, int samples) argument 2512 dumpFilteredSummaryLocked(PrintWriter pw, String header, String prefix, int[] screenStates, int[] memStates, int[] procStates, int[] sortProcStates, long now, long totalTime, String reqPackage, boolean activeOnly) argument 3762 public long totalTime; field in class:ProcessStats.ProcessDataCollection 3813 public long totalTime; field in class:ProcessStats.TotalMemoryUseCollection [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityStackSupervisor.java | 696 w.totalTime = SystemClock.uptimeMillis() - w.thisTime; 697 w.thisTime = w.totalTime; 706 long thisTime, long totalTime) { 717 w.totalTime = totalTime; 987 outResult.totalTime = 0; 705 reportActivityLaunchedLocked(boolean timeout, ActivityRecord r, long thisTime, long totalTime) argument
|
/frameworks/base/core/java/android/app/ |
H A D | IActivityManager.java | 534 public long totalTime; field in class:IActivityManager.WaitResult 550 dest.writeLong(totalTime); 571 totalTime = source.readLong();
|