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

12

/frameworks/minikin/libs/minikin/
H A DLineBreaker.cpp25 HyphenationFrequency frequency, bool justified,
30 frequency != HyphenationFrequency::None);
32 return breakLineOptimal(textBuffer, measuredText, lineWidth, strategy, frequency,
24 breakIntoLines(const U16StringPiece& textBuffer, BreakStrategy strategy, HyphenationFrequency frequency, bool justified, const MeasuredText& measuredText, const LineWidth& lineWidth, const TabStops& tabStops) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/
H A DChannelSettings.java33 public int frequency; field in class:ChannelSettings
49 return frequency == channel.frequency;
55 return Objects.hash(frequency);
70 out.writeInt(frequency);
82 result.frequency = in.readInt();
H A DNativeScanResult.java36 public int frequency; field in class:NativeScanResult
51 frequency = source.frequency;
70 out.writeInt(frequency);
93 result.frequency = in.readInt();
/frameworks/wilhelm/src/itf/
H A DIVibra.cpp55 static SLresult IVibra_SetFrequency(SLVibraItf self, SLmilliHertz frequency) argument
62 } else if (!(d->minFrequency <= frequency && frequency <= d->maxFrequency)) {
67 thiz->mFrequency = frequency;
85 SLmilliHertz frequency = thiz->mFrequency; local
87 *pFrequency = frequency;
H A DIEqualizer.cpp289 static SLresult IEqualizer_GetBand(SLEqualizerItf self, SLmilliHertz frequency, SLuint16 *pBand) argument
298 // search for band whose center frequency has the closest ratio to 1.0
303 float floatFreq = (float) frequency;
307 if (!(band->mMin <= frequency && frequency <= band->mMax))
311 float ratio = frequency <= band->mCenter ?
327 android_eq_getParam(thiz->mEqEffect, EQ_PARAM_GET_BAND, frequency, &band);
/frameworks/base/core/java/android/provider/
H A DUserDictionary.java30 * frequency information and locale information.
78 * The frequency column. A value between 1 and 255. Higher values imply higher frequency.
81 public static final String FREQUENCY = "frequency";
115 * Sort by descending order of frequency.
119 /** Adds a word to the dictionary, with the given frequency and the specified
133 int frequency, int localeType) {
147 addWord(context, word, frequency, null, locale);
150 /** Adds a word to the dictionary, with the given frequency and the specified
162 int frequency, Strin
132 addWord(Context context, String word, int frequency, int localeType) argument
161 addWord(Context context, String word, int frequency, String shortcut, Locale locale) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DApConfigUtil.java46 * Convert frequency to channel.
47 * @param frequency frequency to convert
48 * @return channel number associated with given frequency, -1 if no match
50 public static int convertFrequencyToChannel(int frequency) { argument
51 if (frequency >= 2412 && frequency <= 2472) {
52 return (frequency - 2412) / 5 + 1;
53 } else if (frequency == 2484) {
55 } else if (frequency >
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWakeupEvaluatorTest.java56 private ScanResult makeScanResult(String ssid, int frequency, int level) { argument
59 scanResult.frequency = frequency;
H A DScoringParamsTest.java71 private void checkThresholds(int frequency) { argument
72 assertTrue(-127 < mScoringParams.getExitRssi(frequency));
73 assertTrue(mScoringParams.getExitRssi(frequency)
74 <= mScoringParams.getEntryRssi(frequency));
75 assertTrue(mScoringParams.getEntryRssi(frequency)
76 <= mScoringParams.getSufficientRssi(frequency));
77 assertTrue(mScoringParams.getSufficientRssi(frequency)
78 <= mScoringParams.getGoodRssi(frequency));
79 assertTrue(mScoringParams.getGoodRssi(frequency) < 0);
H A DWakeupControllerTest.java103 mTestScanResult.frequency = 2412;
149 private ScanResult createOpenScanResult(String ssid, int frequency) { argument
153 scanResult.frequency = frequency;
320 ScanResult savedScanResult = createOpenScanResult(ssid1, 2412 /* frequency */);
321 ScanResult unsavedScanResult = createOpenScanResult(ssid2, 2412 /* frequency */);
357 ScanResult scanResult24 = createOpenScanResult(ssid24, 2412 /* frequency */);
439 mTestScanResult.frequency = DFS_CHANNEL_FREQ;
/frameworks/av/media/libaaudio/examples/utils/
H A DSineGenerator.h28 void setup(double frequency, double frameRate) { argument
30 mPhaseIncrement = frequency * M_PI * 2 / frameRate;
/frameworks/base/apct-tests/perftests/core/src/android/text/
H A DStaticLayoutPerfTest.java72 int frequency) {
74 .setHyphenationFrequency(frequency).setBreakStrategy(strategy).build();
71 makeMeasured(CharSequence text, TextPaint paint, int strategy, int frequency) argument
/frameworks/minikin/include/minikin/
H A DAndroidLineBreakerHelper.h85 StaticLayoutNative(BreakStrategy strategy, HyphenationFrequency frequency, bool isJustified, argument
89 mFrequency(frequency),
/frameworks/minikin/tests/unittest/
H A DOptimalLineBreakerTest.cpp60 HyphenationFrequency frequency, float charWidth, float lineWidth) {
61 return doLineBreak(textBuffer, strategy, frequency, charWidth, "en-US", lineWidth);
65 HyphenationFrequency frequency, float charWidth,
71 return doLineBreak(textBuffer, *measuredText, strategy, frequency, lineWidth);
75 BreakStrategy strategy, HyphenationFrequency frequency,
78 return breakLineOptimal(textBuffer, measuredText, rectangleLineWidth, strategy, frequency,
59 doLineBreak(const U16StringPiece& textBuffer, BreakStrategy strategy, HyphenationFrequency frequency, float charWidth, float lineWidth) argument
64 doLineBreak(const U16StringPiece& textBuffer, BreakStrategy strategy, HyphenationFrequency frequency, float charWidth, const std::string& lang, float lineWidth) argument
74 doLineBreak(const U16StringPiece& textBuffer, const MeasuredText& measuredText, BreakStrategy strategy, HyphenationFrequency frequency, float lineWidth) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DScanDetail.java43 String caps, int level, int frequency, long tsf,
48 caps, level, frequency, tsf);
64 public ScanDetail(WifiSsid wifiSsid, String bssid, String caps, int level, int frequency, argument
67 mScanResult = new ScanResult(wifiSsid, bssid, 0L, -1, null, caps, level, frequency, tsf);
42 ScanDetail(NetworkDetail networkDetail, WifiSsid wifiSsid, String bssid, String caps, int level, int frequency, long tsf, ScanResult.InformationElement[] informationElements, List<String> anqpLines) argument
H A DScoringParams.java377 private int[] getRssiArray(int frequency) { argument
378 if (frequency < MINIMUM_5GHZ_BAND_FREQUENCY_IN_MEGAHERTZ) {
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
H A DBNNMTest.java88 private void addByteNoise(byte[] data, int count, float frequency, int maxDelta) { argument
91 if (rand.nextFloat() < frequency) {
120 // and we can't get good results if the frequency of small differences is
124 // results at a 3% specified frequency, the test should fail:
/frameworks/base/libs/common_time/
H A Dclock_recovery.cpp108 void ClockRecoveryLoop::reset(bool position, bool frequency) { argument
110 reset_l(position, frequency);
307 void ClockRecoveryLoop::reset_l(bool position, bool frequency) {
315 if (frequency) {
/frameworks/base/media/java/android/media/audiofx/
H A DEqualizer.java26 * An Equalizer is used to alter the frequency response of a particular music source or of the main
30 * precise control of the gain in each frequency band controlled by the equalizer.
61 * Band center frequency. Parameter ID for OnParameterChangeListener
65 * Band frequency range. Parameter ID for
70 * Band for a given frequency. Parameter ID for OnParameterChangeListener
169 * Gets the number of frequency bands supported by the Equalizer engine.
206 * @param band frequency band that will have the new gain. The numbering of the bands starts
228 * @param band frequency band whose gain is requested. The numbering of the bands starts
249 * Gets the center frequency of the given band.
250 * @param band frequency ban
298 getBand(int frequency) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/rtt/
H A DResponderConfig.java157 * The primary 20 MHz frequency (in MHz) of the channel of the Responder.
159 public final int frequency; field in class:ResponderConfig
163 * this is the center frequency (in MHz), if the Responder uses 80 + 80 MHz, this is the
164 * center frequency of the first segment (in MHz).
170 * this is the center frequency of the second segment (in MHz).
187 * @param frequency The primary 20 MHz frequency (in MHz) of the channel of the Responder.
189 * 40, 80 or 160 MHz, this is the center frequency (in MHz), if the
190 * Responder uses 80 + 80 MHz, this is the center frequency of the first
194 * uses 80 + 80 MHz, this is the center frequency o
200 ResponderConfig(@onNull MacAddress macAddress, @ResponderType int responderType, boolean supports80211mc, @ChannelWidth int channelWidth, int frequency, int centerFreq0, int centerFreq1, @PreambleType int preamble) argument
239 ResponderConfig(@onNull PeerHandle peerHandle, @ResponderType int responderType, boolean supports80211mc, @ChannelWidth int channelWidth, int frequency, int centerFreq0, int centerFreq1, @PreambleType int preamble) argument
277 ResponderConfig(@onNull MacAddress macAddress, @NonNull PeerHandle peerHandle, @ResponderType int responderType, boolean supports80211mc, @ChannelWidth int channelWidth, int frequency, int centerFreq0, int centerFreq1, @PreambleType int preamble) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceCallback.java250 * @param frequency Frequency on which this group is created.
257 int frequency, byte[] psk, String passphrase, byte[] goDeviceAddress,
256 onGroupStarted(String groupIfName, boolean isGo, ArrayList<Byte> ssid, int frequency, byte[] psk, String passphrase, byte[] goDeviceAddress, boolean isPersistent) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DKnownBandsChannelHelper.java93 private boolean isDfsChannel(int frequency) { argument
96 if (frequency == dfsChannel.frequency) {
104 private int getBandFromChannel(int frequency) { argument
105 if (2400 <= frequency && frequency < 2500) {
107 } else if (isDfsChannel(frequency)) {
109 } else if (5100 <= frequency && frequency < 6000) {
125 if (settingsChannels[i].frequency
153 addChannel(int frequency) argument
[all...]
/frameworks/support/compat/src/main/java/androidx/core/text/
H A DPrecomputedTextCompat.java94 // The hyphenation frequency for this measured text.
136 * Set the hyphenation frequency.
140 * On API 22 and below, this has no effect as there is no hyphenation frequency.
142 * @param frequency the hyphenation frequency
148 public Builder setHyphenationFrequency(int frequency) { argument
149 mHyphenationFrequency = frequency;
182 int strategy, int frequency) {
185 .setHyphenationFrequency(frequency).setTextDirection(textDir).build();
192 mHyphenationFrequency = frequency;
181 Params(@onNull TextPaint paint, @NonNull TextDirectionHeuristic textDir, int strategy, int frequency) argument
[all...]
/frameworks/av/media/libaudioclient/
H A DToneGenerator.cpp1527 unsigned int frequency = mpToneDesc->segments[segmentIdx].waveFreq[freqIdx]; local
1528 while (frequency) {
1529 // Instantiate a wave generator if ot already done for this frequency
1530 if (mWaveGens.indexOfKey(frequency) == NAME_NOT_FOUND) {
1533 frequency,
1535 mWaveGens.add(frequency, lpWaveGen);
1537 frequency = mpNewToneDesc->segments[segmentIdx].waveFreq[++freqIdx];
1649 // frequency: Frequency of the sine wave to generate in Hz
1657 unsigned short frequency, float volume) {
1659 double F_div_Fs; // frequency / samplingRat
1656 WaveGenerator(uint32_t samplingRate, unsigned short frequency, float volume) argument
[all...]
/frameworks/base/core/java/android/text/
H A DPrecomputedText.java92 // The hyphenation frequency for this measured text.
108 // The hyphenation frequency for this measured text.
137 * Set the hyphenation frequency.
141 * @param frequency the hyphenation frequency
146 public Builder setHyphenationFrequency(@Layout.HyphenationFrequency int frequency) { argument
147 mHyphenationFrequency = frequency;
179 @Layout.BreakStrategy int strategy, @Layout.HyphenationFrequency int frequency) {
183 mHyphenationFrequency = frequency;
214 * Returns the hyphenation frequency fo
178 Params(@onNull TextPaint paint, @NonNull TextDirectionHeuristic textDir, @Layout.BreakStrategy int strategy, @Layout.HyphenationFrequency int frequency) argument
223 isSameTextMetricsInternal(@onNull TextPaint paint, @NonNull TextDirectionHeuristic textDir, @Layout.BreakStrategy int strategy, @Layout.HyphenationFrequency int frequency) argument
437 canUseMeasuredResult(@ntRangefrom = 0) int start, @IntRange(from = 0) int end, @NonNull TextDirectionHeuristic textDir, @NonNull TextPaint paint, @Layout.BreakStrategy int strategy, @Layout.HyphenationFrequency int frequency) argument
[all...]

Completed in 841 milliseconds

12