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.java352 int modulo(int pos, int size) { in modulo() method in AdapterViewAnimator
368 int i = modulo(mCurrentWindowStartUnbounded + relativeIndex, getWindowSize()); in getViewAtRelativeIndex()
417 int index = modulo(i, getWindowSize()); in refreshChildren()
421 final View updatedChild = mAdapter.getView(modulo(i, adapterCount), null, this); in refreshChildren()
489 int rangeStart = modulo(newWindowStart, getWindowSize()); in showOnly()
490 int rangeEnd = modulo(newWindowEnd, getWindowSize()); in showOnly()
524 int index = modulo(i, getWindowSize()); in showOnly()
547 final int adapterPosition = modulo(i, adapterCount); in showOnly()
571 int adapterStart = modulo(mCurrentWindowStart, adapterCount); in showOnly()
572 int adapterEnd = modulo(mCurrentWindowEnd, adapterCount); in showOnly()
DStackView.java432 int index = modulo(i, getWindowSize()); in showOnly()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DADebug.h167 bool allow, const char *name, uint64_t modulo, uint64_t limit,