Searched refs:high (Results 1 - 19 of 19) sorted by relevance

/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnjd.h60 #define CALCULATE_HINDO(freq, base, high, div) \
61 ((NJ_HINDO)((((freq) * ((high) - (base))) / (div)) + (base)))
H A Dnj_lib.h113 NJ_UINT16 high; member in struct:__anon22
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DLongSparseArray.java338 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 DAlertServiceTest.java933 // 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 DEndianUtils.java189 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 DDelaunay.cpp77 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 DDelaunay.cpp77 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 DGeometryMath.java25 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 DWnnDictionary.java136 * {@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 DOpenWnnDictionaryImplJni.java209 * @param high The maximum frequency or -1
212 public static final native int setDictionaryParameter( long work, int index, int base, int high );
H A DOpenWnnDictionaryImpl.java382 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 DPinyinIME.java710 char high = (char) ((unicode & 0xffff0000) >> 16);
712 if (0 != high) {
713 commitResultText(String.valueOf(high));
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
H A DOpenWnnDictionaryImplJni.c42 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 DCameraSettings.java531 CamcorderProfile high = CamcorderProfile.get(
535 if (high.videoFrameHeight * high.videoFrameWidth >
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndfdic.c133 loctset->dic_freq.high, YOMINASI_DIC_FREQ_DIV);
349 loctset->dic_freq.high, YOMINASI_DIC_FREQ_DIV);
H A Dndbdic.c990 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 Dndapi.c71 (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 Dndldic.c1673 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 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);

Completed in 737 milliseconds