Home
last modified time | relevance | path

Searched refs:base (Results 1 – 24 of 24) sorted by relevance

/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.h112 NJ_UINT16 base; member
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppReceiveFileInfo.java110 File base = null; in generateFileInfo() local
115 base = new File(root + Constants.DEFAULT_STORE_SUBDIR); in generateFileInfo()
116 if (!base.isDirectory() && !base.mkdir()) { in generateFileInfo()
118 + base.getPath()); in generateFileInfo()
121 stat = new StatFs(base.getPath()); in generateFileInfo()
151 filename = base.getPath() + File.separator + filename; in generateFileInfo()
/packages/apps/Camera/src/com/android/camera/gallery/
DBaseImageList.java180 Uri base = mBaseUri; in isChildImageUri() local
181 return Util.equals(base.getScheme(), uri.getScheme()) in isChildImageUri()
182 && Util.equals(base.getHost(), uri.getHost()) in isChildImageUri()
183 && Util.equals(base.getAuthority(), uri.getAuthority()) in isChildImageUri()
184 && Util.equals(base.getPath(), getPathWithoutId(uri)); in isChildImageUri()
/packages/apps/Gallery/src/com/android/camera/gallery/
DBaseImageList.java180 Uri base = mBaseUri; in isChildImageUri() local
181 return Util.equals(base.getScheme(), uri.getScheme()) in isChildImageUri()
182 && Util.equals(base.getHost(), uri.getHost()) in isChildImageUri()
183 && Util.equals(base.getAuthority(), uri.getAuthority()) in isChildImageUri()
184 && Util.equals(base.getPath(), getPathWithoutId(uri)); in isChildImageUri()
/packages/apps/Launcher2/src/com/android/launcher2/
DSymmetricalLinearTween.java92 long base = mBase;
94 long diff = now-base;
109 long next = base + ((frame+1)*FRAME_TIME);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java147 File base = null; in generateSaveFile() local
155 base = Environment.getDownloadCacheDirectory(); in generateSaveFile()
156 stat = new StatFs(base.getPath()); in generateSaveFile()
176 stat.restat(base.getPath()); in generateSaveFile()
182 base = new File(root + Constants.DEFAULT_DL_SUBDIR); in generateSaveFile()
183 if (!base.isDirectory() && !base.mkdir()) { in generateSaveFile()
186 + base.getPath()); in generateSaveFile()
190 stat = new StatFs(base.getPath()); in generateSaveFile()
213 filename = base.getPath() + File.separator + filename; in generateSaveFile()
/packages/apps/Email/tests/src/com/android/email/activity/
DFolderMessageListUnitTests.java150 public MyContext(Context base) { in MyContext() argument
151 super(base); in MyContext()
/packages/apps/Calculator/src/com/android/calculator2/
DHistoryAdapter.java74 String base = entry.getBase(); in getView() local
78 String res = mEval.evaluate(base); in getView()
/packages/inputmethods/PinyinIME/jni/include/
Dmystdlib.h27 void *mybsearch(const void *key, const void *base,
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnDictionaryImpl.java378 public int setDictionary(int index, int base, int high ) { in setDictionary() argument
382 if( base < 0 || high < 0 || base > high in setDictionary()
390 if( base < 0 || high < 0 || base > high in setDictionary()
398 … 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.c41 dicInfo->dic_freq[ NJ_MODE_TYPE_HENKAN ].base = 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
346 ( base < -1 || base > 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()
365 work->dicSet.dic[ index ].dic_freq[ NJ_MODE_TYPE_HENKAN ].base = base; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DSoundRecorder.java525 final int base = cur.getInt(0); in addToPlaylist() local
528 values.put(MediaStore.Audio.Playlists.Members.PLAY_ORDER, Integer.valueOf(base + audioId)); in addToPlaylist()
602 Uri base = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI; in addToMediaDB() local
603 Log.d(TAG, "ContentURI: " + base); in addToMediaDB()
604 Uri result = resolver.insert(base, cv); in addToMediaDB()
/packages/apps/Phone/src/com/android/phone/
DManageConferenceUtils.java113 public void startConferenceTime(long base) { in startConferenceTime() argument
115 mConferenceTime.setBase(base); in startConferenceTime()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndbdic.c989 loctset->cache_freq = CALCULATE_HINDO(hindo_max, loctset->dic_freq.base, in search_node()
1039 loctset->cache_freq = CALCULATE_HINDO(hindo, loctset->dic_freq.base, in bdic_search_data()
1132 hindo = CALCULATE_HINDO(hindo, loctset->dic_freq.base, in bdic_search_fore_data()
1169 loctset->cache_freq = CALCULATE_HINDO(hindo, loctset->dic_freq.base, in bdic_search_fore_data()
1381 word->stem.hindo = CALCULATE_HINDO(stem_set.hindo_jitu, loctset->dic_freq.base, in njd_b_get_word()
1963 loctset->cache_freq = CALCULATE_HINDO(hindo_max, loctset->dic_freq.base, in search_node2()
2495 loctset->cache_freq = CALCULATE_HINDO(hindo_max, loctset->dic_freq.base, in bdic_search_fore_data2()
2539 loctset->dic_freq.base, in bdic_search_fore_data2()
2710 loctset->cache_freq = CALCULATE_HINDO(hindo, loctset->dic_freq.base, 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.c132 loctset->cache_freq = CALCULATE_HINDO(hindo, loctset->dic_freq.base, in search_data()
348 word->stem.hindo = CALCULATE_HINDO(DATA_HINDO(data), loctset->dic_freq.base, in njd_f_get_word()
Dndapi.c794 if ((cursor->cond.ds->dic[cnt].dic_freq[NJ_MODE_TYPE_HENKAN].base in njx_search_word()
871 loctset->dic_freq.base = 0; in njd_init_search_location_set()
Dndldic.c1668 hindo = (NJ_INT16)dic_freq->base; in calculate_hindo()
1673 hindo = CALCULATE_HINDO(freq, dic_freq->base, dic_freq->high, (max-1)); in calculate_hindo()
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java1026 int base = mRow * mColumns; in loadImages() local
1033 int pos = base + col; in loadImages()
/packages/apps/Camera/src/com/android/camera/
DGridViewSpecial.java1024 int base = mRow * mColumns; in loadImages() local
1031 int pos = base + col; in loadImages()
/packages/apps/Music/src/com/android/music/
DMusicUtils.java494 int base = cur.getInt(0); in addToPlaylist() local
499 … values[i].put(MediaStore.Audio.Playlists.Members.PLAY_ORDER, Integer.valueOf(base + i)); in addToPlaylist()
/packages/apps/Mms/src/com/android/mms/ui/
DComposeMessageActivity.java1445 private File getUniqueDestination(String base, String extension) { in getUniqueDestination() argument
1446 File file = new File(base + "." + extension); in getUniqueDestination()
1449 file = new File(base + "_" + i + "." + extension); in getUniqueDestination()