OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:timeDelta
(Results
1 - 12
of
12
) sorted by null
/cts/tests/tests/os/src/android/os/cts/
ConditionVariableTest.java
70
long
timeDelta
= System.currentTimeMillis() - time;
71
assertTrue(
timeDelta
>= BLOCK_TIME &&
timeDelta
<= BLOCK_TIME + BLOCK_TIME_DELTA);
/external/replicaisland/src/com/replica/replicaisland/
GameThread.java
57
final long
timeDelta
= time - mLastTime;
58
long finalDelta =
timeDelta
;
59
if (
timeDelta
> 12) {
/cts/tests/tests/view/src/android/view/animation/cts/
CycleInterpolatorTest.java
226
final float
timeDelta
= 0.015f;
227
assertEquals(cycleInterpolator.getInterpolation(0.0f +
timeDelta
),
228
cycleInterpolator.getInterpolation(0.5f +
timeDelta
), ALPHA_DELTA);
229
assertEquals(cycleInterpolator.getInterpolation(0.25f +
timeDelta
),
230
cycleInterpolator.getInterpolation(0.75f +
timeDelta
), ALPHA_DELTA);
/development/samples/training/location-aware/src/com/example/android/location/
LocationActivity.java
294
long
timeDelta
= newLocation.getTime() - currentBestLocation.getTime();
295
boolean isSignificantlyNewer =
timeDelta
> TWO_MINUTES;
296
boolean isSignificantlyOlder =
timeDelta
< -TWO_MINUTES;
297
boolean isNewer =
timeDelta
> 0;
/hardware/libhardware/tests/camera2/
CameraBurstTests.cpp
696
nsecs_t
timeDelta
= captureTimes[i] - captureTimes[i-1];
699
WARN_LT(
timeDelta
, expectedDelta + DURATION_UPPER_BOUND) <<
700
"Capture took " <<
timeDelta
<< " ns to receive, but expected"
703
WARN_GT(
timeDelta
, expectedDelta - DURATION_LOWER_BOUND) <<
704
"Capture took " <<
timeDelta
<< " ns to receive, but expected"
707
dout << "Time delta from previous frame: " <<
timeDelta
/ 1e6 <<
CameraMultiStreamTests.cpp
423
nsecs_t
timeDelta
=
425
EXPECT_GE(
timeDelta
, exposures[i]);
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
SampleMediaRouterActivity.java
555
long
timeDelta
= mSessionManager.isPaused() ? 0 :
557
progress = (int)(100.0 * (position +
timeDelta
) / duration);
/external/chromium_org/third_party/icu/source/tools/ctestfw/
ctest.c
371
char
timeDelta
[256];
374
const char
timeDelta
[] = "(unknown)";
400
str_timeDelta(
timeDelta
, stopTime-startTime);
424
if(
timeDelta
[0]) printf("%s",
timeDelta
);
[
all
...]
/external/icu4c/tools/ctestfw/
ctest.c
371
char
timeDelta
[256];
374
const char
timeDelta
[] = "(unknown)";
400
str_timeDelta(
timeDelta
, stopTime-startTime);
424
if(
timeDelta
[0]) printf("%s",
timeDelta
);
[
all
...]
/external/jmonkeyengine/engine/src/core/com/jme3/input/
InputManager.java
174
private float computeAnalogValue(long
timeDelta
) {
178
return FastMath.clamp((float)
timeDelta
/ (float) frameDelta, 0, 1);
198
long
timeDelta
= releaseTime - Math.max(pressTime, lastUpdate);
200
if (
timeDelta
> 0) {
201
invokeAnalogs(hash, computeAnalogValue(
timeDelta
), false);
211
long
timeDelta
= lastUpdateTime - Math.max(lastLastUpdateTime, pressTime);
213
if (
timeDelta
> 0) {
214
invokeAnalogs(hash, computeAnalogValue(
timeDelta
), false);
[
all
...]
/packages/apps/LegacyCamera/src/com/android/camera/ui/
IndicatorControlWheel.java
492
long
timeDelta
= SystemClock.uptimeMillis() - mRecordingStartTime;
493
long numberOfFrames =
timeDelta
/ mTimeLapseInterval;
501
sweepAngle =
timeDelta
% mTimeLapseInterval * 360f / mTimeLapseInterval;
/frameworks/base/services/java/com/android/server/power/
DisplayPowerController.java
[
all
...]
Completed in 1361 milliseconds