Searched defs:widthSpec (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipper.java195 protected void onMeasure(int widthSpec, int heightSpec) { argument
196 final int widthMode = MeasureSpec.getMode(widthSpec);
199 Log.w(TAG, "onMeasure: widthSpec " + MeasureSpec.toString(widthSpec) +
207 final int widthSize = MeasureSpec.getSize(widthSpec);
H A DMultiPaneChallengeLayout.java208 protected void onMeasure(final int widthSpec, final int heightSpec) { argument
209 if (MeasureSpec.getMode(widthSpec) != MeasureSpec.EXACTLY ||
215 final int width = MeasureSpec.getSize(widthSpec);
253 int adjustedWidthSpec = widthSpec;
275 child.measure(widthSpec, heightSpec);
H A DSlidingChallengeLayout.java813 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/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java478 private void measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec) { argument
481 widthSpec = updateSpecWithExtra(widthSpec, lp.leftMargin + mDecorInsets.left,
485 child.measure(widthSpec, heightSpec);
H A DStaggeredGridLayoutManager.java997 private void measureChildWithDecorationsAndMargin(View child, int widthSpec, argument
1001 widthSpec = updateSpecWithExtra(widthSpec, lp.leftMargin + insets.left,
1005 child.measure(widthSpec, heightSpec);
H A DRecyclerView.java1822 protected void onMeasure(int widthSpec, int heightSpec) { argument
1848 defaultOnMeasure(widthSpec, heightSpec);
1850 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
1859 private void defaultOnMeasure(int widthSpec, int heightSpec) { argument
1860 final int widthMode = MeasureSpec.getMode(widthSpec);
1862 final int widthSize = MeasureSpec.getSize(widthSpec);
5821 final int widthSpec = getChildMeasureSpec(getWidth(),
5827 child.measure(widthSpec, heightSpec);
5849 final int widthSpec = getChildMeasureSpec(getWidth(),
5857 child.measure(widthSpec, heightSpe
6430 onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java807 * @param widthSpec an explicit width measure spec mode, either
816 public void setWindowLayoutMode(int widthSpec, int heightSpec) { argument
817 mWidthMode = widthSpec;
H A DGridLayout.java1008 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { argument
1014 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height);
1027 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height);
1029 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize);
1042 protected void onMeasure(int widthSpec, int heightSpec) { argument
1052 int widthSpecSansPadding = adjust( widthSpec, -hPadding);
1075 resolveSizeAndState(measuredWidth, widthSpec, 0),
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGridLayoutManager.java862 private void measureScrapChild(int position, int widthSpec, int heightSpec, argument
867 int childWidthSpec = ViewGroup.getChildMeasureSpec(widthSpec,
985 public void onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) { argument
991 sizePrimary = MeasureSpec.getSize(widthSpec);
996 sizeSecondary = MeasureSpec.getSize(widthSpec);
998 modeSecondary = MeasureSpec.getMode(widthSpec);
1001 if (DEBUG) Log.v(getTag(), "onMeasure widthSpec " + Integer.toHexString(widthSpec) +
1099 int widthSpec, heightSpec;
1102 widthSpec
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java897 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { argument
903 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height);
916 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height);
918 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize);
931 protected void onMeasure(int widthSpec, int heightSpec) { argument
941 int widthSpecSansPadding = adjust( widthSpec, -hPadding);
964 ViewCompat.resolveSizeAndState(measuredWidth, widthSpec, 0),

Completed in 1178 milliseconds