Home
last modified time | relevance | path

Searched refs:defaultColor (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DOrganizationInfoTest.java27 int defaultColor = mDevicePolicyManager.getOrganizationColor(ADMIN_RECEIVER_COMPONENT); in testDefaultOrganizationColor() local
28 assertEquals("Default color returned: " + Integer.toHexString(defaultColor), in testDefaultOrganizationColor()
29 DEFAULT_ORGANIZATION_COLOR, defaultColor); in testDefaultOrganizationColor()
/cts/tests/tests/view/src/android/view/cts/util/
DDrawingUtils.java42 int defaultColor, List<Pair<Rect, Integer>> colorRectangles) { in assertAllPixelsOfColor() argument
60 goldenPaint.setColor(defaultColor); in assertAllPixelsOfColor()
/cts/tests/tests/content/src/android/content/res/cts/
DColorStateListTest.java141 final int defaultColor = c.getDefaultColor(); in testCreateFromXmlWithLStar() local
144 ColorUtils.colorToLAB(defaultColor, labColor); in testCreateFromXmlWithLStar()
148 assertEquals(alphaInXml, Color.alpha(defaultColor)); in testCreateFromXmlWithLStar()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeSettings.java148 public int getBackgroundColor(@ColorInt int defaultColor) { in getBackgroundColor() argument
149 return mBundle.getInt(BACKGROUND_COLOR_KEY, defaultColor); in getBackgroundColor()
/cts/tests/tests/widget/src/android/widget/cts/
DHorizontalScrollViewTest.java822 int defaultColor = new EdgeEffect(mScrollViewRegular.getContext()).getColor(); in testEdgeEffectColors() local
823 assertEquals(mScrollViewRegular.getLeftEdgeEffectColor(), defaultColor); in testEdgeEffectColors() local
824 assertEquals(mScrollViewRegular.getRightEdgeEffectColor(), defaultColor); in testEdgeEffectColors() local
DScrollViewTest.java967 int defaultColor = new EdgeEffect(mScrollViewRegular.getContext()).getColor(); in testEdgeEffectColors() local
968 assertEquals(mScrollViewRegular.getTopEdgeEffectColor(), defaultColor); in testEdgeEffectColors() local
969 assertEquals(mScrollViewRegular.getBottomEdgeEffectColor(), defaultColor); in testEdgeEffectColors() local
DAbsListViewTest.java1205 int defaultColor = new EdgeEffect(mListView.getContext()).getColor(); in testEdgeEffectColors() local
1206 assertEquals(mListView.getTopEdgeEffectColor(), defaultColor); in testEdgeEffectColors() local
1207 assertEquals(mListView.getBottomEdgeEffectColor(), defaultColor); in testEdgeEffectColors() local