Home
last modified time | relevance | path

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

1234567

/frameworks/base/core/tests/coretests/src/android/view/
DIncludeTest.java54 button1.getLayoutParams().width != button2.getLayoutParams().width); in testIncludedWithLayoutParams()
56 button1.getLayoutParams().height != button2.getLayoutParams().height); in testIncludedWithLayoutParams()
73 final ViewGroup.LayoutParams lp = button1.getLayoutParams(); in testIncludedWithSize()
DViewStubTest.java79 stub.getLayoutParams().width, swapped.getLayoutParams().width); in testInflatedLayoutParams()
81 stub.getLayoutParams().height, swapped.getLayoutParams().height); in testInflatedLayoutParams()
/frameworks/base/core/java/com/android/internal/widget/
DOrientationHelper.java275 view.getLayoutParams(); in createHorizontalHelper()
283 view.getLayoutParams(); in createHorizontalHelper()
291 view.getLayoutParams(); in createHorizontalHelper()
298 view.getLayoutParams(); in createHorizontalHelper()
373 view.getLayoutParams();
381 view.getLayoutParams();
389 view.getLayoutParams();
396 view.getLayoutParams();
DMessagingLinearLayout.java85 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
99 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); in onMeasure()
167 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout()
208 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawChild()
242 final ViewGroup.LayoutParams lp = view.getLayoutParams(); in isGone()
DMediaNotificationView.java75 (MarginLayoutParams) mRightIcon.getLayoutParams(); in onMeasure()
94 = (MarginLayoutParams) mMainColumn.getLayoutParams(); in onMeasure()
109 params = (MarginLayoutParams) mHeader.getLayoutParams(); in onMeasure()
148 (MarginLayoutParams) mHeader.getLayoutParams(); in resetHeaderIndention()
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutMarginTest.java66 ((ViewGroup.MarginLayoutParams) mLeftView.getLayoutParams()).leftMargin); in testLeftMarginAligned()
72 ((ViewGroup.MarginLayoutParams) mRightView.getLayoutParams()).rightMargin); in testRightMarginAligned()
78 ((ViewGroup.MarginLayoutParams) mTopView.getLayoutParams()).topMargin); in testTopMarginAligned()
84 ((ViewGroup.MarginLayoutParams) mBottomView.getLayoutParams()).bottomMargin); in testBottomMarginAligned()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java129 MarginLayoutParams lp = (MarginLayoutParams) mMultiUserAvatar.getLayoutParams(); in onConfigurationChanged()
135 lp = (MarginLayoutParams) mMultiUserSwitch.getLayoutParams(); in onConfigurationChanged()
143 lp = (MarginLayoutParams) mSystemIconsContainer.getLayoutParams(); in onConfigurationChanged()
156 lp = (MarginLayoutParams) mCarrierLabel.getLayoutParams(); in onConfigurationChanged()
161 lp = (MarginLayoutParams) getLayoutParams(); in onConfigurationChanged()
203 (LinearLayout.LayoutParams) mSystemIconsContainer.getLayoutParams(); in updateSystemIconsLayoutParams()
256 RelativeLayout.LayoutParams lp = (LayoutParams) mCarrierLabel.getLayoutParams(); in updateLayoutParamsNoCutout()
259 lp = (LayoutParams) mStatusIconArea.getLayoutParams(); in updateLayoutParamsNoCutout()
264 (LinearLayout.LayoutParams) mSystemIconsContainer.getLayoutParams(); in updateLayoutParamsNoCutout()
284 RelativeLayout.LayoutParams lp = (LayoutParams) mCutoutSpace.getLayoutParams(); in updateLayoutParamsForCutout()
[all …]
DNotificationsQuickSettingsContainer.java73 mStackScrollerMargin = ((LayoutParams) mStackScroller.getLayoutParams()).bottomMargin; in onFinishInflate()
103 LayoutParams params = (LayoutParams) view.getLayoutParams(); in reloadWidth()
200 LayoutParams params = (LayoutParams) v.getLayoutParams(); in setBottomMargin()
DReverseLinearLayout.java52 reverseParams(child.getLayoutParams(), child, mIsLayoutReverse); in addView()
161 reverseParams(child.getLayoutParams(), child, isLayoutReverse); in reverseGroup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationUndoLayout.java75 (LayoutParams) mConfirmationTextView.getLayoutParams(); in onMeasure()
76 LayoutParams undoLayoutParams =(LayoutParams) mUndoView.getLayoutParams(); in onMeasure()
115 (LayoutParams) mConfirmationTextView.getLayoutParams(); in onLayout()
116 LayoutParams undoLayoutParams = (LayoutParams) mUndoView.getLayoutParams(); in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java120 MarginLayoutParams params = (MarginLayoutParams) mList.getLayoutParams(); in updateEdgeMargin()
132 MarginLayoutParams params = (MarginLayoutParams) mSeparatedView.getLayoutParams(); in updateEdgeMargin()
267 LayoutParams p = (LayoutParams) mList.getLayoutParams(); in rotateRight()
271 LayoutParams separatedViewLayoutParams = (LayoutParams) mSeparatedView.getLayoutParams(); in rotateRight()
279 ViewGroup.LayoutParams params = v.getLayoutParams(); in swapDimens()
325 LayoutParams p = (LayoutParams) mList.getLayoutParams(); in rotateLeft()
329 LayoutParams separatedViewLayoutParams = (LayoutParams) mSeparatedView.getLayoutParams(); in rotateLeft()
376 MarginLayoutParams params = (MarginLayoutParams) v.getLayoutParams(); in rotateLeft()
385 MarginLayoutParams params = (MarginLayoutParams) v.getLayoutParams(); in rotateRight()
394 MarginLayoutParams params = (MarginLayoutParams) v.getLayoutParams(); in swapLeftAndTop()
[all …]
/frameworks/base/core/java/android/widget/
DActionMenuView.java166 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
223 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
261 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
287 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
317 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); in onMeasureExactFormat()
321 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat()
333 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
369 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
401 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildForCells()
456 LayoutParams p = (LayoutParams) v.getLayoutParams(); in onLayout()
[all …]
DTableRow.java164 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in mapIndexAndColumns()
195 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildBeforeLayout()
257 LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in getChildrenSkipCount()
268 return ((TableRow.LayoutParams) child.getLayoutParams()).mOffset[LayoutParams.LOCATION]; in getLocationOffset()
276 … return ((TableRow.LayoutParams) child.getLayoutParams()).mOffset[LayoutParams.LOCATION_NEXT]; in getNextLocationOffset()
299 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in getColumnsWidths()
DToolbar.java1522 final ViewGroup.LayoutParams vlp = v.getLayoutParams(); in addSystemView()
1629 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildConstrained()
1654 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildCollapseMargins()
1767 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
1899 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout()
1903 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout()
1911 final LayoutParams toplp = (LayoutParams) topChild.getLayoutParams(); in onLayout()
1912 final LayoutParams bottomlp = (LayoutParams) bottomChild.getLayoutParams(); in onLayout()
1949 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout()
1957 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout()
[all …]
DLinearLayout.java441 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical()
454 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical()
482 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal()
504 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal()
633 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); in getBaseline()
815 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureVertical()
933 child.getLayoutParams(); in measureVertical()
969 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureVertical()
1037 (LinearLayout.LayoutParams) child.getLayoutParams(); in measureVertical()
1075 LinearLayout.LayoutParams lp = ((LinearLayout.LayoutParams)child.getLayoutParams()); in forceUniformWidth()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DTwoTargetPreferenceTest.java94 .getLayoutParams(); in bind_smallIcon_shouldUseSmallIconSize()
110 .getLayoutParams(); in bind_mediumIcon_shouldUseMediumIconSize()
124 .getLayoutParams(); in bind_defaultIcon_shouldUseDefaultIconSize()
/frameworks/base/tests/ActivityViewTest/src/com/google/android/test/activityview/
DActivityViewResizeActivity.java52 (LinearLayout.LayoutParams) mActivityView.getLayoutParams(); in onCreate()
64 (LinearLayout.LayoutParams) mActivityView.getLayoutParams(); in onCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenRadioLayout.java59 if (radio.getLayoutParams().height != content.getMeasuredHeight()) { in onMeasure()
61 radio.getLayoutParams().height = content.getMeasuredHeight(); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutKeysLayout.java63 LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in onMeasure()
123 LayoutParams lp = (LayoutParams) currentChild.getLayoutParams(); in onLayout()
170 LayoutParams lp = (LayoutParams) currentChild.getLayoutParams(); in layoutChildrenOnRow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java365 final LayoutParams lp = (LayoutParams) button.getLayoutParams(); in inflateActionButton()
423 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
522 final LayoutParams lp = (LayoutParams) smartReplyButton.getLayoutParams(); in onMeasure()
583 final LayoutParams lp = (LayoutParams) smartReplyButton.getLayoutParams(); in gotEnoughSmartReplies()
601 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in filterActionsOrReplies()
616 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in resetButtonsLayoutParams()
719 final LayoutParams lp = (LayoutParams) button.getLayoutParams(); in squeezeButtonToTextWidth()
737 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in remeasureButtonsIfNecessary()
785 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in markButtonsWithPendingSqueezeStatusAs()
802 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListViewHeight.java63 lp = (ViewGroup.MarginLayoutParams) mInnerList.getLayoutParams(); in onCreate()
79 lp = (ViewGroup.MarginLayoutParams) mInnerList.getLayoutParams(); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSContainerImpl.java97 MarginLayoutParams layoutParams = (MarginLayoutParams) mQSPanel.getLayoutParams(); in onMeasure()
148 LayoutParams layoutParams = (LayoutParams) mQSPanel.getLayoutParams(); in updateResources()
207 FrameLayout.LayoutParams lp = (LayoutParams) view.getLayoutParams(); in setMargins()
DQuickStatusBarHeader.java305 mHeaderTextContainerView.getLayoutParams().height = in updateResources()
307 mHeaderTextContainerView.setLayoutParams(mHeaderTextContainerView.getLayoutParams()); in updateResources()
309 mSystemIconsView.getLayoutParams().height = resources.getDimensionPixelSize( in updateResources()
311 mSystemIconsView.setLayoutParams(mSystemIconsView.getLayoutParams()); in updateResources()
313 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) getLayoutParams(); in updateResources()
535 RelativeLayout.LayoutParams lp = (RelativeLayout.LayoutParams) v.getLayoutParams(); in setMargins()
/frameworks/base/core/java/com/android/internal/app/
DMicroAlertController.java64 new FrameLayout.LayoutParams(topPanel.getLayoutParams()); in setupContent()
72 new FrameLayout.LayoutParams(buttonPanel.getLayoutParams()); in setupContent()
/frameworks/base/core/java/android/inputmethodservice/
DCompactExtractEditLayout.java74 ViewGroup.LayoutParams lp = v.getLayoutParams(); in setLayoutHeight()
80 ViewGroup.MarginLayoutParams lp = (MarginLayoutParams) v.getLayoutParams(); in setLayoutMarginBottom()

1234567