/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateConfigs.h | 49 uint32_t fps = 0; member 106 const float fps = 1e9 / vsyncPeriod; in populate() local 110 RefreshRate{configId, base::StringPrintf("%2.ffps", fps), in populate() 111 static_cast<uint32_t>(fps), in populate() 123 const float fps = 1e9 / vsyncPeriod; in populate() local 127 RefreshRate{configId, base::StringPrintf("%2.ffps", fps), in populate() 128 static_cast<uint32_t>(fps), in populate()
|
D | Scheduler.cpp | 327 const uint32_t fps = (refreshRate) ? refreshRate->fps : 0; in registerLayer() local 328 return mLayerHistory.createLayer(name, fps); in registerLayer() 519 if (iter->second->fps >= mContentRefreshRate * (1 - MARGIN)) { in calculateRefreshRateType() 529 float ratio = mRefreshRateConfigs.getRefreshRate(currRefreshRateType)->fps / in calculateRefreshRateType() 533 ratio = iter->second->fps / float(mContentRefreshRate); in calculateRefreshRateType()
|
/frameworks/opt/gamesdk/src/tuningfork/ |
D | tuningfork_extra.cpp | 157 std::vector<AAsset*> fps; in GetFidelityParamsSerialization() local 163 fps.push_back(fp); in GetFidelityParamsSerialization() 165 *fp_count = fps.size(); in GetFidelityParamsSerialization() 170 AAsset* asset = fps[i]; in GetFidelityParamsSerialization() 307 CProtobufSerialization* fps, int* fp_count) { in TuningFork_findFidelityParamsInAPK() argument 308 GetFidelityParamsSerialization(env, activity, fps, fp_count); in TuningFork_findFidelityParamsInAPK() 343 std::vector<CProtobufSerialization> fps(nfps); in TuningFork_initFromAssetsWithSwappy() local 344 TuningFork_findFidelityParamsInAPK(env, activity, fps.data(), &nfps); in TuningFork_initFromAssetsWithSwappy() 348 defaultParams = fps[i]; in TuningFork_initFromAssetsWithSwappy() 350 CProtobufSerialization_Free(&fps[i]); in TuningFork_initFromAssetsWithSwappy()
|
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
D | TouchLatencyActivity.java | 137 float fps = 0f; in drawBall() local 145 fps = 1f * SEC_TO_NANOS / tDiff; in drawBall() 149 if (Math.abs(mFps - fps) > FPS_UPDATE_THRESHOLD) { in drawBall() 150 mFps = fps; in drawBall() 270 int fps = (int) displayMode.getRefreshRate(); in updateDisplayMode() local 271 menuItem.setTitle(fps + "hz"); in updateDisplayMode()
|
/frameworks/av/services/mediaanalytics/ |
D | statsd_nuplayer.cpp | 95 double fps = -1.0; in statsd_nuplayer() local 96 if (item->getDouble("android.media.mediaplayer.fps", &fps)) { in statsd_nuplayer() 97 metrics_proto.set_framerate(fps); in statsd_nuplayer()
|
/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/java/com/prefabulated/bouncyball/ |
D | SettingsFragment.java | 61 float fps = refreshRate / (interval + 1); in onCreatePreferences() local 62 float ms = 1000 / fps; in onCreatePreferences() 64 entries[interval] = String.format(Locale.US, "%.2fms (%.0ffps)", ms, fps); in onCreatePreferences()
|
/frameworks/av/media/libmedia/omx/1.0/ |
D | WGraphicBufferSource.cpp | 56 double fps, double captureFps) { in setTimeLapseConfig() argument 57 return toBinderStatus(mBase->setTimeLapseConfig(fps, captureFps)); in setTimeLapseConfig()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 408 seen_fps.emplace(bucket.config().fps()); in TEST_F() 409 if (fpsOne == bucket.config().fps()) { in TEST_F() 411 } else if (fpsTwo == bucket.config().fps()) { in TEST_F() 414 FAIL() << "Unknown fps: " << bucket.config().fps(); in TEST_F() 423 uint32_t fps = 30; in TEST_F() local 427 mTimeStats->recordRefreshRate(fps, ms2ns(millisOne)); in TEST_F() 428 mTimeStats->recordRefreshRate(fps, ms2ns(millisTwo)); in TEST_F() 433 EXPECT_EQ(fps, globalProto.display_config_stats().Get(0).config().fps()); in TEST_F()
|
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
D | TestFramerateView.java | 53 float fps = 1000000.f / elapsedTime_us; in registerTime() local 55 Log.v(TAG, "Long frame: " + elapsedTime_us/1000.f + " ms (" + fps + " fps)"); in registerTime()
|
/frameworks/base/libs/hwui/ |
D | DeviceInfo.cpp | 70 return sDummyDisplay.fps; in QueryMaxRefreshRate() 84 max = std::max(max, info.fps); in QueryMaxRefreshRate()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
D | CameraSource.java | 316 private int[] findClosestFpsRange(int fps, Camera.Parameters params) { in findClosestFpsRange() argument 320 if (range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] < fps*1000 && in findClosestFpsRange() 321 range[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] > fps*1000 && in findClosestFpsRange() 329 if (mLogVerbose) Log.v(TAG, "Requested fps: " + fps in findClosestFpsRange()
|
/frameworks/opt/gamesdk/samples/tuningfork/tftestapp/app/src/main/cpp/ |
D | tftestapp.cpp | 212 CProtobufSerialization fps = {}; in Java_com_google_tuningfork_TFTestActivity_initTuningFork() local 216 if (TuningFork_getFidelityParameters(defaultFP, &fps, 1000)) { in Java_com_google_tuningfork_TFTestActivity_initTuningFork() 217 SetFidelityParams(&fps); in Java_com_google_tuningfork_TFTestActivity_initTuningFork() 218 tuningfork::CProtobufSerialization_Free(&fps); in Java_com_google_tuningfork_TFTestActivity_initTuningFork()
|
/frameworks/av/media/libmedia/aidl/android/ |
D | IGraphicBufferSource.aidl | 31 void setTimeLapseConfig(double fps, double captureFps); in setTimeLapseConfig() argument
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | DisplayInfo.h | 32 float fps{0};
|
/frameworks/native/libs/ui/include/ui/ |
D | DisplayInfo.h | 32 float fps{0};
|
/frameworks/av/media/libstagefright/ |
D | VideoFrameSchedulerBase.cpp | 67 void VideoFrameSchedulerBase::PLL::reset(float fps) { in reset() argument 74 if (fps <= 0.f) { in reset() 78 ALOGV("reset at %.1f fps", fps); in reset() 79 mPeriod = (nsecs_t)(1e9 / fps + 0.5); in reset()
|
/frameworks/opt/gamesdk/include/tuningfork/ |
D | tuningfork_extra.h | 42 CProtobufSerialization* fps,
|
/frameworks/av/media/codec2/sfplugin/ |
D | Omx2IGraphicBufferSource.cpp | 109 double fps, double captureFps) { in setTimeLapseConfig() argument 110 return BnStatus::fromStatusT(mBase->setTimeLapseConfig(fps, captureFps)); in setTimeLapseConfig()
|
D | Omx2IGraphicBufferSource.h | 35 BnStatus setTimeLapseConfig(double fps, double captureFps) override;
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.h | 67 virtual void recordRefreshRate(uint32_t fps, nsecs_t duration) = 0; 139 void recordRefreshRate(uint32_t fps, nsecs_t duration) override;
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | VideoFrameSchedulerBase.h | 62 void reset(float fps = -1);
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | WGraphicBufferSource.cpp | 207 double fps, double captureFps) { in setTimeLapseConfig() argument 208 return toStatus(mBase->setTimeLapseConfig(fps, captureFps)); in setTimeLapseConfig()
|
/frameworks/av/cmds/stagefright/ |
D | recordvideo.cpp | 62 DummySource(int width, int height, int nFrames, int fps, int colorFormat) in DummySource() argument 66 mFrameRate(fps), in DummySource()
|
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/ |
D | TimeStatsHelper.cpp | 107 for (const auto& [fps, duration] : refreshRateStats) { in toString() 108 StringAppendF(&result, "%dfps=%ldms ", fps, ns2ms(duration)); in toString()
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | SurfaceCompositionMeasuringActivity.java | 394 Measurement(int surfaceCnt, double fps) { in Measurement() argument 396 mFPS = fps; in Measurement() 426 double fps = mViews.get(0).measureFPS(mRefreshRate * 0.8, mRefreshRate * 0.999); in measureFPS() local 431 return fps; in measureFPS()
|