Searched defs:modulo (Results 1 - 2 of 2) sorted by relevance
/frameworks/av/media/libstagefright/foundation/ |
H A D | ADebug.cpp | 127 bool allow, const char *name, uint64_t modulo, 139 UNUSED(modulo); 179 // MINOR: use modulo for counter and time, so that their sum does not 182 time_t counter = (time(NULL) / timeDivisor) % modulo + plus + serialNum % modulo; 183 bool enable = allow && (counter % modulo < limit); 126 getExperimentFlag( bool allow, const char *name, uint64_t modulo, uint64_t limit, uint64_t plus, uint64_t timeDivisor) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | AdapterViewAnimator.java | 349 int modulo(int pos, int size) { method in class:AdapterViewAnimator 365 int i = modulo(mCurrentWindowStartUnbounded + relativeIndex, getWindowSize()); 414 int index = modulo(i, getWindowSize()); 418 final View updatedChild = mAdapter.getView(modulo(i, adapterCount), null, this); 486 int rangeStart = modulo(newWindowStart, getWindowSize()); 487 int rangeEnd = modulo(newWindowEnd, getWindowSize()); 521 int index = modulo(i, getWindowSize()); 544 final int adapterPosition = modulo(i, adapterCount); 568 int adapterStart = modulo(mCurrentWindowStart, adapterCount); 569 int adapterEnd = modulo(mCurrentWindowEn [all...] |
Completed in 19 milliseconds