/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/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSecurityViewFlipper.java | 177 protected void onMeasure(int widthSpec, int heightSpec) { argument 178 final int widthMode = MeasureSpec.getMode(widthSpec); 181 Log.w(TAG, "onMeasure: widthSpec " + MeasureSpec.toString(widthSpec) + 189 final int widthSize = MeasureSpec.getSize(widthSpec);
|
H A D | MultiPaneChallengeLayout.java | 209 protected void onMeasure(final int widthSpec, final int heightSpec) { argument 210 if (MeasureSpec.getMode(widthSpec) != MeasureSpec.EXACTLY || 216 final int width = MeasureSpec.getSize(widthSpec); 254 int adjustedWidthSpec = widthSpec; 276 child.measure(widthSpec, heightSpec);
|
H A D | SlidingChallengeLayout.java | 813 protected void onMeasure(int widthSpec, int heightSpec) { argument 814 if (MeasureSpec.getMode(widthSpec) != MeasureSpec.EXACTLY || 819 final int width = MeasureSpec.getSize(widthSpec); 897 measureChildWithMargins(mChallengeView, widthSpec, 0, challengeHeightSpec, 0); 911 int parentWidthSpec = widthSpec, parentHeightSpec = insetHeightSpec; 929 parentWidthSpec = widthSpec;
|
/frameworks/base/core/java/android/widget/ |
H A D | ListPopupWindow.java | 556 int widthSpec = 0; 566 widthSpec = -1; 568 widthSpec = getAnchorView().getWidth(); 570 widthSpec = mDropDownWidth; 596 mDropDownVerticalOffset, widthSpec, heightSpec); 599 widthSpec = ViewGroup.LayoutParams.MATCH_PARENT; 618 mPopup.setWindowLayoutMode(widthSpec, heightSpec); 1099 int widthSpec = MeasureSpec.makeMeasureSpec(mDropDownWidth, MeasureSpec.AT_MOST); 1101 hintView.measure(widthSpec, heightSpec);
|
H A D | GridLayout.java | 1004 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { argument 1010 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height); 1021 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); 1023 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); 1036 protected void onMeasure(int widthSpec, int heightSpec) { argument 1046 int widthSpecSansPadding = adjust( widthSpec, -hPadding); 1069 resolveSizeAndState(measuredWidth, widthSpec, 0),
|
H A D | PopupWindow.java | 724 * @param widthSpec an explicit width measure spec mode, either 733 public void setWindowLayoutMode(int widthSpec, int heightSpec) { argument 734 mWidthMode = widthSpec;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ListPopupWindow.java | 516 int widthSpec = 0; 525 widthSpec = -1; 527 widthSpec = getAnchorView().getWidth(); 529 widthSpec = mDropDownWidth; 555 mDropDownVerticalOffset, widthSpec, heightSpec); 558 widthSpec = ViewGroup.LayoutParams.FILL_PARENT; 577 mPopup.setWindowLayoutMode(widthSpec, heightSpec); 993 int widthSpec = MeasureSpec.makeMeasureSpec(mDropDownWidth, MeasureSpec.AT_MOST); 995 hintView.measure(widthSpec, heightSpec);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SubtitleView.java | 213 final int widthSpec = MeasureSpec.getSize(widthMeasureSpec); 215 if (computeMeasurements(widthSpec)) {
|
/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/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 905 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { argument 911 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height); 922 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); 924 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); 937 protected void onMeasure(int widthSpec, int heightSpec) { argument 947 int widthSpecSansPadding = adjust( widthSpec, -hPadding); 970 ViewCompat.resolveSizeAndState(measuredWidth, widthSpec, 0),
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 1418 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, widthMode); 1420 child.measure(widthSpec, heightSpec); 1449 final int widthSpec = MeasureSpec.makeMeasureSpec( 1451 child.measure(widthSpec, mChildHeightMeasureSpec); 1578 final int widthSpec = MeasureSpec.makeMeasureSpec( 1584 child.measure(widthSpec, heightSpec);
|
/frameworks/base/media/java/android/media/ |
H A D | WebVttRenderer.java | 1155 final int widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY); 1158 measure(widthSpec, heightSpec);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
H A D | PrintJobConfigActivity.java | 1678 final int widthSpec = MeasureSpec.makeMeasureSpec( 1682 showingView.measure(widthSpec, heightSpec);
|