Home
last modified time | relevance | path

Searched refs:typeIndex (Results 1 – 9 of 9) 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/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/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()
728 if (def->typeIndex < 0 && mTest != "none") { in FunctionPermutation()
DGenerateTestFiles.cpp318 if (TYPES[param.typeIndex].kind == FLOATING_POINT) { in writeJavaInputAllocationDefinition()
321 TYPES[param.typeIndex]); in writeJavaInputAllocationDefinition()
325 TYPES[param.typeIndex]); in writeJavaInputAllocationDefinition()
682 if (p.typeIndex >= 0) { in writeJavaArrayInitialization()
683 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.cpp4661 uint32_t ResTable::findEntry(const PackageGroup* group, ssize_t typeIndex, const char16_t* name, in findEntry() argument
4663 const TypeList& typeList = group->types[typeIndex]; in findEntry()
4684 uint32_t resId = Res_MAKEID(group->id - 1, typeIndex, iter.index()); in findEntry()
4687 if (getEntry(group, typeIndex, iter.index(), NULL, &result) != NO_ERROR) { in findEntry()
5965 const PackageGroup* packageGroup, int typeIndex, int entryIndex, in getEntry() argument
5969 const TypeList& typeList = packageGroup->types[typeIndex]; in getEntry()
5971 ALOGV("Skipping entry type index 0x%02x because type is NULL!\n", typeIndex); in getEntry()
5979 uint8_t actualTypeIndex = typeIndex; in getEntry()
5989 int realTypeIndex = typeIndex; in getEntry()
6007 Res_MAKEID(packageGroup->id - 1, typeIndex, entryIndex), in getEntry()
[all …]
/frameworks/base/include/androidfw/
DResourceTypes.h1914 const PackageGroup* packageGroup, int typeIndex, int entryIndex,
1918 uint32_t findEntry(const PackageGroup* group, ssize_t typeIndex, const char16_t* name,
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java3655 int typeIndex = cursor.getColumnIndex(ACCOUNTS_TYPE); in getSharedAccountsAsUser() local
3658 cursor.getString(typeIndex))); in getSharedAccountsAsUser()