/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | AspectRatioFrameLayoutTest.java | 46 int widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in measure_squareAspectRatio_squeezeWidth() 47 int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(50, View.MeasureSpec.EXACTLY); in measure_squareAspectRatio_squeezeWidth() 59 int widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(50, View.MeasureSpec.EXACTLY); in measure_squareAspectRatio_stretchWidth() 60 int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in measure_squareAspectRatio_stretchWidth() 72 int widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in measure_squareAspectRatio_doNotStretch() 73 int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in measure_squareAspectRatio_doNotStretch() 87 int widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in measure_rectangleAspectRatio_stretch() 88 int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in measure_rectangleAspectRatio_stretch()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/view/ |
D | DualDisplayAspectRatioLayout.kt | 79 MeasureSpec.EXACTLY, in onMeasure() 83 MeasureSpec.EXACTLY, in onMeasure() 91 MeasureSpec.EXACTLY, in onMeasure() 95 MeasureSpec.EXACTLY, in onMeasure() 105 MeasureSpec.EXACTLY, in onMeasure() 109 MeasureSpec.EXACTLY, in onMeasure()
|
D | FullPreviewFrameLayout.kt | 56 MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in onMeasure() 57 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY) in onMeasure()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | FixedWidthDisplayRatioFrameLayout.kt | 40 MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in <lambda>() 41 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY), in <lambda>() 45 MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in <lambda>() 46 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY), in <lambda>()
|
D | DisplayAspectRatioFrameLayout.kt | 50 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY), in <lambda>() 57 MeasureSpec.EXACTLY, in <lambda>()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/widget/ |
D | RingProgressBarTest.java | 47 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testMeasurePortrait() 48 MeasureSpec.makeMeasureSpec(200, MeasureSpec.EXACTLY)); in testMeasurePortrait() 56 MeasureSpec.makeMeasureSpec(200, MeasureSpec.EXACTLY), in testMeasureLandscape() 57 MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY)); in testMeasureLandscape()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | EqualWidthContainer.kt | 5 import android.view.View.MeasureSpec.EXACTLY 45 MeasureSpec.makeMeasureSpec(neededWidthPerNonSpaceItem, EXACTLY), in onMeasure() 46 MeasureSpec.makeMeasureSpec(it.measuredHeight, EXACTLY) in onMeasure()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/view/ |
D | ClockHostView.kt | 6 import android.view.View.MeasureSpec.EXACTLY 49 MeasureSpec.makeMeasureSpec(screenSize.x, EXACTLY), in measureChildWithMargins() 51 MeasureSpec.makeMeasureSpec(screenSize.y, EXACTLY), in measureChildWithMargins()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | WallpaperSurfaceCallback.java | 18 import static android.view.View.MeasureSpec.EXACTLY; 197 mHomeImageWallpaper.measure(makeMeasureSpec(mContainerView.getWidth(), EXACTLY), in setupSurfaceWallpaper() local 198 makeMeasureSpec(mContainerView.getHeight(), EXACTLY)); in setupSurfaceWallpaper() local 212 mHomeImageWallpaper.measure(makeMeasureSpec(mContainerView.getWidth(), EXACTLY), in resizeSurfaceWallpaper() local 213 makeMeasureSpec(mContainerView.getHeight(), EXACTLY)); in resizeSurfaceWallpaper() local
|
D | WallpaperSurfaceCallback2.java | 18 import static android.view.View.MeasureSpec.EXACTLY; 160 mHomeImageWallpaper.measure(makeMeasureSpec(mWallpaperSurface.getWidth(), EXACTLY), in setupSurfaceWallpaper() local 161 makeMeasureSpec(mWallpaperSurface.getHeight(), EXACTLY)); in setupSurfaceWallpaper() local
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragView.java | 19 import static android.view.View.MeasureSpec.EXACTLY; 224 measure(makeMeasureSpec(width, EXACTLY), makeMeasureSpec(height, EXACTLY)); in DragView() 327 super.onMeasure(makeMeasureSpec(mWidth, EXACTLY), makeMeasureSpec(mHeight, EXACTLY)); in onMeasure() 380 newContent.measure(makeMeasureSpec(mWidth, EXACTLY), makeMeasureSpec(mHeight, EXACTLY)); in crossFadeContent() 504 view.measure(makeMeasureSpec(mWidth, EXACTLY), makeMeasureSpec(mHeight, EXACTLY)); in detachContentView()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ |
D | AutoFitRecyclerViewTest.java | 38 final int measureSpec = View.MeasureSpec.makeMeasureSpec(size, View.MeasureSpec.EXACTLY); in testMeasure_spanCountIsRounded() 61 final int measureSpec = View.MeasureSpec.makeMeasureSpec(size, View.MeasureSpec.EXACTLY); in testSetMinimumSpanCount_resultSmallerThanMinSpanCount() 87 final int measureSpec = View.MeasureSpec.makeMeasureSpec(size, View.MeasureSpec.EXACTLY); in testSetMinimumSpanCount_resultLargerThanMinSpanCount()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 686 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) { in measureVertical() 746 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) { in measureVertical() 851 if ((lp.height != 0) || (heightMode != MeasureSpec.EXACTLY)) { in measureVertical() 860 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); in measureVertical() 866 MeasureSpec.EXACTLY)); in measureVertical() 884 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); in measureVertical() 896 boolean matchWidthLocally = widthMode != MeasureSpec.EXACTLY && in measureVertical() 919 if (useLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical() 933 MeasureSpec.EXACTLY), in measureVertical() 935 MeasureSpec.EXACTLY)); in measureVertical() [all …]
|
D | AspectRatioFrameLayout.java | 78 super.onMeasure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in onMeasure() 79 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in onMeasure()
|
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/ |
D | SecondaryDragLayer.java | 18 import static android.view.View.MeasureSpec.EXACTLY; 134 makeMeasureSpec(appsWidth, EXACTLY), makeMeasureSpec(appsHeight, EXACTLY)); in onMeasure() 136 int appsButtonSpec = makeMeasureSpec(grid.iconSizePx, EXACTLY); in onMeasure()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchLandscapeLayout.kt | 23 import android.view.View.MeasureSpec.EXACTLY 98 val lapsListWidthSpec: Int = MeasureSpec.makeMeasureSpec(lapsListWidth, EXACTLY) in onMeasure() 106 val stopwatchWidthSpec: Int = MeasureSpec.makeMeasureSpec(stopwatchWidth, EXACTLY) in onMeasure()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | SquareImageView.java | 42 if (widthMode == MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) { in onMeasure()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationFastScroller.java | 437 int widthMeasureSpec = MeasureSpec.makeMeasureSpec(mTrackWidth, MeasureSpec.EXACTLY); in layoutTrack() 438 int heightMeasureSpec = MeasureSpec.makeMeasureSpec(trackHeight, MeasureSpec.EXACTLY); in layoutTrack() 449 int widthMeasureSpec = MeasureSpec.makeMeasureSpec(mTrackWidth, MeasureSpec.EXACTLY); in layoutThumb() 450 int heightMeasureSpec = MeasureSpec.makeMeasureSpec(mThumbHeight, MeasureSpec.EXACTLY); in layoutThumb() 462 int heightMeasureSpec = MeasureSpec.makeMeasureSpec(mPreviewHeight, MeasureSpec.EXACTLY); in layoutPreview() 467 widthMeasureSpec = MeasureSpec.makeMeasureSpec(mPreviewMinWidth, MeasureSpec.EXACTLY); in layoutPreview()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | TimerCircleFrameLayout.kt | 68 MeasureSpec.EXACTLY) in onMeasure() 70 MeasureSpec.EXACTLY) in onMeasure()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ResolverViewPager.java | 50 widthMeasureSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.EXACTLY); in onMeasure() 64 heightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); in onMeasure()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | InterpolatingLayout.java | 236 childWidth, MeasureSpec.EXACTLY); in onMeasure() 248 MeasureSpec.EXACTLY); in onMeasure() 252 params.height, MeasureSpec.EXACTLY); in onMeasure() 267 ? MeasureSpec.makeMeasureSpec(remainder, MeasureSpec.EXACTLY) in onMeasure()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | PreviewFrameLayout.java | 85 super.onMeasure(MeasureSpec.makeMeasureSpec(previewWidth, MeasureSpec.EXACTLY), in onMeasure() 86 MeasureSpec.makeMeasureSpec(previewHeight, MeasureSpec.EXACTLY)); in onMeasure()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ControlPanelLayout.java | 81 widthSpec = MeasureSpec.makeMeasureSpec(measuredSize, MeasureSpec.EXACTLY); in onMeasure() 83 heightSpec = MeasureSpec.makeMeasureSpec(measuredSize, MeasureSpec.EXACTLY); in onMeasure()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | LockScreenPreviewer.java | 18 import static android.view.View.MeasureSpec.EXACTLY; 88 makeMeasureSpec(screenSize.x, EXACTLY), in LockScreenPreviewer() 89 makeMeasureSpec(screenSize.y, EXACTLY)); in LockScreenPreviewer()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/ |
D | UnitTestCellLayoutBuilderRule.kt | 79 View.MeasureSpec.makeMeasureSpec(10000, View.MeasureSpec.EXACTLY), in createCellLayout() 80 View.MeasureSpec.makeMeasureSpec(10000, View.MeasureSpec.EXACTLY) in createCellLayout()
|