/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/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | CircleView.java | 51 mCircleColor = res.getColor(R.color.white); in CircleView() 52 mDotColor = res.getColor(R.color.numbers_text_color); in CircleView() 82 mCircleColor = res.getColor(R.color.dark_gray); in setTheme() 83 mDotColor = res.getColor(R.color.light_gray); in setTheme() 85 mCircleColor = res.getColor(R.color.white); in setTheme() 86 mDotColor = res.getColor(R.color.numbers_text_color); in setTheme()
|
D | AmPmCirclesView.java | 77 mUnselectedColor = res.getColor(R.color.white); in initialize() 78 mSelectedColor = res.getColor(R.color.blue); in initialize() 79 mAmPmTextColor = res.getColor(R.color.ampm_text_color); in initialize() 104 mUnselectedColor = res.getColor(R.color.dark_gray); in setTheme() 105 mSelectedColor = res.getColor(R.color.red); in setTheme() 106 mAmPmTextColor = res.getColor(R.color.white); in setTheme() 109 mUnselectedColor = res.getColor(R.color.white); in setTheme() 110 mSelectedColor = res.getColor(R.color.blue); in setTheme() 111 mAmPmTextColor = res.getColor(R.color.ampm_text_color); in setTheme()
|
D | TimePickerDialog.java | 203 mSelectedColor = res.getColor(mThemeDark? R.color.red : R.color.blue); in onCreateView() 204 mUnselectedColor = res.getColor(mThemeDark? R.color.white : R.color.numbers_text_color); in onCreateView() 317 int white = res.getColor(R.color.white); in onCreateView() 318 int circleBackground = res.getColor(R.color.circle_background); in onCreateView() 319 int line = res.getColor(R.color.line_background); in onCreateView() 320 int timeDisplay = res.getColor(R.color.numbers_text_color); in onCreateView() 324 int darkGray = res.getColor(R.color.dark_gray); in onCreateView() 325 int lightGray = res.getColor(R.color.light_gray); in onCreateView() 326 int darkLine = res.getColor(R.color.line_dark); in onCreateView()
|
D | RadialSelectorView.java | 103 int blue = res.getColor(R.color.blue); in initialize() 148 color = res.getColor(R.color.red); in setTheme() 151 color = res.getColor(R.color.blue); in setTheme()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | SpeechOrbView.java | 32 mNotListeningOrbColors = new Colors(resources.getColor(R.color.lb_speech_orb_not_recording), in SpeechOrbView() 33 resources.getColor(R.color.lb_speech_orb_not_recording_pulsed), in SpeechOrbView() 34 resources.getColor(R.color.lb_speech_orb_not_recording_icon)); in SpeechOrbView() 35 mListeningOrbColors = new Colors(resources.getColor(R.color.lb_speech_orb_recording), in SpeechOrbView() 36 resources.getColor(R.color.lb_speech_orb_recording), in SpeechOrbView()
|
D | SearchOrbView.java | 187 int defColor = res.getColor(R.color.lb_default_search_color); in SearchOrbView() 188 int color = a.getColor(R.styleable.lbSearchOrbView_searchOrbColor, defColor); in SearchOrbView() 189 int brightColor = a.getColor( in SearchOrbView() 191 … int iconColor = a.getColor(R.styleable.lbSearchOrbView_searchOrbIconColor, Color.TRANSPARENT); in SearchOrbView()
|
/frameworks/base/core/java/android/transition/ |
D | Recolor.java | 82 if (startColor.getColor() != endColor.getColor()) { in createAnimator() 83 endColor.setColor(startColor.getColor()); in createAnimator() 85 return ObjectAnimator.ofArgb(endBackground, "color", startColor.getColor(), in createAnimator() 86 endColor.getColor()); in createAnimator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | DataUsageGraph.java | 47 mTrackColor = res.getColor(R.color.data_usage_graph_track); in DataUsageGraph() 48 mUsageColor = res.getColor(R.color.system_accent_color); in DataUsageGraph() 49 mOverlimitColor = res.getColor(R.color.system_warning_color); in DataUsageGraph() 50 mWarningColor = res.getColor(R.color.data_usage_graph_warning); in DataUsageGraph()
|
/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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BarTransitions.java | 139 mOpaque = res.getColor(R.color.system_bar_background_opaque); in BarBackgroundDrawable() 140 mSemiTransparent = res.getColor(R.color.system_bar_background_semi_transparent); in BarBackgroundDrawable() 141 mTransparent = res.getColor(R.color.system_bar_background_transparent); in BarBackgroundDrawable() 142 mWarning = res.getColor(com.android.internal.R.color.battery_saver_mode_color); in BarBackgroundDrawable()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
D | ColorFilterDimmer.java | 48 int dimColor = a.getColor(R.styleable.LeanbackTheme_overlayDimMaskColor, in createDefault() 49 context.getResources().getColor(R.color.lb_view_dim_mask_color)); in createDefault()
|
D | ColorOverlayDimmer.java | 44 int dimColor = a.getColor(R.styleable.LeanbackTheme_overlayDimMaskColor, in createDefault() 45 context.getResources().getColor(R.color.lb_view_dim_mask_color)); in createDefault()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardMultiUserAvatar.java | 95 mTextColor = res.getColor(R.color.keyguard_avatar_nick_color); in KeyguardMultiUserAvatar() 99 mFrameColor = res.getColor(R.color.keyguard_avatar_frame_color); in KeyguardMultiUserAvatar() 100 mFrameShadowColor = res.getColor(R.color.keyguard_avatar_frame_shadow_color); in KeyguardMultiUserAvatar() 101 mHighlightColor = res.getColor(R.color.keyguard_avatar_frame_pressed_color); in KeyguardMultiUserAvatar()
|
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/ |
D | MainActivity.java | 54 defaultColor = res.getColor(R.color.none_received); in onCreate() 55 startJobColor = res.getColor(R.color.start_received); in onCreate() 56 stopJobColor = res.getColor(R.color.stop_received); in onCreate()
|
/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() 178 const SkColor initColor = ((SkPaint*)paint)->getColor(); in NinePatch_Draw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | RecentsConfiguration.java | 242 res.getColor(R.color.recents_task_bar_default_background_color); in update() 244 res.getColor(R.color.recents_task_bar_light_text_color); in update() 246 res.getColor(R.color.recents_task_bar_dark_text_color); in update() 248 res.getColor(R.color.recents_task_bar_highlight_color); in update()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 128 .setColor(mContext.getResources().getColor( in createPrintingNotification() 146 .setColor(mContext.getResources().getColor( in createFailedNotification() 162 .setColor(mContext.getResources().getColor( in createBlockedNotification() 176 .setColor(mContext.getResources().getColor( in createCancellingNotification() 209 builder.setColor(mContext.getResources().getColor( in createStackedNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ActivatableNotificationView.java | 154 mLegacyColor = getResources().getColor(R.color.notification_legacy_background_color); in ActivatableNotificationView() 155 mNormalColor = getResources().getColor(R.color.notification_material_background_color); in ActivatableNotificationView() 156 mLowPriorityColor = getResources().getColor( in ActivatableNotificationView() 158 mTintedRippleColor = context.getResources().getColor( in ActivatableNotificationView() 160 mLowPriorityRippleColor = context.getResources().getColor( in ActivatableNotificationView() 162 mNormalRippleColor = context.getResources().getColor( in ActivatableNotificationView()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLPaint.java | 29 public int getColor() { in getColor() method in GLPaint
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 343 final int amPmSelectedColor = a.getColor(R.styleable.TimePicker_amPmSelectedBackgroundColor, in RadialTimePickerView() 344 res.getColor(R.color.timepicker_default_ampm_selected_background_color_material)); in RadialTimePickerView() 352 mAmPmTextColor = a.getColor(R.styleable.TimePicker_amPmTextColor, in RadialTimePickerView() 353 res.getColor(R.color.timepicker_default_text_color_material)); in RadialTimePickerView() 367 final int numbersTextColor = a.getColor(R.styleable.TimePicker_numbersTextColor, in RadialTimePickerView() 368 res.getColor(R.color.timepicker_default_text_color_material)); in RadialTimePickerView() 386 mColorSelector[HOURS][SELECTOR_CIRCLE] = a.getColor( in RadialTimePickerView() 392 mColorSelector[HOURS][SELECTOR_DOT] = a.getColor( in RadialTimePickerView() 399 mColorSelector[HOURS][SELECTOR_LINE] = a.getColor( in RadialTimePickerView() 405 mColorSelector[MINUTES][SELECTOR_CIRCLE] = a.getColor( in RadialTimePickerView() [all …]
|
D | EdgeEffect.java | 122 final int themeColor = a.getColor( in EdgeEffect() 304 public int getColor() { in getColor() method in EdgeEffect 305 return mPaint.getColor(); in getColor()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | StyledCornersBitmapDrawable.java | 114 final boolean changed = mBorderPaint.getColor() != color; in setBorderColor() 143 return mFlapPaint.getColor(); in getFlapColor() 152 boolean changed = mFlapPaint.getColor() != flapColor; in setFlapColor() 201 boolean changed = mCompatibilityModeBackgroundPaint.getColor() != color; in setCompatibilityModeBackgroundColor()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | TintTypedArray.java | 108 public int getColor(int index, int defValue) { in getColor() method in TintTypedArray 109 return mWrapped.getColor(index, defValue); in getColor()
|
/frameworks/opt/setupwizard/navigationbar/src/com/android/setupwizard/navigationbar/ |
D | SetupWizardNavBar.java | 137 Color.colorToHSV(attributes.getColor(1, 0), foregroundHsv); in getNavbarTheme() 138 Color.colorToHSV(attributes.getColor(2, 0), backgroundHsv); in getNavbarTheme()
|