Home
last modified time | relevance | path

Searched refs:typeIndex (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeAdapter.java66 int typeIndex = mTypes.indexOf(viewRef); in FakeAdapter() local
67 if (typeIndex == -1) { in FakeAdapter()
68 typeIndex = mTypes.size(); in FakeAdapter()
74 int index = typeCount[typeIndex]; in FakeAdapter()
75 typeCount[typeIndex] += count; in FakeAdapter()
78 mItems.add(new AdapterItem(dataBindingItem, typeIndex, mItems.size(), index++)); in FakeAdapter()
DFakeExpandableAdapter.java66 int typeIndex = types.indexOf(viewRef); in createItems() local
67 if (typeIndex == -1) { in createItems()
68 typeIndex = types.size(); in createItems()
80 int index = typeCount[typeIndex]; in createItems()
81 typeCount[typeIndex] += count; in createItems()
84 AdapterItem item = new AdapterItem(dataBindingItem, typeIndex, mItems.size(), in createItems()
/frameworks/av/media/libstagefright/codec2/include/
DC2ParamDef.h108 typeIndex = BaseIndex | TypeIndex
225 other, sizeof(_type),_type::typeIndex, _type::flexSize, \
226 (_type::typeIndex & T::Index::kDirUndefined) != T::Index::kDirUndefined); \
321 inline C2GlobalParam(const Args(&... args)) : T(sizeof(_type), _type::typeIndex), S(args...) { }
349 : T(_type::calcSize(flexCount), _type::typeIndex), m(flexCount, args...) { }
384 inline C2PortParam() : T(sizeof(_type), _type::typeIndex) { }
388 : T(sizeof(_type), _output ? output::typeIndex : input::typeIndex), S(args...) { }
399 inline input(const Args(&... args)) : T(sizeof(_type), input::typeIndex), S(args...) { }
410 inline output(const Args(&... args)) : T(sizeof(_type), output::typeIndex), S(args...) { }
441 inline C2PortParam(size_t flexCount) : T(_type::calcSize(flexCount), _type::typeIndex) { }
[all …]
DC2Param.h889 _mType(T::typeIndex) { } in C2ParamDescriptor()
/frameworks/av/media/libstagefright/codec2/tests/
DC2Param_test.cpp789 …static_assert(C2NumberTuning::typeIndex == (kParamIndexNumber | I::kTypeTuning | I::kDirGlobal), "… in StaticTest()
802 static_assert(C2NumberPortTuning::input::typeIndex == in StaticTest()
806 static_assert(C2NumberPortTuning::output::typeIndex == in StaticTest()
823 static_assert(C2NumberStreamTuning::input::typeIndex == in StaticTest()
827 static_assert(C2NumberStreamTuning::output::typeIndex == in StaticTest()
848 …static_assert(C2NumbersTuning::typeIndex == (I::kFlexibleFlag | kParamIndexNumbers | I::kTypeTunin… in StaticFlexTest()
861 static_assert(C2NumbersPortTuning::input::typeIndex == in StaticFlexTest()
865 static_assert(C2NumbersPortTuning::output::typeIndex == in StaticFlexTest()
882 static_assert(C2NumbersStreamTuning::input::typeIndex == in StaticFlexTest()
886 static_assert(C2NumbersStreamTuning::output::typeIndex == in StaticFlexTest()
[all …]
/frameworks/rs/rsov/driver/
DrsovContext.cpp151 uint32_t* typeIndex) { in MemoryTypeFromProperties() argument
156 *typeIndex = i; in MemoryTypeFromProperties()
DrsovContext.h38 uint32_t* typeIndex);
/frameworks/base/core/java/android/view/
DPointerIcon.java207 int typeIndex = getSystemIconTypeIndex(type); in getSystemIcon() local
208 if (typeIndex == 0) { in getSystemIcon()
209 typeIndex = getSystemIconTypeIndex(TYPE_DEFAULT); in getSystemIcon()
217 int resourceId = a.getResourceId(typeIndex, -1); in getSystemIcon()
/frameworks/rs/script_api/
DSpecification.cpp149 typeIndex = findCType(rsBaseType); in parseParameterDefinition()
215 if (typeIndex >= 0) { in parseParameterDefinition()
216 javaBaseType = TYPES[typeIndex].javaType; in parseParameterDefinition()
217 specType = TYPES[typeIndex].specType; in parseParameterDefinition()
218 isFloatType = TYPES[typeIndex].exponentBits > 0; in parseParameterDefinition()
221 if (typeIndex < 0 || TYPES[typeIndex].kind != FLOATING_POINT) { in parseParameterDefinition()
731 if (def->typeIndex < 0 && mTest != "none") { in FunctionPermutation()
DGenerateTestFiles.cpp325 if (TYPES[param.typeIndex].kind == FLOATING_POINT) { in writeJavaInputAllocationDefinition()
328 TYPES[param.typeIndex]); in writeJavaInputAllocationDefinition()
332 TYPES[param.typeIndex]); in writeJavaInputAllocationDefinition()
689 if (p.typeIndex >= 0) { in writeJavaArrayInitialization()
690 mJava->indent() << "Arrays.fill(" << p.javaArrayName << ", (" << TYPES[p.typeIndex].javaType in writeJavaArrayInitialization()
DSpecification.h113 int typeIndex; // Index in the TYPES array. Negative if not found in the array. member
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4776 uint32_t ResTable::findEntry(const PackageGroup* group, ssize_t typeIndex, const char16_t* name, in findEntry() argument
4778 const TypeList& typeList = group->types[typeIndex]; in findEntry()
4799 uint32_t resId = Res_MAKEID(group->id - 1, typeIndex, iter.index()); in findEntry()
4802 if (getEntry(group, typeIndex, iter.index(), NULL, &result) != NO_ERROR) { in findEntry()
6083 const PackageGroup* packageGroup, int typeIndex, int entryIndex, in getEntry() argument
6087 const TypeList& typeList = packageGroup->types[typeIndex]; in getEntry()
6089 ALOGV("Skipping entry type index 0x%02x because type is NULL!\n", typeIndex); in getEntry()
6097 uint8_t actualTypeIndex = typeIndex; in getEntry()
6107 int realTypeIndex = typeIndex; in getEntry()
6128 Res_MAKEID(packageGroup->id - 1, typeIndex, entryIndex), in getEntry()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1985 const PackageGroup* packageGroup, int typeIndex, int entryIndex,
1989 uint32_t findEntry(const PackageGroup* group, ssize_t typeIndex, const char16_t* name,
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountsDb.java717 int typeIndex = cursor.getColumnIndex(ACCOUNTS_TYPE); in getSharedAccounts() local
720 cursor.getString(typeIndex))); in getSharedAccounts()