Home
last modified time | relevance | path

Searched refs:getDefaultColor (Results 1 – 25 of 53) 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/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
DExpandableSwitchItem.java163 drawable.setColorFilter(tintColor.getDefaultColor(), Mode.SRC_IN); in tintCompoundDrawables()
169 drawable.setColorFilter(tintColor.getDefaultColor(), Mode.SRC_IN); in tintCompoundDrawables()
/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/base/core/java/android/content/res/
DComplexColor.java41 public abstract int getDefaultColor(); in getDefaultColor() method in ComplexColor
/frameworks/support/cardview/src/main/java/androidx/cardview/widget/
DRoundRectDrawable.java66 mPaint.setColor(mBackground.getColorForState(getState(), mBackground.getDefaultColor())); in setBackground()
183 final int newColor = mBackground.getColorForState(stateSet, mBackground.getDefaultColor()); in onStateChange()
DRoundRectDrawableWithShadow.java109 mPaint.setColor(mBackground.getColorForState(getState(), mBackground.getDefaultColor())); in setBackground()
198 final int newColor = mBackground.getColorForState(stateSet, mBackground.getDefaultColor()); in onStateChange()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DSignalDrawable.java135 Utils.getDefaultColor(context, R.color.dark_mode_icon_color_dual_tone_background); in SignalDrawable()
137 Utils.getDefaultColor(context, R.color.dark_mode_icon_color_dual_tone_fill); in SignalDrawable()
139 Utils.getDefaultColor(context, R.color.light_mode_icon_color_dual_tone_background); in SignalDrawable()
141 Utils.getDefaultColor(context, R.color.light_mode_icon_color_dual_tone_fill); in SignalDrawable()
DBatteryMeterDrawableBase.java152 mChargeColor = Utils.getDefaultColor(mContext, R.color.meter_consumed_color); in BatteryMeterDrawableBase()
155 mBoltPaint.setColor(Utils.getDefaultColor(mContext, R.color.batterymeter_bolt_color)); in BatteryMeterDrawableBase()
159 mPlusPaint.setColor(Utils.getDefaultColor(mContext, R.color.batterymeter_plus_color)); in BatteryMeterDrawableBase()
/frameworks/support/compat/src/androidTest/java/androidx/core/content/
DContextCompatTest.java143 unthemedColorStateList.getDefaultColor()); in testGetColorStateList()
157 themedYellowColorStateList.getDefaultColor()); in testGetColorStateList()
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DSliceViewUtil.java72 public static int getDefaultColor(@NonNull Context context, int resId) { in getDefaultColor() method in SliceViewUtil
74 return list.getDefaultColor(); in getDefaultColor()
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/res/content/
DAppCompatResourcesTestCase.java70 assertEquals(colorForegound, result.getDefaultColor()); in testGetColorStateListWithThemedAttributes()
/frameworks/support/compat/src/androidTest/java/androidx/core/content/res/
DResourcesCompatTest.java88 unthemedColorStateList.getDefaultColor()); in testGetColorStateList()
105 themedYellowColorStateList.getDefaultColor()); in testGetColorStateList()
119 themedLilacColorStateList.getDefaultColor()); in testGetColorStateList()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifLayout.java297 backgroundColor = mBackgroundBaseColor.getDefaultColor(); in updateBackground()
299 backgroundColor = mPrimaryColor.getDefaultColor(); in updateBackground()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DGlifStyleTest.java68 assertEquals("ff4285f4", Integer.toHexString(button.getTextColors().getDefaultColor())); in testSuwGlifButtonTertiary()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DThemeUtils.java86 return csl.getColorForState(DISABLED_STATE_SET, csl.getDefaultColor()); in getDisabledThemeAttrColor()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifLayoutTest.java119 Integer.toHexString(glifLayout.getBackgroundBaseColor().getDefaultColor())); in testGlifV2Theme()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/
DGlifLayoutTest.java145 assertEquals(Color.RED, layout.getBackgroundBaseColor().getDefaultColor()); in testSetBackgroundBaseColor()
156 assertEquals(Color.RED, layout.getBackgroundBaseColor().getDefaultColor()); in testSetBackgroundBaseColorTablet()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java217 public static int getDefaultColor(Context context, int resId) { in getDefaultColor() method in Utils
221 return list.getDefaultColor(); in getDefaultColor()

123