Lines Matching refs:out
34 bool parse(const String8& str, ConfigDescription* out) { in parse() argument
242 if (out != NULL) { in parse()
244 *out = config; in parse()
299 bool parseMcc(const char* name, ResTable_config* out) { in parseMcc() argument
301 if (out) out->mcc = 0; in parseMcc()
322 if (out) out->mcc = d; in parseMcc()
329 bool parseMnc(const char* name, ResTable_config* out) { in parseMnc() argument
331 if (out) out->mcc = 0; in parseMnc()
350 if (out) { in parseMnc()
351 out->mnc = atoi(val); in parseMnc()
352 if (out->mnc == 0) { in parseMnc()
353 out->mnc = ACONFIGURATION_MNC_ZERO; in parseMnc()
360 bool parseLayoutDirection(const char* name, ResTable_config* out) { in parseLayoutDirection() argument
362 if (out) out->screenLayout = in parseLayoutDirection()
363 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in parseLayoutDirection()
367 if (out) out->screenLayout = in parseLayoutDirection()
368 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in parseLayoutDirection()
372 if (out) out->screenLayout = in parseLayoutDirection()
373 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in parseLayoutDirection()
381 bool parseScreenLayoutSize(const char* name, ResTable_config* out) { in parseScreenLayoutSize() argument
383 if (out) out->screenLayout = in parseScreenLayoutSize()
384 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE) in parseScreenLayoutSize()
388 if (out) out->screenLayout = in parseScreenLayoutSize()
389 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE) in parseScreenLayoutSize()
393 if (out) out->screenLayout = in parseScreenLayoutSize()
394 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE) in parseScreenLayoutSize()
398 if (out) out->screenLayout = in parseScreenLayoutSize()
399 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE) in parseScreenLayoutSize()
403 if (out) out->screenLayout = in parseScreenLayoutSize()
404 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE) in parseScreenLayoutSize()
412 bool parseScreenLayoutLong(const char* name, ResTable_config* out) { in parseScreenLayoutLong() argument
414 if (out) out->screenLayout = in parseScreenLayoutLong()
415 (out->screenLayout&~ResTable_config::MASK_SCREENLONG) in parseScreenLayoutLong()
419 if (out) out->screenLayout = in parseScreenLayoutLong()
420 (out->screenLayout&~ResTable_config::MASK_SCREENLONG) in parseScreenLayoutLong()
424 if (out) out->screenLayout = in parseScreenLayoutLong()
425 (out->screenLayout&~ResTable_config::MASK_SCREENLONG) in parseScreenLayoutLong()
432 bool parseScreenRound(const char* name, ResTable_config* out) { in parseScreenRound() argument
434 if (out) out->screenLayout2 = in parseScreenRound()
435 (out->screenLayout2&~ResTable_config::MASK_SCREENROUND) in parseScreenRound()
439 if (out) out->screenLayout2 = in parseScreenRound()
440 (out->screenLayout2&~ResTable_config::MASK_SCREENROUND) in parseScreenRound()
444 if (out) out->screenLayout2 = in parseScreenRound()
445 (out->screenLayout2&~ResTable_config::MASK_SCREENROUND) in parseScreenRound()
452 bool parseWideColorGamut(const char* name, ResTable_config* out) { in parseWideColorGamut() argument
454 if (out) out->colorMode = in parseWideColorGamut()
455 (out->colorMode&~ResTable_config::MASK_WIDE_COLOR_GAMUT) in parseWideColorGamut()
459 if (out) out->colorMode = in parseWideColorGamut()
460 (out->colorMode&~ResTable_config::MASK_WIDE_COLOR_GAMUT) in parseWideColorGamut()
464 if (out) out->colorMode = in parseWideColorGamut()
465 (out->colorMode&~ResTable_config::MASK_WIDE_COLOR_GAMUT) in parseWideColorGamut()
472 bool parseHdr(const char* name, ResTable_config* out) { in parseHdr() argument
474 if (out) out->colorMode = in parseHdr()
475 (out->colorMode&~ResTable_config::MASK_HDR) in parseHdr()
479 if (out) out->colorMode = in parseHdr()
480 (out->colorMode&~ResTable_config::MASK_HDR) in parseHdr()
484 if (out) out->colorMode = in parseHdr()
485 (out->colorMode&~ResTable_config::MASK_HDR) in parseHdr()
492 bool parseOrientation(const char* name, ResTable_config* out) { in parseOrientation() argument
494 if (out) out->orientation = out->ORIENTATION_ANY; in parseOrientation()
497 if (out) out->orientation = out->ORIENTATION_PORT; in parseOrientation()
500 if (out) out->orientation = out->ORIENTATION_LAND; in parseOrientation()
503 if (out) out->orientation = out->ORIENTATION_SQUARE; in parseOrientation()
510 bool parseUiModeType(const char* name, ResTable_config* out) { in parseUiModeType() argument
512 if (out) out->uiMode = in parseUiModeType()
513 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) in parseUiModeType()
517 if (out) out->uiMode = in parseUiModeType()
518 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) in parseUiModeType()
522 if (out) out->uiMode = in parseUiModeType()
523 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) in parseUiModeType()
527 if (out) out->uiMode = in parseUiModeType()
528 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) in parseUiModeType()
532 if (out) out->uiMode = in parseUiModeType()
533 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) in parseUiModeType()
537 if (out) out->uiMode = in parseUiModeType()
538 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) in parseUiModeType()
542 if (out) out->uiMode = in parseUiModeType()
543 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) in parseUiModeType()
551 bool parseUiModeNight(const char* name, ResTable_config* out) { in parseUiModeNight() argument
553 if (out) out->uiMode = in parseUiModeNight()
554 (out->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT) in parseUiModeNight()
558 if (out) out->uiMode = in parseUiModeNight()
559 (out->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT) in parseUiModeNight()
563 if (out) out->uiMode = in parseUiModeNight()
564 (out->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT) in parseUiModeNight()
572 bool parseDensity(const char* name, ResTable_config* out) { in parseDensity() argument
574 if (out) out->density = ResTable_config::DENSITY_DEFAULT; in parseDensity()
579 if (out) out->density = ResTable_config::DENSITY_ANY; in parseDensity()
584 if (out) out->density = ResTable_config::DENSITY_NONE; in parseDensity()
589 if (out) out->density = ResTable_config::DENSITY_LOW; in parseDensity()
594 if (out) out->density = ResTable_config::DENSITY_MEDIUM; in parseDensity()
599 if (out) out->density = ResTable_config::DENSITY_TV; in parseDensity()
604 if (out) out->density = ResTable_config::DENSITY_HIGH; in parseDensity()
609 if (out) out->density = ResTable_config::DENSITY_XHIGH; in parseDensity()
614 if (out) out->density = ResTable_config::DENSITY_XXHIGH; in parseDensity()
619 if (out) out->density = ResTable_config::DENSITY_XXXHIGH; in parseDensity()
645 if (out) out->density = d; in parseDensity()
652 bool parseTouchscreen(const char* name, ResTable_config* out) { in parseTouchscreen() argument
654 if (out) out->touchscreen = out->TOUCHSCREEN_ANY; in parseTouchscreen()
657 if (out) out->touchscreen = out->TOUCHSCREEN_NOTOUCH; in parseTouchscreen()
660 if (out) out->touchscreen = out->TOUCHSCREEN_STYLUS; in parseTouchscreen()
663 if (out) out->touchscreen = out->TOUCHSCREEN_FINGER; in parseTouchscreen()
670 bool parseKeysHidden(const char* name, ResTable_config* out) { in parseKeysHidden() argument
688 if (out) out->inputFlags = (out->inputFlags&~mask) | value; in parseKeysHidden()
695 bool parseKeyboard(const char* name, ResTable_config* out) { in parseKeyboard() argument
697 if (out) out->keyboard = out->KEYBOARD_ANY; in parseKeyboard()
700 if (out) out->keyboard = out->KEYBOARD_NOKEYS; in parseKeyboard()
703 if (out) out->keyboard = out->KEYBOARD_QWERTY; in parseKeyboard()
706 if (out) out->keyboard = out->KEYBOARD_12KEY; in parseKeyboard()
713 bool parseNavHidden(const char* name, ResTable_config* out) { in parseNavHidden() argument
728 if (out) out->inputFlags = (out->inputFlags&~mask) | value; in parseNavHidden()
735 bool parseNavigation(const char* name, ResTable_config* out) { in parseNavigation() argument
737 if (out) out->navigation = out->NAVIGATION_ANY; in parseNavigation()
740 if (out) out->navigation = out->NAVIGATION_NONAV; in parseNavigation()
743 if (out) out->navigation = out->NAVIGATION_DPAD; in parseNavigation()
746 if (out) out->navigation = out->NAVIGATION_TRACKBALL; in parseNavigation()
749 if (out) out->navigation = out->NAVIGATION_WHEEL; in parseNavigation()
756 bool parseScreenSize(const char* name, ResTable_config* out) { in parseScreenSize() argument
758 if (out) { in parseScreenSize()
759 out->screenWidth = out->SCREENWIDTH_ANY; in parseScreenSize()
760 out->screenHeight = out->SCREENHEIGHT_ANY; in parseScreenSize()
782 if (out) { in parseScreenSize()
783 out->screenWidth = w; in parseScreenSize()
784 out->screenHeight = h; in parseScreenSize()
790 bool parseSmallestScreenWidthDp(const char* name, ResTable_config* out) { in parseSmallestScreenWidthDp() argument
792 if (out) { in parseSmallestScreenWidthDp()
793 out->smallestScreenWidthDp = out->SCREENWIDTH_ANY; in parseSmallestScreenWidthDp()
807 if (out) { in parseSmallestScreenWidthDp()
808 out->smallestScreenWidthDp = (uint16_t)atoi(xName.string()); in parseSmallestScreenWidthDp()
814 bool parseScreenWidthDp(const char* name, ResTable_config* out) { in parseScreenWidthDp() argument
816 if (out) { in parseScreenWidthDp()
817 out->screenWidthDp = out->SCREENWIDTH_ANY; in parseScreenWidthDp()
829 if (out) { in parseScreenWidthDp()
830 out->screenWidthDp = (uint16_t)atoi(xName.string()); in parseScreenWidthDp()
836 bool parseScreenHeightDp(const char* name, ResTable_config* out) { in parseScreenHeightDp() argument
838 if (out) { in parseScreenHeightDp()
839 out->screenHeightDp = out->SCREENWIDTH_ANY; in parseScreenHeightDp()
851 if (out) { in parseScreenHeightDp()
852 out->screenHeightDp = (uint16_t)atoi(xName.string()); in parseScreenHeightDp()
858 bool parseVersion(const char* name, ResTable_config* out) { in parseVersion() argument
860 if (out) { in parseVersion()
861 out->sdkVersion = out->SDKVERSION_ANY; in parseVersion()
862 out->minorVersion = out->MINORVERSION_ANY; in parseVersion()
877 if (out) { in parseVersion()
878 out->sdkVersion = (uint16_t)atoi(sdkName.string()); in parseVersion()
879 out->minorVersion = 0; in parseVersion()