Searched refs:TYPE_INTEGER (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/tools/aapt2/
H A DResourceValues_test.cpp33 constexpr const uint32_t TYPE_INTEGER = android::ResTable_map::TYPE_INTEGER; member in namespace:aapt::__anon1163
233 Attribute attr2(TYPE_INTEGER | TYPE_ENUM);
242 Attribute attr3(TYPE_INTEGER | TYPE_FLAGS);
H A DResourceValues.cpp619 if ((type_mask & android::ResTable_map::TYPE_INTEGER) != 0) {
744 if (attr.type_mask & android::ResTable_map::TYPE_INTEGER) {
762 constexpr const uint32_t TYPE_INTEGER = android::ResTable_map::TYPE_INTEGER; local
790 if ((type_mask & TYPE_INTEGER) == 0) {
808 } else if ((type_mask & TYPE_INTEGER) == 0) {
817 if ((type_mask & TYPE_INTEGER) != 0 && (actual_type & TYPE_INTEGER) != 0) {
H A DResourceUtils_test.cpp204 EXPECT_THAT(ResourceUtils::TryParseItemForAttribute(" 12\n ", ResTable_map::TYPE_INTEGER),
H A DResourceParser.cpp54 return android::ResTable_map::TYPE_INTEGER;
503 {"integer", {ResourceType::kInteger, android::ResTable_map::TYPE_INTEGER}},
1159 (type_mask & android::ResTable_map::TYPE_INTEGER) == 0) {
1390 return ParseArrayImpl(parser, out_resource, android::ResTable_map::TYPE_INTEGER);
H A DResourceUtils.cpp564 return android::ResTable_map::TYPE_INTEGER |
617 if (type_mask & ResTable_map::TYPE_INTEGER) {
H A DResourceParser_test.cpp339 EXPECT_THAT(attr->type_mask, Eq(ResTable_map::TYPE_INTEGER));
/frameworks/base/core/java/android/content/
H A DRestrictionEntry.java84 public static final int TYPE_INTEGER = 5; field in class:RestrictionEntry
183 * Constructor for {@link #TYPE_INTEGER} type.
189 mType = TYPE_INTEGER;
288 * Returns the value of the entry as an integer when the type is {@link #TYPE_INTEGER}.
296 * Sets the integer value of the entry when the type is {@link #TYPE_INTEGER}.
H A DRestrictionsManager.java636 case RestrictionEntry.TYPE_INTEGER:
685 * <tr><td>{@link RestrictionEntry#TYPE_INTEGER}</td><td>{@link Bundle#putInt}</td></tr>
711 case RestrictionEntry.TYPE_INTEGER:
/frameworks/base/tools/aapt2/link/
H A DManifestFixer_test.cpp51 android::ResTable_map::TYPE_INTEGER)
57 android::ResTable_map::TYPE_INTEGER)
/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java156 private static final String TYPE_INTEGER = "i"; field in class:Content.Parser
413 } else if (TYPE_INTEGER.equalsIgnoreCase(type) || TYPE_LONG.equalsIgnoreCase(type)) {
/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator.cpp117 if (type_mask & android::ResTable_map::TYPE_INTEGER) {
/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h1547 TYPE_INTEGER = 1<<2, enumerator in enum:ResTable_map::__anon996
/frameworks/base/tools/aapt2/format/binary/
H A DTableFlattener_test.cpp219 attr.type_mask = android::ResTable_map::TYPE_INTEGER;
/frameworks/base/tools/aapt/
H A DResourceTable.cpp187 { integerArray, sizeof(integerArray)/2, ResTable_map::TYPE_INTEGER,
416 if ((minIdx >= 0 || maxIdx >= 0) && (attr.type&ResTable_map::TYPE_INTEGER) == 0) {
1428 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_INTEGER;
1508 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_INTEGER;
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp5434 || attrType == ResTable_map::TYPE_INTEGER) {
5718 if ((attrType&ResTable_map::TYPE_INTEGER) == 0) {

Completed in 323 milliseconds