Searched refs:layoutParams (Results 1 – 9 of 9) sorted by relevance
97 final LinearLayout.LayoutParams layoutParams = in onMeasure() local99 if (layoutParams != null) { in onMeasure()100 outOfSpec |= (layoutParams.weight > 0f); in onMeasure()102 + layoutParams.leftMargin + layoutParams.rightMargin; in onMeasure()
358 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in ensurePinnedHeaderLayout() local362 if (layoutParams != null && layoutParams.width > 0) { in ensurePinnedHeaderLayout()364 .makeMeasureSpec(layoutParams.width, View.MeasureSpec.EXACTLY); in ensurePinnedHeaderLayout()370 if (layoutParams != null && layoutParams.height > 0) { in ensurePinnedHeaderLayout()372 .makeMeasureSpec(layoutParams.height, View.MeasureSpec.EXACTLY); in ensurePinnedHeaderLayout()
42 LayoutParams layoutParams = mProgress.getLayoutParams(); in setProgress() local43 layoutParams.width = mContainer.getWidth() * progressPercent / 100; in setProgress()44 mProgress.setLayoutParams(layoutParams); in setProgress()
305 LayoutParams layoutParams = new LayoutParams(mSourceBounds.width(), in displayPhoto() local311 layoutParams.setMargins(mOriginalPos.left, mOriginalPos.top, mOriginalPos.right, in displayPhoto()313 mPhotoStartParams = layoutParams; in displayPhoto()314 mPhotoView.setLayoutParams(layoutParams); in displayPhoto()
450 ViewGroup.LayoutParams layoutParams = mPortraitTabs.getLayoutParams(); in setPortraitTabHeight() local451 layoutParams.height = height; in setPortraitTabHeight()452 mPortraitTabs.setLayoutParams(layoutParams); in setPortraitTabHeight()
103 … LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams) v.getLayoutParams(); in fixGravityAndPadding() local104 int gravity = layoutParams.gravity; in fixGravityAndPadding()145 layoutParams.gravity = gravity; in fixGravityAndPadding()
144 ViewGroup.LayoutParams layoutParams = getLayoutParams(); in setAnimatedHeight() local145 if (layoutParams != null) { in setAnimatedHeight()146 layoutParams.height = height; in setAnimatedHeight()
566 LinearLayout.LayoutParams layoutParams = in createNormalCandidateView() local569 lineView.setLayoutParams(layoutParams); in createNormalCandidateView()577 layoutParams = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in createNormalCandidateView()579 layoutParams.weight = 0; in createNormalCandidateView()580 layoutParams.gravity = Gravity.RIGHT; in createNormalCandidateView()581 tv.setLayoutParams(layoutParams); in createNormalCandidateView()
425 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( in generateSeparator() local439 layoutParams.setMarginStart(marginStart); in generateSeparator()440 separator.setLayoutParams(layoutParams); in generateSeparator()