Searched refs:getBadgeColor (Results 1 – 5 of 5) sorted by relevance
109 assertEquals(26, type.getBadgeColor(0)); in testUserTypeBuilder_createUserType()110 assertEquals(27, type.getBadgeColor(1)); in testUserTypeBuilder_createUserType()111 assertEquals(27, type.getBadgeColor(2)); in testUserTypeBuilder_createUserType()112 assertEquals(27, type.getBadgeColor(3)); in testUserTypeBuilder_createUserType()113 assertEquals(Resources.ID_NULL, type.getBadgeColor(-100)); in testUserTypeBuilder_createUserType()133 assertEquals(Resources.ID_NULL, type.getBadgeColor(0)); in testUserTypeBuilder_defaults()254 aospType.getBadgeColor(0)); in testUserTypeFactoryCustomize_profile()256 aospType.getBadgeColor(1)); in testUserTypeFactoryCustomize_profile()258 aospType.getBadgeColor(2)); in testUserTypeFactoryCustomize_profile()260 aospType.getBadgeColor(3)); in testUserTypeFactoryCustomize_profile()[all …]
349 Resources.getSystem().getColor(userTypeDetails.getBadgeColor(badgeIndex), null)); in testProfileTypeInformation()
231 public @ColorRes int getBadgeColor(int badgeIndex) { in getBadgeColor() method in UserTypeDetails246 return getBadgeColor(badgeIndex); in getDarkThemeBadgeColor()
1373 return userTypeDetails.getBadgeColor(userInfo.profileBadge); in getUserBadgeColorResId()
26730 HPLcom/android/server/pm/UserTypeDetails;->getBadgeColor(I)I