Searched refs:createdMessage (Results 1 – 2 of 2) sorted by relevance
87 MessagingTextMessage createdMessage = sInstancePool.acquire(); in createMessage() local88 if (createdMessage == null) { in createMessage()89 createdMessage = (MessagingTextMessage) LayoutInflater.from( in createMessage()94 createdMessage.addOnLayoutChangeListener(MessagingLayout.MESSAGING_PROPERTY_ANIMATOR); in createMessage()96 createdMessage.setMessage(m, usePrecomputedText); in createMessage()97 return createdMessage; in createMessage()
128 MessagingImageMessage createdMessage = sInstancePool.acquire(); in createMessage() local129 if (createdMessage == null) { in createMessage()130 createdMessage = (MessagingImageMessage) LayoutInflater.from( in createMessage()135 createdMessage.addOnLayoutChangeListener(MessagingLayout.MESSAGING_PROPERTY_ANIMATOR); in createMessage()137 createdMessage.setImageResolver(resolver); in createMessage()139 boolean populated = createdMessage.setMessage(m, /* usePrecomputedText= */false); in createMessage()141 createdMessage.recycle(); in createMessage()144 return createdMessage; in createMessage()