Searched refs:colorBlock (Results 1 – 2 of 2) sorted by relevance
361 final View colorBlock = view.findViewById(R.id.color_block); in ConversationItemViewCoordinates() local362 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()
621 public static void setFolderBlockColor(Folder folder, View colorBlock) { in setFolderBlockColor() argument622 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()