Home
last modified time | relevance | path

Searched refs:colorBlock (Results 1 – 2 of 2) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewCoordinates.java361 final View colorBlock = view.findViewById(R.id.color_block); in ConversationItemViewCoordinates() local
362 if (config.isColorBlockVisible() && colorBlock != null) { in ConversationItemViewCoordinates()
363 colorBlockX = getX(colorBlock); in ConversationItemViewCoordinates()
364 colorBlockY = getY(colorBlock); in ConversationItemViewCoordinates()
365 colorBlockWidth = colorBlock.getWidth(); in ConversationItemViewCoordinates()
366 colorBlockHeight = colorBlock.getHeight(); in ConversationItemViewCoordinates()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DFolder.java621 public static void setFolderBlockColor(Folder folder, View colorBlock) { in setFolderBlockColor() argument
622 if (colorBlock == null) { in setFolderBlockColor()
628 if (backgroundColor == Utils.getDefaultFolderBackgroundColor(colorBlock.getContext())) { in setFolderBlockColor()
632 colorBlock.setBackgroundDrawable(null); in setFolderBlockColor()
633 colorBlock.setVisibility(View.GONE); in setFolderBlockColor()
637 colorBlock.setBackgroundDrawable(paintDrawable); in setFolderBlockColor()
638 colorBlock.setVisibility(View.VISIBLE); in setFolderBlockColor()