Home
last modified time | relevance | path

Searched refs:displayColor (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/event/
DEventColorCache.java46 public void insertColor(String accountName, String accountType, int displayColor, in insertColor() argument
48 mColorKeyMap.put(createKey(accountName, accountType, displayColor), colorKey); in insertColor()
54 colorPalette.add(displayColor); in insertColor()
76 public int getColorKey(String accountName, String accountType, int displayColor) { in getColorKey() argument
77 return mColorKeyMap.get(createKey(accountName, accountType, displayColor)); in getColorKey()
103 private String createKey(String accountName, String accountType, int displayColor) { in createKey() argument
106 .append(displayColor) in createKey()
DEditEventView.java1226 public void updateHeadlineColor(CalendarEventModel model, int displayColor) { in updateHeadlineColor() argument
1230 .setBackgroundColor(displayColor); in updateHeadlineColor()
1232 mView.findViewById(R.id.calendar_group).setBackgroundColor(displayColor); in updateHeadlineColor()
1235 setSpinnerBackgroundColor(displayColor); in updateHeadlineColor()
1239 private void setSpinnerBackgroundColor(int displayColor) { in setSpinnerBackgroundColor() argument
1241 mCalendarSelectorWrapper.setBackgroundColor(displayColor); in setSpinnerBackgroundColor()
1243 mCalendarSelectorGroup.setBackgroundColor(displayColor); in setSpinnerBackgroundColor()
1737 int displayColor = Utils.getDisplayColorFromColor(color); in onItemSelected() local
1741 displayColor == mModel.getCalendarColor()) { in onItemSelected()
1745 setSpinnerBackgroundColor(displayColor); in onItemSelected()
[all …]
DEditEventFragment.java355 int displayColor = Utils.getDisplayColorFromColor(rawColor); in onQueryComplete() local
361 displayColor, colorKey); in onQueryComplete()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DSubscriptionListData.java51 public final int displayColor; field in SubscriptionListData.SubscriptionListEntry
55 final Uri selectedIconUri, final String displayName, final int displayColor, in SubscriptionListEntry() argument
61 this.displayColor = displayColor; in SubscriptionListEntry()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java248 int displayColor = Utils.getDisplayColorFromColor(eventInfo.color);
272 views.setInt(R.id.title, "setTextColor", displayColor);
281 Utils.getDeclinedColorFromColor(displayColor));
283 views.setInt(R.id.agenda_item_color, "setColorFilter", displayColor);
295 Utils.getDeclinedColorFromColor(displayColor));
307 views.setInt(R.id.agenda_item_color, "setColorFilter", displayColor);
/packages/apps/Calendar/src/com/android/calendar/
DCalendarColorPickerDialog.java124 int displayColor = Utils.getDisplayColorFromColor(rawColor); in onQueryComplete() local
125 mColorKeyMap.put(displayColor, colorKey); in onQueryComplete()
126 colors.add(displayColor); in onQueryComplete()
DEventInfoFragment.java541 int displayColor = Utils.getDisplayColorFromColor(rawColor); in onQueryComplete() local
542 mDisplayColorKeyMap.put(displayColor, colorKey); in onQueryComplete()
543 colors.add(displayColor); in onQueryComplete()
/packages/apps/Calendar/tests/src/com/android/calendar/event/
DEditEventHelperTest.java1558 int displayColor = Utils.getDisplayColorFromColor(-2350809); in buildTestModel() local
1559 model.setEventColor(displayColor); in buildTestModel()
1563 cache.insertColor("steve.owner@gmail.com", "gmail.com", displayColor, 12); in buildTestModel()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageView.java454 R.color.timestamp_text_incoming) : subscriptionEntry.displayColor); in updateViewContent()