Searched defs:low (Results 1 - 3 of 3) sorted by relevance

/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DMediaItemView.java534 * Clamps the input value v to the range [low, high].
536 private static int clamp(int v, int low, int high) { argument
537 return Math.min(Math.max(v, low), high);
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DDelaunay.cpp77 int low, high; local
79 low = lo;
82 if ( low < (high-2) ) {
84 minx = sp[low];
87 spsorty( sp, low, high);
91 split = low - 1 + (int)
92 (0.5 + ((double)(high-low+1) * ((double)lowrows / (double)rows)));
93 build( low, split, &ldo, &ldi, lowrows );
105 else if (low >= (high - 1)) { // two or one points
106 a = makeEdge(sp[low], s
354 spsortx(SitePointer *sp_in, int low, int high) argument
360 spsorty(SitePointer *sp_in, int low, int high ) argument
[all...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DDelaunay.cpp77 int low, high; local
79 low = lo;
82 if ( low < (high-2) ) {
84 minx = sp[low];
87 spsorty( sp, low, high);
91 split = low - 1 + (int)
92 (0.5 + ((double)(high-low+1) * ((double)lowrows / (double)rows)));
93 build( low, split, &ldo, &ldi, lowrows );
105 else if (low >= (high - 1)) { // two or one points
106 a = makeEdge(sp[low], s
354 spsortx(SitePointer *sp_in, int low, int high) argument
360 spsorty(SitePointer *sp_in, int low, int high ) argument
[all...]

Completed in 131 milliseconds