Home
last modified time | relevance | path

Searched refs:childHeightSpec (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/tools/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
DThemePreviewLayout.java106 int childHeightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in onMeasure() local
116 measureChild(v, childWidthSpec, childHeightSpec); in onMeasure()
141 childHeightSpec = MeasureSpec.makeMeasureSpec(itemHeight, MeasureSpec.EXACTLY); in onMeasure()
149 measureChild(v, childWidthSpec, childHeightSpec); in onMeasure()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java297 final int childHeightSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST); in updateText() local
298 mPrevText.measure(childWidthSpec, childHeightSpec); in updateText()
299 mCurrText.measure(childWidthSpec, childHeightSpec); in updateText()
300 mNextText.measure(childWidthSpec, childHeightSpec); in updateText()
443 final int childHeightSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST); in onMeasure() local
445 mPrevText.measure(childWidthSpec, childHeightSpec); in onMeasure()
446 mCurrText.measure(childWidthSpec, childHeightSpec); in onMeasure()
447 mNextText.measure(childWidthSpec, childHeightSpec); in onMeasure()
/frameworks/support/v4/java/android/support/v4/widget/
DSlidingPaneLayout.java534 int childHeightSpec; in onMeasure() local
536 childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight, MeasureSpec.AT_MOST); in onMeasure()
538 childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight, MeasureSpec.EXACTLY); in onMeasure()
540 childHeightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY); in onMeasure()
543 child.measure(childWidthSpec, childHeightSpec); in onMeasure()
581 final int childHeightSpec; in onMeasure()
586 childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight, in onMeasure()
589 childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight, in onMeasure()
592 childHeightSpec = MeasureSpec.makeMeasureSpec(lp.height, in onMeasure()
596 childHeightSpec = MeasureSpec.makeMeasureSpec( in onMeasure()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DExpandableView.java78 int childHeightSpec = newHeightSpec; in onMeasure() local
83 childHeightSpec = layoutParams.height > ownMaxHeight in onMeasure()
89 childHeightSpec); in onMeasure() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPseudoGridView.java75 int childHeightSpec = MeasureSpec.UNSPECIFIED; in onMeasure() local
85 child.measure(childWidthSpec, childHeightSpec); in onMeasure()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java224 final int childHeightSpec = makeChildMeasureSpec(maxHeight, lp.height); in onMeasure() local
226 child.measure(childWidthSpec, childHeightSpec); in onMeasure()
/frameworks/base/core/java/android/widget/
DListView.java1208 final int childHeightSpec; in measureScrapChild() local
1210 childHeightSpec = MeasureSpec.makeMeasureSpec(lpHeight, MeasureSpec.EXACTLY); in measureScrapChild()
1212 childHeightSpec = MeasureSpec.makeSafeMeasureSpec(heightHint, MeasureSpec.UNSPECIFIED); in measureScrapChild()
1214 child.measure(childWidthSpec, childHeightSpec); in measureScrapChild()
1949 final int childHeightSpec; in setupChild()
1951 childHeightSpec = MeasureSpec.makeMeasureSpec(lpHeight, MeasureSpec.EXACTLY); in setupChild()
1953 childHeightSpec = MeasureSpec.makeSafeMeasureSpec(getMeasuredHeight(), in setupChild()
1956 child.measure(childWidthSpec, childHeightSpec); in setupChild()
2704 int childHeightSpec; in measureItem() local
2706 childHeightSpec = MeasureSpec.makeMeasureSpec(lpHeight, MeasureSpec.EXACTLY); in measureItem()
[all …]
DActionMenuView.java404 final int childHeightSpec = MeasureSpec.makeMeasureSpec(childHeightSize, childHeightMode); in measureChildForCells() local
414 child.measure(childWidthSpec, childHeightSpec); in measureChildForCells()
428 childHeightSpec); in measureChildForCells() local
DToolbar.java1177 int childHeightSpec = getChildMeasureSpec(parentHeightSpec, in measureChildConstrained() local
1181 final int childHeightMode = MeasureSpec.getMode(childHeightSpec); in measureChildConstrained()
1184 Math.min(MeasureSpec.getSize(childHeightSpec), heightConstraint) : in measureChildConstrained()
1186 childHeightSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); in measureChildConstrained()
1188 child.measure(childWidthSpec, childHeightSpec); in measureChildConstrained()
DSpinner.java722 int childHeightSpec = ViewGroup.getChildMeasureSpec(mHeightMeasureSpec, in setUpChild() local
728 child.measure(childWidthSpec, childHeightSpec); in setUpChild()
DGridView.java1075 int childHeightSpec = getChildMeasureSpec( in onMeasure() local
1080 child.measure(childWidthSpec, childHeightSpec); in onMeasure()
1512 int childHeightSpec = ViewGroup.getChildMeasureSpec( in setupChild()
1517 child.measure(childWidthSpec, childHeightSpec); in setupChild()
DGallery.java902 int childHeightSpec = ViewGroup.getChildMeasureSpec(mHeightMeasureSpec, in setUpChild() local
908 child.measure(childWidthSpec, childHeightSpec); in setUpChild()
DGridLayout.java994 int childHeightSpec = getChildMeasureSpec(parentHeightSpec, in measureChildWithMargins2() local
996 child.measure(childWidthSpec, childHeightSpec); in measureChildWithMargins2()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionMenuView.java408 final int childHeightSpec = MeasureSpec.makeMeasureSpec(childHeightSize, childHeightMode); in measureChildForCells() local
418 child.measure(childWidthSpec, childHeightSpec); in measureChildForCells()
432 childHeightSpec); in measureChildForCells() local
DToolbar.java1189 int childHeightSpec = getChildMeasureSpec(parentHeightSpec, in measureChildConstrained() local
1193 final int childHeightMode = MeasureSpec.getMode(childHeightSpec); in measureChildConstrained()
1196 Math.min(MeasureSpec.getSize(childHeightSpec), heightConstraint) : in measureChildConstrained()
1198 childHeightSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); in measureChildConstrained()
1200 child.measure(childWidthSpec, childHeightSpec); in measureChildConstrained()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java894 int childHeightSpec = getChildMeasureSpec(parentHeightSpec, in measureChildWithMargins2() local
896 child.measure(childWidthSpec, childHeightSpec); in measureChildWithMargins2()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java1066 int childHeightSpec = ViewGroup.getChildMeasureSpec(heightSpec, in measureScrapChild() local
1068 view.measure(childWidthSpec, childHeightSpec); in measureScrapChild()