/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()
|
D | ChannelBannerView.java | 885 LayoutParams layoutParams = (LayoutParams) getLayoutParams(); 886 if (targetHeight != layoutParams.height) { 887 layoutParams.height = targetHeight; 888 setLayoutParams(layoutParams); 908 LayoutParams layoutParams = 910 if (value != layoutParams.height) { 911 layoutParams.height = value; 912 ChannelBannerView.this.setLayoutParams(layoutParams);
|
D | KeypadChannelSwitchView.java | 361 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in setViewHeight() local 362 if (height != layoutParams.height) { in setViewHeight() 363 layoutParams.height = height; in setViewHeight() 364 view.setLayoutParams(layoutParams); in setViewHeight()
|
/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 …]
|
D | AttachmentPreviewFactory.java | 120 final ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams( in createMultiplePreview() local 122 multiAttachmentLayout.setLayoutParams(layoutParams); in createMultiplePreview() 198 final ViewGroup.LayoutParams layoutParams = imageView.getLayoutParams(); in createPendingAttachmentPreview() local 201 layoutParams.width = attachmentData.getWidth() == MessagePartData.UNSPECIFIED_SIZE ? in createPendingAttachmentPreview() 203 layoutParams.height = attachmentData.getHeight() == MessagePartData.UNSPECIFIED_SIZE ? in createPendingAttachmentPreview()
|
/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()
|
D | EllipsizeLayout.java | 97 final LinearLayout.LayoutParams layoutParams = in onMeasure() local 99 if (layoutParams != null) { in onMeasure() 100 outOfSpec |= (layoutParams.weight > 0f); in onMeasure() 102 + layoutParams.leftMargin + layoutParams.rightMargin; in onMeasure()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/ |
D | BenefitsAnimation.java | 147 LayoutParams layoutParams = animatedInfo.getLayoutParams(); in adjustToScreenSize() local 150 layoutParams.height = adjustedHeight; in adjustToScreenSize() 151 animatedInfo.setLayoutParams(layoutParams); in adjustToScreenSize() 158 int targetHeight = layoutParams.height - (contentHeight - viewportHeight); in adjustToScreenSize() 164 layoutParams.height = targetHeight; in adjustToScreenSize() 165 animatedInfo.setLayoutParams(layoutParams); in adjustToScreenSize() 188 final LayoutParams layoutParams = textView.getLayoutParams(); in setupLabelDimensions() local 189 layoutParams.width = width; in setupLabelDimensions() 190 textView.setLayoutParams(layoutParams); in setupLabelDimensions()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/handheld/ |
D | AppIconPreference.java | 101 ViewGroup.LayoutParams layoutParams = iconView.getLayoutParams(); in onBindViewHolder() local 103 if (layoutParams.width != mIconSize) { in onBindViewHolder() 104 layoutParams.width = mIconSize; in onBindViewHolder() 107 if (layoutParams.height != mIconSize) { in onBindViewHolder() 108 layoutParams.height = mIconSize; in onBindViewHolder()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | PinnedHeaderListView.java | 362 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in ensurePinnedHeaderLayout() local 366 if (layoutParams != null && layoutParams.width > 0) { in ensurePinnedHeaderLayout() 368 .makeMeasureSpec(layoutParams.width, View.MeasureSpec.EXACTLY); in ensurePinnedHeaderLayout() 374 if (layoutParams != null && layoutParams.height > 0) { in ensurePinnedHeaderLayout() 376 .makeMeasureSpec(layoutParams.height, View.MeasureSpec.EXACTLY); in ensurePinnedHeaderLayout()
|
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/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/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/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/ |
D | CarTabLayout.java | 214 LayoutParams layoutParams; in addCarTabView() local 216 layoutParams = new LayoutParams(0, ViewGroup.LayoutParams.MATCH_PARENT); in addCarTabView() 217 layoutParams.weight = 1; in addCarTabView() 219 layoutParams = new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in addCarTabView() 222 addView(carTabView, position, layoutParams); in addCarTabView()
|
D | PagedRecyclerView.java | 618 MarginLayoutParams layoutParams = in setNestedViewLayout() local 621 layoutParams.setMarginStart(startMargin); in setNestedViewLayout() 622 layoutParams.setMarginEnd(endMargin); in setNestedViewLayout() 624 layoutParams.height = LayoutParams.MATCH_PARENT; in setNestedViewLayout() 625 layoutParams.width = super.getLayoutManager().getWidth() - startMargin - endMargin; in setNestedViewLayout() 627 mNestedRecyclerView.setLayoutParams(layoutParams); in setNestedViewLayout()
|
D | CarScrollBar.java | 204 ViewGroup.LayoutParams layoutParams = mScrollView.getLayoutParams(); in setScrollBarContainerWidth() local 205 layoutParams.width = width; in setScrollBarContainerWidth() 215 FrameLayout.LayoutParams layoutParams = in setScrollBarPosition() local 218 layoutParams.gravity = Gravity.LEFT; in setScrollBarPosition() 220 layoutParams.gravity = Gravity.RIGHT; in setScrollBarPosition()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | TopRightWeightedLayout.java | 103 … LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams) v.getLayoutParams(); in fixGravityAndPadding() local 104 int gravity = layoutParams.gravity; in fixGravityAndPadding() 145 layoutParams.gravity = gravity; in fixGravityAndPadding()
|
/packages/apps/Dialer/java/com/android/dialer/widget/ |
D | ContactPhotoView.java | 80 ViewGroup.LayoutParams layoutParams = Assert.isNotNull(getLayoutParams()); in onMeasure() local 82 layoutParams.height == LayoutParams.WRAP_CONTENT, in onMeasure() 85 layoutParams.width == LayoutParams.WRAP_CONTENT, "The layout width must be WRAP_CONTENT!"); in onMeasure()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | DrawOverlayDetailsTest.java | 39 private LayoutParams layoutParams; field in DrawOverlayDetailsTest 51 layoutParams = new LayoutParams(); in setUp()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramGuide.java | 763 LayoutParams layoutParams = mTable.getLayoutParams(); in updateGuidePosition() local 764 layoutParams.height = LayoutParams.WRAP_CONTENT; in updateGuidePosition() 765 mTable.setLayoutParams(layoutParams); in updateGuidePosition() 768 LayoutParams layoutParams = mTable.getLayoutParams(); in updateGuidePosition() local 769 layoutParams.height = tableHeight; in updateGuidePosition() 770 mTable.setLayoutParams(layoutParams); in updateGuidePosition()
|
D | ProgramItemView.java | 314 ViewGroup.LayoutParams layoutParams = getLayoutParams(); in setValues() local 315 if (layoutParams != null) { in setValues() 317 layoutParams.width = entry.getWidth(); in setValues() 318 setLayoutParams(layoutParams); in setValues()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
D | CallComposerActivity.java | 703 ViewGroup.LayoutParams layoutParams = pager.getLayoutParams(); in showFullscreen() local 705 layoutParams.height = background.getHeight(); in showFullscreen() 709 layoutParams.height = background.getHeight() - toolbar.getHeight(); in showFullscreen() 713 layoutParams.height = in showFullscreen() 718 pager.setLayoutParams(layoutParams); in showFullscreen()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/ |
D | SettingsPanelActivityTest.java | 131 final WindowManager.LayoutParams layoutParams = new WindowManager.LayoutParams(); in onStop_isNotDebuggable_shouldRemoveHideSystemOverlay() local 132 when(window.getAttributes()).thenReturn(layoutParams); in onStop_isNotDebuggable_shouldRemoveHideSystemOverlay()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/ |
D | SettingsHomepageActivityTest.java | 120 final WindowManager.LayoutParams layoutParams = new WindowManager.LayoutParams(); in onStop_isNotDebuggable_shouldRemoveHideSystemOverlay() local 121 when(window.getAttributes()).thenReturn(layoutParams); in onStop_isNotDebuggable_shouldRemoveHideSystemOverlay()
|