Home
last modified time | relevance | path

Searched refs:iMax (Results 1 – 5 of 5) sorted by relevance

/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dshadows_f.rscript53 int iMin,iMax,chroma;
61 iMax = max (ri, bi);
64 iMax = max (gi, bi);
68 chroma = iMax - iMin;
70 rv = (short)( iMax << ABITS);
76 rs = (short)((k1*chroma)/iMax);
82 if ( ri == iMax ) {
85 } else if (gi == iMax)
87 else // (bi == iMax )
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dshadows.rscript53 int iMin,iMax,chroma;
61 iMax = max (ri, bi);
64 iMax = max (gi, bi);
68 chroma = iMax - iMin;
70 rv = (short)( iMax << ABITS);
76 rs = (short)((k1*chroma)/iMax);
82 if ( ri == iMax ) {
85 } else if (gi == iMax)
87 else // (bi == iMax )
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dshadows.rscript53 int iMin,iMax,chroma;
61 iMax = max (ri, bi);
64 iMax = max (gi, bi);
68 chroma = iMax - iMin;
70 rv = (short)( iMax << ABITS);
76 rs = (short)((k1*chroma)/iMax);
82 if ( ri == iMax ) {
85 } else if (gi == iMax)
87 else // (bi == iMax )
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dshadows.rscript53 int iMin,iMax,chroma;
61 iMax = max (ri, bi);
64 iMax = max (gi, bi);
68 chroma = iMax - iMin;
70 rv = (short)( iMax << ABITS);
76 rs = (short)((k1*chroma)/iMax);
82 if ( ri == iMax ) {
85 } else if (gi == iMax)
87 else // (bi == iMax )
/frameworks/base/core/java/android/widget/
DEditor.java4585 final int iMax = Math.min(mNumberPreviousOffsets, HISTORY_SIZE); in filterOnTouchUp() local
4586 while (i < iMax && (now - mPreviousOffsetsTimes[index]) < TOUCH_UP_FILTER_DELAY_AFTER) { in filterOnTouchUp()
4591 if (i > 0 && i < iMax in filterOnTouchUp()