/frameworks/base/core/java/android/widget/ |
D | ListPopupWindow.java | 654 final int heightSpec; in show() local 658 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT; in show() 669 heightSpec = height; in show() 671 heightSpec = mDropDownHeight; in show() 678 (heightSpec < 0)? -1 : heightSpec); in show() 692 final int heightSpec; in show() 694 heightSpec = ViewGroup.LayoutParams.MATCH_PARENT; in show() 697 heightSpec = height; in show() 699 heightSpec = mDropDownHeight; in show() 704 mPopup.setHeight(heightSpec); in show() [all …]
|
D | GridLayout.java | 1039 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()
|
D | PopupWindow.java | 1166 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/ |
D | StickyHeaderRecyclerView.java | 75 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/keyguard/ |
D | KeyguardSecurityViewFlipper.java | 199 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/ |
D | StaggeredGridView.java | 780 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/ |
D | NotificationShadeActivity.java | 132 int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in updateState() local 133 child.measure(widthSpec, heightSpec); in updateState()
|
/frameworks/base/core/java/android/transition/ |
D | TransitionUtils.java | 108 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/ |
D | NotificationContentView.java | 218 int heightSpec; in onMeasure() local 228 heightSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); in onMeasure() 230 heightSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.AT_MOST); in onMeasure() 232 measureChildWithMargins(mContractedChild, widthMeasureSpec, 0, heightSpec, 0); in onMeasure() 235 heightSpec = MeasureSpec.makeMeasureSpec(mMinContractedHeight, MeasureSpec.EXACTLY); in onMeasure() 236 measureChildWithMargins(mContractedChild, widthMeasureSpec, 0, heightSpec, 0); in onMeasure() 240 measureChildWithMargins(mContractedChild, widthMeasureSpec, 0, heightSpec, 0); in onMeasure() 245 heightSpec = MeasureSpec.makeMeasureSpec(mContractedChild.getMeasuredHeight(), in onMeasure() 247 measureChildWithMargins(mExpandedChild, widthMeasureSpec, 0, heightSpec, 0); in onMeasure()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | RecyclerView.java | 2951 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument 2953 defaultOnMeasure(widthSpec, heightSpec); in onMeasure() 2958 final int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure() 2961 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); in onMeasure() 2970 mLayout.setMeasureSpecs(widthSpec, heightSpec); in onMeasure() 2975 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec); in onMeasure() 2986 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec); in onMeasure() 2990 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); in onMeasure() 3017 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); in onMeasure() 3026 void defaultOnMeasure(int widthSpec, int heightSpec) { in defaultOnMeasure() argument [all …]
|
D | ResolverDrawerLayout.java | 856 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, MeasureSpec.EXACTLY); 875 measureChildWithMargins(child, widthSpec, 0, heightSpec, heightUsed); 895 measureChildWithMargins(child, widthSpec, 0, heightSpec, heightUsed);
|
D | ViewPager.java | 1423 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/core/java/android/app/ |
D | ActivityTransitionCoordinator.java | 561 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/ |
D | NotificationHeaderView.java | 180 private int shrinkViewForOverflow(int heightSpec, int overFlow, View targetView, in shrinkViewForOverflow() argument 187 targetView.measure(childWidthSpec, heightSpec); in shrinkViewForOverflow()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskView.java | 275 int heightSpec = MeasureSpec.makeMeasureSpec(heightWithoutPadding, MeasureSpec.EXACTLY); in measureContents() local 278 measureChildren(widthSpec, heightSpec); in measureContents()
|
/frameworks/base/media/java/android/media/ |
D | TtmlRenderer.java | 710 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); in setSize() local 712 measure(widthSpec, heightSpec); in setSize()
|
D | ClosedCaptionRenderer.java | 179 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); in setSize() local 181 measure(widthSpec, heightSpec); in setSize()
|
D | WebVttRenderer.java | 1177 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/ |
D | ChooserActivity.java | 401 int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.EXACTLY); in collapseParentView() local 402 v.measure(widthSpec, heightSpec); in collapseParentView() 3746 int heightSpec = MeasureSpec.makeMeasureSpec(newHeight, 3748 child.measure(widthSpec, heightSpec);
|