/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
DeltaTimeTest.java | 34 long frameTime = TimeUtils.nanoTime();
35 float deltaTime = (frameTime - lastFrameTime) / 1000000000.0f;
36 lastFrameTime = frameTime;
|
/cts/tests/tests/view/jni/ |
android_view_cts_ChoreographerNativeTest.cpp | 47 std::chrono::nanoseconds frameTime{0}; 54 cb->frameTime = std::chrono::nanoseconds{frameTimeNanos}; 101 ASSERT(cb1->frameTime - start < NOMINAL_VSYNC_PERIOD * 3, 104 ASSERT(cb2->frameTime - start < NOMINAL_VSYNC_PERIOD * 3, 106 auto delta = cb2->frameTime - cb1->frameTime; 117 ASSERT(cb1->frameTime - start < NOMINAL_VSYNC_PERIOD * 3, 141 ASSERT(cb1->frameTime - start < DELAY_PERIOD + NOMINAL_VSYNC_PERIOD * 3, 142 "Frametime on callback is incorrect")
|
/external/deqp/modules/glshared/ |
glsCalibration.hpp | 93 , frameTime (frameTime_) 99 , frameTime (0.0f) 104 float frameTime; 161 void recordIteration (deUint64 frameTime);
|
glsCalibration.cpp | 276 m_calibrateIterations.back().frameTime = (float)((double)m_measureState.getTotalTime() / (double)m_measureState.frameTimes.size()); 296 const float frameTimeUs = past[i].frameTime; 326 endCalibration = endCalibration || (m_calibrateIterations.back().numDrawCalls == 1 && m_calibrateIterations.back().frameTime > m_params.targetFrameTimeUs*2.0f); 332 int numMeasureFrames = deClamp32(deRoundFloatToInt32(m_params.targetMeasureDurationUs / m_calibrateIterations.back().frameTime), minFrames, maxFrames); 354 if (m_calibrateIterations[i].numDrawCalls == 1 || m_calibrateIterations[i].frameTime > m_params.frameTimeCapUs*1.05f) // Only account for measurements not too near the cap. 355 dataPoints.push_back(Vec2((float)m_calibrateIterations[i].numDrawCalls, m_calibrateIterations[i].frameTime)); 408 << de::floatToString(calibrateIterations[iterNdx].frameTime, 2) << " us (" 409 << de::floatToString(1000000.0f / calibrateIterations[iterNdx].frameTime, 2) << " fps)" << TestLog::EndMessage;
|
/frameworks/base/core/java/android/animation/ |
AnimationHandler.java | 137 private void doAnimationFrame(long frameTime) { 146 callback.doAnimationFrame(frameTime); 160 private void commitAnimationFrame(AnimationFrameCallback callback, long frameTime) { 163 callback.commitAnimationFrame(frameTime); 278 * @param frameTime The frame start time, in the {@link SystemClock#uptimeMillis()} time 281 void doAnimationFrame(long frameTime); 291 * to respect the new frameTime. By having the commit time, we can adjust the start time to 295 * @param frameTime The frame time after traversals happen, if any, in the 298 void commitAnimationFrame(long frameTime);
|
ValueAnimator.java | [all...] |
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/ |
plasma.c | 271 double frameTime; 280 double frameTime; 299 s->frameTime = now_ms(); 306 double renderTime = now - s->frameTime; 307 double frameTime = now - s->lastTime; 318 minFrame = maxFrame = avgFrame = s->frames[nn].frameTime; 326 double frame = s->frames[nn].frameTime; 350 s->frames[nn].frameTime = frameTime;
|
/development/ndk/platforms/android-9/samples/native-plasma/jni/ |
plasma.c | 280 double frameTime; 289 double frameTime; 308 s->frameTime = now_ms(); 315 double renderTime = now - s->frameTime; 316 double frameTime = now - s->lastTime; 327 minFrame = maxFrame = avgFrame = s->frames[nn].frameTime; 335 double frame = s->frames[nn].frameTime; 359 s->frames[nn].frameTime = frameTime;
|
/frameworks/av/media/libstagefright/ |
CameraSourceTimeLapse.cpp | 184 int64_t frameTime, 194 (*newBuffer)->meta_data()->setInt64(kKeyTime, frameTime); 199 int64_t frameTime; 200 CHECK(sourceBuffer.meta_data()->findInt64(kKeyTime, &frameTime)); 201 createMediaBufferCopy(sourceBuffer, frameTime, &mLastReadBufferCopy);
|
CameraSource.cpp | [all...] |
/frameworks/base/core/jni/ |
android_view_InputEventReceiver.cpp | 59 status_t consumeEvents(JNIEnv* env, bool consumeBatches, nsecs_t frameTime, 218 bool consumeBatches, nsecs_t frameTime, bool* outConsumedBatch) { 220 ALOGD("channel '%s' ~ Consuming input events, consumeBatches=%s, frameTime=%lld.", 221 getInputChannelName(), consumeBatches ? "true" : "false", (long long)frameTime); 237 consumeBatches, frameTime, &seq, &inputEvent);
|
/frameworks/native/include/input/ |
InputTransport.h | 294 * The frameTime parameter specifies the time when the current display frame started 306 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent); 427 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent); 433 void resampleTouchState(nsecs_t frameTime, MotionEvent* event,
|
/frameworks/base/libs/hwui/ |
JankTracker.cpp | 88 static uint32_t frameCountIndexForFrameTime(nsecs_t frameTime) { 89 uint32_t index = static_cast<uint32_t>(ns2ms(frameTime));
|
/frameworks/native/libs/input/ |
InputTransport.cpp | 400 bool consumeBatches, nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent) { 402 ALOGD("channel '%s' consumer ~ consume: consumeBatches=%s, frameTime=%lld", 403 mChannel->getName().string(), consumeBatches ? "true" : "false", frameTime); 422 result = consumeBatch(factory, frameTime, outSeq, outEvent); 517 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent) { 522 if (frameTime < 0) { 529 nsecs_t sampleTime = frameTime; [all...] |
/hardware/qcom/camera/msmcobalt/QCamera2/HAL/ |
QCamera2HWICallbacks.cpp | 695 nsecs_t frameTime = 0, mPreviewTimestamp = 0; 740 frameTime = nsecs_t(frame->ts.tv_sec) * 1000000000LL + frame->ts.tv_nsec; 743 frameTime = frameTime - pme->mBootToMonoTimestampOffset; 745 mPreviewTimestamp = pme->mCameraDisplay.computePresentationTimeStamp(frameTime); 746 stream->mStreamTimestamp = frameTime; 755 pme, idx, frameTime, mPreviewTimestamp); [all...] |
/hardware/qcom/camera/QCamera2/HAL/ |
QCamera2HWICallbacks.cpp | 689 nsecs_t frameTime = 0, mPreviewTimestamp = 0; 729 frameTime = nsecs_t(frame->ts.tv_sec) * 1000000000LL + frame->ts.tv_nsec; 731 mPreviewTimestamp = pme->mCameraDisplay.computePresentationTimeStamp(frameTime); 732 stream->mStreamTimestamp = frameTime; 742 pme, idx, frameTime, mPreviewTimestamp); [all...] |
/external/opencv3/modules/videoio/src/ |
cap_dshow.cpp | [all...] |
/frameworks/base/core/java/android/view/ |
ViewRootImpl.java | [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |
android-all-4.3_r2-robolectric-0.jar | |