/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/ |
H A D | StickyHeaderRecyclerView.java | 75 protected void onMeasure(int widthSpec, int heightSpec) { argument 76 super.onMeasure(widthSpec, heightSpec); 78 measureChild(getHeader(), widthSpec, heightSpec);
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | NavigationView.java | 210 protected void onMeasure(int widthSpec, int heightSpec) { argument 211 switch (MeasureSpec.getMode(widthSpec)) { 216 widthSpec = MeasureSpec.makeMeasureSpec( 217 Math.min(MeasureSpec.getSize(widthSpec), mMaxWidth), MeasureSpec.EXACTLY); 220 widthSpec = MeasureSpec.makeMeasureSpec(mMaxWidth, MeasureSpec.EXACTLY); 224 super.onMeasure(widthSpec, heightSpec);
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | HierarchicalMove.java | 100 int widthSpec = wide ? LayoutParams.WRAP_CONTENT : LayoutParams.MATCH_PARENT; 101 LayoutParams params = new LayoutParams(widthSpec, LayoutParams.WRAP_CONTENT);
|
/frameworks/base/core/java/android/widget/ |
H A D | ListPopupWindow.java | 603 final int widthSpec; 607 widthSpec = -1; 609 widthSpec = getAnchorView().getWidth(); 611 widthSpec = mDropDownWidth; 637 mDropDownVerticalOffset, (widthSpec < 0)? -1 : widthSpec, 640 final int widthSpec; 642 widthSpec = ViewGroup.LayoutParams.MATCH_PARENT; 645 widthSpec = getAnchorView().getWidth(); 647 widthSpec [all...] |
H A D | GridLayout.java | 1006 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { argument 1012 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height); 1023 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); 1025 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); 1038 protected void onMeasure(int widthSpec, int heightSpec) { argument 1048 int widthSpecSansPadding = adjust( widthSpec, -hPadding); 1071 resolveSizeAndState(measuredWidth, widthSpec, 0),
|
H A D | PopupWindow.java | 986 * @param widthSpec an explicit width measure spec mode, either 998 public void setWindowLayoutMode(int widthSpec, int heightSpec) { argument 999 mWidthMode = widthSpec;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ListPopupWindow.java | 641 final int widthSpec; 645 widthSpec = -1; 647 widthSpec = getAnchorView().getWidth(); 649 widthSpec = mDropDownWidth; 675 mDropDownVerticalOffset, (widthSpec < 0)? -1 : widthSpec, 678 final int widthSpec; 680 widthSpec = ViewGroup.LayoutParams.MATCH_PARENT; 683 widthSpec = getAnchorView().getWidth(); 685 widthSpec [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSecurityViewFlipper.java | 191 protected void onMeasure(int widthSpec, int heightSpec) { argument 192 final int widthMode = MeasureSpec.getMode(widthSpec); 195 Log.w(TAG, "onMeasure: widthSpec " + MeasureSpec.toString(widthSpec) + 203 final int widthSize = MeasureSpec.getSize(widthSpec);
|
/frameworks/base/core/java/android/transition/ |
H A D | TransitionUtils.java | 106 int widthSpec = View.MeasureSpec.makeMeasureSpec(right - left, View.MeasureSpec.EXACTLY); 108 copy.measure(widthSpec, heightSpec);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | BaseCardView.java | 657 int widthSpec = MeasureSpec.makeMeasureSpec(mMeasuredWidth, MeasureSpec.EXACTLY); 663 extraView.measure(widthSpec, heightSpec); 700 int widthSpec = MeasureSpec.makeMeasureSpec(mMeasuredWidth, MeasureSpec.EXACTLY); 706 extraView.measure(widthSpec, heightSpec);
|
H A D | GridLayoutManager.java | 1176 private void measureScrapChild(int position, int widthSpec, int heightSpec, argument 1185 int childWidthSpec = ViewGroup.getChildMeasureSpec(widthSpec, 1324 public void onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) { argument 1330 sizePrimary = MeasureSpec.getSize(widthSpec); 1335 sizeSecondary = MeasureSpec.getSize(widthSpec); 1337 modeSecondary = MeasureSpec.getMode(widthSpec); 1340 if (DEBUG) Log.v(getTag(), "onMeasure widthSpec " + Integer.toHexString(widthSpec) + 1436 int widthSpec, heightSpec; 1439 widthSpec [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SubtitleView.java | 220 final int widthSpec = MeasureSpec.getSize(widthMeasureSpec); 222 if (computeMeasurements(widthSpec)) {
|
H A D | ResolverDrawerLayout.java | 748 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); 759 measureChildWithMargins(child, widthSpec, widthPadding, heightSpec, heightUsed); 771 measureChildWithMargins(child, widthSpec, widthPadding, heightSpec, heightUsed);
|
H A D | ViewPager.java | 1441 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, widthMode); 1443 child.measure(widthSpec, heightSpec); 1472 final int widthSpec = MeasureSpec.makeMeasureSpec( 1474 child.measure(widthSpec, mChildHeightMeasureSpec); 1608 final int widthSpec = MeasureSpec.makeMeasureSpec( 1614 child.measure(widthSpec, heightSpec);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | GridLayoutManager.java | 707 private void measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec, argument 712 widthSpec = updateSpecWithExtra(widthSpec, lp.leftMargin + mDecorInsets.left, 721 measure = shouldReMeasureChild(child, widthSpec, heightSpec, lp); 723 measure = shouldMeasureChild(child, widthSpec, heightSpec, lp); 726 child.measure(widthSpec, heightSpec);
|
H A D | RecyclerView.java | 2767 protected void onMeasure(int widthSpec, int heightSpec) { argument 2769 defaultOnMeasure(widthSpec, heightSpec); 2773 final int widthMode = MeasureSpec.getMode(widthSpec); 2777 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); 2786 mLayout.setMeasureSpecs(widthSpec, heightSpec); 2791 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec); 2802 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec); 2806 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); 2831 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); 2840 void defaultOnMeasure(int widthSpec, in argument 6346 setMeasuredDimensionFromChildren(int widthSpec, int heightSpec) argument 7721 shouldReMeasureChild(View child, int widthSpec, int heightSpec, LayoutParams lp) argument 7735 shouldMeasureChild(View child, int widthSpec, int heightSpec, LayoutParams lp) argument 8563 onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) argument [all...] |
H A D | StaggeredGridLayoutManager.java | 1135 private void measureChildWithDecorationsAndMargin(View child, int widthSpec, argument 1139 widthSpec = updateSpecWithExtra(widthSpec, lp.leftMargin + mTmpRect.left, 1144 ? shouldReMeasureChild(child, widthSpec, heightSpec, lp) 1145 : shouldMeasureChild(child, widthSpec, heightSpec, lp); 1147 child.measure(widthSpec, heightSpec);
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
H A D | StaggeredGridView.java | 778 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); 787 child.measure(widthSpec, heightSpec); 906 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); 944 child.measure(widthSpec, heightSpec); 1020 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); 1058 child.measure(widthSpec, heightSpec);
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityTransitionCoordinator.java | 489 int widthSpec = View.MeasureSpec.makeMeasureSpec(width, View.MeasureSpec.EXACTLY); 491 view.measure(widthSpec, heightSpec); 656 int widthSpec = View.MeasureSpec.makeMeasureSpec(state.mMeasuredWidth, 660 view.measure(widthSpec, heightSpec);
|
/frameworks/base/media/java/android/media/ |
H A D | TtmlRenderer.java | 707 final int widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY); 710 measure(widthSpec, heightSpec);
|
H A D | ClosedCaptionRenderer.java | 178 final int widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY); 181 measure(widthSpec, heightSpec);
|
H A D | WebVttRenderer.java | 1174 final int widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY); 1177 measure(widthSpec, heightSpec);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskView.java | 269 int widthSpec = MeasureSpec.makeMeasureSpec(widthWithoutPadding, MeasureSpec.EXACTLY); 273 measureChildren(widthSpec, heightSpec);
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 906 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 948 int widthSpecSansPadding = adjust( widthSpec, -hPadding); 971 ViewCompat.resolveSizeAndState(measuredWidth, widthSpec, 0),
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 1591 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, widthMode); 1593 child.measure(widthSpec, heightSpec); 1622 final int widthSpec = MeasureSpec.makeMeasureSpec( 1624 child.measure(widthSpec, mChildHeightMeasureSpec); 1748 final int widthSpec = MeasureSpec.makeMeasureSpec( 1754 child.measure(widthSpec, heightSpec);
|