Home
last modified time | relevance | path

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

12

/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
DAlertServiceTest.java909 ArrayList<NotificationInfo> high = threeItemList; in testRedistributeBuckets_withinLimits() local
912 AlertService.redistributeBuckets(high, medium, low, maxNotifications); in testRedistributeBuckets_withinLimits()
913 assertEquals(3, high.size()); in testRedistributeBuckets_withinLimits()
918 high = new ArrayList<NotificationInfo>(); in testRedistributeBuckets_withinLimits()
921 AlertService.redistributeBuckets(high, medium, low, maxNotifications); in testRedistributeBuckets_withinLimits()
922 assertEquals(0, high.size()); in testRedistributeBuckets_withinLimits()
927 high = new ArrayList<NotificationInfo>(threeItemList); in testRedistributeBuckets_withinLimits()
929 medium.add(high.remove(1)); in testRedistributeBuckets_withinLimits()
931 AlertService.redistributeBuckets(high, medium, low, maxNotifications); in testRedistributeBuckets_withinLimits()
932 assertEquals(2, high.size()); in testRedistributeBuckets_withinLimits()
[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/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/UnifiedEmail/src/com/android/mail/utils/
DSparseLongArray.java226 int high = start + len, low = start - 1, guess; in binarySearch() local
228 while (high - low > 1) { in binarySearch()
229 guess = (high + low) / 2; in binarySearch()
234 high = guess; in binarySearch()
237 if (high == start + len) in binarySearch()
239 else if (a[high] == key) in binarySearch()
240 return high; in binarySearch()
242 return ~high; in binarySearch()
/packages/apps/UnifiedEmail/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/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/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 …]
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()
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()
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/Dialer/src/com/android/dialer/voicemail/
DVoicemailPlaybackPresenter.java653 private static int constrain(int amount, int low, int high) { in constrain() argument
654 return amount < low ? low : (amount > high ? high : amount); in constrain()
/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/apps/Camera/src/com/android/camera/
DCameraSettings.java536 CamcorderProfile high = CamcorderProfile.get( in getSupportedVideoQuality() local
540 if (high.videoFrameHeight * high.videoFrameWidth > in getSupportedVideoQuality()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollController.java241 final public void setValue(int index, int low, int high) { in setValue() argument
244 mHigh = high; in setValue()
245 mCenter = (low + high) / 2; in setValue()
/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/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java98 public static float clamp(float i, float low, float high) { in clamp() argument
99 return Math.max(Math.min(i, high), low); in clamp()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz ... ,flags=,originalFreq=161 142 word=high,f=161,flags=,originalFreq= ...
Den_GB_wordlist.combined.gz ... ,flags=,originalFreq=161 143 word=high,f=161,flags=,originalFreq= ...
Den_wordlist.combined.gz ... ,flags=,originalFreq=161 143 word=high,f=161,flags=,originalFreq= ...
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Româna,date=1408019089, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...

12