Searched refs:ch (Results 26 - 50 of 109) sorted by relevance

12345

/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
H A DStringUtils.java60 char ch = string.charAt(0);
61 if (Character.isTitleCase(ch)) {
64 return Character.toTitleCase(ch) + string.substring(1);
/frameworks/minikin/include/minikin/
H A DFontCollection.h65 FontFamily* getFamilyForChar(uint32_t ch, uint32_t vs, uint32_t langListId, int variant) const;
67 uint32_t calcFamilyScore(uint32_t ch, uint32_t vs, int variant, uint32_t langListId,
70 uint32_t calcCoverageScore(uint32_t ch, uint32_t vs, FontFamily* fontFamily) const;
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_get_scale_factors.cpp41 int32 ch, channel
135 int32 ch,
141 granuleInfo *gr_info = &(si->ch[ch].gran[gr]);
194 if ((si->ch[ch].scfsi[i] == 0) || (gr == 0))
132 pvmp3_get_scale_factors(mp3ScaleFactors *scalefac, mp3SideInfo *si, int32 gr, int32 ch, tmp3Bits *pMainData) argument
/frameworks/av/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp208 for (int ch = 0; ch < mNumChannels; ++ch) {
210 audio_sample_t x1 = mDelays[ch][0];
211 audio_sample_t x2 = mDelays[ch][1];
212 audio_sample_t y1 = mDelays[ch][2];
213 audio_sample_t y2 = mDelays[ch][3];
231 mDelays[ch][0] = x1;
232 mDelays[ch][1] = x2;
233 mDelays[ch][
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
H A DMIMEContainer.java312 char ch = text.charAt(n);
313 if (ch > 127) {
314 throw new IOException("Bad codepoint " + (int)ch + " in quoted printable @ " + line);
316 if (ch == '=' && n < text.length() - 2) {
324 sb.append(ch);
328 sb.append(ch);
334 private static int fromStrictHex(char ch) { argument
335 if (ch >= '0' && ch <= '9') {
336 return ch
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dstat_bits.c185 Word32 ch; local
229 for(ch=0; ch<2; ch++)
230 statBits += countTnsBits(&(psyOutChannel[ch].tnsInfo),
231 psyOutChannel[ch].windowSequence);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DLensShadingMap.java258 for (int ch = 0; ch < COUNT; ch++) {
259 str.append(channelPrefix[ch]);
264 float gain = getGainFactor(ch, c, r);
277 if (ch < COUNT - 1) {
/frameworks/minikin/libs/minikin/
H A DFontCollection.cpp166 uint32_t FontCollection::calcFamilyScore(uint32_t ch, uint32_t vs, int variant, uint32_t langListId, argument
169 const uint32_t coverageScore = calcCoverageScore(ch, vs, fontFamily);
194 uint32_t FontCollection::calcCoverageScore(uint32_t ch, uint32_t vs, FontFamily* fontFamily) const { argument
195 const bool hasVSGlyph = (vs != 0) && fontFamily->hasGlyph(ch, vs);
196 if (!hasVSGlyph && !fontFamily->getCoverage()->get(ch)) {
275 FontFamily* FontCollection::getFamilyForChar(uint32_t ch, uint32_t vs, argument
277 if (ch >= mMaxChar) {
282 Range range = mRanges[ch >> kLogCharsPerPage];
306 const uint32_t score = calcFamilyScore(ch, vs, variant, langListId, family);
322 int len = unorm2_getRawDecomposition(normalizer, ch, decompose
408 const uint32_t ch = nextCh; local
[all...]
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java270 char ch = text.charAt(nextChar++);
271 switch (ch) {
278 default: buf.append(ch); break;
372 char ch = text.charAt(index);
373 if ((ch != '.') && !isDomainChar(ch)) {
390 char ch = text.charAt(index + 1);
391 if (Character.isDigit(ch)) {
409 char ch = text.charAt(index);
410 if (ch
628 isPunctuation(char ch) argument
643 isFormatChar(char ch) argument
1178 private char ch; field in class:AbstractMessageParser.Format
1182 Format(char ch, boolean start) argument
1213 getFormatStart(char ch) argument
1223 getFormatEnd(char ch) argument
1354 getChild(char ch) argument
1358 getOrCreateChild(char ch) argument
[all...]
/frameworks/minikin/tools/
H A Dmk_hyb_file.py435 chs = [ch for ch in alphabet_map if alphabet_map[ch] == val]
437 lowercase = [ch for ch in chs if not ch.isupper()]
438 uppercase = [ch for ch in chs if not ch.islower()]
490 for ch i
[all...]
/frameworks/compile/mclinker/lib/Script/
H A DScriptScanner.ll302 int ch = 0;
305 ch = yyinput();
308 while (ch != '*' && ch != EOF) {
309 if (ch == '\n') {
313 ch = yyinput();
317 if (ch == '*') {
318 ch = yyinput();
321 while (ch == '*') {
322 ch
[all...]
/frameworks/base/core/java/android/text/
H A DAndroidBidi.java84 char ch = chars[cstart + visLen];
86 if (ch == '\n') {
91 if (ch != ' ' && ch != '\t') {
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DOMAParser.java66 public void characters(char[] ch, int start, int length) throws SAXException { argument
67 mCurrent.addText(ch, start, length);
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DXMLParser.java68 public void characters(char[] ch, int start, int length) throws SAXException { argument
69 mCurrent.addText(ch, start, length);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
H A DOMAParser.java71 public void characters(char[] ch, int start, int length) throws SAXException { argument
72 mCurrent.addText(ch, start, length);
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneFilterTypeAdapter.java353 char ch = str.charAt(idx++);
354 switch (ch) {
364 ch = str.charAt(idx++);
368 if (!Character.isDigit(ch)) {
374 num = Character.digit(ch, 10);
378 ch = str.charAt(idx++);
379 if (Character.isDigit(ch)) {
381 num = 10 * num + Character.digit(ch, 10);
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp213 char chStart, ch; local
226 in >> ch; local
227 if (!in || (ch != ',')) { return rect; }
232 in >> ch; local
233 if (!in || (ch != ',')) { return rect; }
238 in >> ch; local
239 if (!in || (ch != ',')) { return rect; }
246 in >> ch; local
248 if (((chStart == '<') && (ch != '>'))
249 || ((chStart == '[') && (ch !
264 char chStart, ch; local
279 in >> ch; local
288 in >> ch; local
308 char chStart, ch; local
323 in >> ch; local
330 in >> ch; local
339 in >> ch; local
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardParserImpl_V21.java377 final char ch = line.charAt(i);
380 if (ch == ':') { // End of a property name.
385 } else if (ch == '.') { // Each group is followed by the dot.
393 } else if (ch == ';') { // End of property name and beginneng of parameters.
403 if (ch == '"') {
409 } else if (ch == ';') { // Starts another param.
412 } else if (ch == ':') { // End of param and beginenning of values.
420 if (ch == '"') {
555 private boolean isAsciiLetter(char ch) { argument
556 if ((ch >
938 maybeUnescapeCharacter(final char ch) argument
942 unescapeCharacter(final char ch) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DLoggingPrintStream.java203 public synchronized void print(char ch) { argument
204 builder.append(ch);
205 if (ch == '\n') {
259 public synchronized void println(char ch) { argument
260 builder.append(ch);
/frameworks/base/core/jni/
H A Dandroid_os_SystemProperties.cpp143 char ch = buf[0]; local
144 if (ch == '0' || ch == 'n')
146 else if (ch == '1' || ch == 'y')
/frameworks/av/cmds/stagefright/
H A Daudioloop.cpp57 int ch; local
58 while ((ch = getopt(argc, argv, "d:mw")) != -1) {
59 switch (ch) {
/frameworks/av/tools/resampler_tools/
H A Dfir.cpp162 int ch; local
163 while ((ch = getopt(argc, argv, ":hds:c:n:f:l:m:b:p:v:z:D")) != -1) {
164 switch (ch) {
/frameworks/base/core/tests/coretests/src/android/text/method/
H A DEditorState.java92 final char ch = token.charAt(1);
93 if (!isGraphicAscii(ch)) {
96 "Use U+" + Integer.toHexString(ch).toUpperCase() + " instead");
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaTestUtil.java91 int ch;
96 while ((ch = in.read()) != -1) {
97 sb.append((char) ch);
/frameworks/base/tools/fonts/
H A Dfontchain_lint.py68 return '<' + (', '.join([printable(ch) for ch in inp])) + '>'
358 sequence = [int(ch, 16) for ch in chars.split(' ')]
431 return tuple(0x1F1E6 + ord(ch) - ord('A') for ch in territory_code)
493 sequence = tuple(ch for ch in sequence if ch != EMOJI_VS)
498 sequence = tuple(ch fo
[all...]

Completed in 593 milliseconds

12345