Home
last modified time | relevance | path

Searched refs:getDefaultColor (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
DExpandableSwitchItem.java153 drawable.setColorFilter(tintColor.getDefaultColor(), Mode.SRC_IN); in tintCompoundDrawables()
159 drawable.setColorFilter(tintColor.getDefaultColor(), Mode.SRC_IN); in tintCompoundDrawables()
/frameworks/base/core/java/android/content/res/
DComplexColor.java41 public abstract int getDefaultColor(); in getDefaultColor() method in ComplexColor
DGradientColor.java492 public int getDefaultColor() { in getDefaultColor() method in GradientColor
DColorStateList.java627 public int getDefaultColor() { in getDefaultColor() method in ColorStateList
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/utilities/
DColorUtils.java59 public int getDefaultColor(long color) { in getDefaultColor() method in ColorUtils
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DNumPadKey.java154 .getDefaultColor(); in reloadColors()
156 .getDefaultColor(); in reloadColors()
DPinShapeHintingView.java43 .getDefaultColor();
DPinShapeNonHintingView.java52 private int mColor = Utils.getColorAttr(getContext(), PIN_SHAPES).getDefaultColor();
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifLayout.java291 backgroundColor = backgroundBaseColor.getDefaultColor(); in updateBackground()
293 backgroundColor = primaryColor.getDefaultColor(); in updateBackground()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DGlifStyleTest.java60 assertThat(Integer.toHexString(button.getTextColors().getDefaultColor())) in testSuwGlifButtonTertiary()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java732 colors[i] = mGradientState.mGradientColors[i].getDefaultColor(); in getColors()
1294 gradientColors[i] = st.mGradientColors[i].getDefaultColor();
1764 int startColor = startCSL != null ? startCSL.getDefaultColor() : 0;
1765 int centerColor = centerCSL != null ? centerCSL.getDefaultColor() : 0;
1766 int endColor = endCSL != null ? endCSL.getDefaultColor() : 0;
1769 startColor = st.mGradientColors[0].getDefaultColor();
1772 centerColor = st.mGradientColors[1].getDefaultColor();
1776 endColor = st.mGradientColors[2].getDefaultColor();
1780 endColor = st.mGradientColors[1].getDefaultColor();
2321 && !isOpaque(mGradientColors[i].getDefaultColor())) {
DColorStateListDrawable.java154 int color = mState.mColor.getColorForState(state, mState.mColor.getDefaultColor()); in onStateChange()
DVectorDrawable.java2045 fillColor = fillColors.getDefaultColor(); in updateStateFromTypedArray()
2061 strokeColor = strokeColors.getDefaultColor(); in updateStateFromTypedArray()
2130 nSetFillColor(mNativePtr, mFillColors.getDefaultColor()); in applyTheme()
2140 nSetStrokeColor(mNativePtr, mStrokeColors.getDefaultColor()); in applyTheme()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifLayoutTest.java121 Integer.toHexString(glifLayout.getBackgroundBaseColor().getDefaultColor())); in testGlifV2Theme()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/
DGlifLayoutTest.java146 assertThat(layout.getBackgroundBaseColor().getDefaultColor()).isEqualTo(Color.RED); in testSetBackgroundBaseColor()
157 assertThat(layout.getBackgroundBaseColor().getDefaultColor()).isEqualTo(Color.RED); in testSetBackgroundBaseColorTablet()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleStoryIconFactory.java64 com.android.internal.R.attr.colorAccentPrimaryVariant).getDefaultColor(); in PeopleStoryIconFactory()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationViewWrapper.java347 .getDefaultColor(); in resolveBackgroundColor()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DSignalDrawable.java179 mForegroundPaint.setColor(tint.getDefaultColor()); in setTintList()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DContrastColorUtilTest.java178 assertContrastIsWithinRange(newCyanList.getDefaultColor(), Color.GRAY, 3, 3.2); in testBuilder_ensureColorSpanContrast_worksWithComplexInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/
DAppClipsActivity.java211 android.R.attr.colorBackgroundFloating).getDefaultColor(); in setScreenshot()
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java332 return colorStateList.getDefaultColor(); in getColor()
802 outValue.data = colorStateList.getDefaultColor(); in getValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingLayout.java153 android.R.attr.colorAccent).getDefaultColor(); in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java1606 com.android.internal.R.attr.materialColorSurfaceDim).getDefaultColor(); in updateThemeColors()
1608 com.android.internal.R.attr.materialColorPrimary).getDefaultColor(); in updateThemeColors()
1615 com.android.internal.R.attr.materialColorSurface).getDefaultColor(); in updateThemeColors()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java319 int color = mTintColor.getColorForState(getState(), mTintColor.getDefaultColor()); in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java231 deleteFgColor = textColor.getDefaultColor(); in setBackgroundTintColor()
245 accentColor.getDefaultColor(), PorterDuff.Mode.SRC_IN); in setBackgroundTintColor()

12