/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | ColorStateListTest.java | 39 mFailureColor = mResources.getColor(R.color.failColor); in setUp() 47 assertEquals(mResources.getColor(R.color.testcolor1), focusColor); in testStateIsInList() 55 assertEquals(mResources.getColor(R.color.testcolor2), defaultColor); in testEmptyState() 60 int defaultColor = mResources.getColor(R.color.color1); in testGetColor() 61 assertEquals(mResources.getColor(R.color.testcolor2), defaultColor); in testGetColor() 66 int defaultColor = mResources.getColor(R.color.color_no_default); in testGetColorWhenListHasNoDefault() 67 assertEquals(mResources.getColor(R.color.testcolor1), defaultColor); in testGetColorWhenListHasNoDefault()
|
/frameworks/base/core/java/android/text/style/ |
D | QuoteSpan.java | 58 public int getColor() { in getColor() method in QuoteSpan 71 int color = p.getColor(); in drawLeadingMargin()
|
D | SuggestionSpan.java | 155 mMisspelledUnderlineColor = typedArray.getColor( in initStyle() 163 mEasyCorrectUnderlineColor = typedArray.getColor( in initStyle() 171 mAutoCorrectionUnderlineColor = typedArray.getColor( in initStyle()
|
D | BulletSpan.java | 89 oldcolor = p.getColor(); in drawLeadingMargin()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ColorDrawable.java | 79 public int getColor() { in getColor() method in ColorDrawable 147 color = a.getColor(com.android.internal.R.styleable.ColorDrawable_color, color); in inflate()
|
D | ShapeDrawable.java | 322 int color = mShapeState.mPaint.getColor(); in inflate() 323 color = a.getColor(com.android.internal.R.styleable.ShapeDrawable_color, color); in inflate()
|
D | GradientDrawable.java | 684 int startColor = a.getColor( 688 int centerColor = a.getColor( 690 int endColor = a.getColor( 783 int argb = a.getColor( 792 int color = a.getColor(
|
/frameworks/base/core/jni/android/graphics/ |
D | NinePatchImpl.cpp | 40 static bool getColor(const SkBitmap& bitmap, int x, int y, SkColor* c) { in getColor() function 80 if (!getColor(bitmap, src.fLeft, src.fTop, &c)) { in drawStretchyPatch() 84 SkColor prev = paint.getColor(); in drawStretchyPatch() 176 const SkColor initColor = ((SkPaint*)paint)->getColor(); in NinePatch_Draw()
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
D | PlaybackView.java | 56 getPaint().setColor(getResources().getColor(colorId)); in TileDrawable() 191 getResources().getColor(R.color.inval_region_start), in setFrame() 192 getResources().getColor(R.color.inval_region_stop)); in setFrame()
|
/frameworks/base/media/java/android/media/videoeditor/ |
D | EffectColor.java | 139 public int getColor() { in getColor() method in EffectColor
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorInflater.java | 256 valueFrom = a.getColor(valueFromIndex, 0); in loadAnimator() 265 valueTo = a.getColor(valueToIndex, 0); in loadAnimator() 279 valueTo = a.getColor(valueToIndex, 0); in loadAnimator()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | BitmapShader_Delegate.java | 179 data[index++] = getColor(pt2[0], pt2[1]); in getRaster() 192 private int getColor(float fx, float fy) { in getColor() method in BitmapShader_Delegate.BitmapShaderPaint
|
D | LinearGradient_Delegate.java | 207 data[index++] = getColor(pt2[0], pt2[1]); in getRaster() 220 private int getColor(float x, float y) { in getColor() method in LinearGradient_Delegate.LinearGradientPaint
|
/frameworks/base/libs/hwui/ |
D | GammaFontRenderer.cpp | 88 uint32_t c = paint->getColor(); in getFontRenderer()
|
D | OpenGLRenderer.cpp | 1322 setupDrawAlpha8Color(paint->getColor(), alpha); in drawAlphaBitmap() 1724 setupDrawColor(paint->getColor(), alpha); in drawLines() 1931 setupDrawColor(paint->getColor(), alpha); in drawPoints() 2047 int color = p->getColor(); in drawRect() 2152 setupDrawAlpha8Color(paint->getColor(), alpha); in drawText() 2329 setupDrawAlpha8Color(paint->getColor(), alpha); in drawPathTexture() 2555 int color = paint->getColor(); in getAlphaAndMode()
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestViewDrawText.java | 47 mColor = a.getColor(R.styleable.DrawTextTestView_color, Color.YELLOW); in BiDiTestViewDrawText()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 68 public static int getColor(String value) { in getColor() method in ResourceHelper 147 int color = ResourceHelper.getColor(value); in getColorStateList() 248 int color = getColor(stringValue); in getDrawable()
|
/frameworks/base/core/java/android/widget/ |
D | CalendarView.java | 361 mSelectedWeekBackgroundColor = attributesArray.getColor( in CalendarView() 363 mFocusedMonthDateColor = attributesArray.getColor( in CalendarView() 365 mUnfocusedMonthDateColor = attributesArray.getColor( in CalendarView() 367 mWeekSeparatorLineColor = attributesArray.getColor( in CalendarView() 369 mWeekNumberColor = attributesArray.getColor(R.styleable.CalendarView_weekNumberColor, 0); in CalendarView()
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockResources.java | 132 public int getColor(int id) throws NotFoundException { in getColor() method in MockResources
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
D | VideoEditorAPITest.java | 1068 assertEquals("Effect Color", EffectColor.PINK, effectColor1.getColor()); in testAllEffects() 1082 assertEquals("Effect Color", EffectColor.GRAY, effectColor2.getColor()); in testAllEffects() 1096 assertEquals("Effect Color", EffectColor.GREEN, effectColor3.getColor()); in testAllEffects() 1110 assertEquals("Effect Color", EffectColor.PINK, effectColor4.getColor()); in testAllEffects() 1124 assertEquals("Effect Color", EffectColor.GRAY, effectColor5.getColor()); in testAllEffects() 1139 EffectColor.GREEN, effectColor6.getColor()); in testAllEffects() 1153 assertEquals("Effect Color", -1, effectColor7.getColor()); in testAllEffects() 1166 assertEquals("Effect Color", -1, effectColor8.getColor()); in testAllEffects() 1180 assertEquals("Effect Color", -1, effectColor9.getColor()); in testAllEffects()
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 308 public int getColor(int index, int defValue) { in getColor() method in BridgeTypedArray 384 int color = ResourceHelper.getColor(value); in getColorStateList()
|
D | BridgeResources.java | 173 public int getColor(int id) throws NotFoundException { in getColor() method in BridgeResources 178 return ResourceHelper.getColor(value.getSecond().getValue()); in getColor()
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 224 color = r.getColor(colorRes); in inflate()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureOverlayView.java | 146 mCertainGestureColor = a.getColor(R.styleable.GestureOverlayView_gestureColor, in GestureOverlayView() 148 mUncertainGestureColor = a.getColor(R.styleable.GestureOverlayView_uncertainGestureColor, in GestureOverlayView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 58 mNumberPain.setColor(res.getColor(R.drawable.notification_number_text_color)); in StatusBarIconView()
|