OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:timeDiff
(Results
1 - 16
of
16
) sorted by null
/packages/apps/Camera/src/com/android/camera/
CaptureAnimManager.java
105
long
timeDiff
= SystemClock.uptimeMillis() - mAnimStartTime;
107
if (mAnimType == ANIM_SLIDE &&
timeDiff
> TIME_SLIDE) return false;
108
if (mAnimType == ANIM_BOTH &&
timeDiff
> TIME_HOLD + TIME_SLIDE) return false;
112
animStep = (
timeDiff
< TIME_HOLD) ? ANIM_FLASH : ANIM_SLIDE;
114
timeDiff
-= TIME_HOLD;
120
if (
timeDiff
< TIME_FLASH) {
121
float f = 0.3f - 0.3f *
timeDiff
/ TIME_FLASH;
126
float fraction = (float) (
timeDiff
) / TIME_SLIDE;
SwitchAnimManager.java
74
long
timeDiff
= SystemClock.uptimeMillis() - mAnimStartTime;
75
if (
timeDiff
> ANIMATION_DURATION) return false;
76
float fraction =
timeDiff
/ ANIMATION_DURATION;
/external/webkit/Source/JavaScriptCore/runtime/
TimeoutChecker.cpp
132
unsigned
timeDiff
= currentTime - m_timeAtLastCheck;
134
if (
timeDiff
== 0)
135
timeDiff
= 1;
137
m_timeExecuting +=
timeDiff
;
142
m_ticksUntilNextCheck = static_cast<unsigned>((static_cast<float>(intervalBetweenChecks) /
timeDiff
) * m_ticksUntilNextCheck);
143
// If the new threshold is 0 reset it to the default threshold. This can happen if the
timeDiff
is higher than the
/packages/apps/Gallery2/src/com/android/camera/
CaptureAnimManager.java
147
long
timeDiff
= SystemClock.uptimeMillis() - mAnimStartTime;
149
if (mAnimType == ANIM_SLIDE &&
timeDiff
> TIME_SLIDE2 - TIME_HOLD) return false;
150
if (mAnimType == ANIM_BOTH &&
timeDiff
> TIME_SLIDE2) return false;
155
timeDiff
+= TIME_HOLD;
158
if (
timeDiff
< TIME_HOLD) {
160
} else if (
timeDiff
< TIME_SLIDE) {
162
timeDiff
-= TIME_HOLD;
163
} else if (
timeDiff
< TIME_HOLD2) {
165
timeDiff
-= TIME_SLIDE;
169
timeDiff
-= TIME_HOLD2
[
all
...]
SwitchAnimManager.java
74
long
timeDiff
= SystemClock.uptimeMillis() - mAnimStartTime;
75
if (
timeDiff
> ANIMATION_DURATION) return false;
76
float fraction =
timeDiff
/ ANIMATION_DURATION;
/cts/tests/tests/net/src/android/net/wifi/cts/
ScanResultTest.java
180
long
timeDiff
= (result.timestamp - timestamp) / 1000;
181
assertTrue (
timeDiff
> 0);
182
assertTrue (
timeDiff
< 6 * SCAN_WAIT_MSEC);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
TimeLineGraph.java
274
long
timeDiff
=thisItem.timestamp-anItem.timestamp;
276
if (
timeDiff
>0&&
timeDiff
<minimumTimeDiffPreceding){
280
if (
timeDiff
<=0&&Math.abs(
timeDiff
)<=minimumTimeDiffFollowing){
/system/media/audio_utils/
echo_reference.c
343
int64_t
timeDiff
;
348
ALOGV("echo_reference_read(): NEW:timestamp is zero---------setting
timeDiff
= 0, "\
350
timeDiff
= 0;
359
timeDiff
= (((int64_t)tmp.tv_sec * 1000000000 + tmp.tv_nsec));
361
int64_t expectedDelayNs = er->playback_delay + buffer->delay_ns -
timeDiff
;
370
"er->playback_delay[%d] + delayCapture[%d] -
timeDiff
[%lld]",
371
expectedDelayNs, er->playback_delay, buffer->delay_ns,
timeDiff
);
434
"er->playback_delay[%d] + delayCapture[%d] -
timeDiff
[%lld]",
435
expectedDelayNs, er->playback_delay, buffer->delay_ns,
timeDiff
);
/packages/apps/DeskClock/src/com/android/deskclock/
DeskClock.java
463
long
timeDiff
= (Utils.getTimeNow() - mLastTouchTime);
465
&&
timeDiff
< MAX_TIME_ALLOWED) {
/external/sqlite/dist/orig/
shell.c
110
static double
timeDiff
(struct timeval *pStart, struct timeval *pEnd){
123
timeDiff
(&sBegin.ru_utime, &sEnd.ru_utime),
124
timeDiff
(&sBegin.ru_stime, &sEnd.ru_stime));
181
static double
timeDiff
(FILETIME *pStart, FILETIME *pEnd){
195
timeDiff
(&ftUserBegin, &ftUserEnd),
196
timeDiff
(&ftKernelBegin, &ftKernelEnd));
[
all
...]
/external/sqlite/dist/
shell.c
115
static double
timeDiff
(struct timeval *pStart, struct timeval *pEnd){
128
timeDiff
(&sBegin.ru_utime, &sEnd.ru_utime),
129
timeDiff
(&sBegin.ru_stime, &sEnd.ru_stime));
186
static double
timeDiff
(FILETIME *pStart, FILETIME *pEnd){
200
timeDiff
(&ftUserBegin, &ftUserEnd),
201
timeDiff
(&ftKernelBegin, &ftKernelEnd));
[
all
...]
/cts/tests/uiautomator/src/com/android/cts/uiautomatortest/
CtsUiAutomatorTest.java
288
String
timeDiff
= readTime.getText();
289
Log.i(LOG_TAG, "Sync time: " +
timeDiff
);
293
int totalDelay = Integer.parseInt(
timeDiff
);
[
all
...]
/packages/apps/Calendar/src/com/android/calendar/
EventInfoFragment.java
621
long
timeDiff
= LOADING_MSG_MIN_DISPLAY_TIME - (System.currentTimeMillis() -
623
if (
timeDiff
> 0) {
624
mAnimateAlpha.setStartDelay(
timeDiff
);
[
all
...]
/frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java
[
all
...]
/prebuilts/devtools/tools/lib/
traceview.jar
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/
performanceui.jar
Completed in 809 milliseconds