/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 | 293 int typeIndex = source.readInt(); 295 Class<?> kls = getClassFromTypeIndex(typeIndex); 297 throw new IllegalArgumentException("Invalid type index: " + typeIndex); 336 private static @Nullable Class<?> getClassFromTypeIndex(int typeIndex) { in getClassFromTypeIndex() argument 337 if (typeIndex >= 0 && typeIndex < sTypes.length) { in getClassFromTypeIndex() 338 return sTypes[typeIndex]; in getClassFromTypeIndex()
|
/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/tools/stats_log_api_gen/ |
D | native_writer.cpp | 26 const int typeIndex, const string& type, const string& valueFieldName) { in write_native_key_value_pairs_for_type() argument 27 fprintf(out, " for (const auto& it : arg%d_%d) {\n", argIndex, typeIndex); in write_native_key_value_pairs_for_type()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 5004 uint32_t ResTable::findEntry(const PackageGroup* group, ssize_t typeIndex, const char16_t* name, in findEntry() argument 5006 const TypeList& typeList = group->types[typeIndex]; in findEntry() 5027 uint32_t resId = Res_MAKEID(group->id - 1, typeIndex, iter.index()); in findEntry() 5030 if (getEntry(group, typeIndex, iter.index(), NULL, &result) != NO_ERROR) { in findEntry() 6370 const PackageGroup* packageGroup, int typeIndex, int entryIndex, in getEntry() argument 6374 const TypeList& typeList = packageGroup->types[typeIndex]; in getEntry() 6376 ALOGV("Skipping entry type index 0x%02x because type is NULL!\n", typeIndex); in getEntry() 6384 uint8_t actualTypeIndex = typeIndex; in getEntry() 6394 int realTypeIndex = typeIndex; in getEntry() 6415 Res_MAKEID(packageGroup->id - 1, typeIndex, entryIndex), in getEntry() [all …]
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 2109 const PackageGroup* packageGroup, int typeIndex, int entryIndex, 2113 uint32_t findEntry(const PackageGroup* group, ssize_t typeIndex, const char16_t* name,
|
/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
|