/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
D | FakeAdapter.java | 66 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()
|
D | FakeExpandableAdapter.java | 66 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/ |
D | AppLaunchEvent.java | 359 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/ |
D | CallLogQueryHelper.java | 88 int typeIndex = cursor.getColumnIndex(Calls.TYPE); in querySince() local 89 int callType = cursor.getInt(typeIndex); in querySince()
|
D | SmsQueryHelper.java | 87 int typeIndex = cursor.getColumnIndex(Sms.TYPE); in querySince() local 88 int type = cursor.getInt(typeIndex); in querySince()
|
D | MmsQueryHelper.java | 126 int typeIndex = cursor.getColumnIndex(Mms.Addr.TYPE); in getMmsAddress() local 127 int type = cursor.getInt(typeIndex); in getMmsAddress()
|
/frameworks/av/media/codec2/tests/ |
D | C2Param_test.cpp | 1139 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 …]
|
D | C2SampleComponent_test.cpp | 173 switch (paramIndex.typeIndex()) { in describe() 310 cout << type.typeIndex(); in dumpType() 328 cout << type.typeIndex() << "Struct"; in dumpType()
|
/frameworks/rs/script_api/ |
D | Specification.cpp | 149 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()
|
D | GenerateTestFiles.cpp | 325 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()
|
D | Specification.h | 113 int typeIndex; // Index in the TYPES array. Negative if not found in the array. member
|
/frameworks/base/core/java/android/view/ |
D | PointerIcon.java | 239 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/ |
D | ResourceTypes.cpp | 5007 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/ |
D | ResourceTypes.h | 2199 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/ |
D | ComponentResolver.java | 1267 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/ |
D | AccountsDb.java | 736 int typeIndex = cursor.getColumnIndex(ACCOUNTS_TYPE); in getSharedAccounts() local 739 cursor.getString(typeIndex))); in getSharedAccounts()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Param.h | 208 inline type_index_t typeIndex() const { return mIndex & TYPE_INDEX_MASK; } in typeIndex() function
|