Home
last modified time | relevance | path

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

/packages/apps/Gallery2/jni/filters/
Dhsv.c35 int iMin,iMax,chroma; in rgb2hsv() local
48 iMax = MAX (ri, bi); in rgb2hsv()
51 iMax = MAX (gi, bi); in rgb2hsv()
55 chroma = iMax - iMin; in rgb2hsv()
57 rv = (short)( iMax << ABITS); in rgb2hsv()
63 rs = (short)((k1*chroma)/iMax); in rgb2hsv()
69 if ( ri == iMax ) { in rgb2hsv()
72 } else if (gi == iMax) in rgb2hsv()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndex.java306 int iMax = results.buckets.length - 1; in getPositionFromPositionWithoutLabels() local
307 while (iMax >= iMin) { in getPositionFromPositionWithoutLabels()
308 int iMid = (iMax + iMin) / 2; in getPositionFromPositionWithoutLabels()
313 iMax = iMid - 1; in getPositionFromPositionWithoutLabels()