Home
last modified time | relevance | path

Searched refs:heightSpec (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java195 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
197 final int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure()
203 Log.w(TAG, "onMeasure: heightSpec " + MeasureSpec.toString(heightSpec) + in onMeasure()
208 final int heightSize = MeasureSpec.getSize(heightSpec); in onMeasure()
DMultiPaneChallengeLayout.java208 protected void onMeasure(final int widthSpec, final int heightSpec) { in onMeasure() argument
210 MeasureSpec.getMode(heightSpec) != MeasureSpec.EXACTLY) { in onMeasure()
216 final int height = MeasureSpec.getSize(heightSpec); in onMeasure()
275 child.measure(widthSpec, heightSpec); in onMeasure()
DSlidingChallengeLayout.java813 protected void onMeasure(int widthSpec, int heightSpec) {
815 MeasureSpec.getMode(heightSpec) != MeasureSpec.EXACTLY) {
820 final int height = MeasureSpec.getSize(heightSpec);
930 parentHeightSpec = heightSpec;
/frameworks/base/core/java/android/widget/
DListPopupWindow.java571 int heightSpec = 0; in show() local
590 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT; in show()
602 heightSpec = height; in show()
604 heightSpec = mDropDownHeight; in show()
610 mDropDownVerticalOffset, widthSpec, heightSpec); in show() local
623 heightSpec = ViewGroup.LayoutParams.MATCH_PARENT; in show()
632 mPopup.setWindowLayoutMode(widthSpec, heightSpec); in show()
1114 int heightSpec = MeasureSpec.UNSPECIFIED;
1115 hintView.measure(widthSpec, heightSpec);
DGridLayout.java1008 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { in measureChildrenWithMargins() argument
1014 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height); in measureChildrenWithMargins()
1027 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); in measureChildrenWithMargins()
1029 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); in measureChildrenWithMargins()
1042 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
1053 int heightSpecSansPadding = adjust(heightSpec, -vPadding); in onMeasure()
1076 resolveSizeAndState(measuredHeight, heightSpec, 0)); in onMeasure()
DPopupWindow.java816 public void setWindowLayoutMode(int widthSpec, int heightSpec) { in setWindowLayoutMode() argument
818 mHeightMode = heightSpec; in setWindowLayoutMode()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DListPopupWindow.java587 int heightSpec = 0; in show() local
605 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT; in show()
617 heightSpec = height; in show()
619 heightSpec = mDropDownHeight; in show()
625 mDropDownVerticalOffset, widthSpec, heightSpec); in show() local
638 heightSpec = ViewGroup.LayoutParams.MATCH_PARENT; in show()
647 mPopup.setWindowLayoutMode(widthSpec, heightSpec); in show()
1132 int heightSpec = MeasureSpec.UNSPECIFIED;
1133 hintView.measure(widthSpec, heightSpec);
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java780 final int heightSpec; in layoutChildren() local
782 heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in layoutChildren()
784 heightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY); in layoutChildren()
787 child.measure(widthSpec, heightSpec); in layoutChildren()
938 final int heightSpec; in fillUp() local
940 heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in fillUp()
942 heightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY); in fillUp()
944 child.measure(widthSpec, heightSpec); in fillUp()
1052 final int heightSpec; in fillDown() local
1054 heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in fillDown()
[all …]
/frameworks/base/core/java/android/transition/
DTransitionUtils.java107 int heightSpec = View.MeasureSpec.makeMeasureSpec(bottom - top, View.MeasureSpec.EXACTLY); in copyViewImage() local
108 copy.measure(widthSpec, heightSpec); in copyViewImage()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java478 private void measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec) { in measureChildWithDecorationsAndMargin() argument
483 heightSpec = updateSpecWithExtra(heightSpec, lp.topMargin + mDecorInsets.top, in measureChildWithDecorationsAndMargin()
485 child.measure(widthSpec, heightSpec); in measureChildWithDecorationsAndMargin()
DRecyclerView.java1822 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
1848 defaultOnMeasure(widthSpec, heightSpec); in onMeasure()
1850 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); in onMeasure()
1859 private void defaultOnMeasure(int widthSpec, int heightSpec) { in defaultOnMeasure() argument
1861 final int heightMode = MeasureSpec.getMode(heightSpec); in defaultOnMeasure()
1863 final int heightSize = MeasureSpec.getSize(heightSpec); in defaultOnMeasure()
5824 final int heightSpec = getChildMeasureSpec(getHeight(), in measureChild() local
5827 child.measure(widthSpec, heightSpec); in measureChild()
5853 final int heightSpec = getChildMeasureSpec(getHeight(), in measureChildWithMargins() local
5857 child.measure(widthSpec, heightSpec); in measureChildWithMargins()
[all …]
DStaggeredGridLayoutManager.java998 int heightSpec) {
1003 heightSpec = updateSpecWithExtra(heightSpec, lp.topMargin + insets.top,
1005 child.measure(widthSpec, heightSpec);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DBaseCardView.java648 int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in animateInfoOffset() local
653 extraView.measure(widthSpec, heightSpec); in animateInfoOffset()
691 int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in animateInfoHeight() local
696 extraView.measure(widthSpec, heightSpec); in animateInfoHeight()
DGridLayoutManager.java862 private void measureScrapChild(int position, int widthSpec, int heightSpec, in measureScrapChild() argument
869 int childHeightSpec = ViewGroup.getChildMeasureSpec(heightSpec, in measureScrapChild()
985 public void onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) { in onMeasure() argument
992 sizeSecondary = MeasureSpec.getSize(heightSpec); in onMeasure()
993 modeSecondary = MeasureSpec.getMode(heightSpec); in onMeasure()
997 sizePrimary = MeasureSpec.getSize(heightSpec); in onMeasure()
1002 " heightSpec " + Integer.toHexString(heightSpec) + in onMeasure()
1099 int widthSpec, heightSpec; in measureChild() local
1105 heightSpec = ViewGroup.getChildMeasureSpec(secondarySpec, 0, lp.height); in measureChild()
1107 heightSpec = ViewGroup.getChildMeasureSpec( in measureChild()
[all …]
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java499 int heightSpec = View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY); in setSharedElementState() local
500 view.measure(widthSpec, heightSpec); in setSharedElementState()
676 int heightSpec = View.MeasureSpec.makeMeasureSpec(state.mMeasuredHeight, in setOriginalSharedElementState() local
678 view.measure(widthSpec, heightSpec); in setOriginalSharedElementState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileView.java248 int heightSpec = exactly( in onMeasure() local
250 mTopBackgroundView.measure(widthMeasureSpec, heightSpec); in onMeasure()
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java639 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, MeasureSpec.EXACTLY);
649 measureChildWithMargins(child, widthSpec, widthPadding, heightSpec, heightUsed);
661 measureChildWithMargins(child, widthSpec, widthPadding, heightSpec, heightUsed);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java897 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { in measureChildrenWithMargins() argument
903 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height); in measureChildrenWithMargins()
916 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); in measureChildrenWithMargins()
918 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); in measureChildrenWithMargins()
931 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
942 int heightSpecSansPadding = adjust(heightSpec, -vPadding); in onMeasure()
965 ViewCompat.resolveSizeAndState(measuredHeight, heightSpec, 0)); in onMeasure()
/frameworks/base/media/java/android/media/
DTtmlRenderer.java720 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); in setSize() local
722 measure(widthSpec, heightSpec); in setSize()
DClosedCaptionRenderer.java1140 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); in setSize() local
1142 measure(widthSpec, heightSpec); in setSize()
DWebVttRenderer.java1173 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); in setSize() local
1175 measure(widthSpec, heightSpec); in setSize()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1424 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, heightMode);
1425 child.measure(widthSpec, heightSpec);
1586 final int heightSpec = MeasureSpec.makeMeasureSpec(
1589 child.measure(widthSpec, heightSpec);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewLayoutTest.java1005 int widthSpec, int heightSpec) { in accessRecyclerOnOnMeasureTest()
1018 super.onMeasure(recycler, state, widthSpec, heightSpec); in accessRecyclerOnOnMeasureTest()