Searched defs:heightSpec (Results 1 - 12 of 12) sorted by relevance

/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/
H A DStickyHeaderRecyclerView.java75 protected void onMeasure(int widthSpec, int heightSpec) { argument
76 super.onMeasure(widthSpec, heightSpec);
78 measureChild(getHeader(), widthSpec, heightSpec);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipper.java191 protected void onMeasure(int widthSpec, int heightSpec) { argument
193 final int heightMode = MeasureSpec.getMode(heightSpec);
199 Log.w(TAG, "onMeasure: heightSpec " + MeasureSpec.toString(heightSpec) +
204 final int heightSize = MeasureSpec.getSize(heightSpec);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DWrapContentBasicTest.java219 public void setMeasuredDimensionFromChildren(int widthSpec, int heightSpec) { argument
220 super.setMeasuredDimensionFromChildren(widthSpec, heightSpec);
224 public boolean shouldReMeasureChild(View child, int widthSpec, int heightSpec, argument
226 return super.shouldReMeasureChild(child, widthSpec, heightSpec, lp);
230 public boolean shouldMeasureChild(View child, int widthSpec, int heightSpec, argument
232 return super.shouldMeasureChild(child, widthSpec, heightSpec, lp);
H A DBaseRecyclerViewInstrumentationTest.java735 public void setMeasuredDimensionFromChildren(int widthSpec, int heightSpec) { argument
736 super.setMeasuredDimensionFromChildren(widthSpec, heightSpec);
740 public boolean shouldReMeasureChild(View child, int widthSpec, int heightSpec, argument
742 return super.shouldReMeasureChild(child, widthSpec, heightSpec, lp);
746 public boolean shouldMeasureChild(View child, int widthSpec, int heightSpec, argument
748 return super.shouldMeasureChild(child, widthSpec, heightSpec, lp);
/frameworks/support/design/src/android/support/design/widget/
H A DNavigationView.java215 protected void onMeasure(int widthSpec, int heightSpec) { argument
229 super.onMeasure(widthSpec, heightSpec);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java756 private void measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec, argument
761 measure = shouldReMeasureChild(child, widthSpec, heightSpec, lp);
763 measure = shouldMeasureChild(child, widthSpec, heightSpec, lp);
766 child.measure(widthSpec, heightSpec);
H A DStaggeredGridLayoutManager.java1149 int heightSpec, boolean alreadyMeasured) {
1154 heightSpec = updateSpecWithExtra(heightSpec, lp.topMargin + mTmpRect.top,
1157 ? shouldReMeasureChild(child, widthSpec, heightSpec, lp)
1158 : shouldMeasureChild(child, widthSpec, heightSpec, lp);
1160 child.measure(widthSpec, heightSpec);
1148 measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec, boolean alreadyMeasured) argument
H A DRecyclerView.java2883 protected void onMeasure(int widthSpec, int heightSpec) { argument
2885 defaultOnMeasure(widthSpec, heightSpec);
2890 final int heightMode = MeasureSpec.getMode(heightSpec);
2893 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
2902 mLayout.setMeasureSpecs(widthSpec, heightSpec);
2907 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec);
2918 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec);
2922 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
2947 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
2956 void defaultOnMeasure(int widthSpec, int heightSpec) { argument
6648 setMeasuredDimensionFromChildren(int widthSpec, int heightSpec) argument
8069 shouldReMeasureChild(View child, int widthSpec, int heightSpec, LayoutParams lp) argument
8083 shouldMeasureChild(View child, int widthSpec, int heightSpec, LayoutParams lp) argument
8903 onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java992 * @param heightSpec an explicit height measure spec mode, either
1000 public void setWindowLayoutMode(int widthSpec, int heightSpec) { argument
1002 mHeightMode = heightSpec;
H A DGridLayout.java1007 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { argument
1013 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height);
1024 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height);
1026 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize);
1039 protected void onMeasure(int widthSpec, int heightSpec) { argument
1050 int heightSpecSansPadding = adjust(heightSpec, -vPadding);
1073 resolveSizeAndState(measuredHeight, heightSpec, 0));
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java906 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { argument
912 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height);
923 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height);
925 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize);
938 protected void onMeasure(int widthSpec, int heightSpec) { argument
949 int heightSpecSansPadding = adjust(heightSpec, -vPadding);
972 ViewCompat.resolveSizeAndState(measuredHeight, heightSpec, 0));
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGridLayoutManager.java1176 private void measureScrapChild(int position, int widthSpec, int heightSpec, argument
1187 int childHeightSpec = ViewGroup.getChildMeasureSpec(heightSpec,
1303 public void onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) { argument
1310 sizeSecondary = MeasureSpec.getSize(heightSpec);
1311 modeSecondary = MeasureSpec.getMode(heightSpec);
1315 sizePrimary = MeasureSpec.getSize(heightSpec);
1320 " heightSpec " + Integer.toHexString(heightSpec) +
1415 int widthSpec, heightSpec;
1420 heightSpec
[all...]

Completed in 1190 milliseconds