Lines Matching refs:name
299 bool parseMcc(const char* name, ResTable_config* out) { in parseMcc() argument
300 if (strcmp(name, kWildcardName) == 0) { in parseMcc()
304 const char* c = name; in parseMcc()
329 bool parseMnc(const char* name, ResTable_config* out) { in parseMnc() argument
330 if (strcmp(name, kWildcardName) == 0) { in parseMnc()
334 const char* c = name; in parseMnc()
360 bool parseLayoutDirection(const char* name, ResTable_config* out) { in parseLayoutDirection() argument
361 if (strcmp(name, kWildcardName) == 0) { in parseLayoutDirection()
366 } else if (strcmp(name, "ldltr") == 0) { in parseLayoutDirection()
371 } else if (strcmp(name, "ldrtl") == 0) { in parseLayoutDirection()
381 bool parseScreenLayoutSize(const char* name, ResTable_config* out) { in parseScreenLayoutSize() argument
382 if (strcmp(name, kWildcardName) == 0) { in parseScreenLayoutSize()
387 } else if (strcmp(name, "small") == 0) { in parseScreenLayoutSize()
392 } else if (strcmp(name, "normal") == 0) { in parseScreenLayoutSize()
397 } else if (strcmp(name, "large") == 0) { in parseScreenLayoutSize()
402 } else if (strcmp(name, "xlarge") == 0) { in parseScreenLayoutSize()
412 bool parseScreenLayoutLong(const char* name, ResTable_config* out) { in parseScreenLayoutLong() argument
413 if (strcmp(name, kWildcardName) == 0) { in parseScreenLayoutLong()
418 } else if (strcmp(name, "long") == 0) { in parseScreenLayoutLong()
423 } else if (strcmp(name, "notlong") == 0) { in parseScreenLayoutLong()
432 bool parseScreenRound(const char* name, ResTable_config* out) { in parseScreenRound() argument
433 if (strcmp(name, kWildcardName) == 0) { in parseScreenRound()
438 } else if (strcmp(name, "round") == 0) { in parseScreenRound()
443 } else if (strcmp(name, "notround") == 0) { in parseScreenRound()
452 bool parseWideColorGamut(const char* name, ResTable_config* out) { in parseWideColorGamut() argument
453 if (strcmp(name, kWildcardName) == 0) { in parseWideColorGamut()
458 } else if (strcmp(name, "widecg") == 0) { in parseWideColorGamut()
463 } else if (strcmp(name, "nowidecg") == 0) { in parseWideColorGamut()
472 bool parseHdr(const char* name, ResTable_config* out) { in parseHdr() argument
473 if (strcmp(name, kWildcardName) == 0) { in parseHdr()
478 } else if (strcmp(name, "highdr") == 0) { in parseHdr()
483 } else if (strcmp(name, "lowdr") == 0) { in parseHdr()
492 bool parseOrientation(const char* name, ResTable_config* out) { in parseOrientation() argument
493 if (strcmp(name, kWildcardName) == 0) { in parseOrientation()
496 } else if (strcmp(name, "port") == 0) { in parseOrientation()
499 } else if (strcmp(name, "land") == 0) { in parseOrientation()
502 } else if (strcmp(name, "square") == 0) { in parseOrientation()
510 bool parseUiModeType(const char* name, ResTable_config* out) { in parseUiModeType() argument
511 if (strcmp(name, kWildcardName) == 0) { in parseUiModeType()
516 } else if (strcmp(name, "desk") == 0) { in parseUiModeType()
521 } else if (strcmp(name, "car") == 0) { in parseUiModeType()
526 } else if (strcmp(name, "television") == 0) { in parseUiModeType()
531 } else if (strcmp(name, "appliance") == 0) { in parseUiModeType()
536 } else if (strcmp(name, "watch") == 0) { in parseUiModeType()
541 } else if (strcmp(name, "vrheadset") == 0) { in parseUiModeType()
551 bool parseUiModeNight(const char* name, ResTable_config* out) { in parseUiModeNight() argument
552 if (strcmp(name, kWildcardName) == 0) { in parseUiModeNight()
557 } else if (strcmp(name, "night") == 0) { in parseUiModeNight()
562 } else if (strcmp(name, "notnight") == 0) { in parseUiModeNight()
572 bool parseDensity(const char* name, ResTable_config* out) { in parseDensity() argument
573 if (strcmp(name, kWildcardName) == 0) { in parseDensity()
578 if (strcmp(name, "anydpi") == 0) { in parseDensity()
583 if (strcmp(name, "nodpi") == 0) { in parseDensity()
588 if (strcmp(name, "ldpi") == 0) { in parseDensity()
593 if (strcmp(name, "mdpi") == 0) { in parseDensity()
598 if (strcmp(name, "tvdpi") == 0) { in parseDensity()
603 if (strcmp(name, "hdpi") == 0) { in parseDensity()
608 if (strcmp(name, "xhdpi") == 0) { in parseDensity()
613 if (strcmp(name, "xxhdpi") == 0) { in parseDensity()
618 if (strcmp(name, "xxxhdpi") == 0) { in parseDensity()
623 char* c = (char*)name; in parseDensity()
641 int d = atoi(name); in parseDensity()
652 bool parseTouchscreen(const char* name, ResTable_config* out) { in parseTouchscreen() argument
653 if (strcmp(name, kWildcardName) == 0) { in parseTouchscreen()
656 } else if (strcmp(name, "notouch") == 0) { in parseTouchscreen()
659 } else if (strcmp(name, "stylus") == 0) { in parseTouchscreen()
662 } else if (strcmp(name, "finger") == 0) { in parseTouchscreen()
670 bool parseKeysHidden(const char* name, ResTable_config* out) { in parseKeysHidden() argument
673 if (strcmp(name, kWildcardName) == 0) { in parseKeysHidden()
676 } else if (strcmp(name, "keysexposed") == 0) { in parseKeysHidden()
679 } else if (strcmp(name, "keyshidden") == 0) { in parseKeysHidden()
682 } else if (strcmp(name, "keyssoft") == 0) { in parseKeysHidden()
695 bool parseKeyboard(const char* name, ResTable_config* out) { in parseKeyboard() argument
696 if (strcmp(name, kWildcardName) == 0) { in parseKeyboard()
699 } else if (strcmp(name, "nokeys") == 0) { in parseKeyboard()
702 } else if (strcmp(name, "qwerty") == 0) { in parseKeyboard()
705 } else if (strcmp(name, "12key") == 0) { in parseKeyboard()
713 bool parseNavHidden(const char* name, ResTable_config* out) { in parseNavHidden() argument
716 if (strcmp(name, kWildcardName) == 0) { in parseNavHidden()
719 } else if (strcmp(name, "navexposed") == 0) { in parseNavHidden()
722 } else if (strcmp(name, "navhidden") == 0) { in parseNavHidden()
735 bool parseNavigation(const char* name, ResTable_config* out) { in parseNavigation() argument
736 if (strcmp(name, kWildcardName) == 0) { in parseNavigation()
739 } else if (strcmp(name, "nonav") == 0) { in parseNavigation()
742 } else if (strcmp(name, "dpad") == 0) { in parseNavigation()
745 } else if (strcmp(name, "trackball") == 0) { in parseNavigation()
748 } else if (strcmp(name, "wheel") == 0) { in parseNavigation()
756 bool parseScreenSize(const char* name, ResTable_config* out) { in parseScreenSize() argument
757 if (strcmp(name, kWildcardName) == 0) { in parseScreenSize()
765 const char* x = name; in parseScreenSize()
767 if (x == name || *x != 'x') return false; in parseScreenSize()
768 String8 xName(name, x-name); in parseScreenSize()
773 if (y == name || *y != 0) return false; in parseScreenSize()
790 bool parseSmallestScreenWidthDp(const char* name, ResTable_config* out) { in parseSmallestScreenWidthDp() argument
791 if (strcmp(name, kWildcardName) == 0) { in parseSmallestScreenWidthDp()
798 if (*name != 's') return false; in parseSmallestScreenWidthDp()
799 name++; in parseSmallestScreenWidthDp()
800 if (*name != 'w') return false; in parseSmallestScreenWidthDp()
801 name++; in parseSmallestScreenWidthDp()
802 const char* x = name; in parseSmallestScreenWidthDp()
804 if (x == name || x[0] != 'd' || x[1] != 'p' || x[2] != 0) return false; in parseSmallestScreenWidthDp()
805 String8 xName(name, x-name); in parseSmallestScreenWidthDp()
814 bool parseScreenWidthDp(const char* name, ResTable_config* out) { in parseScreenWidthDp() argument
815 if (strcmp(name, kWildcardName) == 0) { in parseScreenWidthDp()
822 if (*name != 'w') return false; in parseScreenWidthDp()
823 name++; in parseScreenWidthDp()
824 const char* x = name; in parseScreenWidthDp()
826 if (x == name || x[0] != 'd' || x[1] != 'p' || x[2] != 0) return false; in parseScreenWidthDp()
827 String8 xName(name, x-name); in parseScreenWidthDp()
836 bool parseScreenHeightDp(const char* name, ResTable_config* out) { in parseScreenHeightDp() argument
837 if (strcmp(name, kWildcardName) == 0) { in parseScreenHeightDp()
844 if (*name != 'h') return false; in parseScreenHeightDp()
845 name++; in parseScreenHeightDp()
846 const char* x = name; in parseScreenHeightDp()
848 if (x == name || x[0] != 'd' || x[1] != 'p' || x[2] != 0) return false; in parseScreenHeightDp()
849 String8 xName(name, x-name); in parseScreenHeightDp()
858 bool parseVersion(const char* name, ResTable_config* out) { in parseVersion() argument
859 if (strcmp(name, kWildcardName) == 0) { in parseVersion()
867 if (*name != 'v') { in parseVersion()
871 name++; in parseVersion()
872 const char* s = name; in parseVersion()
874 if (s == name || *s != 0) return false; in parseVersion()
875 String8 sdkName(name, s-name); in parseVersion()