HomeSort by relevance Sort by last modified time
    Searched refs:frequency (Results 1 - 25 of 112) sorted by null

1 2 3 4 5

  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
WnnWord.java 32 public int frequency; field in class:WnnWord
60 * @param frequency The score of word
62 public WnnWord(String candidate, String stroke, int frequency) {
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) {
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) {
99 this(id, candidate, stroke, posTag, frequency, 0)
    [all...]
WnnClause.java 32 * @param frequency The frequency of the clause
34 public WnnClause(String candidate, String stroke, WnnPOS posTag, int frequency) {
38 frequency);
52 stem.frequency,
68 stem.frequency,
WnnSentence.java 43 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...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/sun/
SDL_sunaudio.h 42 int frequency; /* The audio frequency in KHz */ member in struct:SDL_PrivateAudioData
53 #define frequency (this->hidden->frequency) macro
  /frameworks/base/core/java/android/provider/
UserDictionary.java 30 * frequency information and locale information.
72 * The frequency column. A value between 1 and 255. Higher values imply higher frequency.
75 public static final String FREQUENCY = "frequency";
97 * Sort by descending order of frequency.
99 public static final String DEFAULT_SORT_ORDER = FREQUENCY + " DESC";
101 /** Adds a word to the dictionary, with the given frequency and the specified
110 int frequency, int localeType) {
117 if (frequency < 0) frequency = 0
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/
ScanResult.java 44 * The frequency in MHz of the channel over which the client is communicating
47 public int frequency; field in class:ScanResult
56 public ScanResult(String SSID, String BSSID, String caps, int level, int frequency) {
61 this.frequency = frequency;
78 append(", frequency: ").
79 append(frequency);
95 dest.writeInt(frequency);
  /external/guava/src/com/google/common/collect/
AbstractMapBasedMultiset.java 117 AtomicInteger frequency = backingMap.get(getElement()); local
118 if (frequency != null) {
119 count = frequency.get();
144 for (AtomicInteger frequency : backingMap.values()) {
145 frequency.set(0);
163 AtomicInteger frequency = backingMap.remove(entry.getElement());
164 int numberRemoved = frequency.getAndSet(0);
214 int frequency = currentEntry.getValue().get();
215 if (frequency <= 0) {
227 AtomicInteger frequency = backingMap.get(element)
    [all...]
  /system/media/opensles/libopensles/
IVibra.c 55 static SLresult IVibra_SetFrequency(SLVibraItf self, SLmilliHertz frequency)
62 } else if (!(d->minFrequency <= frequency && frequency <= d->maxFrequency)) {
67 this->mFrequency = frequency;
85 SLmilliHertz frequency = this->mFrequency; local
87 *pFrequency = frequency;
  /packages/inputmethods/LatinIME/native/src/
dictionary.h 58 void searchForTerminalNode(int address, int frequency);
69 bool addWord(unsigned short *word, int length, int frequency);
70 bool addWordBigram(unsigned short *word, int length, int frequency);
72 void getWordsRec(int pos, int depth, int maxDepth, bool completion, int frequency,
dictionary.cpp 172 Dictionary::addWord(unsigned short *word, int length, int frequency)
178 LOGI("Found word = %s, freq = %d : \n", s, frequency);
184 if (frequency > mFrequencies[insertAt]
185 || (mFrequencies[insertAt] == frequency
195 mFrequencies[insertAt] = frequency;
211 Dictionary::addWordBigram(unsigned short *word, int length, int frequency)
217 LOGI("Bigram: Found word = %s, freq = %d : \n", s, frequency);
223 if (frequency > mBigramFreq[insertAt]
224 || (mBigramFreq[insertAt] == frequency
235 mBigramFreq[insertAt] = frequency;
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
UserDictionary.java 31 Words.FREQUENCY
78 * @param frequency the frequency of occurrence of the word. A frequency of 255 is considered
80 * @TODO use a higher or float range for frequency
83 public synchronized void addWord(String word, int frequency) {
89 super.addWord(word, frequency);
94 values.put(Words.FREQUENCY, frequency);
127 int frequency = cursor.getInt(INDEX_FREQUENCY) local
    [all...]
Dictionary.java 45 * the provided frequency.
49 * @param frequency the frequency of occurence. This is normalized between 1 and 255, but
55 boolean addWord(char[] word, int wordOffset, int wordLength, int frequency, int dicTypeId,
UserBigramDictionary.java 44 /** Maximum frequency for all pairs */
79 /** Name of the frequency table in the database */
80 private static final String FREQ_TABLE_NAME = "frequency";
113 int frequency; field in class:UserBigramDictionary.Bigram
115 Bigram(String word1, String word2, int frequency) {
118 this.frequency = frequency;
226 int frequency = cursor.getInt(frequencyIndex); local
230 super.setBigram(word1, word2, frequency);
246 // main INNER JOIN frequency ON (main._id=freq.pair_id
    [all...]
AutoDictionary.java 45 // frequency.
70 /** Sort by descending order of frequency. */
102 final int frequency = getWordFrequency(word); local
103 return frequency >= VALIDITY_THRESHOLD;
126 int frequency = cursor.getInt(frequencyIndex); local
130 super.addWord(word, frequency);
159 // Write a null frequency if it is to be deleted from the db
251 private ContentValues getContentValues(String word, int frequency, String locale) {
254 values.put(COLUMN_FREQUENCY, frequency);
  /external/qemu/distrib/sdl-1.2.12/src/audio/mint/
SDL_mintaudio.c 89 /* Add a new frequency/clock/predivisor to the current list */
90 void SDL_MintAudio_AddFrequency(_THIS, Uint32 frequency, Uint32 clock,
99 /* Search where to insert the frequency (highest first) */
101 if (frequency > MINTAUDIO_frequencies[p].frequency) {
114 MINTAUDIO_frequencies[p].frequency = frequency;
122 /* Search for the nearest frequency */
134 if (desired_freq >= ((MINTAUDIO_frequencies[i].frequency+
135 MINTAUDIO_frequencies[i+1].frequency)>>1))
    [all...]
SDL_mintaudio.h 43 Uint32 frequency; member in struct:__anon5850
52 int numfreq; /* Number of selected frequency */
136 void SDL_MintAudio_AddFrequency(_THIS, Uint32 frequency, Uint32 clock,
SDL_mintaudio_stfa.h 89 unsigned short frequency; member in struct:__anon5857
  /external/bluetooth/bluez/sbc/
sbcdec.c 54 int format = AFMT_S16_BE, frequency, channels; local
106 switch (sbc.frequency) {
108 frequency = 16000;
112 frequency = 32000;
116 frequency = 44100;
120 frequency = 48000;
123 frequency = 0;
129 filename, frequency, sbc.subbands * 4 + 4, sbc.bitpool,
143 au_hdr.sample_rate = BE_INT(frequency);
164 if (ioctl(ad, SNDCTL_DSP_SPEED, &frequency) < 0)
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
UserDictionary_WordsTest.java 43 UserDictionary.Words.FREQUENCY,
80 int frequency = 1; local
81 UserDictionary.Words.addWord(getContext(), word, frequency, local
90 assertEquals(frequency, cursor.getInt(FREQUENCY_INDEX));
  /external/bluetooth/bluez/audio/
a2dp.h 75 uint8_t frequency:4; member in struct:sbc_codec_cap
88 uint8_t frequency:6; member in struct:mpeg_codec_cap
98 uint8_t frequency:4; member in struct:sbc_codec_cap
114 uint8_t frequency:6; member in struct:mpeg_codec_cap
  /external/qemu/distrib/sdl-1.2.12/src/audio/
SDL_wave.h 50 Uint32 frequency; /* One of 11025, 22050, or 44100 Hz */ member in struct:WaveFMT
  /libcore/luni/src/main/java/org/apache/xml/dtm/ref/
IncrementalSAXSource_Filter.java 84 private int frequency=5; field in class:IncrementalSAXSource_Filter
134 eventcounter=frequency;
199 frequency=eventcounter=events;
227 eventcounter=frequency;
249 eventcounter=frequency;
260 eventcounter=frequency;
271 eventcounter=frequency;
282 eventcounter=frequency;
293 eventcounter=frequency;
304 eventcounter=frequency;
    [all...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
OpenWnnClauseConverterJAJP.java 28 /** 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...]
  /external/chromium/sdch/open-vcdiff/src/
testing.h 107 LARGE_INTEGER frequency;
108 QueryPerformanceFrequency(&frequency); // counts per second
109 usecs_per_count_ = 1000000.0 / static_cast<double>(frequency.QuadPart);
  /external/chromium/base/
time_win_unittest.cc 154 LARGE_INTEGER frequency; local
155 BOOL rv = QueryPerformanceFrequency(&frequency);
157 EXPECT_GT(frequency.QuadPart, 1000000); // Expect at least 1MHz
159 frequency.QuadPart / 1000000.0);

Completed in 736 milliseconds

1 2 3 4 5