Home
last modified time | relevance | path

Searched refs:high (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
DAlertServiceTest.java824 ArrayList<NotificationInfo> high = threeItemList; in testRedistributeBuckets_withinLimits() local
827 AlertService.redistributeBuckets(high, medium, low, maxNotifications); in testRedistributeBuckets_withinLimits()
828 assertEquals(3, high.size()); in testRedistributeBuckets_withinLimits()
833 high = new ArrayList<NotificationInfo>(); in testRedistributeBuckets_withinLimits()
836 AlertService.redistributeBuckets(high, medium, low, maxNotifications); in testRedistributeBuckets_withinLimits()
837 assertEquals(0, high.size()); in testRedistributeBuckets_withinLimits()
842 high = new ArrayList<NotificationInfo>(threeItemList); in testRedistributeBuckets_withinLimits()
844 medium.add(high.remove(1)); in testRedistributeBuckets_withinLimits()
846 AlertService.redistributeBuckets(high, medium, low, maxNotifications); in testRedistributeBuckets_withinLimits()
847 assertEquals(2, high.size()); in testRedistributeBuckets_withinLimits()
[all …]
/packages/apps/Email/src/org/apache/commons/io/
DEndianUtils.java189 long high = data[ offset + 3 ] & 0xff; in readSwappedUnsignedInteger() local
191 return (high << 24) + (0xffffffffL & low); in readSwappedUnsignedInteger()
225 long high = in readSwappedLong() local
230 return (high << 32) + (0xffffffffL & low); in readSwappedLong()
378 long high = value4 & 0xff; in readSwappedUnsignedInteger() local
380 return (high << 24) + (0xffffffffL & low); in readSwappedUnsignedInteger()
/packages/apps/Camera/jni/feature_mos/src/mosaic/
DDelaunay.cpp77 int low, high; in build() local
80 high = hi; in build()
82 if ( low < (high-2) ) { in build()
85 maxx = sp[high]; in build()
87 spsorty( sp, low, high); in build()
92 (0.5 + ((double)(high-low+1) * ((double)lowrows / (double)rows))); in build()
94 build( split+1, high, &rdi, &rdo, (rows-lowrows) ); in build()
105 else if (low >= (high - 1)) { // two or one points in build()
106 a = makeEdge(sp[low], sp[high]); in build()
112 b = makeEdge(s2, (s3 = sp[high])); in build()
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp77 int low, high; in build() local
80 high = hi; in build()
82 if ( low < (high-2) ) { in build()
85 maxx = sp[high]; in build()
87 spsorty( sp, low, high); in build()
92 (0.5 + ((double)(high-low+1) * ((double)lowrows / (double)rows))); in build()
94 build( split+1, high, &rdi, &rdo, (rows-lowrows) ); in build()
105 else if (low >= (high - 1)) { // two or one points in build()
106 a = makeEdge(sp[low], sp[high]); in build()
112 b = makeEdge(s2, (s3 = sp[high])); in build()
[all …]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
Dnjd.h60 #define CALCULATE_HINDO(freq, base, high, div) \ argument
61 ((NJ_HINDO)((((freq) * ((high) - (base))) / (div)) + (base)))
Dnj_lib.h113 NJ_UINT16 high; member
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnDictionaryImpl.java382 public int setDictionary(int index, int base, int high ) { in setDictionary() argument
386 if( base < 0 || high < 0 || base > high in setDictionary()
390 mFrequencyOffsetOfUserDictionary = high; in setDictionary()
394 if( base < 0 || high < 0 || base > high in setDictionary()
398 mFrequencyOffsetOfLearnDictionary = high; in setDictionary()
402 … return OpenWnnDictionaryImplJni.setDictionaryParameter( this.mWnnWork, index, base, high ); in setDictionary()
DWnnDictionary.java148 public int setDictionary(int index, int base, int high ); in setDictionary() argument
DOpenWnnDictionaryImplJni.java212 … public static final native int setDictionaryParameter( long work, int index, int base, int high ); in setDictionaryParameter() argument
/packages/inputmethods/OpenWnn/
DREADME.txt34 Index 0: English dictionary for normal prediction (high priority)
41 Index 0: Japanese dictionary for normal prediction (high priority)
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
DOpenWnnDictionaryImplJni.c42 dicInfo->dic_freq[ NJ_MODE_TYPE_HENKAN ].high = 0; in clearDictionaryStructure()
341 (JNIEnv *env, jobject obj, jlong wnnWork, jint index, jint base, jint high) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter() argument
347 ( high < -1 || high > 1000 ) ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter()
355 if( base < 0 || high < 0 || base > high ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter()
366 work->dicSet.dic[ index ].dic_freq[ NJ_MODE_TYPE_HENKAN ].high = high; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndbdic.c990 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); in search_node()
1040 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); in bdic_search_data()
1133 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); in bdic_search_fore_data()
1170 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); in bdic_search_fore_data()
1382 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); in njd_b_get_word()
1964 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); in search_node2()
2496 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); in bdic_search_fore_data2()
2540 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); in bdic_search_fore_data2()
2711 loctset->dic_freq.high, COMP_DIC_FREQ_DIV); in bdic_search_fore_data2()
2787 … hindo = CALCULATE_HINDO(hindo, loctset->dic_freq.base, loctset->dic_freq.high, COMP_DIC_FREQ_DIV); in bdic_get_next_data()
[all …]
Dndfdic.c133 … loctset->dic_freq.high, YOMINASI_DIC_FREQ_DIV); in search_data()
349 loctset->dic_freq.high, YOMINASI_DIC_FREQ_DIV); in njd_f_get_word()
Dndapi.c71 (dicinfo->dic_freq[NJ_MODE_TYPE_HENKAN].high > DIC_FREQ_HIGH) ) { in check_search_cursor()
795 > cursor->cond.ds->dic[cnt].dic_freq[NJ_MODE_TYPE_HENKAN].high)) { in njx_search_word()
872 loctset->dic_freq.high = 0; in njd_init_search_location_set()
Dndldic.c1673 hindo = CALCULATE_HINDO(freq, dic_freq->base, dic_freq->high, (max-1)); in calculate_hindo()
1676 hindo = (NJ_INT16)dic_freq->high; in calculate_hindo()
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DMediaItemView.java536 private static int clamp(int v, int low, int high) { in clamp() argument
537 return Math.min(Math.max(v, low), high); in clamp()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DPinyinIME.java710 char high = (char) ((unicode & 0xffff0000) >> 16); in tryInputRawUnicode() local
712 if (0 != high) { in tryInputRawUnicode()
713 commitResultText(String.valueOf(high)); in tryInputRawUnicode()