/frameworks/base/core/java/com/android/internal/widget/ |
D | WeightedLinearLayout.java | 69 widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, EXACTLY); in onMeasure() 77 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMin, EXACTLY); in onMeasure() 80 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMax, EXACTLY); in onMeasure()
|
D | FaceUnlockView.java | 61 MeasureSpec.makeMeasureSpec(chosenSize, MeasureSpec.AT_MOST); in onMeasure() 63 MeasureSpec.makeMeasureSpec(chosenSize, MeasureSpec.AT_MOST); in onMeasure()
|
D | PreferenceImageView.java | 53 widthMeasureSpec = MeasureSpec.makeMeasureSpec(maxWidth, MeasureSpec.AT_MOST); in onMeasure() 63 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST); in onMeasure()
|
D | ActionBarView.java | 930 final int childSpecHeight = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST); in onMeasure() 931 final int exactHeightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); in onMeasure() 945 homeWidthSpec = MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST); in onMeasure() 947 homeWidthSpec = MeasureSpec.makeMeasureSpec(homeLp.width, MeasureSpec.EXACTLY); in onMeasure() 990 MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST), in onMeasure() 991 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in onMeasure() 1003 MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST), in onMeasure() 1004 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in onMeasure() 1060 MeasureSpec.makeMeasureSpec(customNavWidth, customNavWidthMode), in onMeasure() 1061 MeasureSpec.makeMeasureSpec(customNavHeight, customNavHeightMode)); in onMeasure() [all …]
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | MultiPaneChallengeLayout.java | 220 final int insetHeightSpec = MeasureSpec.makeMeasureSpec(insetHeight, MeasureSpec.EXACTLY); in onMeasure() 256 adjustedWidthSpec = MeasureSpec.makeMeasureSpec( in onMeasure() 260 adjustedHeightSpec = MeasureSpec.makeMeasureSpec( in onMeasure() 297 adjustedWidthSpec = MeasureSpec.makeMeasureSpec( in onMeasure() 300 adjustedHeightSpec = MeasureSpec.makeMeasureSpec( in onMeasure() 303 adjustedWidthSpec = MeasureSpec.makeMeasureSpec( in onMeasure() 305 adjustedHeightSpec = MeasureSpec.makeMeasureSpec( in onMeasure() 310 adjustedWidthSpec = MeasureSpec.makeMeasureSpec( in onMeasure() 312 adjustedHeightSpec = MeasureSpec.makeMeasureSpec( in onMeasure() 316 adjustedWidthSpec = MeasureSpec.makeMeasureSpec( in onMeasure() [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ShadowOverlayContainer.java | 161 childWidthMeasureSpec = MeasureSpec.makeMeasureSpec in onMeasure() 167 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec in onMeasure() 184 childWidthMeasureSpec = MeasureSpec.makeMeasureSpec in onMeasure() 191 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec in onMeasure()
|
D | DetailsOverviewSharedElementHelper.java | 71 MeasureSpec.makeMeasureSpec(imageView.getMeasuredWidth(), MeasureSpec.EXACTLY), in updateImageViewAfterScaleTypeChange() 72 MeasureSpec.makeMeasureSpec(imageView.getMeasuredHeight(), MeasureSpec.EXACTLY)); in updateImageViewAfterScaleTypeChange() 127 imageView.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in onSharedElementStart() 128 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in onSharedElementStart() 132 rightPanel.measure(MeasureSpec.makeMeasureSpec(mRightPanelWidth, MeasureSpec.EXACTLY), in onSharedElementStart() 133 MeasureSpec.makeMeasureSpec(mRightPanelHeight, MeasureSpec.EXACTLY)); in onSharedElementStart()
|
D | BaseCardView.java | 350 final int unspecifiedSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in onMeasure() 366 int cardWidthMeasureSpec = MeasureSpec.makeMeasureSpec(mMeasuredWidth, MeasureSpec.EXACTLY); in onMeasure() 647 int widthSpec = MeasureSpec.makeMeasureSpec(mMeasuredWidth, MeasureSpec.EXACTLY); in animateInfoOffset() 648 int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in animateInfoOffset() 690 int widthSpec = MeasureSpec.makeMeasureSpec(mMeasuredWidth, MeasureSpec.EXACTLY); in animateInfoHeight() 691 int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in animateInfoHeight()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ExpandableView.java | 61 int newHeightSpec = MeasureSpec.makeMeasureSpec(ownMaxHeight, MeasureSpec.AT_MOST); in onMeasure() 72 ? MeasureSpec.makeMeasureSpec(ownMaxHeight, MeasureSpec.EXACTLY) in onMeasure() 73 : MeasureSpec.makeMeasureSpec(layoutParams.height, MeasureSpec.EXACTLY); in onMeasure() 85 newHeightSpec = MeasureSpec.makeMeasureSpec(ownHeight, MeasureSpec.EXACTLY); in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskView.java | 160 mContent.measure(MeasureSpec.makeMeasureSpec(widthWithoutPadding, MeasureSpec.EXACTLY), in onMeasure() 161 MeasureSpec.makeMeasureSpec(widthWithoutPadding, MeasureSpec.EXACTLY)); in onMeasure() 164 mHeaderView.measure(MeasureSpec.makeMeasureSpec(widthWithoutPadding, MeasureSpec.EXACTLY), in onMeasure() 165 MeasureSpec.makeMeasureSpec(mConfig.taskBarHeight, MeasureSpec.EXACTLY)); in onMeasure() 167 MeasureSpec.makeMeasureSpec(widthWithoutPadding, MeasureSpec.AT_MOST), in onMeasure() 168 MeasureSpec.makeMeasureSpec(heightWithoutPadding, MeasureSpec.AT_MOST)); in onMeasure() 171 MeasureSpec.makeMeasureSpec(widthWithoutPadding, MeasureSpec.EXACTLY), in onMeasure() 172 MeasureSpec.makeMeasureSpec(widthWithoutPadding, MeasureSpec.EXACTLY)); in onMeasure()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | SlidingPaneLayout.java | 522 childWidthSpec = MeasureSpec.makeMeasureSpec(widthAvailable - horizontalMargin, in onMeasure() 525 childWidthSpec = MeasureSpec.makeMeasureSpec(widthAvailable - horizontalMargin, in onMeasure() 528 childWidthSpec = MeasureSpec.makeMeasureSpec(lp.width, MeasureSpec.EXACTLY); in onMeasure() 533 childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight, MeasureSpec.AT_MOST); in onMeasure() 535 childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight, MeasureSpec.EXACTLY); in onMeasure() 537 childHeightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY); in onMeasure() 583 childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight, in onMeasure() 586 childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight, in onMeasure() 589 childHeightSpec = MeasureSpec.makeMeasureSpec(lp.height, in onMeasure() 593 childHeightSpec = MeasureSpec.makeMeasureSpec( in onMeasure() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | SlidingDrawer.java | 296 mContent.measure(MeasureSpec.makeMeasureSpec(widthSpecSize, MeasureSpec.EXACTLY), in onMeasure() 297 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in onMeasure() 300 mContent.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in onMeasure() 301 MeasureSpec.makeMeasureSpec(heightSpecSize, MeasureSpec.EXACTLY)); in onMeasure() 665 content.measure(MeasureSpec.makeMeasureSpec(mRight - mLeft, MeasureSpec.EXACTLY), in prepareContent() 666 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in prepareContent() 672 content.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in prepareContent() 673 MeasureSpec.makeMeasureSpec(mBottom - mTop, MeasureSpec.EXACTLY)); in prepareContent()
|
D | LinearLayout.java | 871 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); in measureVertical() 876 MeasureSpec.makeMeasureSpec(share > 0 ? share : 0, in measureVertical() 926 MeasureSpec.makeMeasureSpec(child.getMeasuredWidth(), in measureVertical() 928 MeasureSpec.makeMeasureSpec(largestChildHeight, in measureVertical() 954 int uniformMeasureSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), in forceUniformWidth() 1062 final int freeSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in measureHorizontal() 1259 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY), in measureHorizontal() 1263 child.measure(MeasureSpec.makeMeasureSpec( in measureHorizontal() 1346 MeasureSpec.makeMeasureSpec(largestChildWidth, MeasureSpec.EXACTLY), in measureHorizontal() 1347 MeasureSpec.makeMeasureSpec(child.getMeasuredHeight(), in measureHorizontal() [all …]
|
D | TableRow.java | 216 int childWidthMeasureSpec = MeasureSpec.makeMeasureSpec( in measureChildBeforeLayout() 307 spec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in getColumnsWidths() 310 … spec = MeasureSpec.makeMeasureSpec(layoutParams.width, MeasureSpec.EXACTLY); in getColumnsWidths()
|
D | TabWidget.java | 159 widthMeasureSpec = MeasureSpec.makeMeasureSpec( in measureChildBeforeLayout() 161 heightMeasureSpec = MeasureSpec.makeMeasureSpec(mImposedTabsHeight, in measureChildBeforeLayout() 177 final int unspecifiedWidth = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in measureHorizontal()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | ListViewTest.java | 48 int measureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in testRequestLayout() 80 int measureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in testNoSelectableItems()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderDrawable.java | 88 int w_spec = MeasureSpec.makeMeasureSpec(w, MeasureSpec.EXACTLY); in render() 89 int h_spec = MeasureSpec.makeMeasureSpec(h, MeasureSpec.EXACTLY); in render()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | SignalTileView.java | 73 int hs = MeasureSpec.makeMeasureSpec(mIconFrame.getMeasuredHeight(), MeasureSpec.EXACTLY); in onMeasure() 74 int ws = MeasureSpec.makeMeasureSpec(mIconFrame.getMeasuredHeight(), MeasureSpec.AT_MOST); in onMeasure()
|
D | PseudoGridView.java | 74 int childWidthSpec = MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY); in onMeasure() 88 int maxHeightSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.EXACTLY); in onMeasure()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | LinearLayoutCompat.java | 806 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); in measureVertical() 811 MeasureSpec.makeMeasureSpec(share > 0 ? share : 0, in measureVertical() 862 MeasureSpec.makeMeasureSpec(child.getMeasuredWidth(), in measureVertical() 864 MeasureSpec.makeMeasureSpec(largestChildHeight, in measureVertical() 890 int uniformMeasureSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), in forceUniformWidth() 998 final int freeSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in measureHorizontal() 1196 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY), in measureHorizontal() 1200 child.measure(MeasureSpec.makeMeasureSpec( in measureHorizontal() 1283 MeasureSpec.makeMeasureSpec(largestChildWidth, MeasureSpec.EXACTLY), in measureHorizontal() 1284 MeasureSpec.makeMeasureSpec(child.getMeasuredHeight(), in measureHorizontal() [all …]
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | PagerTitleStrip.java | 292 final int childWidthSpec = MeasureSpec.makeMeasureSpec((int) (width * 0.8f), in updateText() 294 final int childHeightSpec = MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.AT_MOST); in updateText() 437 final int childWidthSpec = MeasureSpec.makeMeasureSpec((int) (widthSize * 0.8f), in onMeasure() 439 final int childHeightSpec = MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.AT_MOST); in onMeasure()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | GridLayoutManager.java | 44 View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); 391 final int spec = View.MeasureSpec.makeMeasureSpec(mSizePerSpan * spanSize, in layoutChunk() 411 final int spec = View.MeasureSpec.makeMeasureSpec(mSizePerSpan * spanSize, in layoutChunk() 474 return View.MeasureSpec.makeMeasureSpec(dim, View.MeasureSpec.EXACTLY); in getMainDirSpec() 494 return View.MeasureSpec.makeMeasureSpec( in updateSpecWithExtra()
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
D | CardView.java | 182 widthMeasureSpec = MeasureSpec.makeMeasureSpec(Math.max(minWidth, in onMeasure() 192 heightMeasureSpec = MeasureSpec.makeMeasureSpec(Math.max(minHeight, in onMeasure()
|
/frameworks/base/core/java/android/transition/ |
D | TransitionUtils.java | 106 int widthSpec = View.MeasureSpec.makeMeasureSpec(right - left, View.MeasureSpec.EXACTLY); in copyViewImage() 107 int heightSpec = View.MeasureSpec.makeMeasureSpec(bottom - top, View.MeasureSpec.EXACTLY); in copyViewImage()
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 778 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); in layoutChildren() 782 heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in layoutChildren() 784 heightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY); in layoutChildren() 906 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); in fillUp() 940 heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in fillUp() 942 heightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY); in fillUp() 1020 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); in fillDown() 1054 heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in fillDown() 1056 heightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY); in fillDown()
|