Searched refs:parentWidth (Results 1 – 8 of 8) sorted by relevance
309 private void setupPaneWidths(int parentWidth) { in setupPaneWidths() argument311 if (parentWidth != getMeasuredWidth()) { in setupPaneWidths()312 final int convWidth = computeConversationWidth(parentWidth); in setupPaneWidths()314 setPaneWidth(mListView, computeConversationListWidth(parentWidth)); in setupPaneWidths()628 private int computeConversationListWidth(int parentWidth) {629 final int availWidth = parentWidth - mDrawerWidthMini;641 private int computeConversationWidth(int parentWidth) {642 return mShouldShowPreviewPanel ? parentWidth - computeConversationListWidth(parentWidth)643 - mDrawerWidthMini : parentWidth;
205 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local228 int childWidth = params.resolveWidth(parentWidth); in onMeasure()261 width += params.resolveLeftMargin(parentWidth) + params.resolveRightMargin(parentWidth); in onMeasure()265 int remainder = parentWidth - width; in onMeasure()
39 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local42 float value = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, parentWidth, in onMeasure()44 if (mMaxWidth > 0 && parentWidth > mMaxWidth) { in onMeasure()
32 ListView listView, int parentWidth, int listSpaceWeight, int listViewWeight) { in addPaddingToView() argument37 (int) (parentWidth * paddingPercent * TEXT_LEFT_PADDING_TO_CARD_PADDING_RATIO), in addPaddingToView()39 (int) (parentWidth * paddingPercent * TEXT_LEFT_PADDING_TO_CARD_PADDING_RATIO), in addPaddingToView()
71 final int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local111 if (!outOfSpec && totalLength > parentWidth) { in onMeasure()112 int maxWidth = ellipsizeView.getMeasuredWidth() - (totalLength - parentWidth); in onMeasure()
598 final int parentWidth = right - left; in onLayout() local650 childLeft = (parentWidth - width) / 2 + in onLayout()654 childLeft = parentWidth - width / 2 - height / 2 - lp.bottomMargin; in onLayout()663 childLeft = (parentWidth - width) / 2 + in onLayout()667 childLeft = parentWidth - width - lp.rightMargin; in onLayout()
1152 final int parentWidth = getWidth(); in recycleViewsOutOfBounds() local1161 if (v.hasFocus() || (v.getRight() >= 0 && v.getLeft() <= parentWidth && in recycleViewsOutOfBounds()
207 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local209 setMeasuredDimension(parentWidth, parentHeight); in onMeasure()