Searched defs:typedValue (Results 1 - 1 of 1) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | SwitchCompatUtils.java | 43 final TypedValue typedValue = new TypedValue(); 46 getSwitchThumbColorStateList(context, color, typedValue), 50 getSwitchTrackColorStateList(context, color, typedValue), PorterDuff.Mode.SRC_IN)); 67 final int color, final TypedValue typedValue) { 80 colors[i] = getThemeAttrColor(context, typedValue, 87 final int color, final TypedValue typedValue) { 93 colors[i] = getThemeAttrColor(context, typedValue, android.R.attr.colorForeground, 0.1f); 100 colors[i] = getThemeAttrColor(context, typedValue, android.R.attr.colorForeground, 0.3f); 105 private static int getThemeAttrColor(final Context context, final TypedValue typedValue, argument 107 if (context.getTheme().resolveAttribute(attr, typedValue, tru 66 getSwitchThumbColorStateList(final Context context, final int color, final TypedValue typedValue) argument 86 getSwitchTrackColorStateList(final Context context, final int color, final TypedValue typedValue) argument 118 getThemeAttrColor(final Context context, final TypedValue typedValue, final int attr, final float alpha) argument [all...] |
Completed in 50 milliseconds