/frameworks/base/core/java/android/animation/ |
H A D | TimeAnimator.java | 22 boolean animationFrame(long currentTime) { argument 24 long totalTime = currentTime - mStartTime; 25 long deltaTime = (mPreviousTime < 0) ? 0 : (currentTime - mPreviousTime); 26 mPreviousTime = currentTime;
|
H A D | ValueAnimator.java | 518 long currentTime = AnimationUtils.currentAnimationTimeMillis(); 523 mStartTime = currentTime - playTime; 524 doAnimationFrame(currentTime); 1026 long currentTime = AnimationUtils.currentAnimationTimeMillis(); 1027 long currentPlayTime = currentTime - mStartTime; 1029 mStartTime = currentTime - timeLeft; 1100 * @param currentTime The current animation time, used to calculate whether the animation 1105 private boolean delayedAnimationFrame(long currentTime) { argument 1108 mDelayStartTime = currentTime; 1112 mPauseTime = currentTime; 1146 animationFrame(long currentTime) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicyManager.java | 156 public static long computeLastCycleBoundary(long currentTime, NetworkPolicy policy) { argument 162 now.set(currentTime); 186 public static long computeNextCycleBoundary(long currentTime, NetworkPolicy policy) { argument 192 now.set(currentTime);
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | AppWindowAnimator.java | 145 private void stepThumbnailAnimation(long currentTime) { argument 147 thumbnailAnimation.getTransformation(currentTime, thumbnailTransformation); 180 private boolean stepAnimation(long currentTime) { argument 185 final boolean more = animation.getTransformation(currentTime, transformation); 192 TAG, "Finished animation in " + mAppToken + " @ " + currentTime); 199 boolean stepAnimationLocked(long currentTime) { argument 216 " @ " + currentTime + " scale=" + mService.mTransitionAnimationScale 218 animation.setStartTime(currentTime); 222 thumbnailAnimation.setStartTime(currentTime); 225 if (stepAnimation(currentTime)) { 329 getTransformation(long currentTime, Transformation outTransformation) argument [all...] |
H A D | WindowStateAnimator.java | 228 private boolean stepAnimation(long currentTime) { argument 233 final boolean more = mAnimation.getTransformation(currentTime, mTransformation); 242 boolean stepAnimationLocked(long currentTime) { argument 255 " @ " + currentTime + ": ww=" + mWin.mFrame.width() + 264 mAnimation.setStartTime(currentTime); 269 if (stepAnimation(currentTime)) { 275 " @ " + currentTime); 454 boolean commitFinishDrawingLocked(long currentTime) { argument
|
H A D | WindowManagerService.java | 8749 * @param currentTime The time which animations use for calculating transitions. 8753 private void handleNotObscuredLocked(final WindowState w, final long currentTime, argument 8851 final long currentTime = SystemClock.uptimeMillis(); 8998 handleNotObscuredLocked(w, currentTime, innerDw, innerDh); 9040 winAnimator.commitFinishDrawingLocked(currentTime);
|
/frameworks/base/core/java/android/view/animation/ |
H A D | AnimationSet.java | 369 public boolean getTransformation(long currentTime, Transformation t) { argument 384 more = a.getTransformation(currentTime, temp, getScaleFactor()) || more;
|
H A D | Animation.java | 828 * @param currentTime Where we are in the animation. This is wall clock time. 833 public boolean getTransformation(long currentTime, Transformation outTransformation) { argument 835 mStartTime = currentTime; 842 normalizedTime = ((float) (currentTime - (mStartTime + startOffset))) / 846 normalizedTime = currentTime < mStartTime ? 0.0f : 1.0f; 930 * @param currentTime Where we are in the animation. This is wall clock time. 937 public boolean getTransformation(long currentTime, Transformation outTransformation, argument 940 return getTransformation(currentTime, outTransformation);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcStress.cpp | 246 struct timeval startTime, currentTime, delta; local 392 gettimeofday(¤tTime, NULL); 393 delta = tvDelta(&startTime, ¤tTime);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AutoScrollHelper.java | 774 final long currentTime = AnimationUtils.currentAnimationTimeMillis(); 775 mEffectiveRampDown = constrain((int) (currentTime - mStartTime), 0, mRampDownDuration); 776 mStopValue = getValueAt(currentTime); 777 mStopTime = currentTime; 785 private float getValueAt(long currentTime) { argument 786 if (currentTime < mStartTime) { 788 } else if (mStopTime < 0 || currentTime < mStopTime) { 789 final long elapsedSinceStart = currentTime - mStartTime; 792 final long elapsedSinceEnd = currentTime - mStopTime; 821 final long currentTime [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | AutoScrollHelper.java | 775 final long currentTime = AnimationUtils.currentAnimationTimeMillis(); 776 mEffectiveRampDown = constrain((int) (currentTime - mStartTime), 0, mRampDownDuration); 777 mStopValue = getValueAt(currentTime); 778 mStopTime = currentTime; 786 private float getValueAt(long currentTime) { argument 787 if (currentTime < mStartTime) { 789 } else if (mStopTime < 0 || currentTime < mStopTime) { 790 final long elapsedSinceStart = currentTime - mStartTime; 793 final long elapsedSinceEnd = currentTime - mStopTime; 822 final long currentTime [all...] |
/frameworks/base/services/input/ |
H A D | InputDispatcher.cpp | 243 nsecs_t currentTime = now(); local 244 int timeoutMillis = toMillisecondTimeoutDelay(currentTime, nextWakeupTime); 249 nsecs_t currentTime = now(); local 269 bool isAppSwitchDue = mAppSwitchDueTime <= currentTime; 287 if (currentTime >= mKeyRepeatState.nextRepeatTime) { 288 mPendingEvent = synthesizeKeyRepeatLocked(currentTime); 334 done = dispatchConfigurationChangedLocked(currentTime, typedEntry); 342 done = dispatchDeviceResetLocked(currentTime, typedEntry); 358 && isStaleEventLocked(currentTime, typedEntry)) { 364 done = dispatchKeyLocked(currentTime, typedEntr 580 isStaleEventLocked(nsecs_t currentTime, EventEntry* entry) argument 649 synthesizeKeyRepeatLocked(nsecs_t currentTime) argument 681 dispatchConfigurationChangedLocked( nsecs_t currentTime, ConfigurationChangedEntry* entry) argument 697 dispatchDeviceResetLocked( nsecs_t currentTime, DeviceResetEntry* entry) argument 710 dispatchKeyLocked(nsecs_t currentTime, KeyEntry* entry, DropReason* dropReason, nsecs_t* nextWakeupTime) argument 820 dispatchMotionLocked( nsecs_t currentTime, MotionEntry* entry, DropReason* dropReason, nsecs_t* nextWakeupTime) argument 910 dispatchEventLocked(nsecs_t currentTime, EventEntry* eventEntry, const Vector<InputTarget>& inputTargets) argument 937 handleTargetsNotReadyLocked(nsecs_t currentTime, const EventEntry* entry, const sp<InputApplicationHandle>& applicationHandle, const sp<InputWindowHandle>& windowHandle, nsecs_t* nextWakeupTime, const char* reason) argument 1036 getTimeSpentWaitingForApplicationLocked( nsecs_t currentTime) argument 1054 findFocusedWindowTargetsLocked(nsecs_t currentTime, const EventEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime) argument 1118 findTouchedWindowTargetsLocked(nsecs_t currentTime, const MotionEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime, bool* outConflictingPointerActions) argument 1663 isWindowReadyForMoreInputLocked(nsecs_t currentTime, const sp<InputWindowHandle>& windowHandle, const EventEntry* eventEntry) argument 1769 prepareDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) argument 1817 enqueueDispatchEntriesLocked(nsecs_t currentTime, const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) argument 1928 startDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection) argument 2044 finishDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection, uint32_t seq, bool handled) argument 2062 abortBrokenDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection, bool notify) argument 2123 nsecs_t currentTime = now(); local 2188 nsecs_t currentTime = now(); local 3161 nsecs_t currentTime = now(); local 3331 nsecs_t currentTime = now(); local 3359 onDispatchCycleFinishedLocked( nsecs_t currentTime, const sp<Connection>& connection, uint32_t seq, bool handled) argument 3369 onDispatchCycleBrokenLocked( nsecs_t currentTime, const sp<Connection>& connection) argument 3379 onANRLocked( nsecs_t currentTime, const sp<InputApplicationHandle>& applicationHandle, const sp<InputWindowHandle>& windowHandle, nsecs_t eventTime, nsecs_t waitStartTime, const char* reason) argument 3718 updateDispatchStatisticsLocked(nsecs_t currentTime, const EventEntry* entry, int32_t injectionResult, nsecs_t timeSpentWaitingForApplication) argument 4181 synthesizeCancelationEvents(nsecs_t currentTime, Vector<EventEntry*>& outEvents, const CancelationOptions& options) argument [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 3445 private void scanDirLI(File dir, int flags, int scanMode, long currentTime) { argument 3465 flags|PackageParser.PARSE_MUST_BE_APK, scanMode, currentTime, null); 3533 int parseFlags, int scanMode, long currentTime, UserHandle user) { 3710 | SCAN_UPDATE_SIGNATURE, currentTime, user); 4104 int parseFlags, int scanMode, long currentTime, UserHandle user) { 4748 if (currentTime != 0) { 4750 pkgSetting.firstInstallTime = pkgSetting.lastUpdateTime = currentTime; 4752 pkgSetting.lastUpdateTime = currentTime; 3532 scanPackageLI(File scanFile, int parseFlags, int scanMode, long currentTime, UserHandle user) argument 4103 scanPackageLI(PackageParser.Package pkg, int parseFlags, int scanMode, long currentTime, UserHandle user) argument
|