Searched defs:currentTime (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/java/android/animation/
H A DTimeAnimator.java22 boolean animationFrame(long currentTime) { argument
24 long totalTime = currentTime - mStartTime;
25 long deltaTime = (mPreviousTime < 0) ? 0 : (currentTime - mPreviousTime);
26 mPreviousTime = currentTime;
H A DValueAnimator.java503 long currentTime = AnimationUtils.currentAnimationTimeMillis();
508 mStartTime = currentTime - playTime;
509 doAnimationFrame(currentTime);
985 long currentTime = AnimationUtils.currentAnimationTimeMillis();
986 long currentPlayTime = currentTime - mStartTime;
988 mStartTime = currentTime - timeLeft;
1039 * @param currentTime The current animation time, used to calculate whether the animation
1044 private boolean delayedAnimationFrame(long currentTime) { argument
1047 mDelayStartTime = currentTime;
1049 long deltaTime = currentTime
1073 animationFrame(long currentTime) argument
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkPolicyManager.java156 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 DDimAnimator.java71 void updateParameters(final Resources res, final Parameters params, final long currentTime) { argument
112 mLastDimAnimTime = currentTime;
140 boolean updateSurface(boolean dimming, long currentTime, boolean displayFrozen) { argument
148 mLastDimAnimTime = currentTime;
157 * (currentTime-mLastDimAnimTime);
177 mLastDimAnimTime = currentTime;
H A DAppWindowAnimator.java134 private void stepThumbnailAnimation(long currentTime) { argument
136 thumbnailAnimation.getTransformation(currentTime, thumbnailTransformation);
169 private boolean stepAnimation(long currentTime) { argument
174 final boolean more = animation.getTransformation(currentTime, transformation);
181 TAG, "Finished animation in " + mAppToken + " @ " + currentTime);
188 boolean stepAnimationLocked(long currentTime, int dw, int dh) { argument
205 " @ " + currentTime + ": dw=" + dw + " dh=" + dh
211 animation.setStartTime(currentTime);
215 thumbnailAnimation.setStartTime(currentTime);
218 if (stepAnimation(currentTime)) {
319 getTransformation(long currentTime, Transformation outTransformation) argument
[all...]
H A DWindowStateAnimator.java233 private boolean stepAnimation(long currentTime) { argument
238 final boolean more = mAnimation.getTransformation(currentTime, mTransformation);
247 boolean stepAnimationLocked(long currentTime) { argument
260 " @ " + currentTime + ": ww=" + mWin.mFrame.width() +
269 mAnimation.setStartTime(currentTime);
274 if (stepAnimation(currentTime)) {
280 " @ " + currentTime);
457 boolean commitFinishDrawingLocked(long currentTime) { argument
H A DWindowManagerService.java8956 * @param currentTime The time which animations use for calculating transitions.
8960 private void handleNotObscuredLocked(final WindowState w, final long currentTime, argument
9060 final long currentTime = SystemClock.uptimeMillis();
9204 handleNotObscuredLocked(w, currentTime, innerDw, innerDh);
9242 winAnimator.commitFinishDrawingLocked(currentTime);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DThrottleServiceTest.java272 public void expectTime(long currentTime) throws Exception { argument
275 expect(mMockTime.currentTimeMillis()).andReturn(currentTime).anyTimes();
/frameworks/base/core/java/android/view/animation/
H A DAnimationSet.java369 public boolean getTransformation(long currentTime, Transformation t) { argument
384 more = a.getTransformation(currentTime, temp, getScaleFactor()) || more;
H A DAnimation.java828 * @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 DhwcStress.cpp246 struct timeval startTime, currentTime, delta; local
392 gettimeofday(&currentTime, NULL);
393 delta = tvDelta(&startTime, &currentTime);
/frameworks/base/services/input/
H A DInputDispatcher.cpp241 nsecs_t currentTime = now(); local
242 int timeoutMillis = toMillisecondTimeoutDelay(currentTime, nextWakeupTime);
247 nsecs_t currentTime = now(); local
267 bool isAppSwitchDue = mAppSwitchDueTime <= currentTime;
285 if (currentTime >= mKeyRepeatState.nextRepeatTime) {
286 mPendingEvent = synthesizeKeyRepeatLocked(currentTime);
332 done = dispatchConfigurationChangedLocked(currentTime, typedEntry);
340 done = dispatchDeviceResetLocked(currentTime, typedEntry);
356 && isStaleEventLocked(currentTime, typedEntry)) {
362 done = dispatchKeyLocked(currentTime, typedEntr
567 isStaleEventLocked(nsecs_t currentTime, EventEntry* entry) argument
635 synthesizeKeyRepeatLocked(nsecs_t currentTime) argument
667 dispatchConfigurationChangedLocked( nsecs_t currentTime, ConfigurationChangedEntry* entry) argument
683 dispatchDeviceResetLocked( nsecs_t currentTime, DeviceResetEntry* entry) argument
696 dispatchKeyLocked(nsecs_t currentTime, KeyEntry* entry, DropReason* dropReason, nsecs_t* nextWakeupTime) argument
806 dispatchMotionLocked( nsecs_t currentTime, MotionEntry* entry, DropReason* dropReason, nsecs_t* nextWakeupTime) argument
896 dispatchEventLocked(nsecs_t currentTime, EventEntry* eventEntry, const Vector<InputTarget>& inputTargets) argument
923 handleTargetsNotReadyLocked(nsecs_t currentTime, const EventEntry* entry, const sp<InputApplicationHandle>& applicationHandle, const sp<InputWindowHandle>& windowHandle, nsecs_t* nextWakeupTime, const char* reason) argument
1022 getTimeSpentWaitingForApplicationLocked( nsecs_t currentTime) argument
1040 findFocusedWindowTargetsLocked(nsecs_t currentTime, const EventEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime) argument
1104 findTouchedWindowTargetsLocked(nsecs_t currentTime, const MotionEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime, bool* outConflictingPointerActions) argument
1662 isWindowReadyForMoreInputLocked(nsecs_t currentTime, const sp<InputWindowHandle>& windowHandle, const EventEntry* eventEntry) argument
1768 prepareDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) argument
1816 enqueueDispatchEntriesLocked(nsecs_t currentTime, const sp<Connection>& connection, EventEntry* eventEntry, const InputTarget* inputTarget) argument
1927 startDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection) argument
2043 finishDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection, uint32_t seq, bool handled) argument
2061 abortBrokenDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection, bool notify) argument
2122 nsecs_t currentTime = now(); local
2187 nsecs_t currentTime = now(); local
3160 nsecs_t currentTime = now(); local
3305 nsecs_t currentTime = now(); local
3333 onDispatchCycleFinishedLocked( nsecs_t currentTime, const sp<Connection>& connection, uint32_t seq, bool handled) argument
3343 onDispatchCycleBrokenLocked( nsecs_t currentTime, const sp<Connection>& connection) argument
3353 onANRLocked( nsecs_t currentTime, const sp<InputApplicationHandle>& applicationHandle, const sp<InputWindowHandle>& windowHandle, nsecs_t eventTime, nsecs_t waitStartTime, const char* reason) argument
3690 updateDispatchStatisticsLocked(nsecs_t currentTime, const EventEntry* entry, int32_t injectionResult, nsecs_t timeSpentWaitingForApplication) argument
4137 synthesizeCancelationEvents(nsecs_t currentTime, Vector<EventEntry*>& outEvents, const CancelationOptions& options) argument
[all...]
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java3142 private void scanDirLI(File dir, int flags, int scanMode, long currentTime) { argument
3161 flags|PackageParser.PARSE_MUST_BE_APK, scanMode, currentTime, null);
3229 int parseFlags, int scanMode, long currentTime, UserHandle user) {
3382 | SCAN_UPDATE_SIGNATURE, currentTime, user);
3623 int parseFlags, int scanMode, long currentTime, UserHandle user) {
4182 if (currentTime != 0) {
4184 pkgSetting.firstInstallTime = pkgSetting.lastUpdateTime = currentTime;
4186 pkgSetting.lastUpdateTime = currentTime;
3228 scanPackageLI(File scanFile, int parseFlags, int scanMode, long currentTime, UserHandle user) argument
3622 scanPackageLI(PackageParser.Package pkg, int parseFlags, int scanMode, long currentTime, UserHandle user) argument

Completed in 4176 milliseconds