/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | LineWrapLayout.java | 67 LayoutParams layoutParams = (LayoutParams) currChild.getLayoutParams(); in onMeasure() local 68 int startMargin = layoutParams.getStartMargin(); in onMeasure() 69 int endMargin = layoutParams.getEndMargin(); in onMeasure() 72 int childMeasuredHeight = currChild.getMeasuredHeight() + layoutParams.topMargin + in onMeasure() 73 layoutParams.bottomMargin; in onMeasure() 115 LayoutParams layoutParams = (LayoutParams) currChild.getLayoutParams(); in onLayout() local 118 int startMargin = layoutParams.getStartMargin(); in onLayout() 119 int endMargin = layoutParams.getEndMargin(); in onLayout() 128 currLineHeight = Math.max(currLineHeight, childHeight + layoutParams.topMargin + in onLayout() 129 layoutParams.bottomMargin); in onLayout() [all …]
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TvViewUiManager.java | 82 FrameLayout.LayoutParams layoutParams = 88 + layoutParams.width 90 + layoutParams.height); 92 mTvView.setTvViewLayoutParams(layoutParams); 100 layoutParams.width, layoutParams.height); 356 final FrameLayout.LayoutParams layoutParams, in setTvViewPosition() argument 363 + layoutParams.width in setTvViewPosition() 365 + layoutParams.height in setTvViewPosition() 367 + layoutParams.getMarginStart() in setTvViewPosition() 369 + layoutParams.topMargin in setTvViewPosition() [all …]
|
D | ViewUtils.java | 83 LayoutParams layoutParams = view.getLayoutParams(); in getLayoutHeight() local 84 return layoutParams.height; in getLayoutHeight() 89 LayoutParams layoutParams = view.getLayoutParams(); in setLayoutHeight() local 90 if (height != layoutParams.height) { in setLayoutHeight() 91 layoutParams.height = height; in setLayoutHeight() 92 view.setLayoutParams(layoutParams); in setLayoutHeight()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/panel/animation/ |
D | PanelAnimator.java | 57 final ViewGroup.MarginLayoutParams layoutParams = in updateBounds() local 59 layoutParams.topMargin = bounds.top; in updateBounds() 60 layoutParams.rightMargin = bounds.right; in updateBounds() 61 layoutParams.width = bounds.width(); in updateBounds() 62 layoutParams.height = bounds.height(); in updateBounds() 63 mPanel.setLayoutParams(layoutParams); in updateBounds()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/ |
D | SeascapePagedViewHandler.kt | 86 val lp = taskMenuView.layoutParams as BaseDragLayer.LayoutParams in getSplitTranslationDirectionFactor() 137 val snapshotParams = thumbnailViews[0].layoutParams as FrameLayout.LayoutParams in getDwbLayoutTranslations() 140 val bannerParams = banner.layoutParams as FrameLayout.LayoutParams in getDwbLayoutTranslations() 210 val lp = out.layoutParams as FrameLayout.LayoutParams in getDistanceToBottomOfRect() 212 out.layoutParams = lp in getDistanceToBottomOfRect() 278 val primaryParams = primarySnapshot.layoutParams as FrameLayout.LayoutParams in measureGroupedTaskViewThumbnailBounds() 279 val secondaryParams = secondarySnapshot.layoutParams as FrameLayout.LayoutParams in measureGroupedTaskViewThumbnailBounds() 386 val layoutParams = iconView.layoutParams as FrameLayout.LayoutParams in updateSplitIconsPosition() constant 390 layoutParams.gravity = in updateSplitIconsPosition() 392 appChipView.layoutParams = layoutParams in updateSplitIconsPosition() [all …]
|
D | LandscapePagedViewHandler.kt | 192 val layoutParams = taskMenuView.layoutParams as BaseDragLayer.LayoutParams in getChildStart() constant 196 taskMenuY += (thumbnailView.measuredHeight - layoutParams.width) / 2f in getChildStart() 254 val snapshotParams = thumbnailViews[0].layoutParams as FrameLayout.LayoutParams in getDwbLayoutTranslations() 258 val bannerParams = banner.layoutParams as FrameLayout.LayoutParams in getDwbLayoutTranslations() 403 val lp = out.layoutParams as FrameLayout.LayoutParams in getPlaceholderSizeAdjustment() 405 out.layoutParams = lp in getPlaceholderSizeAdjustment() 454 val primaryParams = primarySnapshot.layoutParams as FrameLayout.LayoutParams in measureGroupedTaskViewThumbnailBounds() 455 val secondaryParams = secondarySnapshot.layoutParams as FrameLayout.LayoutParams in measureGroupedTaskViewThumbnailBounds() 667 val layoutParams = iconView.layoutParams as FrameLayout.LayoutParams in updateSplitIconsPosition() constant 671 layoutParams.gravity = in updateSplitIconsPosition() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/overlay/ |
D | TaskbarOverlayController.java | 184 LayoutParams layoutParams = new LayoutParams( in createLayoutParams() local 188 layoutParams.setTitle(WINDOW_TITLE); in createLayoutParams() 189 layoutParams.gravity = Gravity.BOTTOM; in createLayoutParams() 190 layoutParams.packageName = mTaskbarContext.getPackageName(); in createLayoutParams() 191 layoutParams.setFitInsetsTypes(0); // Handled by container view. in createLayoutParams() 192 layoutParams.layoutInDisplayCutoutMode = LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS; in createLayoutParams() 193 layoutParams.setSystemApplicationOverlay(true); in createLayoutParams() 194 layoutParams.privateFlags = PRIVATE_FLAG_CONSUME_IME_INSETS; in createLayoutParams() 195 return layoutParams; in createLayoutParams()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | EllipsizeLayout.kt | 108 val layoutParams = child.layoutParams as LayoutParams? in onMeasure() constant 109 if (layoutParams != null) { in onMeasure() 110 outOfSpec = outOfSpec or (layoutParams.weight > 0f) in onMeasure() 112 layoutParams.leftMargin + layoutParams.rightMargin) in onMeasure()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/preference/ |
D | CardContainerPreference.kt | 89 val layoutParams = in setLoading() constant 93 progressBar?.layoutParams = layoutParams in setLoading() 174 val layoutParams = in addSingleLargeCard() constant 178 singleCard.layoutParams = layoutParams in addSingleLargeCard() 244 val layoutParams = in constructSmallCard() constant 251 layoutParams.setMargins(0, 0, marginInPx, 0) in constructSmallCard() 254 card.layoutParams = layoutParams in constructSmallCard() 322 val layoutParams = in constructLargeCard() constant 329 layoutParams.setMargins(0, 0, 0, marginInPx) in constructLargeCard() 332 largeCard.layoutParams = layoutParams in constructLargeCard()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/preview/ui/section/ |
D | PreviewWithClockCarouselSectionController.kt | 151 var layoutParams = guidelineStart.layoutParams as ConstraintLayout.LayoutParams in createView() variable 152 layoutParams.guideBegin = guidelineMargin in createView() 153 guidelineStart.layoutParams = layoutParams in createView() 156 layoutParams = guidelineEnd.layoutParams as ConstraintLayout.LayoutParams in createView() 157 layoutParams.guideEnd = guidelineMargin in createView() 158 guidelineEnd.layoutParams = layoutParams in createView()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/navbutton/ |
D | SetupNavLayoutter.kt | 58 val navButtonsLayoutParams = navButtonContainer.layoutParams as FrameLayout.LayoutParams in layoutButtons() 59 val navButtonsViewLayoutParams = mNavButtonsView.layoutParams as FrameLayout.LayoutParams in layoutButtons() 86 mNavButtonsView.layoutParams = navButtonsViewLayoutParams in layoutButtons() 87 navButtonContainer.layoutParams = navButtonsLayoutParams in layoutButtons() 105 imeSwitcher.layoutParams = getParamsToCenterView() in layoutButtons() 109 a11yButton.layoutParams = getParamsToCenterView() in layoutButtons()
|
D | PhoneGestureLayoutter.kt | 56 val navButtonsLayoutParams = navButtonContainer.layoutParams as FrameLayout.LayoutParams in layoutButtons() 58 mNavButtonsView.layoutParams as FrameLayout.LayoutParams in layoutButtons() 70 mNavButtonsView.layoutParams = navButtonsViewLayoutParams in layoutButtons() 71 navButtonContainer.layoutParams = navButtonsLayoutParams in layoutButtons()
|
D | KidsNavLayoutter.kt | 75 homeButton.layoutParams = homeLayoutparams in layoutButtons() 82 backButton.layoutParams = backLayoutParams in layoutButtons() 92 val navButtonsLayoutParams = navButtonContainer.layoutParams as FrameLayout.LayoutParams in layoutButtons() 118 imeSwitcher.layoutParams = getParamsToCenterView() in layoutButtons() 122 a11yButton.layoutParams = getParamsToCenterView() in layoutButtons()
|
D | PhoneLandscapeNavLayoutter.kt | 80 navButtonContainer.layoutParams = navContainerParams in layoutButtons() 88 val buttonLayoutParams = navButton.layoutParams as LinearLayout.LayoutParams in layoutButtons() 144 imeSwitcher.layoutParams = getParamsToCenterView() in repositionContextualButtons() 148 a11yButton.layoutParams = getParamsToCenterView() in repositionContextualButtons() 168 contextualContainer.layoutParams = contextualContainerParams in repositionContextualContainer()
|
D | PhonePortraitNavLayoutter.kt | 85 navButtonContainer.layoutParams = navContainerParams in layoutButtons() 93 val buttonLayoutParams = navButton.layoutParams as LinearLayout.LayoutParams in layoutButtons() 136 imeSwitcher.layoutParams = getParamsToCenterView() in layoutButtons() 140 a11yButton.layoutParams = getParamsToCenterView() in layoutButtons()
|
D | TaskbarNavLayoutter.kt | 79 navButtonContainer.layoutParams = navButtonParams in layoutButtons() 85 val buttonLayoutParams = navButton.layoutParams as LinearLayout.LayoutParams in layoutButtons() 131 imeSwitcher.layoutParams = imeSwitcherButtonParams in layoutButtons() 135 a11yButton.layoutParams = getParamsToCenterView() in layoutButtons()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | SpacerPreference.kt | 132 val layoutParams = spacer.layoutParams in adjustHeight() constant 133 if (layoutParams.height != desiredSpacerHeight) { in adjustHeight() 134 layoutParams.height = desiredSpacerHeight in adjustHeight() 135 spacer.layoutParams = layoutParams in adjustHeight()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoPageProgressBar.java | 42 LayoutParams layoutParams = mProgress.getLayoutParams(); in setProgress() local 43 layoutParams.width = mContainer.getWidth() * progressPercent / 100; in setProgress() 44 mProgress.setLayoutParams(layoutParams); in setProgress()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | GroupedTaskView.kt | 176 layoutParams.width, in setOrientationState() 177 layoutParams.height in setOrientationState() 211 layoutParams.width, in updateIconPlacement() 212 layoutParams.height in updateIconPlacement() 220 layoutParams.height, in updateIconPlacement() 221 layoutParams.width, in updateIconPlacement()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PhotoEditorView.java | 161 final ViewGroup.LayoutParams layoutParams = getLayoutParams(); in adjustDimensions() 162 layoutParams.height = photoHeight; in adjustDimensions() 163 layoutParams.width = photoWidth; in adjustDimensions() 164 setLayoutParams(layoutParams); in adjustDimensions()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsUnavailableFragment.java | 63 final LinearLayout.LayoutParams layoutParams = in onCreateView() local 71 layoutParams.setMargins(0, topMargin, 0, 0); in onCreateView() 72 layoutParams.gravity = Gravity.CENTER_HORIZONTAL; in onCreateView() 73 mImageView.setLayoutParams(layoutParams); in onCreateView()
|
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/orientation/ |
D | LandscapePagedViewHandlerTest.kt | 130 `when`(iconView.layoutParams).thenReturn(frameLayout) in testIcon_updateSplitIconsPosition() 148 `when`(iconView.layoutParams).thenReturn(frameLayout) in testIcon_updateSplitIconsPosition_isRTL() 164 `when`(iconView.layoutParams).thenReturn(frameLayout) in testChip_updateSplitIconsPosition() 179 `when`(iconView.layoutParams).thenReturn(frameLayout) in testChip_updateSplitIconsPosition_isRTL()
|
D | SeascapePagedViewHandlerTest.kt | 132 `when`(iconView.layoutParams).thenReturn(frameLayout) in testIcon_updateSplitIconsPosition() 150 `when`(iconView.layoutParams).thenReturn(frameLayout) in testIcon_updateSplitIconsPosition_isRTL() 166 `when`(iconView.layoutParams).thenReturn(frameLayout) in testChip_updateSplitIconsPosition() 181 `when`(iconView.layoutParams).thenReturn(frameLayout) in testChip_updateSplitIconsPosition_isRTL()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/view/ |
D | ClockViewFactoryImpl.kt | 95 val layoutParams = in <lambda>() constant 102 layoutParams.topMargin = getSmallClockTopMargin() in <lambda>() 103 layoutParams.marginStart = getSmallClockStartPadding() in <lambda>() 104 smallClockFrame.layoutParams = layoutParams in <lambda>()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | WidgetsTwoPaneSheet.java | 188 LinearLayout.LayoutParams layoutParams = (LayoutParams) leftPane.getLayoutParams(); in onLayout() local 194 layoutParams.width = minLeftPaneWidthPx; in onLayout() 196 layoutParams.width = maxLeftPaneWidthPx; in onLayout() 198 layoutParams.width = 0; in onLayout() 200 layoutParams.weight = layoutParams.width == 0 ? 0.33F : 0; in onLayout() 206 leftPane.setLayoutParams(layoutParams); in onLayout()
|