Home
last modified time | relevance | path

Searched refs:widthSpec (Results 1 – 14 of 14) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DListPopupWindow.java516 int widthSpec = 0; in show() local
525 widthSpec = -1; in show()
527 widthSpec = getAnchorView().getWidth(); in show()
529 widthSpec = mDropDownWidth; in show()
555 mDropDownVerticalOffset, widthSpec, heightSpec); in show() local
558 widthSpec = ViewGroup.LayoutParams.FILL_PARENT; in show()
577 mPopup.setWindowLayoutMode(widthSpec, heightSpec); in show()
993 int widthSpec = MeasureSpec.makeMeasureSpec(mDropDownWidth, MeasureSpec.AT_MOST); in buildDropDown() local
995 hintView.measure(widthSpec, heightSpec); in buildDropDown()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java177 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
178 final int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure()
181 Log.w(TAG, "onMeasure: widthSpec " + MeasureSpec.toString(widthSpec) + in onMeasure()
189 final int widthSize = MeasureSpec.getSize(widthSpec); in onMeasure()
DMultiPaneChallengeLayout.java209 protected void onMeasure(final int widthSpec, final int heightSpec) { in onMeasure() argument
210 if (MeasureSpec.getMode(widthSpec) != MeasureSpec.EXACTLY || in onMeasure()
216 final int width = MeasureSpec.getSize(widthSpec); in onMeasure()
254 int adjustedWidthSpec = widthSpec; in onMeasure()
276 child.measure(widthSpec, heightSpec); in onMeasure()
DSlidingChallengeLayout.java813 protected void onMeasure(int widthSpec, int heightSpec) {
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/tests/TransitionTests/src/com/android/transitiontests/
DHierarchicalMove.java100 int widthSpec = wide ? LayoutParams.WRAP_CONTENT : LayoutParams.MATCH_PARENT; in sendMessage() local
101 LayoutParams params = new LayoutParams(widthSpec, LayoutParams.WRAP_CONTENT); in sendMessage()
/frameworks/base/core/java/android/widget/
DListPopupWindow.java556 int widthSpec = 0; in show() local
566 widthSpec = -1; in show()
568 widthSpec = getAnchorView().getWidth(); in show()
570 widthSpec = mDropDownWidth; in show()
596 mDropDownVerticalOffset, widthSpec, heightSpec); in show() local
599 widthSpec = ViewGroup.LayoutParams.MATCH_PARENT; in show()
618 mPopup.setWindowLayoutMode(widthSpec, heightSpec); in show()
1099 int widthSpec = MeasureSpec.makeMeasureSpec(mDropDownWidth, MeasureSpec.AT_MOST);
1101 hintView.measure(widthSpec, heightSpec);
DGridLayout.java1004 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { in measureChildrenWithMargins() argument
1010 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height); in measureChildrenWithMargins()
1021 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); in measureChildrenWithMargins()
1023 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); in measureChildrenWithMargins()
1036 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
1046 int widthSpecSansPadding = adjust( widthSpec, -hPadding); in onMeasure()
1069 resolveSizeAndState(measuredWidth, widthSpec, 0), in onMeasure()
DPopupWindow.java733 public void setWindowLayoutMode(int widthSpec, int heightSpec) { in setWindowLayoutMode() argument
734 mWidthMode = widthSpec; in setWindowLayoutMode()
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java213 final int widthSpec = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
215 if (computeMeasurements(widthSpec)) { in onMeasure()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java778 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); in layoutChildren() local
787 child.measure(widthSpec, heightSpec); in layoutChildren()
906 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); in fillUp() local
944 child.measure(widthSpec, heightSpec); in fillUp()
1020 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); in fillDown() local
1058 child.measure(widthSpec, heightSpec); in fillDown()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java905 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { in measureChildrenWithMargins() argument
911 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height); in measureChildrenWithMargins()
922 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); in measureChildrenWithMargins()
924 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); in measureChildrenWithMargins()
937 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
947 int widthSpecSansPadding = adjust( widthSpec, -hPadding); in onMeasure()
970 ViewCompat.resolveSizeAndState(measuredWidth, widthSpec, 0), in onMeasure()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1418 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/
DWebVttRenderer.java1155 final int widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY); in setSize() local
1158 measure(widthSpec, heightSpec); in setSize()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
DPrintJobConfigActivity.java1860 final int widthSpec = MeasureSpec.makeMeasureSpec( in animateUiSwitch()
1864 showingView.measure(widthSpec, heightSpec); in animateUiSwitch()