Home
last modified time | relevance | path

Searched refs:getColorResId (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DAnomalyEventWrapper.java110 int getColorResId() { in getColorResId() method in AnomalyEventWrapper
245 preference.setButtonColorResourceId(getColorResId()); in updateTipsCardPreference()
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/util/
DUtilsTest.kt300 assertThat(Utils.getColorResId(context, android.R.attr.colorPrimary)) in getColorResId_validId_returnsNonZero()
306 assertThat(Utils.getColorResId(context, INVALID_ATTR_ID)).isEqualTo(Resources.ID_NULL) in getColorResId_inValidId_returnsZero()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DSafetyCenterQsFragment.java292 Utils.getColorResId(mContext, android.R.attr.colorAccent)); in configurePrimaryActionButton()
317 Utils.getColorResId(mContext, android.R.attr.colorAccent)); in configureSeeUsageButton()
511 Utils.getColorResId(
532 mContext.getColor(Utils.getColorResId(mContext, android.R.attr.textColorPrimary)));
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/v34/
DPermissionRationaleActivity.java506 getColor(Utils.getColorResId(this, android.R.attr.textColorSecondary)); in createPurposeMessageWithBulletSpan()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java709 public static int getColorResId(Context context, int attr) { in getColorResId() method in Utils