/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
H A D | njd.h | 60 #define CALCULATE_HINDO(freq, base, high, div) \ 61 ((NJ_HINDO)((((freq) * ((high) - (base))) / (div)) + (base)))
|
H A D | nj_lib.h | 113 NJ_UINT16 high; member in struct:__anon22
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | LongSparseArray.java | 338 int high = start + len, low = start - 1, guess; 340 while (high - low > 1) { 341 guess = (high + low) / 2; 346 high = guess; 349 if (high == start + len) 351 else if (a[high] == key) 352 return high; 354 return ~high;
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
H A D | AlertServiceTest.java | 933 // Test when max notifications at high priority. 934 ArrayList<NotificationInfo> high = threeItemList; 937 AlertService.redistributeBuckets(high, medium, low, maxNotifications); 938 assertEquals(3, high.size()); 943 high = new ArrayList<NotificationInfo>(); 946 AlertService.redistributeBuckets(high, medium, low, maxNotifications); 947 assertEquals(0, high.size()); 951 // Test when max notifications at high and medium priority 952 high = new ArrayList<NotificationInfo>(threeItemList); 954 medium.add(high [all...] |
/packages/apps/Email/src/org/apache/commons/io/ |
H A D | EndianUtils.java | 189 long high = data[ offset + 3 ] & 0xff;
191 return (high << 24) + (0xffffffffL & low);
225 long high =
230 return (high << 32) + (0xffffffffL & low);
378 long high = value4 & 0xff;
380 return (high << 24) + (0xffffffffL & low);
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | Delaunay.cpp | 77 int low, high; local 80 high = hi; 82 if ( low < (high-2) ) { 85 maxx = sp[high]; 87 spsorty( sp, low, high); 92 (0.5 + ((double)(high-low+1) * ((double)lowrows / (double)rows))); 94 build( split+1, high, &rdi, &rdo, (rows-lowrows) ); 105 else if (low >= (high - 1)) { // two or one points 106 a = makeEdge(sp[low], sp[high]); 112 b = makeEdge(s2, (s3 = sp[high])); 354 spsortx(SitePointer *sp_in, int low, int high) argument [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Delaunay.cpp | 77 int low, high; local 80 high = hi; 82 if ( low < (high-2) ) { 85 maxx = sp[high]; 87 spsorty( sp, low, high); 92 (0.5 + ((double)(high-low+1) * ((double)lowrows / (double)rows))); 94 build( split+1, high, &rdi, &rdo, (rows-lowrows) ); 105 else if (low >= (high - 1)) { // two or one points 106 a = makeEdge(sp[low], sp[high]); 112 b = makeEdge(s2, (s3 = sp[high])); 354 spsortx(SitePointer *sp_in, int low, int high) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | GeometryMath.java | 25 public static float clamp(float i, float low, float high) { argument 26 return Math.max(Math.min(i, high), low);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | WnnDictionary.java | 136 * {@code high} is the upper limit of frequency for the dictionary. 138 * Searched word's frequency in the dictionary is mapped to the range from {@code base} to {@code high}. 140 * The maximum value of {@code base} and {@code high} is 1000. 141 * To set a dictionary unused, specify -1 to {@code base} and {@code high}. 145 * @param high The maximum frequency for the dictionary 148 public int setDictionary(int index, int base, int high );
|
H A D | OpenWnnDictionaryImplJni.java | 209 * @param high The maximum frequency or -1 212 public static final native int setDictionaryParameter( long work, int index, int base, int high );
|
H A D | OpenWnnDictionaryImpl.java | 382 public int setDictionary(int index, int base, int high ) { 386 if( base < 0 || high < 0 || base > high 387 /* || base < OFFSET_FREQUENCY_OF_USER_DICTIONARY || high >= OFFSET_FREQUENCY_OF_LEARN_DICTIONARY */ ) { 390 mFrequencyOffsetOfUserDictionary = high; 394 if( base < 0 || high < 0 || base > high 398 mFrequencyOffsetOfLearnDictionary = high; 402 return OpenWnnDictionaryImplJni.setDictionaryParameter( this.mWnnWork, index, base, high );
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
H A D | PinyinIME.java | 710 char high = (char) ((unicode & 0xffff0000) >> 16); 712 if (0 != high) { 713 commitResultText(String.valueOf(high));
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
H A D | OpenWnnDictionaryImplJni.c | 42 dicInfo->dic_freq[ NJ_MODE_TYPE_HENKAN ].high = 0; 341 (JNIEnv *env, jobject obj, jlong wnnWork, jint index, jint base, jint high) 347 ( high < -1 || high > 1000 ) ) { 355 if( base < 0 || high < 0 || base > high ) { 356 /* If -1 was specified to base or high, clear that dictionary information structure */ 357 /* If base is larger than high, clear that dictionary information structure */ 366 work->dicSet.dic[ index ].dic_freq[ NJ_MODE_TYPE_HENKAN ].high = high; 340 Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter(JNIEnv *env, jobject obj, jlong wnnWork, jint index, jint base, jint high) argument [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | CameraSettings.java | 531 CamcorderProfile high = CamcorderProfile.get( 535 if (high.videoFrameHeight * high.videoFrameWidth >
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndfdic.c | 133 loctset->dic_freq.high, YOMINASI_DIC_FREQ_DIV); 349 loctset->dic_freq.high, YOMINASI_DIC_FREQ_DIV);
|
H A D | ndbdic.c | 990 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); 1040 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); 1133 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); 1170 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); 1382 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); 1964 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); 2496 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); 2540 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); 2711 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); 2787 hindo = CALCULATE_HINDO(hindo, loctset->dic_freq.base, loctset->dic_freq.high, COMP_DIC_FREQ_DI [all...] |
H A D | ndapi.c | 71 (dicinfo->dic_freq[NJ_MODE_TYPE_HENKAN].high > DIC_FREQ_HIGH) ) { 795 > cursor->cond.ds->dic[cnt].dic_freq[NJ_MODE_TYPE_HENKAN].high)) { 872 loctset->dic_freq.high = 0;
|
H A D | ndldic.c | 1673 hindo = CALCULATE_HINDO(freq, dic_freq->base, dic_freq->high, (max-1)); 1676 hindo = (NJ_INT16)dic_freq->high;
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
H A D | MediaItemView.java | 534 * 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);
|