Home | History | Annotate | Download | only in launcher2

Lines Matching refs:MeasureSpec

497         final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
498 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
499 final int heightMode = MeasureSpec.getMode(heightMeasureSpec);
500 int heightSize = MeasureSpec.getSize(heightMeasureSpec);
501 if (widthMode != MeasureSpec.EXACTLY) {
533 childWidthMode = MeasureSpec.AT_MOST;
535 childWidthMode = MeasureSpec.EXACTLY;
540 childHeightMode = MeasureSpec.AT_MOST;
542 childHeightMode = MeasureSpec.EXACTLY;
546 MeasureSpec.makeMeasureSpec(widthSize - horizontalPadding, childWidthMode);
548 MeasureSpec.makeMeasureSpec(heightSize - verticalPadding, childHeightMode);
556 if (heightMode == MeasureSpec.AT_MOST) {
623 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.EXACTLY);
624 int heightSpec = MeasureSpec.makeMeasureSpec(getMeasuredHeight(), MeasureSpec.EXACTLY);
1755 measure(MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.EXACTLY),
1756 MeasureSpec.makeMeasureSpec(getMeasuredHeight(), MeasureSpec.EXACTLY));