Home
last modified time | relevance | path

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

/frameworks/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/base/startop/iorap/src/com/google/android/startop/iorap/
DAppLaunchEvent.java359 int typeIndex = source.readInt();
361 Class<?> kls = getClassFromTypeIndex(typeIndex);
363 throw new IllegalArgumentException("Invalid type index: " + typeIndex);
402 private static @Nullable Class<?> getClassFromTypeIndex(int typeIndex) { in getClassFromTypeIndex() argument
403 if (typeIndex >= 0 && typeIndex < sTypes.length) { in getClassFromTypeIndex()
404 return sTypes[typeIndex]; in getClassFromTypeIndex()
/frameworks/base/services/people/java/com/android/server/people/data/
DCallLogQueryHelper.java88 int typeIndex = cursor.getColumnIndex(Calls.TYPE); in querySince() local
89 int callType = cursor.getInt(typeIndex); in querySince()
DSmsQueryHelper.java87 int typeIndex = cursor.getColumnIndex(Sms.TYPE); in querySince() local
88 int type = cursor.getInt(typeIndex); in querySince()
DMmsQueryHelper.java126 int typeIndex = cursor.getColumnIndex(Mms.Addr.TYPE); in getMmsAddress() local
127 int type = cursor.getInt(typeIndex); in getMmsAddress()
/frameworks/av/media/codec2/tests/
DC2Param_test.cpp1139 EXPECT_EQ(index.typeIndex(), kParamIndexNumber); in TEST_F()
1183 EXPECT_EQ(C2Param::Type(tun.type()).typeIndex(), kParamIndexNumber); in TEST_F()
1191 EXPECT_EQ(index.typeIndex(), kParamIndexNumber); in TEST_F()
1353 EXPECT_EQ(C2Param::Type(inp1.type()).typeIndex(), kParamIndexNumber); in TEST_F()
1358 EXPECT_EQ(C2Param::Type(inp2.type()).typeIndex(), kParamIndexNumber); in TEST_F()
1363 EXPECT_EQ(C2Param::Type(outp1.type()).typeIndex(), kParamIndexNumber); in TEST_F()
1368 EXPECT_EQ(C2Param::Type(outp2.type()).typeIndex(), kParamIndexNumber); in TEST_F()
1376 EXPECT_EQ(index.typeIndex(), kParamIndexNumber); in TEST_F()
1382 EXPECT_EQ(index.typeIndex(), kParamIndexNumber); in TEST_F()
1591 EXPECT_EQ(C2Param::Type(ins1.type()).typeIndex(), kParamIndexNumber); in TEST_F()
[all …]
DC2SampleComponent_test.cpp173 switch (paramIndex.typeIndex()) { in describe()
310 cout << type.typeIndex(); in dumpType()
328 cout << type.typeIndex() << "Struct"; in dumpType()
/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()
732 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/core/java/android/view/
DPointerIcon.java239 int typeIndex = getSystemIconTypeIndex(type); in getSystemIcon() local
240 if (typeIndex == 0) { in getSystemIcon()
241 typeIndex = getSystemIconTypeIndex(TYPE_DEFAULT); in getSystemIcon()
249 int resourceId = a.getResourceId(typeIndex, -1); in getSystemIcon()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp5007 uint32_t ResTable::findEntry(const PackageGroup* group, ssize_t typeIndex, const char16_t* name, in findEntry() argument
5009 const TypeList& typeList = group->types[typeIndex]; in findEntry()
5030 uint32_t resId = Res_MAKEID(group->id - 1, typeIndex, iter.index()); in findEntry()
5033 if (getEntry(group, typeIndex, iter.index(), NULL, &result) != NO_ERROR) { in findEntry()
6373 const PackageGroup* packageGroup, int typeIndex, int entryIndex, in getEntry() argument
6377 const TypeList& typeList = packageGroup->types[typeIndex]; in getEntry()
6379 ALOGV("Skipping entry type index 0x%02x because type is NULL!\n", typeIndex); in getEntry()
6387 uint8_t actualTypeIndex = typeIndex; in getEntry()
6397 int realTypeIndex = typeIndex; in getEntry()
6418 Res_MAKEID(packageGroup->id - 1, typeIndex, entryIndex), in getEntry()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h2199 const PackageGroup* packageGroup, int typeIndex, int entryIndex,
2203 uint32_t findEntry(const PackageGroup* group, ssize_t typeIndex, const char16_t* name,
/frameworks/base/services/core/java/com/android/server/pm/
DComponentResolver.java1267 for (int typeIndex = mimeTypes.size() - 1; typeIndex >= 0; typeIndex--) { in applyMimeGroups()
1268 String mimeType = mimeTypes.get(typeIndex); in applyMimeGroups()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountsDb.java736 int typeIndex = cursor.getColumnIndex(ACCOUNTS_TYPE); in getSharedAccounts() local
739 cursor.getString(typeIndex))); in getSharedAccounts()
/frameworks/av/media/codec2/core/include/
DC2Param.h208 inline type_index_t typeIndex() const { return mIndex & TYPE_INDEX_MASK; } in typeIndex() function