Home
last modified time | relevance | path

Searched refs:totalWidth (Results 1 – 3 of 3) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemView.java302 int totalWidth = 0; in measureFolders() local
312 totalWidth += width; in measureFolders()
313 if (totalWidth > availableSpace) { in measureFolders()
318 return totalWidth; in measureFolders()
344 final int totalWidth = measureFolders(availableSpace, cellSize); in drawFolders() local
345 int xStart = xEnd - Math.min(availableSpace, totalWidth); in drawFolders()
346 final boolean overflow = totalWidth > availableSpace; in drawFolders()
1155 int totalWidth = 0; in calculateCoordinates() local
1167 totalWidth += senderFragment.width; in calculateCoordinates()
1173 totalWidth = ellipsize(fixedWidth); in calculateCoordinates()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DTwoPaneLayout.java471 private int computeConversationListWidth(int totalWidth) { in computeConversationListWidth() argument
476 return totalWidth - computeFolderListWidth(totalWidth); in computeConversationListWidth()
480 return (int) (totalWidth * mConversationListWeight); in computeConversationListWidth()
493 private int computeConversationWidth(int totalWidth) { in computeConversationWidth() argument
495 return totalWidth; in computeConversationWidth()
497 return totalWidth - (int) (totalWidth * mConversationListWeight); in computeConversationWidth()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactListItemView.java391 final int totalWidth = effectiveWidth - mGapBetweenLabelAndData; in onMeasure() local
392 dataWidth = ((totalWidth * mDataViewWidthWeight) in onMeasure()
394 labelWidth = ((totalWidth * mLabelViewWidthWeight) / in onMeasure()