/frameworks/base/core/java/android/animation/ |
H A D | TimeAnimator.java | 16 boolean animationFrame(long currentTime) { argument 18 long totalTime = currentTime - mStartTime; 19 long deltaTime = (mPreviousTime < 0) ? 0 : (currentTime - mPreviousTime); 20 mPreviousTime = currentTime;
|
H A D | ValueAnimator.java | 496 long currentTime = AnimationUtils.currentAnimationTimeMillis(); 501 mStartTime = currentTime - playTime; 502 doAnimationFrame(currentTime); 991 long currentTime = AnimationUtils.currentAnimationTimeMillis(); 992 long currentPlayTime = currentTime - mStartTime; 994 mStartTime = currentTime - timeLeft; 1045 * @param currentTime The current animation time, used to calculate whether the animation 1050 private boolean delayedAnimationFrame(long currentTime) { argument 1053 mDelayStartTime = currentTime; 1055 long deltaTime = currentTime 1079 animationFrame(long currentTime) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicyManager.java | 155 public static long computeLastCycleBoundary(long currentTime, NetworkPolicy policy) { argument 161 now.set(currentTime); 185 public static long computeNextCycleBoundary(long currentTime, NetworkPolicy policy) { argument 191 now.set(currentTime);
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | DimAnimator.java | 70 void updateParameters(final Resources res, final Parameters params, final long currentTime) { argument 106 mLastDimAnimTime = currentTime; 134 boolean updateSurface(boolean dimming, long currentTime, boolean displayFrozen) { argument 137 mLastDimAnimTime = currentTime; 146 * (currentTime-mLastDimAnimTime); 166 mLastDimAnimTime = currentTime;
|
H A D | AppWindowAnimator.java | 132 private void stepThumbnailAnimation(long currentTime) { argument 134 thumbnailAnimation.getTransformation(currentTime, thumbnailTransformation); 165 private boolean stepAnimation(long currentTime) { argument 170 final boolean more = animation.getTransformation(currentTime, transformation); 177 TAG, "Finished animation in " + mAppToken + " @ " + currentTime); 184 boolean stepAnimationLocked(long currentTime, int dw, int dh) { argument 201 " @ " + currentTime + ": dw=" + dw + " dh=" + dh 207 animation.setStartTime(currentTime); 211 thumbnailAnimation.setStartTime(currentTime); 214 if (stepAnimation(currentTime)) { 312 getTransformation(long currentTime, Transformation outTransformation) argument [all...] |
H A D | WindowStateAnimator.java | 210 private boolean stepAnimation(long currentTime) { argument 215 final boolean more = mAnimation.getTransformation(currentTime, mTransformation); 224 boolean stepAnimationLocked(long currentTime) { argument 237 " @ " + currentTime + ": ww=" + mWin.mFrame.width() + 245 mAnimation.setStartTime(currentTime); 250 if (stepAnimation(currentTime)) { 256 " @ " + currentTime); 432 boolean commitFinishDrawingLocked(long currentTime) { argument
|
H A D | WindowManagerService.java | 8432 * @param currentTime The time which animations use for calculating transitions. 8436 private void handleNotObscuredLocked(final WindowState w, final long currentTime, argument 8524 final long currentTime = SystemClock.uptimeMillis(); 8639 handleNotObscuredLocked(w, currentTime, innerDw, innerDh); 8671 if (winAnimator.commitFinishDrawingLocked(currentTime)) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | ThrottleServiceTest.java | 272 public void expectTime(long currentTime) throws Exception { argument 275 expect(mMockTime.currentTimeMillis()).andReturn(currentTime).anyTimes();
|
/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/services/input/ |
H A D | InputDispatcher.cpp | 231 nsecs_t currentTime = now(); local 232 int timeoutMillis = toMillisecondTimeoutDelay(currentTime, nextWakeupTime); 237 nsecs_t currentTime = now(); local 257 bool isAppSwitchDue = mAppSwitchDueTime <= currentTime; 275 if (currentTime >= mKeyRepeatState.nextRepeatTime) { 276 mPendingEvent = synthesizeKeyRepeatLocked(currentTime); 322 done = dispatchConfigurationChangedLocked(currentTime, typedEntry); 330 done = dispatchDeviceResetLocked(currentTime, typedEntry); 346 && isStaleEventLocked(currentTime, typedEntry)) { 352 done = dispatchKeyLocked(currentTime, typedEntr 553 isStaleEventLocked(nsecs_t currentTime, EventEntry* entry) argument 617 synthesizeKeyRepeatLocked(nsecs_t currentTime) argument 649 dispatchConfigurationChangedLocked( nsecs_t currentTime, ConfigurationChangedEntry* entry) argument 665 dispatchDeviceResetLocked( nsecs_t currentTime, DeviceResetEntry* entry) argument 678 dispatchKeyLocked(nsecs_t currentTime, KeyEntry* entry, DropReason* dropReason, nsecs_t* nextWakeupTime) argument 788 dispatchMotionLocked( nsecs_t currentTime, MotionEntry* entry, DropReason* dropReason, nsecs_t* nextWakeupTime) argument 875 dispatchEventLocked(nsecs_t currentTime, EventEntry* eventEntry, const Vector<InputTarget>& inputTargets) argument 902 handleTargetsNotReadyLocked(nsecs_t currentTime, const EventEntry* entry, const sp<InputApplicationHandle>& applicationHandle, const sp<InputWindowHandle>& windowHandle, nsecs_t* nextWakeupTime, const char* reason) argument 1001 getTimeSpentWaitingForApplicationLocked( nsecs_t currentTime) argument 1019 findFocusedWindowTargetsLocked(nsecs_t currentTime, const EventEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime) argument 1083 findTouchedWindowTargetsLocked(nsecs_t currentTime, const MotionEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime, bool* outConflictingPointerActions) argument 1629 isWindowReadyForMoreInputLocked(nsecs_t currentTime, const sp<InputWindowHandle>& windowHandle, const EventEntry* eventEntry) argument 1725 prepareDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) argument 1773 enqueueDispatchEntriesLocked(nsecs_t currentTime, const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) argument 1884 startDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection) argument 2000 finishDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection, uint32_t seq, bool handled) argument 2018 abortBrokenDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection, bool notify) argument 2079 nsecs_t currentTime = now(); local 2144 nsecs_t currentTime = now(); local 3097 nsecs_t currentTime = now(); local 3241 nsecs_t currentTime = now(); local 3271 onDispatchCycleFinishedLocked( nsecs_t currentTime, const sp<Connection>& connection, uint32_t seq, bool handled) argument 3281 onDispatchCycleBrokenLocked( nsecs_t currentTime, const sp<Connection>& connection) argument 3291 onANRLocked( nsecs_t currentTime, const sp<InputApplicationHandle>& applicationHandle, const sp<InputWindowHandle>& windowHandle, nsecs_t eventTime, nsecs_t waitStartTime, const char* reason) argument 3628 updateDispatchStatisticsLocked(nsecs_t currentTime, const EventEntry* entry, int32_t injectionResult, nsecs_t timeSpentWaitingForApplication) argument 4071 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 | 2999 private void scanDirLI(File dir, int flags, int scanMode, long currentTime) { argument 3018 flags|PackageParser.PARSE_MUST_BE_APK, scanMode, currentTime); 3086 int parseFlags, int scanMode, long currentTime) { 3239 | SCAN_UPDATE_SIGNATURE, currentTime); 3443 int parseFlags, int scanMode, long currentTime) { 3994 if (currentTime != 0) { 3996 pkgSetting.firstInstallTime = pkgSetting.lastUpdateTime = currentTime; 3998 pkgSetting.lastUpdateTime = currentTime; 3085 scanPackageLI(File scanFile, int parseFlags, int scanMode, long currentTime) argument 3442 scanPackageLI(PackageParser.Package pkg, int parseFlags, int scanMode, long currentTime) argument
|