Home
last modified time | relevance | path

Searched refs:EXACTLY (Results 1 – 25 of 96) sorted by relevance

1234

/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DAspectRatioFrameLayoutTest.java46 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/
DDualDisplayAspectRatioLayout.kt79 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()
DFullPreviewFrameLayout.kt56 MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in onMeasure()
57 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY) in onMeasure()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DFixedWidthDisplayRatioFrameLayout.kt40 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>()
DDisplayAspectRatioFrameLayout.kt50 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY), in <lambda>()
57 MeasureSpec.EXACTLY, in <lambda>()
/packages/apps/Settings/tests/unit/src/com/android/settings/widget/
DRingProgressBarTest.java47 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/
DEqualWidthContainer.kt5 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/
DClockHostView.kt6 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/
DWallpaperSurfaceCallback.java18 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
DWallpaperSurfaceCallback2.java18 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/
DDragView.java19 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/
DAutoFitRecyclerViewTest.java38 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/
DMatchParentShrinkingLinearLayout.java686 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 …]
DAspectRatioFrameLayout.java78 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/
DSecondaryDragLayer.java18 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/
DStopwatchLandscapeLayout.kt23 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/
DSquareImageView.java42 if (widthMode == MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) { in onMeasure()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFastScroller.java437 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/
DTimerCircleFrameLayout.kt68 MeasureSpec.EXACTLY) in onMeasure()
70 MeasureSpec.EXACTLY) in onMeasure()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverViewPager.java50 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/
DInterpolatingLayout.java236 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/
DPreviewFrameLayout.java85 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/
DControlPanelLayout.java81 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/
DLockScreenPreviewer.java18 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/
DUnitTestCellLayoutBuilderRule.kt79 View.MeasureSpec.makeMeasureSpec(10000, View.MeasureSpec.EXACTLY), in createCellLayout()
80 View.MeasureSpec.makeMeasureSpec(10000, View.MeasureSpec.EXACTLY) in createCellLayout()

1234