Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DListPopupWindow.java661 final int heightSpec; in show() local
665 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT; in show()
676 heightSpec = height; in show()
678 heightSpec = mDropDownHeight; in show()
685 (heightSpec < 0)? -1 : heightSpec); in show()
699 final int heightSpec; in show()
701 heightSpec = ViewGroup.LayoutParams.MATCH_PARENT; in show()
704 heightSpec = height; in show()
706 heightSpec = mDropDownHeight; in show()
711 mPopup.setHeight(heightSpec); in show()
[all …]
DGridLayout.java1039 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { in measureChildrenWithMargins() argument
1045 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height); in measureChildrenWithMargins()
1056 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); in measureChildrenWithMargins()
1058 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); in measureChildrenWithMargins()
1071 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
1082 int heightSpecSansPadding = adjust(heightSpec, -vPadding); in onMeasure()
1105 resolveSizeAndState(measuredHeight, heightSpec, 0)); in onMeasure()
DPopupWindow.java1166 public void setWindowLayoutMode(int widthSpec, int heightSpec) { in setWindowLayoutMode() argument
1168 mHeightMode = heightSpec; in setWindowLayoutMode()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
DStickyHeaderRecyclerView.java75 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
76 super.onMeasure(widthSpec, heightSpec); in onMeasure()
78 measureChild(getHeader(), widthSpec, heightSpec); in onMeasure() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
DUniqueObjectHostView.kt48 val heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.getMode(heightMeasureSpec)) in onMeasure() constant
49 val measurementInput = MeasurementInput(widthSpec, heightSpec) in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java199 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
201 final int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure()
207 Log.w(TAG, "onMeasure: heightSpec " + MeasureSpec.toString(heightSpec) + in onMeasure()
212 final int heightSize = MeasureSpec.getSize(heightSpec); in onMeasure()
/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/tests/UiBench/src/com/android/test/uibench/
DNotificationShadeActivity.java132 int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in updateState() local
133 child.measure(widthSpec, heightSpec); in updateState()
/frameworks/base/core/java/android/transition/
DTransitionUtils.java108 int heightSpec = View.MeasureSpec.makeMeasureSpec(bottom - top, View.MeasureSpec.EXACTLY); in copyViewImage() local
109 copy.measure(widthSpec, heightSpec); in copyViewImage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentView.java233 int heightSpec; in onMeasure() local
243 heightSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); in onMeasure()
245 heightSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.AT_MOST); in onMeasure()
247 measureChildWithMargins(mContractedChild, widthMeasureSpec, 0, heightSpec, 0); in onMeasure()
250 heightSpec = MeasureSpec.makeMeasureSpec(mMinContractedHeight, MeasureSpec.EXACTLY); in onMeasure()
251 measureChildWithMargins(mContractedChild, widthMeasureSpec, 0, heightSpec, 0); in onMeasure()
255 measureChildWithMargins(mContractedChild, widthMeasureSpec, 0, heightSpec, 0); in onMeasure()
260 heightSpec = MeasureSpec.makeMeasureSpec(mContractedChild.getMeasuredHeight(), in onMeasure()
262 measureChildWithMargins(mExpandedChild, widthMeasureSpec, 0, heightSpec, 0); in onMeasure()
/frameworks/base/core/java/com/android/internal/widget/
DGridLayoutManager.java742 private void measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec, in measureChildWithDecorationsAndMargin() argument
747 measure = shouldReMeasureChild(child, widthSpec, heightSpec, lp); in measureChildWithDecorationsAndMargin()
749 measure = shouldMeasureChild(child, widthSpec, heightSpec, lp); in measureChildWithDecorationsAndMargin()
752 child.measure(widthSpec, heightSpec); in measureChildWithDecorationsAndMargin()
DRecyclerView.java2965 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
2967 defaultOnMeasure(widthSpec, heightSpec); in onMeasure()
2972 final int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure()
2975 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); in onMeasure()
2984 mLayout.setMeasureSpecs(widthSpec, heightSpec); in onMeasure()
2989 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec); in onMeasure()
3000 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec); in onMeasure()
3004 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); in onMeasure()
3031 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); in onMeasure()
3040 void defaultOnMeasure(int widthSpec, int heightSpec) { in defaultOnMeasure() argument
[all …]
DResolverDrawerLayout.java929 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, MeasureSpec.EXACTLY);
948 measureChildWithMargins(child, widthSpec, 0, heightSpec, heightUsed);
968 measureChildWithMargins(child, widthSpec, 0, heightSpec, heightUsed);
DViewPager.java1423 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, heightMode);
1424 child.measure(widthSpec, heightSpec);
1592 final int heightSpec = MeasureSpec.makeMeasureSpec(
1595 child.measure(widthSpec, heightSpec);
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaCarouselController.kt486 val heightSpec = desiredHostState?.measurementInput?.heightMeasureSpec ?: 0 in <lambda>() constant
487 mediaCarousel.measure(widthSpec, heightSpec) in <lambda>()
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java561 int heightSpec = View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY); in setSharedElementState() local
562 view.measure(widthSpec, heightSpec); in setSharedElementState()
724 int heightSpec = View.MeasureSpec.makeMeasureSpec(state.mMeasuredHeight, in setOriginalSharedElementState() local
726 view.measure(widthSpec, heightSpec); in setOriginalSharedElementState()
/frameworks/base/core/java/android/view/
DNotificationHeaderView.java174 private int shrinkViewForOverflow(int heightSpec, int overFlow, View targetView, in shrinkViewForOverflow() argument
181 targetView.measure(childWidthSpec, heightSpec); in shrinkViewForOverflow()
/frameworks/base/media/java/android/media/
DTtmlRenderer.java710 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); in setSize() local
712 measure(widthSpec, heightSpec); in setSize()
DClosedCaptionRenderer.java179 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); in setSize() local
181 measure(widthSpec, heightSpec); in setSize()
DWebVttRenderer.java1177 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); in setSize() local
1179 measure(widthSpec, heightSpec); in setSize()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java421 int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.EXACTLY); in collapseParentView() local
422 v.measure(widthSpec, heightSpec); in collapseParentView()
3916 int heightSpec = MeasureSpec.makeMeasureSpec(newHeight,
3918 child.measure(widthSpec, heightSpec);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...