/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
D | CenteredLinearLayout.java | 39 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 42 float value = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, parentWidth, in onMeasure() 44 if (mMaxWidth > 0 && parentWidth > mMaxWidth) { in onMeasure()
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | ContactListViewUtils.java | 32 ListView listView, int parentWidth, int listSpaceWeight, int listViewWeight) { in addPaddingToView() argument 37 (int) (parentWidth * paddingPercent * TEXT_LEFT_PADDING_TO_CARD_PADDING_RATIO), in addPaddingToView() 39 (int) (parentWidth * paddingPercent * TEXT_LEFT_PADDING_TO_CARD_PADDING_RATIO), in addPaddingToView()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | EllipsizeLayout.kt | 80 val parentWidth = MeasureSpec.getSize(widthMeasureSpec) in onMeasure() constant 122 if (!outOfSpec && totalLength > parentWidth) { in onMeasure() 123 var maxWidth = ellipsizeView!!.measuredWidth - (totalLength - parentWidth) in onMeasure()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | DisplayAspectRatioLinearLayout.kt | 40 val parentWidth = this.measuredWidth in <lambda>() constant 46 parentWidth - paddingStart - paddingEnd - (childCount - 1) * itemSpacingPx in <lambda>() 56 val availableWidth = parentWidth - paddingStart - paddingEnd in <lambda>()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | InterpolatingLayout.java | 205 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 228 int childWidth = params.resolveWidth(parentWidth); in onMeasure() 261 width += params.resolveLeftMargin(parentWidth) + params.resolveRightMargin(parentWidth); in onMeasure() 265 int remainder = parentWidth - width; in onMeasure()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/panel/ |
D | TaskViewPanel.java | 473 int parentWidth = ((ViewGroup) getParent()).getWidth(); in onParentDimensionChanged() local 476 logIfDebuggable("onDimensionChanged: " + parentWidth + " " + parentHeight); in onParentDimensionChanged() 497 int parentWidth = ((ViewGroup) getParent()).getWidth(); in recalculateBounds() local 500 mOpenState.mBounds.set(0, mPanelTopMargin + mGripBar.getHeight(), parentWidth, in recalculateBounds() 502 mCloseState.mBounds.set(0, parentHeight, parentWidth, in recalculateBounds() 504 mFullScreenState.mBounds.set(0, 0, parentWidth, parentHeight); in recalculateBounds()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/view/ |
D | DualPreviewViewPager.kt | 42 val parentWidth = in onMeasure() constant 55 val viewPagerHeight = parentWidth / (largeDisplayAspectRatio + smallDisplayAspectRatio) in onMeasure()
|
D | DualDisplayAspectRatioLayout.kt | 57 val parentWidth = this.measuredWidth - totalMarginPixels in onMeasure() constant 68 val sizeMultiplier = parentWidth / (largeDisplayAR + smallDisplayAR) in onMeasure()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/ |
D | SeascapePagedViewHandler.kt | 272 parentWidth: Int, in measureGroupedTaskViewThumbnailBounds() 292 getGroupedTaskViewSizes(dp, splitBoundsConfig, parentWidth, parentHeight) in measureGroupedTaskViewThumbnailBounds() 309 parentWidth: Int, in getGroupedTaskViewSizes() 324 val firstTaskViewSize = Point(parentWidth, (totalThumbnailHeight * taskPercent).toInt()) in getGroupedTaskViewSizes() 326 Point(parentWidth, totalThumbnailHeight - firstTaskViewSize.y - dividerBar) in getGroupedTaskViewSizes()
|
D | PortraitPagedViewHandler.java | 535 int parentWidth, int parentHeight, SplitBounds splitBoundsConfig, in measureGroupedTaskViewThumbnailBounds() argument 543 getGroupedTaskViewSizes(dp, splitBoundsConfig, parentWidth, parentHeight); in measureGroupedTaskViewThumbnailBounds() 545 int scaledDividerBar = Math.round(parentWidth * dividerScale); in measureGroupedTaskViewThumbnailBounds() 593 int parentWidth, in getGroupedTaskViewSizes() argument 608 int scaledDividerBar = Math.round(parentWidth * dividerScale); in getGroupedTaskViewSizes() 609 firstTaskViewSize.x = Math.round(parentWidth * taskPercent); in getGroupedTaskViewSizes() 612 secondTaskViewSize.x = parentWidth - firstTaskViewSize.x - scaledDividerBar; in getGroupedTaskViewSizes() 620 firstTaskViewSize.x = parentWidth; in getGroupedTaskViewSizes() 623 secondTaskViewSize.x = parentWidth; in getGroupedTaskViewSizes()
|
D | LandscapePagedViewHandler.kt | 448 parentWidth: Int, in measureGroupedTaskViewThumbnailBounds() 468 getGroupedTaskViewSizes(dp, splitBoundsConfig, parentWidth, parentHeight) in measureGroupedTaskViewThumbnailBounds() 486 parentWidth: Int, in getGroupedTaskViewSizes() 499 val firstTaskViewSize = Point(parentWidth, (totalThumbnailHeight * taskPercent).toInt()) in getGroupedTaskViewSizes() 501 Point(parentWidth, totalThumbnailHeight - firstTaskViewSize.y - dividerBar) in getGroupedTaskViewSizes()
|
D | RecentsPagedOrientationHandler.kt | 183 parentWidth: Int, in setSecondary() 199 parentWidth: Int, in setSecondary()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Utilities.java | 707 public static void rotateBounds(Rect inOutBounds, int parentWidth, int parentHeight, in rotateBounds() argument 716 inOutBounds.top = parentWidth - inOutBounds.right; in rotateBounds() 718 inOutBounds.bottom = parentWidth - origLeft; in rotateBounds() 721 inOutBounds.left = parentWidth - inOutBounds.right; in rotateBounds() 722 inOutBounds.right = parentWidth - origLeft; in rotateBounds()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageShow.java | 207 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 209 setMeasuredDimension(parentWidth, parentHeight); in onMeasure()
|