Searched refs:frequency (Results 1 - 25 of 25) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DPendingAttribute.java28 public PendingAttribute(final int frequency, final int address) { argument
29 mFrequency = frequency;
H A DBinaryDictEncoderUtils.java102 // If terminal, one byte for the frequency.
556 * @param bigramFrequency the frequency of the bigram, 0..255.
557 * @param unigramFrequency the unigram frequency of the same word, 0..255.
578 final int frequency;
583 frequency = unigramFrequency;
585 frequency = bigramFrequency;
587 bigramFlags += getBigramFrequencyDiff(unigramFrequency, frequency)
598 // value of the 16th step. In all justice, if the bigram frequency is low enough to be
600 // unigram frequency) then the unigram frequency itsel
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DWnnWord.java32 public int frequency; field in class:WnnWord
60 * @param frequency The score of word
62 public WnnWord(String candidate, String stroke, int frequency) { argument
63 this(0, candidate, stroke, new WnnPOS(), frequency, 0);
83 * @param frequency The score of word
85 public WnnWord(String candidate, String stroke, WnnPOS posTag, int frequency) { argument
86 this(0, candidate, stroke, posTag, frequency, 0);
96 * @param frequency The score of word
98 public WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency) { argument
99 this(id, candidate, stroke, posTag, frequency,
112 WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency, int attribute) argument
[all...]
H A DWnnClause.java32 * @param frequency The frequency of the clause
34 public WnnClause(String candidate, String stroke, WnnPOS posTag, int frequency) { argument
38 frequency);
52 stem.frequency,
68 stem.frequency,
H A DWnnSentence.java43 this.frequency = 0;
54 this.frequency = headClause.frequency;
69 this.frequency = headClause.frequency;
86 this.frequency = clause.frequency;
104 this.frequency = prev.frequency + clause.frequency;
[all...]
H A DOpenWnnDictionaryImpl.java101 /** The base frequency of user dictionary */
103 /** The base frequency of learning dictionary */
655 result.frequency = mFrequencyOffsetOfUserDictionary;
657 result.frequency = mFrequencyOffsetOfLearnDictionary;
686 result.frequency = OpenWnnDictionaryImplJni.getFrequency( this.mWnnWork );
/packages/apps/TV/usbtuner/src/com/android/usbtuner/
H A DChannelScanFileParser.java38 public final int frequency; field in class:ChannelScanFileParser.ScanChannel
42 public static ScanChannel forTuner(int frequency, String modulation) { argument
43 return new ScanChannel(Channel.TYPE_TUNER, frequency, modulation, null);
46 public static ScanChannel forFile(int frequency, String filename) { argument
47 return new ScanChannel(Channel.TYPE_FILE, frequency, "file:", filename);
50 private ScanChannel(int type, int frequency, String modulation, String filename) { argument
52 this.frequency = frequency;
63 * "A <frequency> <modulation>".
H A DTunerHal.java115 * @param frequency a frequency of the channel to tune to
119 public boolean tune(int frequency, @ModulationType String modulation) { argument
129 // When tuning to a new channel in the same frequency, there's no need to stop current tuner
131 if (mFrequency == frequency && Objects.equals(mModulation, modulation)) {
139 if (nativeTune(getDeviceId(), frequency, modulation, timeout_ms)) {
142 mFrequency = frequency;
150 protected native boolean nativeTune(long deviceId, int frequency, argument
H A DUsbTunerTsScannerSource.java78 if (mTunerHal.tune(channel.frequency, channel.modulation)) {
79 mEventDetector.startDetecting(channel.frequency, channel.modulation);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DOpenWnnClauseConverterJAJP.java28 /** Score(frequency value) of word in the learning dictionary */
30 /** Score(frequency value) of word in the user dictionary */
178 if (sentence[idx].frequency > sentence[start-1].frequency + CLAUSE_COST + FREQ_LEARN) {
183 if (sentence[idx].frequency > CLAUSE_COST + FREQ_LEARN) {
213 ws.frequency += CLAUSE_COST;
216 if (sentence[idx] == null || (sentence[idx].frequency < ws.frequency)) {
295 if (all || stem.frequency > max) {
301 max = stem.frequency;
[all...]
/packages/apps/TV/usbtuner/src/com/android/usbtuner/data/
H A DTunerChannel.java96 mProto.frequency = INVALID_FREQUENCY;
184 return mProto.frequency;
253 public void setFrequency(int frequency) { argument
254 mProto.frequency = frequency;
338 mProto.frequency, mProto.programNumber);
344 // In the same frequency, the program number acts as the sub-channel number.
/packages/apps/TV/usbtuner/jni/
H A DDvbManager.h58 const int frequency, const char *modulationStr, int timeout_ms);
H A Dtunertvinput_jni.cpp57 (JNIEnv *env, jobject thiz, jlong deviceId, jint frequency, jstring modulation, jint timeout_ms) {
67 frequency, env->GetStringUTFChars(modulation, 0), timeout_ms);
56 Java_com_android_usbtuner_TunerHal_nativeTune(JNIEnv *env, jobject thiz, jlong deviceId, jint frequency, jstring modulation, jint timeout_ms) argument
H A DDvbManager.cpp70 const int frequency, const char *modulationStr, int timeout_ms) {
75 feParams.frequency = frequency;
69 tune(JNIEnv *env, jobject thiz, const int frequency, const char *modulationStr, int timeout_ms) argument
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DDictionaryBackupAgent.java167 int frequency = cursor.getInt(COLUMN_FREQUENCY);
173 String out = name + SEPARATOR + frequency + SEPARATOR + locale + SEPARATOR + appId
226 final String frequency = st.nextToken();
235 int frequencyInt = Integer.parseInt(frequency);
243 // Also, word and frequency are never supposed to be empty or null, but better
247 || TextUtils.isEmpty(frequency) || TextUtils.isEmpty(word)) {
/packages/apps/TV/usbtuner/proto/
H A Dchannel.proto29 optional int32 frequency = 4;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DExpandableBinaryDictionary.java297 public void addUnigramEntry(final String word, final int frequency, argument
302 addUnigramLocked(word, frequency, isNotAWord, isPossiblyOffensive, timestamp);
307 protected void addUnigramLocked(final String word, final int frequency, argument
309 if (!mBinaryDictionary.addUnigramEntry(word, frequency,
341 final int frequency, final int timestamp) {
350 addNgramEntryLocked(ngramContext, word, frequency, timestamp);
356 final int frequency, final int timestamp) {
357 if (!mBinaryDictionary.addNgramEntry(ngramContext, word, frequency, timestamp)) {
340 addNgramEntry(@onnull final NgramContext ngramContext, final String word, final int frequency, final int timestamp) argument
355 addNgramEntryLocked(@onnull final NgramContext ngramContext, final String word, final int frequency, final int timestamp) argument
H A DUserBinaryDictionary.java185 // The default frequency for the user dictionary is 250 for historical reasons.
186 // Latin IME considers a good value for the default user dictionary frequency
203 final int frequency = cursor.getInt(indexFrequency);
204 final int adjustedFrequency = scaleFrequencyFromDefaultToLatinIme(frequency);
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
H A DEventDetector.java198 public void startDetecting(int frequency, String modulation) { argument
200 mFrequency = frequency;
/packages/apps/TV/usbtuner/src/com/android/usbtuner/setup/
H A DScanFragment.java332 int frequency = scanChannel.frequency;
334 Log.i(TAG, "Tuning to " + frequency + " " + modulation);
/packages/apps/Settings/src/com/android/settings/applications/
H A DProcessStatsDetail.java72 private static final String KEY_FREQUENCY = "frequency";
196 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration
198 findPreference(KEY_FREQUENCY).setSummary(frequency);
255 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration
258 getString(R.string.memory_use_running_format, memoryString, frequency));
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiConfigController.java309 final int frequency = info.getFrequency();
312 if (frequency >= AccessPoint.LOWER_FREQ_24GHZ
313 && frequency < AccessPoint.HIGHER_FREQ_24GHZ) {
315 } else if (frequency >= AccessPoint.LOWER_FREQ_5GHZ
316 && frequency < AccessPoint.HIGHER_FREQ_5GHZ) {
319 Log.e(TAG, "Unexpected frequency " + frequency);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DPersonalDictionaryLookupTest.java78 * @param frequency the frequency of the word to add
82 private Uri addWord(final String word, final Locale locale, int frequency, String shortcut) { argument
84 UserDictionary.Words.addWord(mContext, word, frequency, shortcut, locale);
/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ...
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 772 milliseconds