/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | FixedAspectSurfaceView.java | 102 if (widthMode == MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) { in onMeasure() 104 } else if (widthMode == MeasureSpec.EXACTLY) { in onMeasure() 107 } else if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | FixedAspectSurfaceView.java | 102 if (widthMode == MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) { in onMeasure() 104 } else if (widthMode == MeasureSpec.EXACTLY) { in onMeasure() 107 } else if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/ |
D | FillContentLayoutTest.java | 63 MeasureSpec.makeMeasureSpec(300, MeasureSpec.EXACTLY), in testMeasureChildIsSmallerThanMaxSize() 64 MeasureSpec.makeMeasureSpec(300, MeasureSpec.EXACTLY)); in testMeasureChildIsSmallerThanMaxSize() 82 MeasureSpec.makeMeasureSpec(88, MeasureSpec.EXACTLY), in testMeasureChildIsSmallerThanParent() 83 MeasureSpec.makeMeasureSpec(88, MeasureSpec.EXACTLY)); in testMeasureChildIsSmallerThanParent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | WeightedLinearLayout.java | 69 widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, EXACTLY); in onMeasure() 77 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMin, EXACTLY); in onMeasure() 80 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMax, EXACTLY); in onMeasure()
|
D | DialogViewAnimator.java | 44 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || in onMeasure() 45 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure() 117 MeasureSpec.EXACTLY); in onMeasure() 129 MeasureSpec.EXACTLY); in onMeasure()
|
D | WatchListDecorLayout.java | 121 width, MeasureSpec.EXACTLY); in applyMeasureToChild() 135 height, MeasureSpec.EXACTLY); in applyMeasureToChild() 163 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || in onMeasure() 164 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure()
|
D | AlertDialogLayout.java | 168 buttonHeight, MeasureSpec.EXACTLY); in tryOnMeasure() 212 if (widthMode != MeasureSpec.EXACTLY) { in tryOnMeasure() 228 getMeasuredWidth(), MeasureSpec.EXACTLY); in forceUniformWidth()
|
/frameworks/base/core/java/android/widget/ |
D | DayPickerViewPager.java | 60 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || in onMeasure() 61 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure() 115 MeasureSpec.EXACTLY); in onMeasure() 125 MeasureSpec.EXACTLY); in onMeasure()
|
D | LinearLayout.java | 820 if (heightMode == MeasureSpec.EXACTLY && useExcessSpace) { in measureVertical() 882 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) { in measureVertical() 977 if (mUseLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical() 980 || heightMode == MeasureSpec.EXACTLY)) { in measureVertical() 991 Math.max(0, childHeight), MeasureSpec.EXACTLY); in measureVertical() 1006 boolean matchWidthLocally = widthMode != MeasureSpec.EXACTLY && in measureVertical() 1029 if (useLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical() 1043 MeasureSpec.EXACTLY), in measureVertical() 1045 MeasureSpec.EXACTLY)); in measureVertical() 1051 if (!allFillParent && widthMode != MeasureSpec.EXACTLY) { in measureVertical() [all …]
|
D | SlidingDrawer.java | 298 mContent.measure(MeasureSpec.makeMeasureSpec(widthSpecSize, MeasureSpec.EXACTLY), in onMeasure() 299 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in onMeasure() 302 mContent.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in onMeasure() 303 MeasureSpec.makeMeasureSpec(heightSpecSize, MeasureSpec.EXACTLY)); in onMeasure() 670 content.measure(MeasureSpec.makeMeasureSpec(mRight - mLeft, MeasureSpec.EXACTLY), in prepareContent() 671 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in prepareContent() 677 content.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in prepareContent() 678 MeasureSpec.makeMeasureSpec(mBottom - mTop, MeasureSpec.EXACTLY)); in prepareContent()
|
D | FrameLayout.java | 183 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || in onMeasure() 184 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure() 241 width, MeasureSpec.EXACTLY); in onMeasure() 255 height, MeasureSpec.EXACTLY); in onMeasure()
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | TextViewOnMeasurePerfTest.java | 20 import static android.view.View.MeasureSpec.EXACTLY; 132 textView.measure(EXACTLY | VIEW_WIDTH, EXACTLY | VIEW_HEIGHT); in testMeasure_Exactly()
|
D | LayoutPerfTest.java | 22 import static android.view.View.MeasureSpec.EXACTLY; 63 private int[] mMeasureSpecs = {EXACTLY, AT_MOST, UNSPECIFIED};
|
D | EditTextLongTextPerfTest.java | 94 editText.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in setupEditText() 95 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in setupEditText()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverViewPager.java | 59 widthMeasureSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.EXACTLY); in onMeasure() 73 heightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); in onMeasure()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | AbsSeekBarTest.java | 19 import static android.view.View.MeasureSpec.EXACTLY; 129 mBar.measure(makeMeasureSpec(wPx, EXACTLY), makeMeasureSpec(hPx, EXACTLY)); in measureAndLayout()
|
D | LabelView.java | 135 if (specMode == MeasureSpec.EXACTLY) { in measureWidth() 162 if (specMode == MeasureSpec.EXACTLY) { in measureHeight()
|
D | TextViewFallbackLineSpacingTest.java | 109 View.MeasureSpec.makeMeasureSpec(width, View.MeasureSpec.EXACTLY), in testFallbackLineSpacing() 110 View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY)); in testFallbackLineSpacing()
|
D | ListViewTest.java | 49 int measureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in testRequestLayout() 81 int measureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in testNoSelectableItems()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | IntrinsicSizeFrameLayout.java | 83 return MeasureSpec.makeMeasureSpec(intrinsicHeight, MeasureSpec.EXACTLY); in getIntrinsicMeasureSpec() 87 return MeasureSpec.makeMeasureSpec(Math.min(size, intrinsicHeight), MeasureSpec.EXACTLY); in getIntrinsicMeasureSpec()
|
D | FillContentLayout.java | 111 return MeasureSpec.makeMeasureSpec(childDimension, MeasureSpec.EXACTLY); in getMaxSizeMeasureSpec() 114 return MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); in getMaxSizeMeasureSpec()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/ |
D | DrawingTestHelper.java | 77 MeasureSpec.makeMeasureSpec(mWidth, MeasureSpec.EXACTLY), in drawView() 78 MeasureSpec.makeMeasureSpec(mHeight, MeasureSpec.EXACTLY)); in drawView()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | ViewPreviewer.java | 65 view.measure(View.MeasureSpec.makeMeasureSpec(width, View.MeasureSpec.EXACTLY), in createPreview() 66 View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY)); in createPreview()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityViewFlipper.java | 233 int width = widthMode == MeasureSpec.EXACTLY ? widthSize : 0; in onMeasure() 234 int height = heightMode == MeasureSpec.EXACTLY ? heightSize : 0; in onMeasure() 259 mode = MeasureSpec.EXACTLY; in makeChildMeasureSpec() 263 mode = MeasureSpec.EXACTLY; in makeChildMeasureSpec()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/ |
D | TransitionLayout.kt | 127 MeasureSpec.EXACTLY) in applyCurrentState() 129 MeasureSpec.EXACTLY) in applyCurrentState() 173 MeasureSpec.EXACTLY) in onMeasure() 175 MeasureSpec.EXACTLY) in onMeasure()
|