Home
last modified time | relevance | path

Searched refs:getLayoutParams (Results 1 – 25 of 209) sorted by relevance

123456789

/packages/apps/Contacts/src/com/android/contacts/widget/
DMultiShrinkScroller.java373 = mPhotoViewContainer.getLayoutParams(); in initialize()
381 .getLayoutParams(); in initialize()
404 = (FrameLayout.LayoutParams) mActionBarGradientView.getLayoutParams(); in configureGradientViewHeights()
408 = (FrameLayout.LayoutParams) mTitleGradientView.getLayoutParams(); in configureGradientViewHeights()
411 = (FrameLayout.LayoutParams) mTitleAndPhoneticNameView.getLayoutParams(); in configureGradientViewHeights()
774 = mToolbar.getLayoutParams(); in setToolbarHeight()
784 return mToolbar.getLayoutParams().height; in getToolbarHeight()
793 = mToolbar.getLayoutParams(); in setHeaderHeight()
802 return mToolbar.getLayoutParams().height; in getHeaderHeight()
973 return mTransparentView.getLayoutParams().height; in getTransparentViewHeight()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java79 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in getChildAt()
106 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in setupLp()
129 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in measureChild()
170 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in onLayout()
180 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in layoutChild()
249 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in drawFolderLeaveBehindForIcon()
260 ((CellLayout.LayoutParams) child.getLayoutParams()).canReorder = true; in clearFolderLeaveBehind()
/packages/apps/Car/Media/src/com/android/car/media/
DGuidelinesUpdater.java51 (ConstraintLayout.LayoutParams)startPad.getLayoutParams(); in onCarUiInsetsChanged()
56 ConstraintLayout.LayoutParams end = (ConstraintLayout.LayoutParams)endPad.getLayoutParams(); in onCarUiInsetsChanged()
61 ConstraintLayout.LayoutParams top = (ConstraintLayout.LayoutParams)topPad.getLayoutParams(); in onCarUiInsetsChanged()
67 (ConstraintLayout.LayoutParams)bottomPad.getLayoutParams(); in onCarUiInsetsChanged()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiLayoutParams.java64 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) vp.getLayoutParams(); in setPagerProperties()
71 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) v.getLayoutParams(); in setCategoryPageIdViewProperties()
81 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) ll.getLayoutParams(); in setActionBarProperties()
87 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) v.getLayoutParams(); in setKeyProperties()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java337 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical()
350 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical()
365 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal()
387 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal()
514 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in getBaseline()
681 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureVertical()
797 child.getLayoutParams(); in measureVertical()
833 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureVertical()
926 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureVertical()
965 ((LayoutParams)child.getLayoutParams()); in forceUniformWidth()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/
DListEmptyView.java66 ((LinearLayout.LayoutParams) mEmptyImageHint.getLayoutParams()).gravity = gravity; in setIsVerticallyCentered()
67 ((LinearLayout.LayoutParams) mEmptyTextHint.getLayoutParams()).gravity = gravity; in setIsVerticallyCentered()
68 getLayoutParams().height = in setIsVerticallyCentered()
DLineWrapLayout.java67 LayoutParams layoutParams = (LayoutParams) currChild.getLayoutParams(); in onMeasure()
115 LayoutParams layoutParams = (LayoutParams) currChild.getLayoutParams(); in onLayout()
144 LayoutParams layoutParams = (LayoutParams) currChild.getLayoutParams(); in onLayout()
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectContactsListFragment.java366 accountFilterHeaderIcon.getLayoutParams().height = getResources() in bindListHeader()
368 accountFilterHeaderIcon.getLayoutParams().width = getResources() in bindListHeader()
377 accountFilterHeaderIcon.getLayoutParams().height = getResources() in bindListHeader()
379 accountFilterHeaderIcon.getLayoutParams().width = getResources() in bindListHeader()
400 if (v.getLayoutParams() instanceof ViewGroup.MarginLayoutParams) { in setMargins()
401 ViewGroup.MarginLayoutParams p = (ViewGroup.MarginLayoutParams) v.getLayoutParams(); in setMargins()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DViewLayoutUtils.java49 final ViewGroup.LayoutParams lp = view.getLayoutParams(); in placeViewAt()
67 final ViewGroup.LayoutParams params = view.getLayoutParams(); in updateLayoutHeightOf()
75 final ViewGroup.LayoutParams lp = view.getLayoutParams(); in updateLayoutGravityOf()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageBubbleView.java70 mBubbleBackground.getLayoutParams().width = mMorphedWidth; in onMeasure()
72 mBubbleBackground.getLayoutParams().width = LayoutParams.WRAP_CONTENT; in onMeasure()
118 mBubbleBackground.getLayoutParams().width = LayoutParams.WRAP_CONTENT; in kickOffMorphAnimation()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DAsset.java67 int width = view.getWidth() > 0 ? view.getWidth() : Math.abs(view.getLayoutParams().width); in getViewDimensions()
69 : Math.abs(view.getLayoutParams().height); in getViewDimensions()
170 : Math.abs(imageView.getLayoutParams().width); in loadDrawable()
173 : Math.abs(imageView.getLayoutParams().height); in loadDrawable()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertDialogTest.java274 assertNotNull(image.getLayoutParams()); in testOnConfigurationChanged()
278 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, image.getLayoutParams().height); in testOnConfigurationChanged()
279 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, image.getLayoutParams().width); in testOnConfigurationChanged()
290 assertNotNull(image.getLayoutParams()); in testOnWindowFocusChanged()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategorySelectorFragment.java295 categoryView.getLayoutParams().height = mTileSizePx.y; in CategoryHolder()
360 mOverlayIconView.getLayoutParams().width = overlayIconDimenPx; in drawThumbnailAndOverlayIcon()
361 mOverlayIconView.getLayoutParams().height = overlayIconDimenPx; in drawThumbnailAndOverlayIcon()
389 categoryView.getLayoutParams().height = in FeaturedCategoryHolder()
403 categoryView.getLayoutParams().height = height; in MyPhotosCategoryHolder()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DSnackbar.java77 DragLayer.LayoutParams params = (DragLayer.LayoutParams) snackbar.getLayoutParams(); in show()
108 labelView.getLayoutParams().height = textHeight * 2; in show()
109 actionView.getLayoutParams().height = textHeight * 2; in show()
DArrowTipView.java140 DragLayer.LayoutParams params = (DragLayer.LayoutParams) getLayoutParams(); in show()
142 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) mArrowView.getLayoutParams(); in show()
295 ViewGroup.LayoutParams arrowLp = mArrowView.getLayoutParams(); in updateArrowTipInView()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DFixedRatioImageView.java65 if (getLayoutParams().height == ViewGroup.LayoutParams.MATCH_PARENT) { in onMeasure()
68 } else if (getLayoutParams().width == ViewGroup.LayoutParams.MATCH_PARENT) { in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DSearchAndRecommendationsScrollController.java164 (RelativeLayout.LayoutParams) mPrimaryWorkTabsView.getLayoutParams(); in updateMarginAndPadding()
204 (RelativeLayout.LayoutParams) mPrimaryWorkViewPager.getLayoutParams(); in updateMarginAndPadding()
354 MarginLayoutParams marginLayoutParams = (MarginLayoutParams) view.getLayoutParams(); in measureHeightWithVerticalMargins()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrGuidedActionsStylist.java50 ((LinearLayout.LayoutParams) v.getLayoutParams()).weight = sWidthWeight; in onCreateView()
59 viewHolder.itemView.getLayoutParams().height = sItemHeight; in onCreateViewHolder()
/packages/apps/TV/src/com/android/tv/ui/
DViewUtils.java83 LayoutParams layoutParams = view.getLayoutParams(); in getLayoutHeight()
89 LayoutParams layoutParams = view.getLayoutParams(); in setLayoutHeight()
DTvTransitionManager.java121 LayoutParams lp = (LayoutParams) mInputBannerView.getLayoutParams(); in goToChannelBannerScene()
179 (FrameLayout.LayoutParams) mEmptyView.getLayoutParams(); in initIfNeeded()
181 (ViewGroup.MarginLayoutParams) mCurrentSceneView.getLayoutParams(); in initIfNeeded()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DStylerHelper.java51 SpacingInfo titleSpacing = new SpacingInfo(title, title.getLayoutParams()); in applyListItemStyling()
52 SpacingInfo summarySpacing = new SpacingInfo(summary, summary.getLayoutParams()); in applyListItemStyling()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DDefaultScrollBar.java229 ViewGroup.LayoutParams lp = mScrollThumb.getLayoutParams(); in setParameters()
516 (ViewGroup.MarginLayoutParams) mUpButton.getLayoutParams(); in updatePaginationButtons()
520 (ViewGroup.MarginLayoutParams) mDownButton.getLayoutParams(); in updatePaginationButtons()
528 (ViewGroup.MarginLayoutParams) mScrollTrack.getLayoutParams(); in updatePaginationButtons()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
DSetupMultiPaneFragment.java76 ((MarginLayoutParams) doneButtonContainer.getLayoutParams()).rightMargin = in onCreateView()
80 ((MarginLayoutParams) doneButtonContainer.getLayoutParams()).leftMargin = in onCreateView()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DDesktopRotationHolder.java62 mTile.getLayoutParams().height = tileHeightPx; in DesktopRotationHolder()
63 itemView.getLayoutParams().height = tileHeightPx; in DesktopRotationHolder()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DNavigationViewManager.java239 (AppBarLayout.LayoutParams) mCollapsingBarLayout.getLayoutParams(); in updateScrollFlag()
260 (CollapsingToolbarLayout.LayoutParams) mToolbar.getLayoutParams(); in updateToolbar()
288 (FrameLayout.LayoutParams) mHeader.getLayoutParams(); in updateToolbar()

123456789