/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | FixedAspectSurfaceView.java | 88 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 102 if (widthMode == MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) { in onMeasure() 104 } else if (widthMode == MeasureSpec.EXACTLY) { in onMeasure() 110 } else if (widthMode == MeasureSpec.AT_MOST && heightMode == MeasureSpec.AT_MOST) { in onMeasure() 122 } else if (widthMode == MeasureSpec.AT_MOST) { in onMeasure()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | FixedAspectSurfaceView.java | 88 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 102 if (widthMode == MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) { in onMeasure() 104 } else if (widthMode == MeasureSpec.EXACTLY) { in onMeasure() 110 } else if (widthMode == MeasureSpec.AT_MOST && heightMode == MeasureSpec.AT_MOST) { in onMeasure() 122 } else if (widthMode == MeasureSpec.AT_MOST) { in onMeasure()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PreferenceImageView.java | 49 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 50 if (widthMode == MeasureSpec.AT_MOST || widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure() 54 && (maxWidth < widthSize || widthMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
|
D | WeightedLinearLayout.java | 62 final int widthMode = getMode(widthMeasureSpec); in onMeasure() 73 if (widthMode == AT_MOST) { in onMeasure()
|
D | ScrollingTabContainerView.java | 87 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 88 final boolean lockedExpanded = widthMode == MeasureSpec.EXACTLY; in onMeasure() 93 (widthMode == MeasureSpec.EXACTLY || widthMode == MeasureSpec.AT_MOST)) { in onMeasure()
|
D | AlertDialogLayout.java | 113 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in tryOnMeasure() local 212 if (widthMode != MeasureSpec.EXACTLY) { in tryOnMeasure()
|
D | ActionBarContextView.java | 303 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 304 if (widthMode != MeasureSpec.EXACTLY) { in onMeasure()
|
D | ActionBarView.java | 902 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 903 if (widthMode != MeasureSpec.EXACTLY) { in onMeasure() 1515 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 1520 switch (widthMode) { in onMeasure()
|
D | ViewPager.java | 1397 int widthMode = MeasureSpec.AT_MOST; 1403 widthMode = MeasureSpec.EXACTLY; 1411 widthMode = MeasureSpec.EXACTLY; 1422 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, widthMode);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItemView.java | 286 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 289 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth) in onMeasure() 292 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) { in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityViewFlipper.java | 200 final int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure() local 202 if (DEBUG && widthMode != MeasureSpec.AT_MOST) { in onMeasure() 233 int width = widthMode == MeasureSpec.EXACTLY ? widthSize : 0; in onMeasure()
|
/frameworks/base/core/java/android/widget/ |
D | LinearLayout.java | 783 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in measureVertical() local 882 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) { in measureVertical() 1006 boolean matchWidthLocally = widthMode != MeasureSpec.EXACTLY && in measureVertical() 1051 if (!allFillParent && widthMode != MeasureSpec.EXACTLY) { in measureVertical() 1113 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in measureHorizontal() local 1133 final boolean isExactly = widthMode == MeasureSpec.EXACTLY; in measureHorizontal() 1163 if (widthMode == MeasureSpec.EXACTLY && useExcessSpace) { in measureHorizontal() 1296 (widthMode == MeasureSpec.AT_MOST || widthMode == MeasureSpec.UNSPECIFIED)) { in measureHorizontal() 1365 if (mUseLargestChild && widthMode != MeasureSpec.EXACTLY) { in measureHorizontal() 1368 || widthMode == MeasureSpec.EXACTLY)) { in measureHorizontal() [all …]
|
D | AnalogClock.java | 155 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 163 if (widthMode != MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) { in onMeasure()
|
D | ListPopupWindow.java | 1219 final int widthMode; in buildDropDown() local 1221 widthMode = MeasureSpec.AT_MOST; in buildDropDown() 1224 widthMode = MeasureSpec.UNSPECIFIED; in buildDropDown() 1227 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, widthMode); in buildDropDown()
|
D | AbsSpinner.java | 179 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 234 if (widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
|
D | SearchView.java | 814 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 817 switch (widthMode) { in onMeasure() 837 widthMode = MeasureSpec.EXACTLY; in onMeasure() 852 super.onMeasure(MeasureSpec.makeMeasureSpec(width, widthMode), in onMeasure()
|
D | RelativeLayout.java | 418 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 424 if (widthMode != MeasureSpec.UNSPECIFIED) { in onMeasure() 432 if (widthMode == MeasureSpec.EXACTLY) { in onMeasure() 458 final boolean isWrapContentWidth = widthMode != MeasureSpec.EXACTLY; in onMeasure()
|
D | GridView.java | 1062 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 1067 if (widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure() 1133 if (widthMode == MeasureSpec.AT_MOST && mRequestedNumColumns != AUTO_FIT) { in onMeasure()
|
D | HorizontalScrollView.java | 426 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 427 if (widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
|
D | ListView.java | 1281 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 1291 if (mItemCount > 0 && (widthMode == MeasureSpec.UNSPECIFIED in onMeasure() 1309 if (widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
|
/frameworks/base/core/java/android/app/ |
D | MediaRouteButton.java | 282 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 291 switch (widthMode) { in onMeasure()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PrintOptionsLayout.java | 55 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 615 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 620 if (widthMode != MeasureSpec.EXACTLY) { in onMeasure() 623 widthMode = MeasureSpec.EXACTLY; in onMeasure()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderSessionImpl.java | 625 int width, int widthMode, int height, int heightMode) { in measureView() argument 626 int w_spec = MeasureSpec.makeMeasureSpec(width, widthMode); in measureView()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 690 final int widthMode = getMode(widthMeasureSpec); 695 if (widthMode == AT_MOST) { 754 if (!fixedWidth && widthMode == AT_MOST) {
|