use of org.telegram.ui.ActionBar.ThemeDescription in project Telegram-FOSS by Telegram-FOSS-Team.
the class SearchViewPager method getThemeDescriptors.
public void getThemeDescriptors(ArrayList<ThemeDescription> arrayList) {
for (int i = 0; i < getChildCount(); i++) {
if (getChildAt(i) instanceof FilteredSearchView) {
arrayList.addAll(((FilteredSearchView) getChildAt(i)).getThemeDescriptions());
}
}
int n = viewsByType.size();
for (int i = 0; i < n; i++) {
View v = viewsByType.valueAt(i);
if (v instanceof FilteredSearchView) {
arrayList.addAll(((FilteredSearchView) v).getThemeDescriptions());
}
}
if (noMediaFiltersSearchView != null) {
arrayList.addAll(noMediaFiltersSearchView.getThemeDescriptions());
}
arrayList.add(new ThemeDescription(emptyView.title, ThemeDescription.FLAG_TEXTCOLOR, null, null, null, null, Theme.key_windowBackgroundWhiteBlackText));
arrayList.add(new ThemeDescription(emptyView.subtitle, ThemeDescription.FLAG_TEXTCOLOR, null, null, null, null, Theme.key_windowBackgroundWhiteGrayText));
}
use of org.telegram.ui.ActionBar.ThemeDescription in project Telegram-FOSS by Telegram-FOSS-Team.
the class ThemePreviewActivity method getThemeDescriptionsInternal.
private List<ThemeDescription> getThemeDescriptionsInternal() {
ThemeDescription.ThemeDescriptionDelegate descriptionDelegate = () -> {
if (dropDownContainer != null) {
dropDownContainer.redrawPopup(Theme.getColor(Theme.key_actionBarDefaultSubmenuBackground));
dropDownContainer.setPopupItemsColor(Theme.getColor(Theme.key_actionBarDefaultSubmenuItem), false);
}
if (sheetDrawable != null) {
sheetDrawable.setColorFilter(new PorterDuffColorFilter(Theme.getColor(Theme.key_windowBackgroundWhite), PorterDuff.Mode.MULTIPLY));
}
};
List<ThemeDescription> items = new ArrayList<>();
items.add(new ThemeDescription(page1, ThemeDescription.FLAG_BACKGROUND, null, null, null, descriptionDelegate, Theme.key_windowBackgroundWhite));
items.add(new ThemeDescription(viewPager, ThemeDescription.FLAG_LISTGLOWCOLOR, null, null, null, null, Theme.key_actionBarDefault));
items.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_BACKGROUND, null, null, null, null, Theme.key_actionBarDefault));
items.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_SELECTORCOLOR, null, null, null, null, Theme.key_actionBarDefaultSelector));
items.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_TITLECOLOR, null, null, null, null, Theme.key_actionBarDefaultTitle));
items.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_SEARCH, null, null, null, null, Theme.key_actionBarDefaultSearch));
items.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_SEARCHPLACEHOLDER, null, null, null, null, Theme.key_actionBarDefaultSearchPlaceholder));
items.add(new ThemeDescription(actionBar2, ThemeDescription.FLAG_BACKGROUND, null, null, null, null, Theme.key_actionBarDefault));
items.add(new ThemeDescription(actionBar2, ThemeDescription.FLAG_AB_TITLECOLOR, null, null, null, null, Theme.key_actionBarDefaultTitle));
items.add(new ThemeDescription(actionBar2, ThemeDescription.FLAG_AB_SUBTITLECOLOR, null, null, null, null, Theme.key_actionBarDefaultSubtitle));
items.add(new ThemeDescription(actionBar2, ThemeDescription.FLAG_AB_SELECTORCOLOR, null, null, null, null, Theme.key_actionBarDefaultSelector));
items.add(new ThemeDescription(actionBar2, ThemeDescription.FLAG_AB_SUBMENUBACKGROUND, null, null, null, descriptionDelegate, Theme.key_actionBarDefaultSubmenuBackground));
items.add(new ThemeDescription(actionBar2, ThemeDescription.FLAG_AB_SUBMENUITEM, null, null, null, descriptionDelegate, Theme.key_actionBarDefaultSubmenuItem));
items.add(new ThemeDescription(listView, ThemeDescription.FLAG_LISTGLOWCOLOR, null, null, null, null, Theme.key_actionBarDefault));
items.add(new ThemeDescription(listView2, ThemeDescription.FLAG_LISTGLOWCOLOR, null, null, null, null, Theme.key_actionBarDefault));
items.add(new ThemeDescription(floatingButton, ThemeDescription.FLAG_IMAGECOLOR, null, null, null, null, Theme.key_chats_actionIcon));
items.add(new ThemeDescription(floatingButton, ThemeDescription.FLAG_BACKGROUNDFILTER, null, null, null, null, Theme.key_chats_actionBackground));
items.add(new ThemeDescription(floatingButton, ThemeDescription.FLAG_BACKGROUNDFILTER | ThemeDescription.FLAG_DRAWABLESELECTEDSTATE, null, null, null, null, Theme.key_chats_actionPressedBackground));
if (!useDefaultThemeForButtons) {
items.add(new ThemeDescription(saveButtonsContainer, ThemeDescription.FLAG_BACKGROUND, null, null, null, null, Theme.key_windowBackgroundWhite));
items.add(new ThemeDescription(cancelButton, ThemeDescription.FLAG_TEXTCOLOR, null, null, null, null, Theme.key_chat_fieldOverlayText));
items.add(new ThemeDescription(doneButton, ThemeDescription.FLAG_TEXTCOLOR, null, null, null, null, Theme.key_chat_fieldOverlayText));
}
if (colorPicker != null) {
colorPicker.provideThemeDescriptions(items);
}
if (patternLayout != null) {
for (int a = 0; a < patternLayout.length; a++) {
items.add(new ThemeDescription(patternLayout[a], 0, null, null, new Drawable[] { Theme.chat_composeShadowDrawable }, null, Theme.key_chat_messagePanelShadow));
items.add(new ThemeDescription(patternLayout[a], 0, null, Theme.chat_composeBackgroundPaint, null, null, Theme.key_chat_messagePanelBackground));
}
for (int a = 0; a < patternsButtonsContainer.length; a++) {
items.add(new ThemeDescription(patternsButtonsContainer[a], 0, null, null, new Drawable[] { Theme.chat_composeShadowDrawable }, null, Theme.key_chat_messagePanelShadow));
items.add(new ThemeDescription(patternsButtonsContainer[a], 0, null, Theme.chat_composeBackgroundPaint, null, null, Theme.key_chat_messagePanelBackground));
}
items.add(new ThemeDescription(bottomOverlayChat, 0, null, null, new Drawable[] { Theme.chat_composeShadowDrawable }, null, Theme.key_chat_messagePanelShadow));
items.add(new ThemeDescription(bottomOverlayChat, 0, null, Theme.chat_composeBackgroundPaint, null, null, Theme.key_chat_messagePanelBackground));
items.add(new ThemeDescription(bottomOverlayChatText, ThemeDescription.FLAG_TEXTCOLOR, null, null, null, null, Theme.key_chat_fieldOverlayText));
for (int a = 0; a < patternsSaveButton.length; a++) {
items.add(new ThemeDescription(patternsSaveButton[a], ThemeDescription.FLAG_TEXTCOLOR, null, null, null, null, Theme.key_chat_fieldOverlayText));
}
for (int a = 0; a < patternsCancelButton.length; a++) {
items.add(new ThemeDescription(patternsCancelButton[a], ThemeDescription.FLAG_TEXTCOLOR, null, null, null, null, Theme.key_chat_fieldOverlayText));
}
items.add(new ThemeDescription(intensitySeekBar, 0, new Class[] { SeekBarView.class }, new String[] { "innerPaint1" }, null, null, null, Theme.key_player_progressBackground));
items.add(new ThemeDescription(intensitySeekBar, 0, new Class[] { SeekBarView.class }, new String[] { "outerPaint1" }, null, null, null, Theme.key_player_progress));
items.add(new ThemeDescription(intensityCell, 0, new Class[] { HeaderCell.class }, new String[] { "textView" }, null, null, null, Theme.key_windowBackgroundWhiteBlueHeader));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, new Drawable[] { Theme.chat_msgInDrawable, Theme.chat_msgInMediaDrawable }, null, Theme.key_chat_inBubble));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, new Drawable[] { Theme.chat_msgInSelectedDrawable, Theme.chat_msgInMediaSelectedDrawable }, null, Theme.key_chat_inBubbleSelected));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, Theme.chat_msgInDrawable.getShadowDrawables(), null, Theme.key_chat_inBubbleShadow));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, Theme.chat_msgInMediaDrawable.getShadowDrawables(), null, Theme.key_chat_inBubbleShadow));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, new Drawable[] { msgOutDrawable, msgOutMediaDrawable }, null, Theme.key_chat_outBubble));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, new Drawable[] { msgOutDrawable, msgOutMediaDrawable }, null, Theme.key_chat_outBubbleGradient1));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, new Drawable[] { msgOutDrawable, msgOutMediaDrawable }, null, Theme.key_chat_outBubbleGradient2));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, new Drawable[] { msgOutDrawable, msgOutMediaDrawable }, null, Theme.key_chat_outBubbleGradient3));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, new Drawable[] { Theme.chat_msgOutSelectedDrawable, Theme.chat_msgOutMediaSelectedDrawable }, null, Theme.key_chat_outBubbleSelected));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, Theme.chat_msgOutDrawable.getShadowDrawables(), null, Theme.key_chat_outBubbleShadow));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, Theme.chat_msgOutMediaDrawable.getShadowDrawables(), null, Theme.key_chat_outBubbleShadow));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, null, null, Theme.key_chat_messageTextIn));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, null, null, Theme.key_chat_messageTextOut));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, new Drawable[] { Theme.chat_msgOutCheckDrawable }, null, Theme.key_chat_outSentCheck));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, new Drawable[] { Theme.chat_msgOutCheckSelectedDrawable }, null, Theme.key_chat_outSentCheckSelected));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, new Drawable[] { Theme.chat_msgOutCheckReadDrawable, Theme.chat_msgOutHalfCheckDrawable }, null, Theme.key_chat_outSentCheckRead));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, new Drawable[] { Theme.chat_msgOutCheckReadSelectedDrawable, Theme.chat_msgOutHalfCheckSelectedDrawable }, null, Theme.key_chat_outSentCheckReadSelected));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, new Drawable[] { Theme.chat_msgMediaCheckDrawable, Theme.chat_msgMediaHalfCheckDrawable }, null, Theme.key_chat_mediaSentCheck));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, null, null, Theme.key_chat_inReplyLine));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, null, null, Theme.key_chat_outReplyLine));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, null, null, Theme.key_chat_inReplyNameText));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, null, null, Theme.key_chat_outReplyNameText));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, null, null, Theme.key_chat_inReplyMessageText));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, null, null, Theme.key_chat_outReplyMessageText));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, null, null, Theme.key_chat_inReplyMediaMessageSelectedText));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, null, null, Theme.key_chat_outReplyMediaMessageSelectedText));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, null, null, Theme.key_chat_inTimeText));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, null, null, Theme.key_chat_outTimeText));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, null, null, Theme.key_chat_inTimeSelectedText));
items.add(new ThemeDescription(listView2, 0, new Class[] { ChatMessageCell.class }, null, null, null, Theme.key_chat_outTimeSelectedText));
}
return items;
}
use of org.telegram.ui.ActionBar.ThemeDescription in project Telegram-FOSS by Telegram-FOSS-Team.
the class ThemePreviewActivity method applyColor.
private void applyColor(int color, int num) {
if (colorType == 1) {
if (num == 0) {
accent.accentColor = color;
Theme.refreshThemeColors();
} else if (num == 1) {
accent.accentColor2 = color;
Theme.refreshThemeColors(true, true);
listView2.invalidateViews();
colorPicker.setHasChanges(hasChanges(colorType));
updatePlayAnimationView(true);
}
} else if (colorType == 2) {
if (lastPickedColorNum == 0) {
accent.backgroundOverrideColor = color;
} else {
if (num == 1) {
int defaultGradientColor = Theme.getDefaultAccentColor(Theme.key_chat_wallpaper_gradient_to1);
if (color == 0 && defaultGradientColor != 0) {
accent.backgroundGradientOverrideColor1 = (1L << 32);
} else {
accent.backgroundGradientOverrideColor1 = color;
}
} else if (num == 2) {
int defaultGradientColor = Theme.getDefaultAccentColor(Theme.key_chat_wallpaper_gradient_to2);
if (color == 0 && defaultGradientColor != 0) {
accent.backgroundGradientOverrideColor2 = (1L << 32);
} else {
accent.backgroundGradientOverrideColor2 = color;
}
} else if (num == 3) {
int defaultGradientColor = Theme.getDefaultAccentColor(Theme.key_chat_wallpaper_gradient_to3);
if (color == 0 && defaultGradientColor != 0) {
accent.backgroundGradientOverrideColor3 = (1L << 32);
} else {
accent.backgroundGradientOverrideColor3 = color;
}
}
}
Theme.refreshThemeColors(true, false);
colorPicker.setHasChanges(hasChanges(colorType));
updatePlayAnimationView(true);
} else if (colorType == 3) {
if (lastPickedColorNum == 0) {
accent.myMessagesAccentColor = color;
} else if (lastPickedColorNum == 1) {
accent.myMessagesGradientAccentColor1 = color;
} else if (lastPickedColorNum == 2) {
int prevColor = accent.myMessagesGradientAccentColor2;
accent.myMessagesGradientAccentColor2 = color;
if (prevColor != 0 && color == 0) {
messagesAdapter.notifyItemRemoved(0);
} else if (prevColor == 0 && color != 0) {
messagesAdapter.notifyItemInserted(0);
showAnimationHint();
}
} else {
accent.myMessagesGradientAccentColor3 = color;
}
if (lastPickedColorNum >= 0) {
messagesCheckBoxView[1].setColor(lastPickedColorNum, color);
}
Theme.refreshThemeColors(true, true);
listView2.invalidateViews();
colorPicker.setHasChanges(hasChanges(colorType));
updatePlayAnimationView(true);
}
for (int i = 0, size = themeDescriptions.size(); i < size; i++) {
ThemeDescription description = themeDescriptions.get(i);
description.setColor(Theme.getColor(description.getCurrentKey()), false, false);
}
listView.invalidateViews();
listView2.invalidateViews();
if (dotsContainer != null) {
dotsContainer.invalidate();
}
}
use of org.telegram.ui.ActionBar.ThemeDescription in project Telegram-FOSS by Telegram-FOSS-Team.
the class WallpapersListActivity method getThemeDescriptions.
@Override
public ArrayList<ThemeDescription> getThemeDescriptions() {
ArrayList<ThemeDescription> themeDescriptions = new ArrayList<>();
themeDescriptions.add(new ThemeDescription(fragmentView, 0, null, null, null, null, Theme.key_windowBackgroundWhite));
themeDescriptions.add(new ThemeDescription(fragmentView, 0, null, null, null, null, Theme.key_windowBackgroundGray));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_BACKGROUND, null, null, null, null, Theme.key_actionBarDefault));
themeDescriptions.add(new ThemeDescription(listView, ThemeDescription.FLAG_LISTGLOWCOLOR, null, null, null, null, Theme.key_actionBarDefault));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_ITEMSCOLOR, null, null, null, null, Theme.key_actionBarDefaultIcon));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_TITLECOLOR, null, null, null, null, Theme.key_actionBarDefaultTitle));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_SELECTORCOLOR, null, null, null, null, Theme.key_actionBarDefaultSelector));
themeDescriptions.add(new ThemeDescription(listView, ThemeDescription.FLAG_SELECTOR, null, null, null, null, Theme.key_listSelector));
themeDescriptions.add(new ThemeDescription(listView, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[] { TextInfoPrivacyCell.class }, null, null, null, Theme.key_windowBackgroundGrayShadow));
themeDescriptions.add(new ThemeDescription(listView, ThemeDescription.FLAG_BACKGROUNDFILTER | ThemeDescription.FLAG_CELLBACKGROUNDCOLOR, new Class[] { TextInfoPrivacyCell.class }, null, null, null, Theme.key_windowBackgroundGray));
themeDescriptions.add(new ThemeDescription(listView, 0, new Class[] { TextInfoPrivacyCell.class }, new String[] { "textView" }, null, null, null, Theme.key_windowBackgroundWhiteGrayText4));
themeDescriptions.add(new ThemeDescription(listView, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[] { ShadowSectionCell.class }, null, null, null, Theme.key_windowBackgroundGrayShadow));
themeDescriptions.add(new ThemeDescription(listView, ThemeDescription.FLAG_BACKGROUNDFILTER | ThemeDescription.FLAG_CELLBACKGROUNDCOLOR, new Class[] { ShadowSectionCell.class }, null, null, null, Theme.key_windowBackgroundGray));
themeDescriptions.add(new ThemeDescription(listView, 0, new Class[] { TextCell.class }, new String[] { "textView" }, null, null, null, Theme.key_windowBackgroundWhiteBlackText));
themeDescriptions.add(new ThemeDescription(listView, 0, new Class[] { TextCell.class }, new String[] { "valueTextView" }, null, null, null, Theme.key_windowBackgroundWhiteValueText));
themeDescriptions.add(new ThemeDescription(listView, 0, new Class[] { TextCell.class }, new String[] { "imageView" }, null, null, null, Theme.key_windowBackgroundWhiteGrayIcon));
themeDescriptions.add(new ThemeDescription(listView, 0, new Class[] { GraySectionCell.class }, new String[] { "textView" }, null, null, null, Theme.key_graySectionText));
themeDescriptions.add(new ThemeDescription(listView, ThemeDescription.FLAG_CELLBACKGROUNDCOLOR, new Class[] { GraySectionCell.class }, null, null, null, Theme.key_graySection));
themeDescriptions.add(new ThemeDescription(searchEmptyView, ThemeDescription.FLAG_TEXTCOLOR, null, null, null, null, Theme.key_emptyListPlaceholder));
themeDescriptions.add(new ThemeDescription(searchEmptyView, ThemeDescription.FLAG_PROGRESSBAR, null, null, null, null, Theme.key_progressCircle));
themeDescriptions.add(new ThemeDescription(searchEmptyView, ThemeDescription.FLAG_BACKGROUND, null, null, null, null, Theme.key_windowBackgroundWhite));
return themeDescriptions;
}
use of org.telegram.ui.ActionBar.ThemeDescription in project Telegram-FOSS by Telegram-FOSS-Team.
the class WebviewActivity method getThemeDescriptions.
@Override
public ArrayList<ThemeDescription> getThemeDescriptions() {
ArrayList<ThemeDescription> themeDescriptions = new ArrayList<>();
if (type == TYPE_GAME) {
themeDescriptions.add(new ThemeDescription(fragmentView, ThemeDescription.FLAG_BACKGROUND, null, null, null, null, Theme.key_windowBackgroundWhite));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_BACKGROUND, null, null, null, null, Theme.key_actionBarDefault));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_ITEMSCOLOR, null, null, null, null, Theme.key_actionBarDefaultIcon));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_TITLECOLOR, null, null, null, null, Theme.key_actionBarDefaultTitle));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_SELECTORCOLOR, null, null, null, null, Theme.key_actionBarDefaultSelector));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_SUBMENUBACKGROUND, null, null, null, null, Theme.key_actionBarDefaultSubmenuBackground));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_SUBMENUITEM, null, null, null, null, Theme.key_actionBarDefaultSubmenuItem));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_SUBMENUITEM | ThemeDescription.FLAG_IMAGECOLOR, null, null, null, null, Theme.key_actionBarDefaultSubmenuItemIcon));
themeDescriptions.add(new ThemeDescription(progressView, 0, null, null, null, null, Theme.key_contextProgressInner2));
themeDescriptions.add(new ThemeDescription(progressView, 0, null, null, null, null, Theme.key_contextProgressOuter2));
} else {
themeDescriptions.add(new ThemeDescription(fragmentView, ThemeDescription.FLAG_BACKGROUND, null, null, null, null, Theme.key_windowBackgroundWhite));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_BACKGROUND, null, null, null, null, Theme.key_player_actionBar));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_ITEMSCOLOR, null, null, null, null, Theme.key_player_actionBarItems));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_TITLECOLOR, null, null, null, null, Theme.key_player_actionBarTitle));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_SUBTITLECOLOR, null, null, null, null, Theme.key_player_actionBarTitle));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_SELECTORCOLOR, null, null, null, null, Theme.key_player_actionBarSelector));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_SUBMENUBACKGROUND, null, null, null, null, Theme.key_actionBarDefaultSubmenuBackground));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_SUBMENUITEM, null, null, null, null, Theme.key_actionBarDefaultSubmenuItem));
themeDescriptions.add(new ThemeDescription(actionBar, ThemeDescription.FLAG_AB_SUBMENUITEM | ThemeDescription.FLAG_IMAGECOLOR, null, null, null, null, Theme.key_actionBarDefaultSubmenuItemIcon));
themeDescriptions.add(new ThemeDescription(progressView, 0, null, null, null, null, Theme.key_contextProgressInner4));
themeDescriptions.add(new ThemeDescription(progressView, 0, null, null, null, null, Theme.key_contextProgressOuter4));
}
return themeDescriptions;
}
Aggregations