Home
last modified time | relevance | path

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

/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
Dshadows_f.rs53 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)
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dshadows.rs53 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)
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dshadows.rs53 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)
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dshadows.rs53 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)
/frameworks/base/core/java/android/widget/
DEditor.java4149 final int iMax = Math.min(mNumberPreviousOffsets, HISTORY_SIZE); in filterOnTouchUp() local
4150 while (i < iMax && (now - mPreviousOffsetsTimes[index]) < TOUCH_UP_FILTER_DELAY_AFTER) { in filterOnTouchUp()
4155 if (i > 0 && i < iMax && in filterOnTouchUp()