Home
last modified time | relevance | path

Searched refs:refreshRateHz (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/java/com/prefabulated/bouncyball/
DOrbitActivity.java207 float refreshRateHz = display.getRefreshRate(); in onCreate() local
208 Log.i(LOG_TAG, String.format("Refresh rate: %.1f Hz", refreshRateHz)); in onCreate()
209 long refreshPeriodNanos = (long) (ONE_S_IN_NS / refreshRateHz); in onCreate()
/frameworks/opt/gamesdk/src/swappy/
DSwappy.cpp75 const float refreshRateHz = env->CallFloatMethod(display, getRefreshRate); in init() local
101 const long vsyncPeriodNanos = static_cast<long>(ONE_S_IN_NS / refreshRateHz); in init()