Home
last modified time | relevance | path

Searched refs:TapResult (Results 1 – 4 of 4) sorted by relevance

/external/oboe/samples/RhythmGame/src/main/cpp/utils/
DUtilityFunctions.cpp28 void renderEvent(TapResult r){ in renderEvent()
30 case TapResult::Success: in renderEvent()
33 case TapResult::Early: in renderEvent()
36 case TapResult::Late: in renderEvent()
DUtilityFunctions.h25 enum class TapResult { enum
37 TapResult getTapResult(int64_t tapTimeInMillis, int64_t tapWindowInMillis);
39 void renderEvent(TapResult r);
/external/oboe/samples/RhythmGame/src/main/cpp/
DGame.cpp78 TapResult result = getTapResult(tapTimeInSongMs, nextClapWindowTimeMs); in tap()
88 TapResult r; in tick()
161 TapResult Game::getTapResult(int64_t tapTimeInMillis, int64_t tapWindowInMillis){ in getTapResult()
165 return TapResult::Success; in getTapResult()
167 return TapResult::Early; in getTapResult()
170 return TapResult::Late; in getTapResult()
DGame.h73 LockFreeQueue<TapResult, kMaxQueueItems> mUiEvents;
79 TapResult getTapResult(int64_t tapTimeInMillis, int64_t tapWindowInMillis);