Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/
DADebug.cpp127 bool allow, const char *name, uint64_t modulo, in getExperimentFlag() argument
139 UNUSED(modulo); in getExperimentFlag()
182 time_t counter = (time(NULL) / timeDivisor) % modulo + plus + serialNum % modulo; in getExperimentFlag()
183 bool enable = allow && (counter % modulo < limit); in getExperimentFlag()
/frameworks/base/core/java/android/widget/
DAdapterViewAnimator.java349 int modulo(int pos, int size) { in modulo() method in AdapterViewAnimator
365 int i = modulo(mCurrentWindowStartUnbounded + relativeIndex, getWindowSize()); in getViewAtRelativeIndex()
414 int index = modulo(i, getWindowSize()); in refreshChildren()
418 final View updatedChild = mAdapter.getView(modulo(i, adapterCount), null, this); in refreshChildren()
486 int rangeStart = modulo(newWindowStart, getWindowSize()); in showOnly()
487 int rangeEnd = modulo(newWindowEnd, getWindowSize()); in showOnly()
521 int index = modulo(i, getWindowSize()); in showOnly()
544 final int adapterPosition = modulo(i, adapterCount); in showOnly()
568 int adapterStart = modulo(mCurrentWindowStart, adapterCount); in showOnly()
569 int adapterEnd = modulo(mCurrentWindowEnd, adapterCount); in showOnly()
DStackView.java429 int index = modulo(i, getWindowSize()); in showOnly()
/frameworks/av/include/media/stagefright/foundation/
DADebug.h157 bool allow, const char *name, uint64_t modulo, uint64_t limit,