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

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipper.java195 protected void onMeasure(int widthSpec, int heightSpec) { argument
197 final int heightMode = MeasureSpec.getMode(heightSpec);
203 Log.w(TAG, "onMeasure: heightSpec " + MeasureSpec.toString(heightSpec) +
208 final int heightSize = MeasureSpec.getSize(heightSpec);
H A DMultiPaneChallengeLayout.java208 protected void onMeasure(final int widthSpec, final int heightSpec) { argument
210 MeasureSpec.getMode(heightSpec) != MeasureSpec.EXACTLY) {
216 final int height = MeasureSpec.getSize(heightSpec);
275 child.measure(widthSpec, heightSpec);
H A DSlidingChallengeLayout.java813 protected void onMeasure(int widthSpec, int heightSpec) { argument
815 MeasureSpec.getMode(heightSpec) != MeasureSpec.EXACTLY) {
820 final int height = MeasureSpec.getSize(heightSpec);
930 parentHeightSpec = heightSpec;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java478 private void measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec) { argument
483 heightSpec = updateSpecWithExtra(heightSpec, lp.topMargin + mDecorInsets.top,
485 child.measure(widthSpec, heightSpec);
H A DStaggeredGridLayoutManager.java998 int heightSpec) {
1003 heightSpec = updateSpecWithExtra(heightSpec, lp.topMargin + insets.top,
1005 child.measure(widthSpec, heightSpec);
997 measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec) argument
H A DRecyclerView.java1822 protected void onMeasure(int widthSpec, int heightSpec) { argument
1848 defaultOnMeasure(widthSpec, heightSpec);
1850 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
1859 private void defaultOnMeasure(int widthSpec, int heightSpec) { argument
1861 final int heightMode = MeasureSpec.getMode(heightSpec);
1863 final int heightSize = MeasureSpec.getSize(heightSpec);
5824 final int heightSpec = getChildMeasureSpec(getHeight(),
5827 child.measure(widthSpec, heightSpec);
5853 final int heightSpec = getChildMeasureSpec(getHeight(),
5857 child.measure(widthSpec, heightSpec);
6430 onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java811 * @param heightSpec an explicit height measure spec mode, either
816 public void setWindowLayoutMode(int widthSpec, int heightSpec) { argument
818 mHeightMode = heightSpec;
H A DGridLayout.java1008 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { argument
1014 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height);
1027 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height);
1029 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize);
1042 protected void onMeasure(int widthSpec, int heightSpec) { argument
1053 int heightSpecSansPadding = adjust(heightSpec, -vPadding);
1076 resolveSizeAndState(measuredHeight, heightSpec, 0));
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGridLayoutManager.java862 private void measureScrapChild(int position, int widthSpec, int heightSpec, argument
869 int childHeightSpec = ViewGroup.getChildMeasureSpec(heightSpec,
985 public void onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) { argument
992 sizeSecondary = MeasureSpec.getSize(heightSpec);
993 modeSecondary = MeasureSpec.getMode(heightSpec);
997 sizePrimary = MeasureSpec.getSize(heightSpec);
1002 " heightSpec " + Integer.toHexString(heightSpec) +
1099 int widthSpec, heightSpec;
1105 heightSpec
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java897 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { argument
903 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height);
916 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height);
918 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize);
931 protected void onMeasure(int widthSpec, int heightSpec) { argument
942 int heightSpecSansPadding = adjust(heightSpec, -vPadding);
965 ViewCompat.resolveSizeAndState(measuredHeight, heightSpec, 0));

Completed in 3637 milliseconds