Home
last modified time | relevance | path

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

123

/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DProgressBarBindingAdapterTest.java43 mView.getIndeterminateTintList().getDefaultColor()); in testTint()
45 mView.getProgressTintList().getDefaultColor()); in testTint()
47 mView.getSecondaryProgressTintList().getDefaultColor()); in testTint()
52 mView.getIndeterminateTintList().getDefaultColor()); in testTint()
54 mView.getProgressTintList().getDefaultColor()); in testTint()
56 mView.getSecondaryProgressTintList().getDefaultColor()); in testTint()
DCompoundButtonBindingAdapterTest.java37 … assertEquals(mBindingObject.getButtonTint(), mBinder.view.getButtonTintList().getDefaultColor()); in testCompoundButton()
41 … assertEquals(mBindingObject.getButtonTint(), mBinder.view.getButtonTintList().getDefaultColor()); in testCompoundButton()
DAbsSeekBarBindingAdapterTest.java42 assertEquals(mBindingObject.getThumbTint(), mView.getThumbTintList().getDefaultColor()); in testThumbTint()
46 assertEquals(mBindingObject.getThumbTint(), mView.getThumbTintList().getDefaultColor()); in testThumbTint()
DFrameLayoutBindingAdapterTest.java45 mView.getForegroundTintList().getDefaultColor()); in testTint()
50 mView.getForegroundTintList().getDefaultColor()); in testTint()
DCheckedTextViewBindingAdapterTest.java38 mBinder.view.getCheckMarkTintList().getDefaultColor()); in testView()
45 mBinder.view.getCheckMarkTintList().getDefaultColor()); in testView()
DImageViewBindingAdapterTest.java44 assertEquals(mBindingObject.getTint(), mView.getImageTintList().getDefaultColor()); in testImageView()
50 assertEquals(mBindingObject.getTint(), mView.getImageTintList().getDefaultColor()); in testImageView()
DTextViewBindingAdapterTest.java117 assertEquals(mBindingObject.getTextColorHint(), view.getHintTextColors().getDefaultColor()); in testSimpleProperties()
118 assertEquals(mBindingObject.getTextColorLink(), view.getLinkTextColors().getDefaultColor()); in testSimpleProperties()
142 assertEquals(mBindingObject.getTextColorHint(), view.getHintTextColors().getDefaultColor()); in testSimpleProperties()
143 assertEquals(mBindingObject.getTextColorLink(), view.getLinkTextColors().getDefaultColor()); in testSimpleProperties()
DViewBindingAdapterTest.java92 assertEquals(mBindingObject.getBackgroundTint(), colorStateList.getDefaultColor()); in testBackgroundTint()
98 assertEquals(mBindingObject.getBackgroundTint(), colorStateList.getDefaultColor()); in testBackgroundTint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DDataUsageGraph.java48 mTrackColor = Utils.getDefaultColor(context, R.color.data_usage_graph_track); in DataUsageGraph()
49 mWarningColor = Utils.getDefaultColor(context, R.color.data_usage_graph_warning); in DataUsageGraph()
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/items/
DExpandableSwitchItem.java159 drawable.setColorFilter(tintColor.getDefaultColor(), Mode.SRC_IN); in tintCompoundDrawables()
165 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
/frameworks/support/compat/tests/java/android/support/v4/content/
DContextCompatTest.java67 unthemedColorStateList.getDefaultColor()); in testGetColorStateList()
81 themedYellowColorStateList.getDefaultColor()); in testGetColorStateList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSignalDrawable.java116 Utils.getDefaultColor(context, R.color.dark_mode_icon_color_dual_tone_background); in SignalDrawable()
118 Utils.getDefaultColor(context, R.color.dark_mode_icon_color_dual_tone_fill); in SignalDrawable()
120 Utils.getDefaultColor(context, R.color.light_mode_icon_color_dual_tone_background); in SignalDrawable()
122 Utils.getDefaultColor(context, R.color.light_mode_icon_color_dual_tone_fill); in SignalDrawable()
/frameworks/support/v7/cardview/src/android/support/v7/widget/
DRoundRectDrawable.java68 mPaint.setColor(mBackground.getColorForState(getState(), mBackground.getDefaultColor())); in setBackground()
185 final int newColor = mBackground.getColorForState(stateSet, mBackground.getDefaultColor()); in onStateChange()
DRoundRectDrawableWithShadow.java108 mPaint.setColor(mBackground.getColorForState(getState(), mBackground.getDefaultColor())); in setBackground()
197 final int newColor = mBackground.getColorForState(stateSet, mBackground.getDefaultColor()); in onStateChange()
/frameworks/support/compat/tests/java/android/support/v4/content/res/
DResourcesCompatTest.java79 unthemedColorStateList.getDefaultColor()); in testGetColorStateList()
96 themedYellowColorStateList.getDefaultColor()); in testGetColorStateList()
110 themedLilacColorStateList.getDefaultColor()); in testGetColorStateList()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DGlifStyleTest.java63 assertEquals("ff4285f4", Integer.toHexString(button.getTextColors().getDefaultColor())); in testSuwGlifButtonTertiary()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/res/content/
DAppCompatResourcesTestCase.java63 assertEquals(colorForegound, result.getDefaultColor()); in testGetColorStateListWithThemedAttributes()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifLayout.java270 backgroundColor = mBackgroundBaseColor.getDefaultColor(); in updateBackground()
272 backgroundColor = mPrimaryColor.getDefaultColor(); in updateBackground()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DThemeUtils.java85 return csl.getColorForState(DISABLED_STATE_SET, csl.getDefaultColor()); in getDisabledThemeAttrColor()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/
DGlifLayoutTest.java143 assertEquals(Color.RED, layout.getBackgroundBaseColor().getDefaultColor()); in testSetBackgroundBaseColor()
154 assertEquals(Color.RED, layout.getBackgroundBaseColor().getDefaultColor()); in testSetBackgroundBaseColorTablet()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java172 public static int getDefaultColor(Context context, int resId) { in getDefaultColor() method in Utils
176 return list.getDefaultColor(); in getDefaultColor()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifLayoutTest.java119 Integer.toHexString(glifLayout.getBackgroundBaseColor().getDefaultColor())); in testGlifPixelTheme()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDataUsageDetailView.java94 usageColor = Utils.getDefaultColor(mContext, android.R.attr.colorError); in bind()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java144 mChargeColor = Utils.getDefaultColor(mContext, R.color.meter_consumed_color); in BatteryMeterDrawableBase()
147 mBoltPaint.setColor(Utils.getDefaultColor(mContext, R.color.batterymeter_bolt_color)); in BatteryMeterDrawableBase()

123