Searched refs:modulo (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/libstagefright/foundation/ |
D | ADebug.cpp | 127 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/ |
D | AdapterViewAnimator.java | 352 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()
|
D | StackView.java | 432 int index = modulo(i, getWindowSize()); in showOnly()
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | ADebug.h | 167 bool allow, const char *name, uint64_t modulo, uint64_t limit,
|