Home
last modified time | relevance | path

Searched refs:freq (Results 1 – 21 of 21) sorted by relevance

/packages/apps/FMRadio/jni/fmr/
Dfmr_core.cpp181 int FMR_pwr_up(int idx, int freq) in FMR_pwr_up() argument
187 LOGI("%s,[freq=%d]\n", __func__, freq); in FMR_pwr_up()
188 if (freq < fmr_data.cfg_data.low_band || freq > fmr_data.cfg_data.high_band) { in FMR_pwr_up()
189 LOGE("%s error freq: %d\n", __func__, freq); in FMR_pwr_up()
193 ret = FMR_cbk_tbl(idx).pwr_up(FMR_fd(idx), fmr_data.cfg_data.band, freq); in FMR_pwr_up()
197 fmr_data.cur_freq = freq; in FMR_pwr_up()
253 int FMR_tune(int idx, int freq) in FMR_tune() argument
259 ret = FMR_cbk_tbl(idx).tune(FMR_fd(idx), freq, fmr_data.cfg_data.band); in FMR_tune()
263 fmr_data.cur_freq = freq; in FMR_tune()
264 LOGD("%s, [freq=%d] [ret=%d]\n", __func__, freq, ret); in FMR_tune()
[all …]
Dcommon.cpp58 int COM_pwr_up(int fd, int band, int freq) in COM_pwr_up() argument
63 LOGI("%s, [freq=%d]\n", __func__, freq); in COM_pwr_up()
67 parm.freq = freq; in COM_pwr_up()
176 int COM_tune(int fd, int freq, int band) in COM_tune() argument
185 parm.freq = freq; in COM_tune()
193 LOGD("%s, [fd=%d] [freq=%d] [ret=%d]\n", __func__, fd, freq, ret); in COM_tune()
197 int COM_seek(int fd, int *freq, int band, int dir, int lev) in COM_seek() argument
205 parm.freq = *freq; in COM_seek()
217 *freq = parm.freq; in COM_seek()
307 value.freq = para->freq; in COM_Soft_Mute_Tune()
[all …]
Dfmr.h71 int freq; member
101 int (*pwr_up)(int fd, int band, int freq);
103 int (*seek)(int fd, int *freq, int band, int dir, int lev);
106 int (*tune)(int fd, int freq, int band);
119 int (*desense_check)(int fd, int freq, int rssi);
189 int FMR_pwr_up(int idx, int freq);
194 int FMR_tune(int idx, int freq);
212 int COM_pwr_up(int fd, int band, int freq);
214 int COM_seek(int fd, int *freq, int band, int dir, int lev);
218 int COM_tune(int fd, int freq, int band);
[all …]
Dfm.h133 uint16_t freq; member
143 uint16_t freq; member
151 uint16_t freq; member
157 uint16_t freq; member
189 uint16_t freq; member
200 uint16_t freq; member
209 fm_u16 freq; // current frequency member
425 int freq; member
Dlibfm_jni.cpp48 jboolean powerUp(JNIEnv *env, jobject thiz, jfloat freq) in powerUp() argument
53 LOGI("%s, [freq=%d]\n", __func__, (int)freq); in powerUp()
54 tmp_freq = (int)(freq * 10); //Eg, 87.5 * 10 --> 875 in powerUp()
71 jboolean tune(JNIEnv *env, jobject thiz, jfloat freq) in tune() argument
76 tmp_freq = (int)(freq * 10); //Eg, 87.5 * 10 --> 875 in tune()
83 jfloat seek(JNIEnv *env, jobject thiz, jfloat freq, jboolean isUp) //jboolean isUp; in seek() argument
90 tmp_freq = (int)(freq * 100); //Eg, 87.55 * 100 --> 8755 in seek()
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
DRecurrencePickerDialog.java117 int freq = FREQ_WEEKLY; field in RecurrencePickerDialog.RecurrenceModel
185 return "Model [freq=" + freq + ", interval=" + interval + ", end=" + end + ", endDate=" in toString()
202 dest.writeInt(freq); in writeToParcel()
361 switch (er.freq) { in canHandleRecurrenceRule()
394 if (numOfByDayNum > 0 && er.freq != EventRecurrence.MONTHLY) { in canHandleRecurrenceRule()
404 if (er.freq == EventRecurrence.MONTHLY) { in canHandleRecurrenceRule()
420 switch (er.freq) { in copyEventRecurrenceToModel()
422 model.freq = RecurrenceModel.FREQ_DAILY; in copyEventRecurrenceToModel()
425 model.freq = RecurrenceModel.FREQ_MONTHLY; in copyEventRecurrenceToModel()
428 model.freq = RecurrenceModel.FREQ_YEARLY; in copyEventRecurrenceToModel()
[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)))
63 #define NORMALIZE_HINDO(freq, max, min) \ argument
64 (((freq) < (min)) ? (min) : (((freq) > (max)) ? (max) : (freq)))
Dnj_lib.h252 NJ_INT16 freq; member
260 NJ_INT16 freq; member
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventHelper.java963 eventRecurrence.freq = EventRecurrence.DAILY; in updateRecurrenceRule()
965 eventRecurrence.freq = EventRecurrence.WEEKLY; in updateRecurrenceRule()
983 eventRecurrence.freq = EventRecurrence.WEEKLY; in updateRecurrenceRule()
998 eventRecurrence.freq = EventRecurrence.MONTHLY; in updateRecurrenceRule()
1007 eventRecurrence.freq = EventRecurrence.MONTHLY; in updateRecurrenceRule()
1025 eventRecurrence.freq = EventRecurrence.YEARLY; in updateRecurrenceRule()
1319 if (mEventRecurrence.freq != EventRecurrence.WEEKLY) { in offsetStartTimeIfNecessary()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DUserDictionaryCompatUtils.java33 final int freq, final String shortcut, final Locale locale) { in addWord() argument
35 CompatUtils.invoke(Words.class, null, METHOD_addWord, context, word, freq, shortcut, in addWord()
50 Words.addWord(context, word, freq, localeType); in addWord()
/packages/apps/Exchange/src/com/android/exchange/utility/
DCalendarUtilities.java1236 final String freq = tokenFromRrule(rrule, "FREQ="); in recurrenceFromRrule() local
1240 if (freq != null) { in recurrenceFromRrule()
1241 if (freq.equals("DAILY")) { in recurrenceFromRrule()
1246 } else if (freq.equals("WEEKLY")) { in recurrenceFromRrule()
1265 } else if (freq.equals("MONTHLY")) { in recurrenceFromRrule()
1308 } else if (freq.equals("YEARLY")) { in recurrenceFromRrule()
/packages/apps/FMRadio/src/com/android/fmradio/
DFmMainActivity.java1082 int freq = mService.getFrequency(); in updateCurrentStation() local
1083 if (FmUtils.isValidStation(freq)) { in updateCurrentStation()
1084 if (mCurrentStation != freq) { in updateCurrentStation()
1085 mCurrentStation = freq; in updateCurrentStation()
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColorsGLRenderer.java413 final float freq = (float) Math.sin(2 * Math.PI * t / cornerFrequencies[i]); in draw() local
416 _tmphsv[2] = freq * 0.25f + 0.75f; in draw()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DXmlDictInputOutput.java180 int freq = getValueFromFreqString(attrs.getValue(uri, DST_FREQ)); in startElement() local
181 WeightedString bigram = new WeightedString(dst, freq / XML_TO_MEMORY_RATIO); in startElement()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderEncoderTests.java364 for (int freq : resultFrequencies.values()) { in checkWordMap()
365 assertEquals(freq, UNIGRAM_FREQ); in checkWordMap()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndldic.c133 static NJ_HINDO calculate_hindo(NJ_DIC_HANDLE handle, NJ_INT32 freq, NJ_DIC_FREQ *dic_freq, NJ_INT1…
1656 static NJ_HINDO calculate_hindo(NJ_DIC_HANDLE handle, NJ_INT32 freq, NJ_DIC_FREQ *dic_freq, NJ_INT1… in calculate_hindo() argument
1673 hindo = CALCULATE_HINDO(freq, dic_freq->base, dic_freq->high, (max-1)); in calculate_hindo()
/packages/apps/Calendar/src/com/android/calendar/
DEventRecurrenceFormatter.java60 switch (recurrence.freq) { in getRepeatString()
/packages/inputmethods/LatinIME/dictionaries/
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1402373178, ...