Home
last modified time | relevance | path

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

12345678

/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/util/
DFocusLogic.java178 int cx = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellX; in createSparseMatrix()
179 int cy = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellY; in createSparseMatrix()
220 int cx = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellX; in createSparseMatrixWithHotseat()
221 int cy = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellY; in createSparseMatrixWithHotseat()
229 hotseatParent.getChildAt(i).getLayoutParams()).cellX; in createSparseMatrixWithHotseat()
233 hotseatParent.getChildAt(i).getLayoutParams()).cellY; in createSparseMatrixWithHotseat()
267 int cx = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellX; in createSparseMatrixWithPivotColumn()
268 int cy = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellY; in createSparseMatrixWithPivotColumn()
538 final int newRow = ((CellLayout.LayoutParams) oldView.getLayoutParams()).cellY;
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/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/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java67 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in getChildAt()
94 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in setupLp()
115 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in measureChild()
147 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in onLayout()
DCellLayout.java874 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in animateChildToPosition()
989 MarginLayoutParams lp = (MarginLayoutParams) v.getLayoutParams(); in visualizeDropLocation()
1537 LayoutParams lp = (LayoutParams) v.getLayoutParams(); in pushViewsToTempLocation()
1748 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in rearrangementExists()
1845 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in copyCurrentStateToSolution()
1863 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in copySolutionToTempState()
1910 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in beginOrAdjustReorderPreviewAnimations()
2104 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in commitTempPlacement()
2129 LayoutParams lp = (LayoutParams) mShortcutsAndWidgets.getChildAt(i).getLayoutParams(); in setUseTempCoords()
2212 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in getViewsIntersectingRegion()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DAsset.java61 : Math.abs(imageView.getLayoutParams().width); in getImageViewDimensions()
64 : Math.abs(imageView.getLayoutParams().height); in getImageViewDimensions()
150 : Math.abs(imageView.getLayoutParams().width); in loadDrawable()
153 : Math.abs(imageView.getLayoutParams().height); in loadDrawable()
/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/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/
DBenefitsAnimation.java147 LayoutParams layoutParams = animatedInfo.getLayoutParams(); in adjustToScreenSize()
175 final LayoutParams viewportParams = textAnimationViewport.getLayoutParams(); in setupLabelDimensions()
180 final LayoutParams masterContainerParams = textMasterContainer.getLayoutParams(); in setupLabelDimensions()
188 final LayoutParams layoutParams = textView.getLayoutParams(); in setupLabelDimensions()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DCarScrollBar.java204 ViewGroup.LayoutParams layoutParams = mScrollView.getLayoutParams(); in setScrollBarContainerWidth()
216 (FrameLayout.LayoutParams) mScrollView.getLayoutParams(); in setScrollBarPosition()
281 mScrollThumb.getLayoutParams().height, in measureScrollThumb()
363 ViewGroup.LayoutParams lp = mScrollThumb.getLayoutParams(); in setParameters()
397 ViewGroup.LayoutParams lp = mScrollThumb.getLayoutParams(); in setParametersInLayout()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMiniDrawerView.java202 final LayoutParams params = (LayoutParams) child.getLayoutParams(); in onLayout()
230 final LayoutParams childToHideParams = (LayoutParams) childToHide.getLayoutParams(); in onLayout()
247 final LayoutParams spacerParams = (LayoutParams) mSpacer.getLayoutParams(); in measureSpacer()
/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()
/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/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.java78 LayoutParams layoutParams = view.getLayoutParams(); in getLayoutHeight()
84 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/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualHolder.java52 mTileLayout.getLayoutParams().height = tileHeightPx; in IndividualHolder()
53 itemView.getLayoutParams().height = tileHeightPx; in IndividualHolder()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java177 DragLayer.LayoutParams arrowLp = (DragLayer.LayoutParams) mArrow.getLayoutParams(); in reorderAndShow()
236 int extraVerticalSpace = mArrow.getLayoutParams().height + mArrowOffset in orientAboutObject()
320 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) getLayoutParams(); in orientAboutObject()
321 FrameLayout.LayoutParams arrowLp = (FrameLayout.LayoutParams) mArrow.getLayoutParams(); in orientAboutObject()
/packages/apps/DeskClock/src/com/android/deskclock/
DCircleButtonsLayout.java63 .getLayoutParams(); in remeasureViews()
71 MarginLayoutParams labelParams = (MarginLayoutParams) mLabel.getLayoutParams(); in remeasureViews()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationContainer.java595 LayoutParams params = mAdditionalBottomBorder.getLayoutParams(); in setAdditionalBottomBorderHeight()
638 MarginLayoutParams p = (MarginLayoutParams) child.getLayoutParams(); in measureOverlayView()
725 (MarginLayoutParams) nonScrollingChild.getLayoutParams(); in onLayout()
841 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in layoutOverlay()
891 addViewInLayout(mView, index, mView.getLayoutParams(), true /* preventRequestLayout */); in run()

12345678