/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/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/base/core/java/com/android/internal/widget/ |
D | PreferenceImageView.java | 50 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 51 if (widthMode == MeasureSpec.AT_MOST || widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure() 55 && (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 | 88 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 89 final boolean lockedExpanded = widthMode == MeasureSpec.EXACTLY; in onMeasure() 94 (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 | MessagingLinearLayout.java | 266 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in trackMeasureSpecs() local 272 widthMode); in trackMeasureSpecs()
|
D | ActionBarContextView.java | 304 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 305 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/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/ |
D | BlingyNotification.kt | 51 val widthMode = MeasureSpec.getMode(widthMeasureSpec) in onMeasure() constant 55 if (widthMode == MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) { in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityViewFlipper.java | 113 final int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure() local 115 if (DEBUG && widthMode != MeasureSpec.AT_MOST) { in onMeasure() 148 int width = widthMode == MeasureSpec.EXACTLY ? widthSize : 0; in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusIconContainer.java | 159 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 197 getMeasuredWidth(widthMode, specWidth, totalWidth), in onMeasure() 213 private int getMeasuredWidth(int widthMode, int specWidth, int totalWidth) { in getMeasuredWidth() argument 214 if (widthMode == MeasureSpec.EXACTLY) { in getMeasuredWidth() 220 if (widthMode == MeasureSpec.AT_MOST && totalWidth > specWidth) { in getMeasuredWidth()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItemView.java | 292 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 295 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth) in onMeasure() 298 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) { in onMeasure()
|
/frameworks/base/core/java/android/widget/ |
D | LinearLayout.java | 819 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in measureVertical() local 918 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) { in measureVertical() 1042 boolean matchWidthLocally = widthMode != MeasureSpec.EXACTLY && in measureVertical() 1087 if (!allFillParent && widthMode != MeasureSpec.EXACTLY) { in measureVertical() 1149 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in measureHorizontal() local 1169 final boolean isExactly = widthMode == MeasureSpec.EXACTLY; in measureHorizontal() 1199 if (widthMode == MeasureSpec.EXACTLY && useExcessSpace) { in measureHorizontal() 1332 (widthMode == MeasureSpec.AT_MOST || widthMode == MeasureSpec.UNSPECIFIED)) { in measureHorizontal() 1417 if (mUseLargestChild && widthMode != MeasureSpec.EXACTLY) { in measureHorizontal() 1420 || widthMode == MeasureSpec.EXACTLY)) { in measureHorizontal() [all …]
|
D | ListPopupWindow.java | 1220 final int widthMode; in buildDropDown() local 1222 widthMode = MeasureSpec.AT_MOST; in buildDropDown() 1225 widthMode = MeasureSpec.UNSPECIFIED; in buildDropDown() 1228 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 | 821 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 824 switch (widthMode) { in onMeasure() 844 widthMode = MeasureSpec.EXACTLY; in onMeasure() 859 super.onMeasure(MeasureSpec.makeMeasureSpec(width, widthMode), in onMeasure()
|
D | AnalogClock.java | 644 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 652 if (widthMode != MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) { 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 | 1063 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 1068 if (widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure() 1134 if (widthMode == MeasureSpec.AT_MOST && mRequestedNumColumns != AUTO_FIT) { in onMeasure()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | AlertDialogLayout.java | 112 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in tryOnMeasure() local 211 if (widthMode != MeasureSpec.EXACTLY) { in tryOnMeasure()
|
/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()
|