/frameworks/base/core/java/android/widget/ |
H A D | ListPopupWindow.java | 534 int widthSpec = 0; 544 widthSpec = -1; 546 widthSpec = getAnchorView().getWidth(); 548 widthSpec = mDropDownWidth; 574 mDropDownVerticalOffset, widthSpec, heightSpec); 577 widthSpec = ViewGroup.LayoutParams.MATCH_PARENT; 596 mPopup.setWindowLayoutMode(widthSpec, heightSpec); 1055 int widthSpec = MeasureSpec.makeMeasureSpec(mDropDownWidth, MeasureSpec.AT_MOST); 1057 hintView.measure(widthSpec, heightSpec);
|
H A D | GridLayout.java | 955 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { argument 961 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height); 972 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); 974 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); 982 protected void onMeasure(int widthSpec, int heightSpec) { argument 989 measureChildrenWithMargins(widthSpec, heightSpec, true); 995 width = horizontalAxis.getMeasure(widthSpec); 996 measureChildrenWithMargins(widthSpec, heightSpec, false); 1000 measureChildrenWithMargins(widthSpec, heightSpec, false); 1001 width = horizontalAxis.getMeasure(widthSpec); [all...] |
H A D | PopupWindow.java | 721 * @param widthSpec an explicit width measure spec mode, either 730 public void setWindowLayoutMode(int widthSpec, int heightSpec) { argument 731 mWidthMode = widthSpec;
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardSecurityViewFlipper.java | 178 protected void onMeasure(int widthSpec, int heightSpec) { argument 179 final int widthMode = MeasureSpec.getMode(widthSpec); 182 Log.w(TAG, "onMeasure: widthSpec " + MeasureSpec.toString(widthSpec) + 190 final int widthSize = MeasureSpec.getSize(widthSpec);
|
H A D | MultiPaneChallengeLayout.java | 205 protected void onMeasure(final int widthSpec, final int heightSpec) { argument 206 if (MeasureSpec.getMode(widthSpec) != MeasureSpec.EXACTLY || 212 final int width = MeasureSpec.getSize(widthSpec); 247 int adjustedWidthSpec = widthSpec; 269 child.measure(widthSpec, heightSpec);
|
H A D | SlidingChallengeLayout.java | 794 protected void onMeasure(int widthSpec, int heightSpec) { argument 795 if (MeasureSpec.getMode(widthSpec) != MeasureSpec.EXACTLY || 801 final int width = MeasureSpec.getSize(widthSpec); 876 measureChildWithMargins(mChallengeView, widthSpec, 0, challengeHeightSpec, 0); 890 int parentWidthSpec = widthSpec, parentHeightSpec = heightSpec;
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 899 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { argument 905 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height); 916 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); 918 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); 926 protected void onMeasure(int widthSpec, int heightSpec) { argument 933 measureChildrenWithMargins(widthSpec, heightSpec, true); 939 width = horizontalAxis.getMeasure(widthSpec); 940 measureChildrenWithMargins(widthSpec, heightSpec, false); 944 measureChildrenWithMargins(widthSpec, heightSpec, false); 945 width = horizontalAxis.getMeasure(widthSpec); [all...] |
/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/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 1348 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, widthMode); 1350 child.measure(widthSpec, heightSpec); 1379 final int widthSpec = MeasureSpec.makeMeasureSpec( 1381 child.measure(widthSpec, mChildHeightMeasureSpec); 1509 final int widthSpec = MeasureSpec.makeMeasureSpec( 1515 child.measure(widthSpec, heightSpec);
|